[iText-questions] Some more params to Chunk

2003-03-06 Thread Jaladurgam, Ramana
HI, How to achieve this: Paragraph p = new Paragraph(); p.add(new Chunk("First chunk"); p.add(); p.add(); Please donot suggest a table, the spaces are of different sizes. If not possible, with the current version of iText, can I get so

Re: [iText-questions] Load fillable PDF form

2003-03-06 Thread Paulo Soares
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 20:44 Subject: [iText-questions] Load fillable PDF form > > > > > > DumpFields.java file gives the name and position of the fields on the > form. > Now how to load data to those fields?

Re: [iText-questions] iText download

2003-03-06 Thread Paulo Soares
- Original Message - From: <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 18:12 Subject: RE: [iText-questions] iText download > > I am new to iText. I have a fillable w2 form. How to load data to that > using iText? > What's

RE: [iText-questions] Line height in a chunk

2003-03-06 Thread Jaladurgam, Ramana
The one method I found is int go(), go(simulate). But the documentation says they return NO_MORE_TEXT/NO_MORE_COLUMN. How does we interpret them? Ramana. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 4:20 PM To: Bruno; Jaladurg

Re: [iText-questions] servlet multiple loops, help please

2003-03-06 Thread Paulo Soares
This is the documented behavior of IE. It calls 3 times before finally getting the document. Search the mailing list for "3 times" for more details. Best Regards, Paulo Soares - Original Message - From: "Lynn Young" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 06, 200

Re: [iText-questions] Line height in a chunk

2003-03-06 Thread Paulo Soares
- Original Message - From: "Bruno" <[EMAIL PROTECTED]> To: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 19:43 Subject: RE: [iText-questions] Line height in a chunk > Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>: > > > > >docum

[iText-questions] Re: Class cast exception with pdf form

2003-03-06 Thread Paulo Soares
A few comments: 1 - your test file is corrupt but Acrobat can recover it. 2 - I don't know what version of iText you have but my version has: PdfArray fieldlist = (PdfArray)reader.getPdfObject(root.get(PdfName.FIELDS)); and that doesn't fail. 3 - your file has a signature and iText won't touch

RE: [iText-questions] Line height in a chunk

2003-03-06 Thread Jaladurgam, Ramana
What is the method in ColumnText to check if the added content fits in the rectangle area? I have checked the API and not found anything like that. Did I miss anything? Ramana. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 4:20 PM To: Brun

[iText-questions] Load fillable PDF form

2003-03-06 Thread kg84
DumpFields.java file gives the name and position of the fields on the form. Now how to load data to those fields? Looking for help. Thannks. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex co

RE: [iText-questions] Line height in a chunk

2003-03-06 Thread Bruno
Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>: > >document.setLinesRequired(n); >//Add the elements to the page. > > I mean with this statement is the page break should happen before the > elements are added in case the page doesn't have sufficient (in this case > n) number of lines.

[iText-questions] servlet multiple loops, help please

2003-03-06 Thread Lynn Young
Hi, Following is a very simple servlet code, please help: public class PrintCheck1 extends HttpServlet implements SingleThreadModel {  public synchronized void doGet (HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {   String transactionID = request.ge

RE: [iText-questions] change font-encoding in XML

2003-03-06 Thread Bruno
> >The reason is that I want a greek letter (Delta) > > inside the generated PDF-Document. > The class Phrase switches to Symbol when using standard fonts and greek > appears but I don't know how this translates to XML, this is Bruno's area. I looked it up. There is a tag 'entity'. You can use it

RE: [iText-questions] (no subject)

2003-03-06 Thread Jaladurgam, Ramana
Anish, You can do this using Table inside a table concept of Itext. Ramana. -Original Message- From: Anis h [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:26 PM To: [EMAIL PROTECTED] Subject: [iText-questions] (no subject) Hello, I need to create multiple tables in a pag

RE: [iText-questions] Line height in a chunk

2003-03-06 Thread Jaladurgam, Ramana
document.setLinesRequired(n); //Add the elements to the page. I mean with this statement is the page break should happen before the elements are added in case the page doesn't have sufficient (in this case n) number of lines. Ramana. -Original Message- From: Bruno Lowagie [mail

Re: [iText-questions] Line height in a chunk

2003-03-06 Thread Bruno Lowagie
Jaladurgam, Ramana wrote: My requirement actually is: I will go on adding some paragraphs/chunks/phrases to the document. OK. I understand. These elements are of different fonts and sizes. OK, I still understand. There is a requirement that I should break the page when the page doesn't

[iText-questions] (no subject)

2003-03-06 Thread Anis h
Hello, I need to create multiple tables in a page .see the attached file ..I just want to know if this is possible by using Itext and if so few tips please. thanks __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.y

RE: [iText-questions] Line height in a chunk

2003-03-06 Thread Jaladurgam, Ramana
My requirement actually is: I will go on adding some paragraphs/chunks/phrases to the document. These elements are of different fonts and sizes. There is a requirement that I should break the page when the page doesn't have sufficient number of lines for a text to fit in. Something l

Re: [iText-questions] Line height in a chunk

2003-03-06 Thread Bruno
Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>: > Hi, > How to determine the line height a chunk can occupy? A chunk may occupy > more than one line, but how to find out the height of each line? A Chunk doesn't have a 'leading', so you can't define a line height for a Chunk. You have to put t

[iText-questions] Line height in a chunk

2003-03-06 Thread Jaladurgam, Ramana
Hi, How to determine the line height a chunk can occupy? A chunk may occupy more than one line, but how to find out the height of each line? Thanks, Ramana. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 11:57 AM To: '[EMAIL PROTECTED]'

RE: [iText-questions] iText download

2003-03-06 Thread kg84
I am new to iText. I have a fillable w2 form. How to load data to that using iText? What's the best example or piece of code you have for this? How do I know the field names of the form or they can be treated like a vector? Thanks.

RE: [iText-questions] PdfWriter.getImportedPage and anchors (hyperlinks)

2003-03-06 Thread Paulo Soares
CopyPdf will also copy the links and other annotations. See www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: Barnaby Shearer [SMTP:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 14:22 > To: [EMAIL PROTECTED] > Subject: [iText-questions] PdfWri

[iText-questions] PdfWriter.getImportedPage and anchors (hyperlinks)

2003-03-06 Thread Barnaby Shearer
Hi All, I am using iText to concatenate some PDF file I am generating in FOP. I noticed that the PdfWriter.getImportedPage method doesn't copy across the hyperlinks on a page. I have modified the Concat example to copy hyperlinks as well as pages, and I thought I would post this in case it was of

RE: [iText-questions] itext-paulo-110 (2003-03-05)

2003-03-06 Thread Paulo Soares
No. Each file is treated separately. For each file: - create a new PdfReader with the pdf template - create a new PdfStamper with the PdfReader - change the fields - flatten - close The resulting file, in disk or memory, is used to create a new PdfReader that will then be concatenated with Co

RE: [iText-questions] itext-paulo-110 (2003-03-05)

2003-03-06 Thread Tony Costanzo
Paulo- When you get the PDFStamper, get the AcroFields, set the Fields in the AcroFields(), flatten the fields and close the PDFStamper, do you then add the pages one by one from the PDFStamper to the new document and then add the acro fields to the new document? Thanks, Tony -Original Messa

RE: [iText-questions] Chane to basefont

2003-03-06 Thread Paulo Soares
Now I'm interested and this would be a good tool to have, both to embedd and to replace fonts. Can you send me privately one of your PDF with the nasty fonts? Best Regards, Paulo Soares > -Original Message- > From: David Nielsen [SMTP:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 12:

RE: [iText-questions] Chane to basefont

2003-03-06 Thread David Nielsen
The problem is that it is not acrobat that are to be used. the PDF is sendt directly to the printer, and if the font is missing it prints "" instead of the text with this font, (Acrobat does the same thing) Another problem is that the font used is copyrighted and i do not have it so i canno

RE: [iText-questions] Covert PDF to GIF

2003-03-06 Thread Paulo Soares
iText can't do it but it can easily be done with ghostscript. Best Regards, Paulo Soares > -Original Message- > From: Sen, Arindam Web (MED, TCS) [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 22:16 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Covert PDF to GIF

RE: [iText-questions] Chane to basefont

2003-03-06 Thread Paulo Soares
Acrobat already does the font substitution, you won't probably need to go to all that trouble. I would expect that embedding a font would be more useful. All this can be done with some work. See PdfStamperImp to have an idea on how to put new objects in an existing pdf and see DocumentFont to have

RE: [iText-questions] itext-paulo-110 (2003-03-05)

2003-03-06 Thread Paulo Soares
It can be done if you flatten the fields otherwise the field names would be duplicated. The sequence is: - Open the destination document (see CopyPdf.java) - while you have more data -read the pdf template and create a PdfStamper instance -populate the pdf fields (see PdfStamper.getAcro

[iText-questions] Covert PDF to GIF

2003-03-06 Thread Sen, Arindam Web (MED, TCS)
Hi All, I want to convert PDF file to GIF/JPEG images using a batch process. Can you please let me know if it is possible using iText? Thanks and Regards Arindam Sen TCS Milwaukee, USA Ph: 262-293-1636 Dial Comm: 322-1636 Mail: [EMAIL PROTECTED] Visit us at www.tcs.com --

[iText-questions] Chane to basefont

2003-03-06 Thread David Nielsen
How can i change a font that are not available to a basefont say if i go trough a file and find a font that are not embedded or not available how can i change it to eks. Helvetica Regards, David Nielsen --- This SF.net email is sponsored by: