* meta:editing-duration}.
*
* @param editingDuration the time need to set. NULL will remove the element from the meta.xml.
*/
public void setEditingDuration(Duration editingDuration) {
MetaEditingDurationElement editingDurationEle = OdfElement.findFirstChildNode(MetaEditingDurationElement.class,
mOfficeMetaElement);
if (editingDuration == null) {
if (editingDurationEle != null) {
mOfficeMetaElement.removeChild(editingDurationEle);
}
} else {
if (editingDurationEle == null) {
editingDurationEle = mOfficeMetaElement.newMetaEditingDurationElement();
}
editingDurationEle.setTextContent(editingDuration.toString());
}
}