[iText-questions] Whole column in PdfPTable disappears

2010-04-16 Thread Stefan Lohr
Hello List-Members, my problem is that in a PdfPTable a whole column just disappears. I construct a PDF document with the use of several classes: One that constructs tables, one that arranges multiple tables in the document and another one for header and footer of the pages. The tables itself g

Re: [iText-questions] Row height in parsed html snippets

2010-04-16 Thread 1T3XT info
Joke Pol wrote: > Hello > > I’m using html template snippets to generate a pdf document. I managed > to controll the width of cells with colspans. But I did not find a style > or attribute to reduce the default height of the cells. Better support for HTMLWorker is on my TODO list, but I won't b

Re: [iText-questions] Background image, text in pixels position

2010-04-16 Thread 1T3XT info
Kelvin Sim wrote: > So far I've managed to place the background image, but can't seems to > find a good way to print the text onto the form based on its X-Y > coordinate. Have you tried using ColumnText? ColumnText is an object to which you can add objects such as Phrase, Paragraph, PdfPTable,.

Re: [iText-questions] WMF displays differently in pdf

2010-04-16 Thread 1T3XT info
StephanP wrote: > Thanks for the prompt response. I've fixed the formatting issue. > > Can you suggest a different way of adding a wmf image into a pdf which takes > into account rounding etc? I've scoured the internet but there is no > information on adding a wmf any differently from the way I

Re: [iText-questions] Text is aligned to top on pdf form flattening

2010-04-16 Thread 1T3XT info
Keith O wrote: >> Do you have idea why it is so and how it can be fixed? > > http://api.itextpdf.com/com/itextpdf/text/pdf/AcroFields.html#setExtraMargin%28float,%20float%29 The method setExtraMargin allows you to compensate for cross-version differences of the position of the baseline. I think

Re: [iText-questions] Text is aligned to top on pdf form flattening

2010-04-16 Thread Keith O
> Date: Fri, 16 Apr 2010 13:09:55 +0300 > From: work.and...@gmail.com > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Text is aligned to top on pdf form flattening > > Hi iText support team! > > When a flatten version of pdf is created - values in fields (which have > turn

Re: [iText-questions] WMF displays differently in pdf

2010-04-16 Thread StephanP
Thanks for the prompt response. I've fixed the formatting issue. Can you suggest a different way of adding a wmf image into a pdf which takes into account rounding etc? I've scoured the internet but there is no information on adding a wmf any differently from the way I have done it. R 1T3XT i

[iText-questions] Text is aligned to top on pdf form flattening

2010-04-16 Thread Andron
Hi iText support team! When a flatten version of pdf is created - values in fields (which have turned on 'multi line' option only) will be placed to the top of the field, instead of to have some margin at the top. When a flatten version of pdf is created directly in Acrobat Pro - all is okay.

[iText-questions] Background image, text in pixels position

2010-04-16 Thread Kelvin Sim
Hi, I'm having problem achieving this. Basically I have a form as my background image and I have text that I want to print onto this background image to create a PDF file. Basically I have the background image, and also coordinate (X-Y values) where I am suppose to print the text to, where some of

Re: [iText-questions] HTMLWorker and support for lettered lists

2010-04-16 Thread Joke Pol
Sorry for the bad layout, another attempt: if (tag.equals("ol")) { if (pendingLI) endElement("li"); skipText = true; cprops.addToChain(tag, h); com.lowagie.text.List list = new com.lowagie.text.List(true

[iText-questions] HTMLWorker and support for lettered lists

2010-04-16 Thread Joke Pol
Hello I noticed the HTMLWorker does not support lettered lists. I needed them and discovered the following change did the job for me: if (tag.equals("ol")) {if (pendingLI) endElement("li");skipText = true; cprops.addT

[iText-questions] Row height in parsed html snippets

2010-04-16 Thread Joke Pol
Hello I'm using html template snippets to generate a pdf document. I managed to controll the width of cells with colspans. But I did not find a style or attribute to reduce the default height of the cells. Here a stripped example of my code. It produces a simple table: a b X Y I want les