Re: [iText-questions] Problems Using ColumnText with PdfStamper

2007-09-12 Thread Bruno Lowagie (iText)
dayvidpow wrote: The problem is when I add text to columnText and then renders it using go(), it does not render all the text that was added to the column, because the column got filled up. And you can ask the ColumnText object if there's still more text. Is it possible for me to get at the

[iText-questions] Problem with ColumnText and SpaceAfter of paragraphs

2007-09-12 Thread Stephan Michels
Hi, I have the following problem, if I render text with a ColumnText object then the output depends where I invoke go(). For example, I get a different result if I do following steps 1. add paragraph 1 to ColumnText 2. add paragraph 2 3. invoke go() and 1. add paragraph 1 to ColumnText 2.

[iText-questions] Using font from imported pages

2007-09-12 Thread Friedhelm Hellerhoff
After I have imported an existing page (PdfImportedPage) and used it in the PdfWriter, all the font coming from the page will be included in the resulting page. How Can I reuse theese imported fonts for my own phrases inside the new document? Thanks in advance, Fridi

Re: [iText-questions] bug: PDF text overlaps image when image pushed to next page

2007-09-12 Thread Bruno Lowagie (iText)
Bruno Lowagie wrote: Chad Loder wrote: Hi. Has anyone had a chance to look at this? Unfortunately, due to circumstances in my dayjob, I won't be able to look at this problem before next Wednesday. OK, done. The fix is in the SVN repository (com.lowagie.text.pdf.PdfCell). br, Bruno

Re: [iText-questions] Problems Using ColumnText with PdfStamper

2007-09-12 Thread dayvidpow
If your ColumnText object says there's still more text, then that's what you should do. Thanks Bruno, I got it to work. The problem was - I was creating a new ColumnText object for each new page inserted using PdfStamper. However, I changed it to continue using the old ColumnText Object but set

[iText-questions] FW: [ itext-Bugs-1793000 ] 2.0.5 RtfTableOfContents not produced

2007-09-12 Thread Paulo Soares
This is just a reminder to Mark Hall, it's probably connected with the other field problem. Paulo -Original Message- From: Nobody [mailto:[EMAIL PROTECTED] On Behalf Of SourceForge.net Sent: Wednesday, September 12, 2007 10:23 AM To: [EMAIL PROTECTED] Subject: [

Re: [iText-questions] Problem with ColumnText and SpaceAfter of paragraphs

2007-09-12 Thread Bruno Lowagie (iText)
Stephan Michels wrote: Hi, I have the following problem, if I render text with a ColumnText object then the output depends where I invoke go(). This could be solved by adding: compositeColumn.useAscender = useAscender; on line 1118 in class ColumnText. However, I'd like to have Paulo's

[iText-questions] Can not open by Acrobat reader 8.1

2007-09-12 Thread yuanjk
hi I create a pdf file by using iText PdfContentByte,PdfTemplate and embede japanese font(MS-UIGothic) which contain only one word. When I use Acobat Reader5.1 to open the pdf file which was created by iText, It's seems OK, But when I open it by Acobat Reader 8.1 , a white page was showned. At

Re: [iText-questions] Problem with ColumnText and SpaceAfterof paragraphs

2007-09-12 Thread Paulo Soares
I didn't have yet time to reproduce the problem but the the placement of go() has influence in the output (this is by design) specially in the spacing before where it's not applied in the first paragraph each time go() is called. Paulo -Original Message- From: [EMAIL PROTECTED]

Re: [iText-questions] Can not open by Acrobat reader 8.1

2007-09-12 Thread Paulo Soares
It would help to see the PDF. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yuanjk Sent: Wednesday, September 12, 2007 11:39 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Can not open by Acrobat reader 8.1

Re: [iText-questions] Problem with ColumnText and SpaceAfterof paragraphs

2007-09-12 Thread Bruno Lowagie (iText)
Paulo Soares wrote: I didn't have yet time to reproduce the problem but the the placement of go() has influence in the output (this is by design) specially in the spacing before where it's not applied in the first paragraph each time go() is called. That's what I mean: if you add the line I

Re: [iText-questions] Problem with ColumnTextand SpaceAfterof paragraphs

2007-09-12 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie (iText) Sent: Wednesday, September 12, 2007 11:54 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with ColumnTextand SpaceAfterof paragraphs

Re: [iText-questions] [RTF] page numbering in RtfHeaderFooter : iText 2.0.5 breaks existing code ?

2007-09-12 Thread Bruno Lowagie (iText)
Mark Hall wrote: I'm currently in the process of moving, and work is taking up most of my time, but I'll try and look into what is causing this as soon as possible. It took a while for me to find out how the RTF part works, but eventually I found out the problem was caused by one of my own

Re: [iText-questions] Text Wrapping and rotation

2007-09-12 Thread Leonard Rosenthol
Easiest way to do this is to create the rotated version is a separate PDF, but unrotated. Then place the PDF, rotated, into the main document. Leonard On Sep 11, 2007, at 5:12 PM, Brian Daddino wrote: Hi, I’m new to iText, but I have spent about 6 hours searching your tutorials, faq,

Re: [iText-questions] [RTF] page numbering in RtfHeaderFooter : iText 2.0.5 breaks existing code ?

2007-09-12 Thread Alexis Pigeon
Hi Bruno, On 12/09/2007, Bruno Lowagie (iText) [EMAIL PROTECTED] wrote: Mark Hall wrote: I'm currently in the process of moving, and work is taking up most of my time, but I'll try and look into what is causing this as soon as possible. It took a while for me to find out how the RTF

Re: [iText-questions] BuiltinFonts14 and PDFA1A - All the f onts must be embedded

