Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Javascripts using itext

  Asked By: Sebastion    Date: Oct 09    Category: Java    Views: 884
  

I use the itext library to copy one PDF document to another PDF
document through a Java program. The source PDFs were created using
Acrobat writer. The whole PDF is getting replicated correctly. But I
am not able to get the document-level Javascripts that were defined
in the source PDF. The field-level Javascripts are being replicated.
I tried do

objPdfReader = new PdfReader(lSFileInPdf);
Document doc = new Document(objPdfReader.getPageSizeWithRotation(1));
String onLoadJscript = doc.getJavaScript_onLoad();

But it returns me a null.

Can anyone tell me the solution.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Javascripts using itext Or get search suggestion and latest updates.




Tagged: