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();
}
dcCreatorElement.setTextContent(System.getProperty("user.name"));
String dcDate = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(new Date());
DcDateElement dcDateElement = OdfElement.findFirstChildNode(DcDateElement.class, annotation);
if (dcDateElement == null) {
dcDateElement = annotation.newDcDateElement();
}