[iText-questions] Filling pdf form fields with arabic?

2005-02-14 Thread Ayman Yasin
I am trying to fill a form field in an existing pdf file with Arabic text from a java servlet using iText. English works great but for Arabic the field shows garbage. I tried to play with the text field properties using adobe acrobat Middle Eastern edition. I changed the font to Arial and

Re: [iText-questions] Where'd the dtd go?

2005-02-14 Thread bruno
Eric Schneider wrote: Hi, I was recently contacted by a client concerning some work that was done a couple of years ago. I'm not 100% sure which iText version they're using but it's at least 2 1/2 years old. They're using the XML api for a few reports. These reports are failing because there d

Re: [iText-questions] RE: iText PDF417 non-printing ASCII chars?

2005-02-14 Thread Paulo Soares
Use setText(byte[]). If you use setText(String) the chars below \u0020 won't be converted. - Original Message - From: "Damian Breland" <[EMAIL PROTECTED]> To: "Damian Breland" <[EMAIL PROTECTED]>; Sent: Monday, February 14, 2005 10:15 PM Subject: [iText-questions] RE: iText PDF417 non-pr

[iText-questions] rotate 90 degrees counterclockwise direction

2005-02-14 Thread Rémi Guilbert
Hi, I need to do a 90 degrees counterclockwise direction rotation at the content of my pdf. The code below insert the content of my pdf with a 90 degrees clockwise direction rotation. document.setPageSize(PageSize.LETTER.rotate()); document.newPage(); PdfImportedPage pip = writer.getImportedPage(pd

[iText-questions] RE: iText PDF417 non-printing ASCII chars?

2005-02-14 Thread Damian Breland
  From: Damian BrelandSent: Mon 2/14/2005 5:07 PMTo: itext-questions@lists.sourceforge.netSubject: iText PDF417 non-printing ASCII chars? Hello, I have a PDF417 barcode that I need to use non-printing ASCII chars for data delimiters. ie: EOT (Hex 04), GS (Hex 1D), RS (Hex 1E). How can I

[iText-questions] Where'd the dtd go?

2005-02-14 Thread Eric Schneider
Hi, I was recently contacted by a client concerning some work that was done a couple of years ago. I'm not 100% sure which iText version they're using but it's at least 2 1/2 years old. They're using the XML api for a few reports. These reports are failing because there dtd is no longer poste

RE: [iText-questions] hyperlink

2005-02-14 Thread Gareth Edwards
I think so? The one released last month? Code below: tempphrase = REQUEST.phrase.init(content,REQUEST.fontlib.base); tempanchor = REQUEST.Anchor.init('Alphabus (externallink)',REQUEST.fontlib.href); tempanchor.setReference("http://www.alphabus.com.au/";);

[iText-questions] PdfTable

2005-02-14 Thread Nancy Nemouthe
Title: PdfTable  Excuse me but i don't speak English fluently. I want to write data in a pdfTable ( with two colums) and force the  writing direction: up to down, beginning by the first column. How can i do? thanks

RE: [iText-questions] Table border

2005-02-14 Thread Paulo Soares
You must also disable the border of individual cells. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of James Cowan > Sent: Monday, February 14, 2005 4:29 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Table border >

[iText-questions] Table border

2005-02-14 Thread James Cowan
Hi How do I disable the border in the Table type. I have tried table.disableBorderSide(Rectangle.RIGHT);... and table.setBorderWidth(0); but it still seems to render a border. James --- SF email is sponsored by - The IT Product Guide Read h

RE: [iText-questions] problem in table

2005-02-14 Thread Paulo Soares
You don't understand. If you can't create a simple test code with the problem, how can you expect to solve it? > -Original Message- > From: Sameer Kumar [mailto:[EMAIL PROTECTED] > Sent: Monday, February 14, 2005 3:57 PM > To: Paulo Soares > Subject: Re: [iText-questions] problem in table

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Mark Hall
On Monday 14 February 2005 14:49, bruno wrote: > Mark Hall wrote: > >On Monday 14 February 2005 13:53, Bruno Lowagie wrote: > >>Mark Hall wrote: > >>Would using /trkeepfollow solve the problem? > >> > >>How hard would it be to implement this? > >>com.lowagie.text.Row should have a member-variable k

RE: [iText-questions] problem in table

2005-02-14 Thread Paulo Soares
You must create a test code that I can run. > -Original Message- > From: Sameer Kumar [mailto:[EMAIL PROTECTED] > Sent: Monday, February 14, 2005 3:28 PM > To: Paulo Soares > Subject: Re: [iText-questions] problem in table > > hi paulo > this is my function which is generate code > pdf

RE: [iText-questions] problem in table

2005-02-14 Thread Paulo Soares
You have to enable it in the outer and inner table. If it still doesn't work post the code so that the problem can be reproduced. > -Original Message- > From: Sameer Kumar [mailto:[EMAIL PROTECTED] > Sent: Monday, February 14, 2005 2:48 PM > To: Paulo Soares > Subject: Re: [iText-questio

[iText-questions] Autoreply: iText-questions digest, Vol 1 #2704 - 10 msgs

2005-02-14 Thread jens . hsu
·s¦~®¥³ß¡I¥»¤½¥q¤§¬K¸`°²´Á¬°¤G¤ë¤­¤é(¬P´Á¤»)¦Ü¤G¤ë¤Q¥|¤é(¬P´Á¤@)¡A±N©ó¤G¤ë¤Q¤­¤é(¬P´Á¤G)«ì´_¥¿±`¤W¯Z¡C ·q¯¬·s¬K§Ö¼Ö¡A¸U¨Æ¦p·N¡C Our office is closed from February 5 to February 14 due to the Chinese New Year Holiday. The office will be resumed on February 15. Happy New Year. --

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread bruno
Mark Hall wrote: On Monday 14 February 2005 13:53, Bruno Lowagie wrote: Mark Hall wrote: Would using /trkeepfollow solve the problem? How hard would it be to implement this? com.lowagie.text.Row should have a member-variable keepFollow. This member-variable should be set while constructing the T

RE: [iText-questions] FontFactory.registerDirectories(); register ing all the fonts in a ll the locales

2005-02-14 Thread Ricardo Coutinho
I found what I was looking for.   I was using the wrong method. The method was interested in is the FontFactory.getRegisteredFamilies()   Ricardo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo CoutinhoSent: 14 February 2005 14:00To: itext-questions@lists.sourcefor

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Mark Hall
On Monday 14 February 2005 13:53, Bruno Lowagie wrote: > Mark Hall wrote: > Would using /trkeepfollow solve the problem? > > How hard would it be to implement this? > com.lowagie.text.Row should have a member-variable keepFollow. > This member-variable should be set while constructing the Table, >

RE: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread SMETS Katy
Title: Re: [iText-questions] RtfWriter2 and fitspage() Mark,   That would be great!! Many thanks!   Greetings, Katy From: Mark Hall [mailto:[EMAIL PROTECTED]Sent: Mon 14/02/2005 13:50To: SMETS KatyCc: bruno; itext-questions@lists.sourceforge.netSubject: Re: [iText-questions] RtfWriter2

[iText-questions] FontFactory.registerDirectories(); registering all the fonts in a ll the locales

2005-02-14 Thread Ricardo Coutinho
Hi,   Is there a way to limit the locales I want to register when using the FontFactory.registerDirectories();   When calling FontFactory.getRegisteredFonts(); it is returning all the fonts in all possible languages and I am only interested in English   Thanks   Ricardo _

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Bruno Lowagie
Mark Hall wrote: On Monday 14 February 2005 12:08, SMETS Katy wrote: Is there a method to check if a table fits on the page for the RtfWriter2? I know this exists for the PdfWriter - but I don't know how to achieve the same result with the RtfWriter2 .. Can anyone help me? (please put me in CC a

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Mark Hall
On Monday 14 February 2005 13:32, SMETS Katy wrote: > What I need to do is the following: > In my table I have blocks of rows that belong together. Each time I add a > block of rows, I need to check if the table still fits on the page. In case > the table doesn't fit the page, I should remove those

[iText-questions] Autoreply: iText-questions digest, Vol 1 #2703 - 12 msgs

2005-02-14 Thread jens . hsu
·s¦~®¥³ß¡I¥»¤½¥q¤§¬K¸`°²´Á¬°¤G¤ë¤­¤é(¬P´Á¤»)¦Ü¤G¤ë¤Q¥|¤é(¬P´Á¤@)¡A±N©ó¤G¤ë¤Q¤­¤é(¬P´Á¤G)«ì´_¥¿±`¤W¯Z¡C ·q¯¬·s¬K§Ö¼Ö¡A¸U¨Æ¦p·N¡C Our office is closed from February 5 to February 14 due to the Chinese New Year Holiday. The office will be resumed on February 15. Happy New Year. --

RE: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread SMETS Katy
Title: Re: [iText-questions] RtfWriter2 and fitspage()   Bruno,   This seems a good solution to me. What I need to do is the following: In my table I have blocks of rows that belong together. Each time I add a block of rows, I need to check if the table still fits on the page. In case th

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Bruno Lowagie
SMETS Katy wrote: I make one headTable with one column. For each block of rows I make a subTable which will be placed inside a row of the headTable. When a block (so == a row of the headTable) doesn't fit the page, I make a new headTable with a new row (with the subTable) in it, on a new page. T

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread bruno
Mark Hall wrote: On Monday 14 February 2005 12:08, SMETS Katy wrote: Is there a method to check if a table fits on the page for the RtfWriter2? I know this exists for the PdfWriter - but I don't know how to achieve the same result with the RtfWriter2 .. Can anyone help me? (please put me in CC a

Re: [iText-questions] RTF editing (or DefaultStyledDocument to iText Document)

2005-02-14 Thread Mark Hall
On Sunday 13 February 2005 04:38, David Chandler wrote: > Is there a way to go from a DefaultStyledDocument to an iText > Document? Then I could write out the RTF with my formatting > preserved. I have never used the DefaultStyledDocument, so I can't guarantee anything, but if you can iterate thr

Re: [iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread Mark Hall
On Monday 14 February 2005 12:08, SMETS Katy wrote: > Is there a method to check if a table fits on the page for the RtfWriter2? > I know this exists for the PdfWriter - but I don't know how to achieve the > same result with the RtfWriter2 .. Can anyone help me? (please put me in CC > as I'm not su

[iText-questions] RtfWriter2 and fitspage()

2005-02-14 Thread SMETS Katy
Is there a method to check if a table fits on the page for the RtfWriter2? I know this exists for the PdfWriter - but I don't know how to achieve the same result with the RtfWriter2 .. Can anyone help me? (please put me in CC as I'm not subscribed to the mailinglist)   Many thanks in advance!

RE: [iText-questions] problem in table

2005-02-14 Thread Paulo Soares
You need to enable setSplitRows(). It's enabled by default in the latest release. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sameer Kumar > Sent: Monday, February 14, 2005 5:05 AM > To: itext-questions@lists.sourceforge.net > Subject: [iTex

RE: [iText-questions] [XML to PDF]Chinese character in XML

2005-02-14 Thread Paulo Soares
You need the encoding to be "Identity-H". (B (B> -Original Message- (B> From: [EMAIL PROTECTED] (B> [mailto:[EMAIL PROTECTED] On (B> Behalf Of Raymond (B> Sent: Sunday, February 13, 2005 2:19 PM (B> To: itext-questions@lists.sourceforge.net (B> Subject: [iText-questions] [XML to

RE: [iText-questions] hyperlink

2005-02-14 Thread Paulo Soares
Are you using the latest iText release? If you are and it still doesn't work post your code. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gareth Edwards > Sent: Monday, February 14, 2005 3:58 AM > To: Bruno Lowagie; hwell316 > Cc: itext-questi