Package org.docx4j.samples
Class DocProps
java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.DocProps
Shows how to access a docx's:
- Core properties (Dublin Core title, creator etc)
- Extended properties (app.xml)
- Custom properties (where you can store your own data, as shown here)
Note there is often also /word/settings.xml
(see also TemplateAttach for how to set a dotx in that part)
-
Field Summary
Fields inherited from class org.docx4j.samples.AbstractSample
inputfilepath, outputfilepath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.docx4j.samples.AbstractSample
getInputFilePath, getOutputFilePath
-
Constructor Details
-
DocProps
public DocProps()
-
-
Method Details
-
main
- Throws:
Exception
-