annotation = (OfficeAnnotationElement) OdfXMLFactory.newOdfElement(dom, OdfName.newName(
OdfDocumentNamespace.OFFICE, "annotation"));
}
TextPElement noteElement = OdfElement.findFirstChildNode(TextPElement.class, annotation);
if (noteElement == null) {
noteElement = annotation.newTextPElement();
}
noteElement.setTextContent(note);
DcCreatorElement dcCreatorElement = OdfElement.findFirstChildNode(DcCreatorElement.class, annotation);
if (dcCreatorElement == null) {
dcCreatorElement = annotation.newDcCreatorElement();