Package org.apache.pdfbox.tools
Class WriteDecodedDoc
java.lang.Object
org.apache.pdfbox.tools.WriteDecodedDoc
load document and write with all streams decoded.
- Author:
- Michael Traut
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WriteDecodedDoc
public WriteDecodedDoc()Constructor.
-
-
Method Details
-
doIt
This will perform the document reading, decoding and writing.- Parameters:
in
- The filename used for input.out
- The filename used for output.password
- The password to open the document.skipImages
- Whether to skip decoding images.- Throws:
IOException
- if the output could not be written
-
main
This will write a PDF document with completely decoded streams.
see usage() for commandline- Parameters:
args
- command line arguments- Throws:
IOException
- if the output could not be written
-