Re: [iText-questions] Centering Headers and Text

2002-07-01 Thread Bruno
Quoting Grant Smith <[EMAIL PROTECTED]>: > Now on to my newbie question: > > I'd like to have a centered header on each page of a report. Do I have to > resort to PdfContentByte, as discussed in chapter 10 of the tutorial ? I think this is the best solution. > Or is there an easier was to sim

[iText-questions] Conditional Footer

2002-07-01 Thread Deodhar, Aniruddha (CAP, GEFA, Contractor)
Hi, I have a problem here. I have two different TEXT footers. One is a single line footer (say footer 1) another is a multiline footer (say footer 2) Now I have some CONTENT to be printed on a pdf page. If this CONTENT exceeds one page, then I want to print the FOOTER 1 and continue the CONTENT

[iText-questions] problem of form field with japanese font

2002-07-01 Thread KuMi
Hello all,   I hava a problem of form field with japanese font.(HeiseiMin-W3) After generating PDF with iText, when I click on a text field default text disappears, and then click outside the field the text comes back. This problem does not happen with 1 byte font like helvetica.   Any sugge

[iText-questions] Why iText runs faster on second time?

2002-07-01 Thread Foo Siang Han
Hi, I have writen many report generated by iText. I have one question to satisfy my curiousity: How come the time taken to print the same report is faster on second time compared to the first time? Any general explanation is welcomed Thank you very much Michael MSN Photos is the easiest way

Re: [iText-questions] phonebook style output

2002-07-01 Thread Matt Benson
Basically, navigating around the iText site will take you to the tutorial. -Matt --- Doug Poland <[EMAIL PROTECTED]> wrote: > I just bid a job to create a phone book style > directory from an > address database. I've never used itext but from > what I've read > it's more that adequate for the t

Re: [iText-questions] Line Break

2002-07-01 Thread Matt Benson
What version of iText are you using? I had thought this had been fixed some time ago... -Matt --- Glauco Cesar de Castro <[EMAIL PROTECTED]> wrote: > Hello again. > > How can i break a line with iText? > I have a paragraph and i just want to make a line > break in the middle, > without inser

[iText-questions] Centering Headers and Text

2002-07-01 Thread Grant Smith
Hi All, Firstly let me thank the authors of iText for a superb library. Im just starting out with it, but it looks EXTREMELY useful. Now on to my newbie question: I'd like to have a centered header on each page of a report. Do I have to resort to PdfContentByte, as discussed in chapter 10 of

[iText-questions] Conditional Footer

2002-07-01 Thread Patil, Manohar (CAP, GEFA, Contractor)
Hi, I have a problem here. I have two different TEXT footers. One is a single line footer (say footer 1) another is a multiline footer (say footer 2) Now I have some CONTENT to be printed on a pdf page. If this CONTENT exceeds one page, then I want to print the FOOTER 1 and continue the CONTENT

Re: [iText-questions] On Demand PDF

2002-07-01 Thread Leonard Rosenthol
At 5:18 PM + 7/1/02, Vinay Kumar wrote: >My question is, is there any way, I could display PDF page by page basis. No, at least not with it being a PDF and using Acrobat as the display engine. Of course, if you wrote your own PDF display plugin OR did PDF rasterization on t

Re: [iText-questions] help on copy bookmarks

2002-07-01 Thread Leonard Rosenthol
At 10:24 AM -0700 7/1/02, Waymon Ho wrote: >I'm trying to copy the bookmarks into my new pdf file. I used >PDFreader to read and PDFwriter to write to the new document just >like example chap 0112. However, I notice in that example only copy >the the document without copying the bookmarks. S

Re: [iText-questions] On Demand PDF

2002-07-01 Thread Wilhelm *Rafial* Fitzpatrick
>My question is, is there any way, I could display PDF page by page >basis. Means once I get first page I display that and in the >background keep on creating other pages of the PDF. Or maybe get the >pages On Demand, create them when they are required. I don't think the PDF plugin will render

[iText-questions] help on copy bookmarks

2002-07-01 Thread Waymon Ho
Hi all, I'm trying to copy the bookmarks into my new pdf file. I used PDFreader to read and PDFwriter to write to the new document just like example chap 0112. However, I notice in that example only copy the the document without copying the bookmarks. So, can any one please give me some in

