ODF
<office:meta>
use with
<office:document>
<office:document-meta>
child
dc
<dc:creator>
<dc:date>
<dc:description>
<dc:language>
<dc:subject>
<dc:title>
meta
<meta:auto-reload>
<meta:creation-date>
<meta:document-statistic>
<meta:editing-cycles>
<meta:editing-duration>
<meta:generator>
<meta:hyperlink-behaviour>
<meta:initial-creator>
<meta:keyword>
<meta:print-date>
<meta:printed-by>
<meta:template>
<meta:user-defined>
metadata
support types
RDF
RDF metadata file
xml elements
xhtml:about
xhtml:property
xhtml:content
xhtml:datatype
manifest.rdf
pkg:Document
pkg:File
odf:ContendFile
odf:StylesFile
pkg:MetadataFile
pkg:mimeType
pkg:Element
odf:Element
odf:prefix
<text:meta-field>
RDF metadata embedded
NON-RDF
Pre-defined metadata
dc
<dc:creator>
<dc:date>
<dc:description>
<dc:language>
<dc:subject>
<dc:title>
meta
<meta:auto-reload>
<meta:creation-date>
<meta:document-statistic>
statistics
attribute
<meta:page-count>
for odt is >0
for spreadsheet
<meta:paragraph-count>
<meta:word-count>
<meta:character-count>
<meta:image-count>
<meta:table-count>
odt
ods
<meta:cell-count>
<meta:object-count>
<meta:ole-object-count>
<meta:row-count>
<meta:draw-count>
unused in 2.0
<meta:editing-cycles>
<meta:editing-duration>
<meta:generator>
<meta:hyperlink-behaviour>
<meta:initial-creator>
<meta:keyword>
<meta:print-date>
<meta:printed-by>
<meta:template>
User-defined metadata
<meta:user-defined>
Custom metadata
deprecated
ODF DOM
org.odftoolkit.odfdom.doc.meta
org.odftoolkit.odfdom.dom.attribute.meta
org.odftoolkit.odfdom.dom.element.meta
org.odftoolkit.odfdom.pkg.manifest
org.odftoolkit.odfdom.doc.feature.meta
FMetaAutoReload
FMetadata
FMetaHyperlinkBehavior
FMetaTemplate
org.odftoolkit.odfdom.doc
OdfDocument
getMetaDom
question
how to get wanted node
getElementsByTagNameNS
getElementsByTagName
how to update the xml
OdfDocument:save
save(File file)
save(OutputStream out)
save(String path)
vs
save
insertDOMsToPkg
how to use the original meta class
public FMetadata(OfficeMetaElement metaEle)
need we provide the method to count the statistics?
save the related meta datas each time you modify the metadata or modify the odf.
need xml example