1T3XT,

I did not notice this post, as it isn't a reply to the original thread...

Which version of iText generated these pdfs? I've tried both 2.1.4 (yes, I 
know, not the latest version of v2) and 5.0.5. Both generated errors; 2.1.4 
threw a NullPointerException closing the PdfStamper, while 5.0.5 threw a 
ClassCastException doing the same thing.. I suspect that even if 5.0.5 were to 
somehow work, we'd be unable to use it, as we make heavy use of JasperReports, 
which currently uses 2.x (or did last time I checked).

And please understand, I was NOT calling iText useless. It is a wonderful 
library that we make heavy use of. I was very put off by your "pay us to fix 
this" reply, in that buggy code should not be used as a source of revenue. That 
is anathema to the open source world.

<caustic rant>
And since you mentioned it, "harsh words that were exchanged on this free and 
public (!) forum"...dude, you yourself have had some extremely harsh words for 
people on this very forum. Most of the time I find it amusing....today, not so 
much. Understand that in the open source world, these forums are a developer's 
life-blood, and when we find a problem posted that we experience, and there is 
a clear thread that ends with "pay us to fix it"...it's very off-putting.
</caustic rant>

Paul Cooper
Applications Director
EMS Performance Improvement Center

-----Original Message-----
From: 1T3XT [mailto:[email protected]] 
Sent: Wednesday, January 05, 2011 1:37 PM
To: Post all your questions about iText here
Subject: Re: remove watermark layer

Op 5/01/2011 18:23, Paul Cooper schreef:
> Wow.

How so, wow?

> So, shouldn't this code be removed from your library, as it seems to 
> be useless and bug-inducing?

See the attached example. Are you saying the code is useless? If I have a file 
ocg.pdf, then I can use the code to get info about PdfLayers and I can apply 
changes. The file ocg.pdf is changed into ocg_altered.pdf without throwing an 
exception.

> As for paying for a custom solution...we'll just generate two different 
> files and switch the filenames....

That's fine by me if that works for you, but there's no reason for you to say 
that iText is useless.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to