It's already fixed and will be in the next release.
Paulo
________________________________
From: Vahid Nasiri [mailto:vahid_nas...@yahoo.com]
Sent: Friday, November 25, 2011 2:30 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] iTextSharp default FilterHandlers
Hello,
In FilterHandlers class we have
static FilterHandlers() {
Dictionary<PdfName, IFilterHandler> map = new Dictionary<PdfName,
IFilterHandler>();
map[PdfName.FLATEDECODE] = new Filter_FLATEDECODE();
map[PdfName.FL] = new Filter_FLATEDECODE();
map[PdfName.ASCIIHEXDECODE] = new Filter_ASCIIHEXDECODE();
map[PdfName.AHX] = new Filter_ASCIIHEXDECODE();
map[PdfName.ASCII85DECODE] = new Filter_ASCII85DECODE();
map[PdfName.A85] = new Filter_ASCII85DECODE();
map[PdfName.LZWDECODE] = new Filter_LZWDECODE();
map[PdfName.CCITTFAXDECODE] = new Filter_CCITTFAXDECODE();
map[PdfName.CRYPT] = new Filter_DoNothing();
map[PdfName.RUNLENGTHDECODE] = new Filter_RUNLENGTHDECODE();
defaults = new Dictionary<PdfName, IFilterHandler>();
}
As you can see, "map" is not used at all and "defaults" is empty.
Probably defaults = map should be defined here. Right?
To test that, render a PDF form with stamper.FormFlattening = true and then try
to read it. It won't work without the above modification.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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