Re: [iText-questions] [SPAM] Re: [SPAM] Re: acrofields count is 0

2014-10-08 Thread TvT
Exactly! I mean I don't know too much about the c# version of itext but
there is no way he gets null in return.
He seems to directly access the acrofields object which of course can be
null if he directly accesses it (depending whether the acroFields object
has been instanciated before or not). The java counterpart of what he is
doing would look like this:

AcroFields acroFields = PdfStamperImp.acroFields;

However I highly advice against such kind of programming since there are
accessor methods for that kind of thing.


2014-10-08 16:32 GMT+02:00 mkl m...@wir-sind-cool.org:

 TvT,

 TvT wrote
  But since acroFields is never null this it not going to happen (checked
  that of course)...

 So in essence you are saying the original poster's description of his
 observations is nonsense. ;)

 Regards,   Michael



 --
 View this message in context:
 http://itext-general.2136553.n4.nabble.com/acrofields-count-is-0-tp4660434p4660440.html
 Sent from the iText - General mailing list archive at Nabble.com.


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 iText(R) is a registered trademark of 1T3XT BVBA.
 Many questions posted to this list can (and will) be answered with a
 reference to the iText book: http://www.itextpdf.com/book/
 Please check the keywords list before you ask for examples:
 http://itextpdf.com/themes/keywords.php

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] [SPAM] Re: [SPAM] Re: acrofields count is 0

2014-10-08 Thread Bruno Lowagie
On 10/8/2014 10:32 AM, mkl wrote:
 So in essence you are saying the original poster's description of his
 observations is nonsense.
When looking at the Subject line, not the content of the mail, I assume 
that the OP means to say that he can get the AcroFields (although he 
says it returns null), but that the count of the fields is zero (and the 
OP may use the word null as a synonym for zero).

In that case, he may experience the problem I described: there are 
widget annotations associated with one or more pages, but the Fields 
array is empty because the form was created by a bad PDF producer.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php