Re: [iText-questions] Nullpointer in setListOption()

2008-02-29 Thread Leonard Rosenthol
You can NOT mix Designer-based forms with the AcroFields() methods - since Designer forms MAY NOT have any fields... Leonard On Feb 29, 2008, at 12:30 PM, VanderMolen, David wrote: > That is true, but if generated pdf is an end product, that may be > adequate. The point I am trying to make

Re: [iText-questions] Need Help

2008-02-29 Thread Leonard Rosenthol
Not all images in a PDF are JPEG - most, in fact, are not. I also don't know what you mean by "{combination of small-2 objects". Can you provide some sample(s) and explantation? Leonard On Feb 29, 2008, at 7:43 AM, Priyanka Prasad, HCL-Industry Solutions wrote: > Thanx for your response but

Re: [iText-questions] iText fonts for Danish and Chinese characters

2008-02-29 Thread web22
FontSelector worked great. I have provided an example of the code I used. BaseFont bf = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); (used for Chinese) FontSelector sel = new FontSelector(); sel.addFont(new Font(Font.HELVETICA, 14, Font.NORMAL)); sel.addFont(new F

Re: [iText-questions] Nullpointer in setListOption()

2008-02-29 Thread VanderMolen, David
That is true, but if generated pdf is an end product, that may be adequate. The point I am trying to make is that if the pdf was created with Designer, setListOption causes a nullpointer if you use the field name instead of the field key, which is somewhat confusing if you are also using setFie

Re: [iText-questions] Nullpointer in setListOption()

2008-02-29 Thread Paulo Soares
It looks like it works but it doesn't. It changes the acroform but not the xfa and if you return to Designer the changes will be gone. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of VanderMolen, David > Sent: Friday, February 29, 2008 4:

Re: [iText-questions] Nullpointer in setListOption()

2008-02-29 Thread VanderMolen, David
I used Designer, and the setListOption works if passed the Field key, but not the field name. Methods like setField use the xfa.findFieldName and so work with the name, not just the key. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paulo Soares Sent: Fr

Re: [iText-questions] Spanish Character

2008-02-29 Thread Carlos de Luna Saenz
Número de Póliza es lo correcto, acento en la u de número y la ó de póliza. As Paulo mentioned look if you set the xml to be UTF-8 encoding. Greetings - Mensaje original De: Arathi Girimallappa <[EMAIL PROTECTED]> Para: Post all your questions about iText here Enviado: viernes, 29 de f

Re: [iText-questions] Nullpointer in setListOption()

2008-02-29 Thread Paulo Soares
iText only supports setField() with PDFs created with Designer. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of VanderMolen, David > Sent: Friday, February 29, 2008 3:07 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-que

[iText-questions] Nullpointer in setListOption()

2008-02-29 Thread VanderMolen, David
I am using a pdf created with Adobe Designer 7.0... When calling setListOption with a shortened (non-key) field name, the method fails with a nullpointer exception on the Item. Is there a reason that the fieldName parameter that works for setField doesn't work here? public boolean setListOption(

Re: [iText-questions] Spanish Character

2008-02-29 Thread Paulo Soares
It look like the problem is in the xml encoding. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Arathi Girimallappa > Sent: Friday, February 29, 2008 2:45 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions]

Re: [iText-questions] Spanish Character

2008-02-29 Thread Arathi Girimallappa
I tried to include the accent mark in my XML file for o in the word Poliza, but it prints some other character in the pdf. Thanks, Arathi Carlos de Luna Saenz <[EMAIL PROTECTED]> wrote: have your tried to put POLICYNumber / Número de Poliza instead??? I haven't dound any troub

Re: [iText-questions] Spanish Character

2008-02-29 Thread Arathi Girimallappa
Numero de Poliza. An accent mark over o in the word Poliza. Thank you, Arathi Paulo Soares <[EMAIL PROTECTED]> wrote: Where is the spanish text? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Arathi Girimallappa > Sent: Frid

Re: [iText-questions] Spanish Character

2008-02-29 Thread Carlos de Luna Saenz
have your tried to put POLICYNumber / Número de Poliza instead??? I haven't dound any trouble with it until now. Greetings Carlos de Luna - Mensaje original De: Arathi Girimallappa <[EMAIL PROTECTED]> Para: Post all your questions about iText here Enviado: viernes, 29 de febrero, 2008

Re: [iText-questions] Spanish Character

2008-02-29 Thread Paulo Soares
Where is the spanish text? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Arathi Girimallappa > Sent: Friday, February 29, 2008 2:19 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Spanish Character >

Re: [iText-questions] PDF not displaying L-acute(Slovakain Character)l' correctly

2008-02-29 Thread Paulo Soares
I suppose you mean BaseFont.createFont("ARIALUNI.TTF",BaseFont.IDENTITY_H, true). The problem is not the way the font is created but rather whether if the char is not transformed elsewhere and iText never sees it. Try: BaseFont bf = BaseFont.createFont("ARIALUNI.TTF",BaseFont.IDENTITY_H, true);

