Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Output
Viewing all articles
Browse latest Browse all 9631

Trying to save the data from the pdf into XML

$
0
0
I have Adobe Live Cycle 8.0 installed and without the blade for Reader Extension.
The objective is to save the editable data from the pdf into a XML file
the code for that is:
// to fetch the input pdf file from the local drive
FileInputStream fileInputStream2 = new FileInputStream("C:\\Adobe-Final PDF\\stitched_Letters.pdf");
Document inPDF = new Document(fileInputStream2);
Properties connectionProps=new Properties();
connectionProps.load(new FileInputStream(_propertiesPath));
//propertiesPath is the path of the properties file
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
FormDataIntegrationClient dataClient = new FormDataIntegrationClient(myFactory);
Document resultPDF=dataClient.exportData(inPDF);

What happens is that this ultimate resultPDF does not get the XML with data but rather with empty tags. Does this require Reader Extension?

Viewing all articles
Browse latest Browse all 9631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>