{
attributeList.addNamespaceDeclaration("autoGenNs", entryNamespace);
}
}
final OfficeDocumentStatistic statistic = (OfficeDocumentStatistic) entryValue;
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "table-count", String.valueOf(statistic.getTableCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "image-count", String.valueOf(statistic.getImageCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "object-count", String.valueOf(statistic.getObjectCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "page-count", String.valueOf(statistic.getPageCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "paragraph-count", String.valueOf(statistic.getParagraphCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "word-count", String.valueOf(statistic.getWordCount()));
attributeList.setAttribute
(ODFMetaAttributeNames.Meta.NAMESPACE, "character-count", String.valueOf(statistic.getCharacterCount()));
writer.writeTag(entryNamespace, entryName, attributeList, XmlWriterSupport.CLOSE);
}