Re: [iText-questions] Problem with long PdfName objects

2006-05-27 Thread Paulo Soares
May 25, 2006 8:36 PM Subject: Re: [iText-questions] Problem with long PdfName objects The problem with using a new constructor is that it will allow having a big name in PdfReader but will not allow the duplication of the object with the normal constructor. It introduces complexity and doesn't

Re: [iText-questions] Problem with long PdfName objects

2006-05-25 Thread Paulo Soares
- From: "Mark Storer" <[EMAIL PROTECTED]> To: Sent: Thursday, May 25, 2006 5:41 PM Subject: RE: [iText-questions] Problem with long PdfName objects I think it's better to remove the length check altogether. Not even Acrobat 4.0 complains about it and if Acrobat is ready to

Re: [iText-questions] Problem with long PdfName objects

2006-05-25 Thread Paulo Soares
That's a good idea but it would change everything in the current JVM for the user and for the others. Paulo - Original Message - From: "Filipe Fedalto" <[EMAIL PROTECTED]> To: Sent: Thursday, May 25, 2006 7:22 PM Subject: Re: [iText-questions] Problem with long

Re: [iText-questions] Problem with long PdfName objects

2006-05-25 Thread Filipe Fedalto
Hi all,   There's one other idea, which may work in each and all of the cases here described. Inspired by Swing Architecture, my sugestion would be to make some architectural enhancements so as to allow this (Name Lenght) and other parameters to be configurable by the developer.   In this case, th

RE: [iText-questions] Problem with long PdfName objects

2006-05-25 Thread Mark Storer
; Soares > Sent: Thursday, May 25, 2006 2:13 AM > To: [email protected] > Subject: RE: [iText-questions] Problem with long PdfName objects > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL

RE: [iText-questions] Problem with long PdfName objects

2006-05-25 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Thursday, May 25, 2006 7:28 AM > To: [email protected] > Subject: Re: [iText-questions] Problem with long PdfName objects >

Re: [iText-questions] Problem with long PdfName objects

2006-05-24 Thread Bruno Lowagie
Filipe Fedalto wrote: Therefore, I have two questions regarding these subjects: 1) What does PDF Viewers (namely acrobat reader and acrobat standard) do when they face these longer-than-allowed names? Do they ignore them? Do they truncate them into 127 characters? Fact is that they open my d

[iText-questions] Problem with long PdfName objects

2006-05-24 Thread Filipe Fedalto
Hi all, I stepped into a problem when using PdfReader to open some documents. For instance, an IllegalArgumentException is thrown by PdfName constructor complaining about some PdfName being too long. The exception is as follows: java.lang.IllegalArgumentException: The name 'Corpo de texto;