com.itextpdf.text.pdf.mc
Class MCFieldFlattener
java.lang.Object
com.itextpdf.text.pdf.mc.MCFieldFlattener
public class MCFieldFlattener
- extends Object
Removes all interactivity from an AcroForm, maintaining the
structure tree.
DISCLAIMER:
- Use this class only if the form is properly tagged.
- This class won't work with pages in which the CTM is changed
- This class may not work for form fields with more than one widget annotation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCFieldFlattener
public MCFieldFlattener()
process
public void process(PdfReader reader,
OutputStream os)
throws IOException,
DocumentException
- Processes a properly tagged PDF form.
- Parameters:
reader
- the PdfReader instance holding the PDFos
- the OutputStream to which the flattened file will be written
- Throws:
IOException
DocumentException
Copyright © 2014. All Rights Reserved.