2007-09-12 Thread max40
if I use setPDFXConformance(PdfWriter.PDFA1A) I may not use BaseFont.TIMES_ROMAN? Thanks MAX Setting embedding to true doesn't make sense for the standard type 1 fonts (also referred to as BuiltInFonts14). br, Bruno

Re: [iText-questions] How to renumber headings in a concatenated document?

2007-09-12 Thread Björn Ryding
Bruno Lowagie (iText) wrote: I've read and understood the requirement. What I don't understand is why the page numbers are added in the first place (if they aren't added, you needn't worry about removing them). In the proof of concept version of the solution I used Office 2003 XML to create

Re: [iText-questions] BuiltinFonts14 and PDFA1A - All the fonts must be embedded

2007-09-12 Thread Leonard Rosenthol
Correct. Leonard On Sep 12, 2007, at 8:25 AM, max40 wrote: if I use setPDFXConformance(PdfWriter.PDFA1A) I may not use BaseFont.TIMES_ROMAN? Thanks MAX Setting embedding to true doesn't make sense for the standard type 1 fonts (also referred to as BuiltInFonts14). br, Bruno

[iText-questions] 2.0.5 RtfTableOfContents not produced ?

2007-09-12 Thread Helmut Denk
RtfTableOfContents seems to work with 2.0.4 but shows no toc with 2.0.5 *** snip *** document.open(); Paragraph para = new Paragraph(); para.add(new RtfTableOfContents(RIGHT CLICK AND HERE AND SELECT \UPDATE FIELD\ TO UPDATE.)); document.add(para); ... document.close(); ***

Re: [iText-questions] 2.0.5 RtfTableOfContents not produced ?

2007-09-12 Thread Mark Hall
On Wednesday 12 September 2007 10:32:45 Helmut Denk wrote: RtfTableOfContents seems to work with 2.0.4 but shows no toc with 2.0.5 The bug has been fixed in the SVN repository and will be in the 2.0.6 release. Mark - This

[iText-questions] i have a blank page with PdfPTable

2007-09-12 Thread Romanet Florent
Title: i have a blank page with PdfPTable hello, when I add a pdfptable with the same height of the document, I find a bottom marge from the pdfptable in a second page. this second page is blank. so I tried to use tabTotal.setKeepTogether(true); tabTotal.setSpacingAfter(0);

Re: [iText-questions] [RTF] page numbering in RtfHeaderFooter : iText 2.0.5 breaks existing code ?

2007-09-12 Thread Bruno Lowagie
Alexis Pigeon wrote: Thanks Bruno for the quick fix, but there's no rush for me to switch to 2.0.5, I guess I'll wait for 2.0.6 to upgrade. I won't wait for 2.0.6 as long as I waited for 2.0.5 ;-) br, Bruno - This SF.net

Re: [iText-questions] Scaling with aspect ratio--preserved

2007-09-12 Thread Bruno Lowagie
meenakshi thilagam wrote: Hello Everybody, I am trying to create a table and put images in each cell of the table. What ever the size of the image is it should fit the cell and the aspect ratio should be preserved. I see you've tried scaleToFit(). That works for me. I have also tried

Re: [iText-questions] i have a blank page with PdfPTable

2007-09-12 Thread Bruno Lowagie
Romanet Florent wrote: but nothing work. Everything works. But maybe not the way you expect. I'm not sure about your requirements, but if you want to position the table on one and only one page, why not use writeSelectedRows? br, Bruno

Re: [iText-questions] BuiltinFonts14 and PDFA1A - All the fonts mustbe embedded

2007-09-12 Thread Bruno Lowagie
max40 wrote: Why? So, I must always load my own fonts? Or which can I use? You could buy Times Roman (I believe Adobe sells the font). iText supports plenty of font types: TTF, OTF,... Read chapter 8 of iText in Action for more info. br, Bruno

Re: [iText-questions] Problem withColumnTextand SpaceAfterof paragraphs

2007-09-12 Thread Paulo Soares
I added the new property ColumnText.setAdjustFirstLine() to take care of this. If you have: 1 2 3 go() It's equivalent to: 1 go() 2 setAdjustFirstLine(false) go() 3 go() Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent:

Re: [iText-questions] Text Wrapping and rotation

2007-09-12 Thread Brian Daddino
Sorry if this is a duplicate I must be missing something then. The text in my template does not wrap to the next line if it is too long. It simply cuts off at the end of the template. Also, I must not be using the rotation correctly. All that prints is THIS IS A lot l, the rest is

[iText-questions] ClassCastException in PdfCopyFieldsImp.updateCalculationOrder()

2007-09-12 Thread nleduc
We use iText to generate employee forms for viewing and printing online. We read a PDF created with Acrobat version 7, write data to the form fields and then flatten the forms. In one of our applications, the user needs to see multiple employee forms. Our strategy for this is to create each

Re: [iText-questions] bug: PDF text overlaps image when image pushed to next page

2007-09-12 Thread Chad Loder
On Wed, Sep 12, 2007 at 11:18:47AM +0200, Bruno Lowagie (iText) wrote: Bruno Lowagie wrote: Chad Loder wrote: Hi. Has anyone had a chance to look at this? Unfortunately, due to circumstances in my dayjob, I won't be able to look at this problem before next Wednesday. OK, done. The

Re: [iText-questions] ClassCastException in PdfCopyFieldsImp.updateCalculationOrder()

2007-09-12 Thread Xavier Le Vourch
nleduc wrote: I don't know exactly which version of iText we are using (maybe someone could tell me if there is somewhere in the jar file I can find that). System.out.println(com.lowagie.text.Document.getVersion()); will print out the iText version. Xavier -- Xavier Le Vourch Brittany