* meta:editing-cycles}.
*
* @param editingCycles set the specified edit times. NULL will remove the element from the meta.xml.
*/
public void setEditingCycles(Integer editingCycles) {
MetaEditingCyclesElement editingCyclesEle = OdfElement.findFirstChildNode(MetaEditingCyclesElement.class,
mOfficeMetaElement);
if (editingCycles == null) {
if (editingCyclesEle != null) {
mOfficeMetaElement.removeChild(editingCyclesEle);
}
} else {
if (editingCyclesEle == null) {
editingCyclesEle = mOfficeMetaElement.newMetaEditingCyclesElement();
}
editingCyclesEle.setTextContent(String.valueOf(editingCycles));
}
}