title: PDF form not editable after being filled by pdfformfiller2
body: <p>I am currently writing a script that fills a set of project data into given form-fields of template-PDFs and then saves those documents to a repository for further editing by project members (the documents have much more fields than those filled automatically).</p>
  
  <p>The template-PDFs were previously created by me in Adobe InDesign and then saved with "Extended Features" in Adobe Acrobat Pro to make it editable in free Acrobat Reader and also <a href="https://github.com/nkitsul/pdfformfiller2" rel="nofollow">pdfformfiller2</a>.</p>
  
  <p>This little java-wrapper for iText can fill PDF-Forms with utf8 text, which works pretty well with my script. The command I use is:</p>
  
  <pre><code>java -jar pdfformfiller.jar doc1_template.pdf -f text_input.txt doc1_filled.pdf
  </code></pre>
  
  <p>The problem is that after being filled with the data, pdfformfiller2 outputs a doc1_filled.pdf which is only editable in Adobe Acrobat Pro again. Because the script is intended to run automatically, I cannot save every single PDF with "Extended Features" again after they have been filled by the script. Is there any option or fix in the wrapper-code to fix this?</p>
  
  <p>Btw. the option "-flatten" of pdfformfiller2 is disabled.</p>