xdp

PDFBox bloated PDF file size

主宰稳场 提交于 2019-12-10 10:35:59
问题 Using PDFBox can read Dynamic PDF created by livecycle. The code below reads then writes back the xml file that used to create the dynamic PDF. I bit concerned as the resulting file is quite large start out with 647kb pdf. The new pdf 14000kb. Anybody know how can reduce the size of the new file produced. Can set some type of compression when writing back to pdf file? PDDocument doc = PDDocument.load("filename"); doc.setAllSecurityToBeRemoved(true); PDDocumentCatalog docCatalog = doc

Extract xdp or xfa from PDF

你离开我真会死。 提交于 2019-12-04 20:47:24
问题 I created a PDF form with Adobe LiveCycle Designer. I'm now struggling to extract the data programmatically from the PDF after it's been filled out. I tried to do this using poppler (the qt4 binding, but I guess that doesn't matter), but apparently poppler can't handle XFA forms. Although evince and okular are able to display the form... As far as I understand, the PDF contains an XDP which in turn contains the XFA form. My question is, how can I extract that data from the PDF? If there are

Extract xdp or xfa from PDF

ぃ、小莉子 提交于 2019-12-03 13:42:19
I created a PDF form with Adobe LiveCycle Designer. I'm now struggling to extract the data programmatically from the PDF after it's been filled out. I tried to do this using poppler (the qt4 binding, but I guess that doesn't matter), but apparently poppler can't handle XFA forms. Although evince and okular are able to display the form... As far as I understand, the PDF contains an XDP which in turn contains the XFA form. My question is, how can I extract that data from the PDF? If there are libraries, c++, java, python or PHP are my options. The XML document (in XDP format ) that makes up the