Package org.docx4j.samples
Class OpenAndSaveRoundTripTest
java.lang.Object
org.docx4j.samples.AbstractSample
org.docx4j.samples.OpenAndSaveRoundTripTest
Simple example of opening an existing docx, and saving it
again.
Notice that the file size might be different.
http://www.docx4java.org/forums/docx-java-f6/file-size-differences-t1091.html
explains why.
-
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
-
OpenAndSaveRoundTripTest
public OpenAndSaveRoundTripTest()
-
-
Method Details
-
main
- Throws:
Exception
-