Hi Paulo,

Oh forgot to say. Attach that one file to the PDF with current SVN and
try to save both of those files using Acrobat. It works somewhat with my
local version but should fail with the SVN one.

Thanks,
Vesa Jääskeläinen

Vesa Jääskeläinen wrote:
> Hi Paulo,
> 
> Fair enough. I will send example PDF to you privately.
> 
> I noticed that PdfName.cs and PdfStream.cs code changes were missing.
> And then documentation changes in those files and also in
> PdfSignatureAppearance.cs. Documentation changes are there only because
> MSVS2005 just complains about broken tags in the javadoc style comments.
> 
> Any reason why those didn't get in (most importantly those code changes)?
> 
> Thanks,
> Vesa Jääskeläinen
> 
> Paulo Soares wrote:
>> I've applied your patches except the PdfEncodings one. Unicode detection 
>> must be done in whatever calls PdfEncodings. Please provide a PDF exhibiting 
>> the problem.
>>
>> Paulo
>>
>>> -----Original Message-----
>>> From: Vesa Jääskeläinen [mailto:[email protected]] 
>>> Sent: Monday, September 21, 2009 6:39 PM
>>> To: iText questions
>>> Subject: [iText-questions] [patch-itextsharp] Fixes to 
>>> attachment handling
>>>
>>> Hi All,
>>>
>>> Here are some fixes to embedded attachment handling in iTextSharp.
>>>
>>> PdfEncodings.cs: Changed behavior of loading attachment object names.
>>> Might have side effects elsewhere. In my opinion Unicode 
>>> should be used
>>> internally to process all strings. Raw version can be kept 
>>> handy if needed.
>>>
>>> Anyway. This was needed when embedded attachment object name was in
>>> Unicode and iTextSharp saved new attachment with Ascii version. Now
>>> Acrobat Reader 9.1 failed to handle files properly.
>>>
>>> PdfFileSpecification.cs: Contains bugfixes to wrapper functions. Also
>>> removes the need to make indirect object for data. Generates 
>>> smaller PDF
>>> file and smaller catalog.
>>>
>>> PdfName.cs: Couple of new tokens.
>>>
>>> PdfStamperImp.cs: If attachments were added, it would generate new
>>> EmbeddedFiles entry in the written PDF file. This fixes it so that
>>> previous EmbeddedFiles entry is removed.
>>>
>>> PdfStream.cs: Keeps track of original attachment size in DL.
>>> Documentation fixes.
>>>
>>> PdfSignatureAppearance.cs: Documentation fixes.
>>>
>>> Thanks,
>>> Vesa Jääskeläinen

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to