Hi,

I'm creating a large PDF file (over 100 pages/30MB, with thousands of
fields) using PdfCopy. I created some document level JavaScript functions in
the PDF file. In the JS functions I called getField(). (var field1 =
this.getField("FIELD_NAME");)

I also created some actions in some fields. When moving the mouse pointer
over the fields, the document level JS functions will be triggered.

When I open the PDF page in Acrobat 7/8, getField() is returning null and I
got "field1 has no property" error in debugger. But if I navigate away from
the page and return back, getField() is returning the correct field object
without error.

If I use Acrobat 6 to open the PDF, everything works fine.

If I extract the merged pages using Acrobat Professional and merge it, the
PDF takes longer to load but when it comes, everything works.

I'm not sure what happened. Could anyone give me some advise? Thank you.

-- 
View this message in context: 
http://www.nabble.com/getField-returns-null-after-merging-PDF-using-PdfCopy-tp20158397p20158397.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to