[iText-questions] On Demand PDF

2002-07-01 Thread Vinay Kumar
Hi, I have a requirement of displaying 150 to 200 pages in PDF. This data I get from the mainframe, which itself is a very time consuming process. Now when I render this data in PDF format, all the pages will be rendered together, so the end user just waits untill all the pages appear together.

[iText-questions] Cropping an Imported PDF page

2002-07-01 Thread Steve Fyfe
I am using iText to create a PDF that has my own text at the top followed by a reduced size image of another PDF. I currently have a problem because when my code adds the imported PDF to the output PDF, some of the text above the imported PDF is obscured. My program starts at the top adding tex

[iText-questions] RE: Table height

2002-07-01 Thread Paulo Soares
(b) is easy to do with PdfPCell.setFixedHeight(float fixedHeight). For (a) it must be done by trial and error. Best Regards, Paulo Soares > -Original Message- > From: Matthew Lavy [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 17:25 > To: Paulo Soares > Cc: [EMAIL PROTECTED]

[iText-questions] Re: Table height

2002-07-01 Thread Matthew Lavy
Paulo Soares writes: > If you chose the font size, the leading and the cells padding then a Table > or a PdfPTable can be used, just do the calculations. > If, on the other hand, you need a table that must be shrunk afterwards to > fit the page, a PdfPTable must be used. > This works fine if

RE: [iText-questions] Table height

2002-07-01 Thread Paulo Soares
If you chose the font size, the leading and the cells padding then a Table or a PdfPTable can be used, just do the calculations. If, on the other hand, you need a table that must be shrunk afterwards to fit the page, a PdfPTable must be used. Best Regards, Paulo Soares > -Original Message---

[iText-questions] Table height

2002-07-01 Thread Matthew Lavy
Does anyone know whether (and if so how) I can force a table (or a pdfptable) to be a specific height? I want to guarantee that I get three tables per A4 sheet and that all pages line up, so the output can be safely guillotined... Any advice gratefully received. Regards, Matthew -- Ma

Re: [iText-questions] Placing a Table into specific coordinates

2002-07-01 Thread Gabriel Gajdos
| > I am using Table (not PdfPTable & PDFTable) becose I need rowspans... | | Can't you avoid this problem by using a trick? | (Nested tables for instance) My App is a rewrite of former HTML output... But now, when Looking at your examples (& javadoc), I will have to change it a little bit... I

Re: [iText-questions] Placing a Table into specific coordinates

2002-07-01 Thread Bruno
Quoting Gabriel Gajdos <[EMAIL PROTECTED]>: > Hi there! > > Is it possible to place a table at specific coordinates? No. > I am using Table (not PdfPTable & PDFTable) becose I need rowspans... Can't you avoid this problem by using a trick? (Nested tables for instance) > It would be great to

RE: [iText-questions] how to draw a table vertically?

2002-07-01 Thread Paulo Soares
Here's an example of a rotated table. import java.io.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class vertical_table { public static void main(String[] args) { Document document = new Document(PageSize.A4, 50, 50, 50, 50); try { PdfWriter

Re: [iText-questions] how to draw a table vertically?

2002-07-01 Thread Bruno
Quoting monojit <[EMAIL PROTECTED]>: > Hi > I tried doing that.But all i get is an empty page.I tried using various > coordinates.But still i get an empty page.When i add the ContentByte while > writing the table,the table shows up,but when i use a template instead,i > get an empty page. > So

Re: [iText-questions] how to draw a table vertically?

2002-07-01 Thread Bruno
Quoting monojit <[EMAIL PROTECTED]>: > Hi Bruno > Here is the code I have written.But it doesnt generate any pages. I see you created the PdfTemplate, but I don't see you adding the Template to the PdfContentByte. > In writeSelectedRows() method of PdfPTable i am trying to add the rows

Re: [iText-questions] how to draw a table vertically?

2002-07-01 Thread Bruno
Quoting monojit <[EMAIL PROTECTED]>: > Thanks for your reply. > Well ..talking about templates,i thought we can only add text to a > template. > Can we add Elements to a template too? It's the other way round: some elements can add themselves to PdfContentByte objects: http://www.lowagie.com/iTe