Re: [iText-questions] Spanish Character

2008-02-29 Thread Arathi Girimallappa
I have a xml file with SAX parser which converts xml to pdf using itext. The code which I am trying to generate Spanish character is as below, POLICY NUMBER/Numero \u53d6\ de Poliza: Here I am first trying to print some character other than English. Please let me know the corr

Re: [iText-questions] PDF not displaying L-acute(Slovakain Character)l' correctly

2008-02-29 Thread Shachi
We have used the PDF font in this way: BaseFont.createFont("ARIALUNI.TTF",BaseFont.IDENTITY_V, true) We have also tried CP1250 and CP1252 as encoding but no vain.. Please help that in what way should this be used.. Thanks, Shachi Paulo Soares wrote: > > Even plain Arial has that character. If

Re: [iText-questions] How to disable text wrapping in a PdfPCell?

2008-02-29 Thread Gregan, Miroslav
Hi all, I changed the font from DejavuSansFont to Tahoma, and the cell's content is no more wrapped. How is it possible that changing the font modifies the cell's wrapping behaviour (by mean for my particular case of course)? Thanks, Miro From: [EMAIL PROT

Re: [iText-questions] Need Help

2008-02-29 Thread Priyanka Prasad, HCL-Industry Solutions
Thanx for your response but the problem lies in the fact that the images in PDF besides being JPG are also a combination of small-2 objects which have resulted into an image and we are not able to trace which object belongs to which image. Regards! Priyanka Prasad _

[iText-questions] Cedric Lemaire/FR/EUROPE/GROUP is out of the office.

2008-02-29 Thread cedric . lemaire
I will be out of the office starting 02/29/2008 and will not return until 03/10/2008. I will respond to your message when I return. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete

Re: [iText-questions] message at silent print since last acrobat aeader update

2008-02-29 Thread Leonard Rosenthol
On Feb 28, 2008, at 1:48 PM, Sérgio Oliveira wrote: > 1 - "Since the latest update of Acrobat Reader": What update? 8.0? 8.1.2. If you're not using it - UPDATE! > In my opinion Adobe is to much preocuped with security... Tell that to all the hackers out there who spent HOURS a

Re: [iText-questions] Need Help

2008-02-29 Thread Leonard Rosenthol
_IF_ you have a way to identify what the images are programmatically - that same sample can be used to replace any/all images on the page. Leonard On Feb 28, 2008, at 10:06 AM, Priyanka Prasad, HCL-Industry Solutions wrote: Hi, I am currently working on a Project where I need to read and

Re: [iText-questions] contribution: FontReplacingPdfSmartCopy: duplicate TTF font subset merging and replacement (was: How to remove embedded fonts from a pdf document)

2008-02-29 Thread Paulo Soares
Classes in the same iText package is not a patch to iText. Licensewise as long as you don't change iText you don't have to tell anybody what you are doing even if your classes are in the com.lowagie package. About your changes, as I said, the scope is too narrow (supporting only truetype, no differ

Re: [iText-questions] contribution: FontReplacingPdfSmartCopy: duplicate TTF font subset merging and replacement (was: How to remove embedded fonts from a pdf document)

2008-02-29 Thread Lari Hotari
I have a customer that would like to use this feature. The problem is that iText has to be patched (classes must be in the itext package) to use this. Therefore it would be nice if this could be included in iText. I'd like to help with this. Is there anything that I could do to get this part to

Re: [iText-questions] background-images repeat-options

2008-02-29 Thread Paulo Soares
Or just place the same image repeatedly until all the page is filled. It's a simple loop or nested loop. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Thursday, February 28, 2008 12:34 PM > To: Post all your qu

Re: [iText-questions] PDF not displaying L-acute(Slovakain Character)l' correctly

2008-02-29 Thread Paulo Soares
Even plain Arial has that character. If you are using encoding Identity-H and the char doesn't show that's because iText never sees that char. Try to display the char as a literal "\u0139". Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf O

Re: [iText-questions] URGENT !! Queriers iText and CSS

2008-02-29 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of deepti > Sent: Friday, February 29, 2008 3:58 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] URGENT !! Queriers iText and CSS > > Hi, > Can CSS(DOM parser) styles

Re: [iText-questions] Spanish Character

2008-02-29 Thread Paulo Soares
There's no problem with that, even the built-in fonts support it. What did you try that didn't work? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Arathi Girimallappa > Sent: Thursday, February 28, 2008 7:50 PM > To: itext-questions@li

Re: [iText-questions] iText fonts for Danish and Chinese characters

2008-02-29 Thread Paulo Soares
FontSelector may help you. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, February 28, 2008 6:21 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] iText fonts for Danish and C