[iText-questions] PdfPTable in List

2005-11-03 Thread Mitch Freed
Is there any way to get a PdfPTable to work inside a List using List.add() or ListItem.add()? I've tried several different things and looked all over the archives and haven't seen anything saying you can or cannot.   Thanks, Mitch Freed [EMAIL PROTECTED]

[iText-questions] Add List to ListItem using ListItem.add()

2005-11-03 Thread Mitch Freed
Is there any reason why adding a List to a ListItem (as a sublist of the list) using ListItem.add() doesn't work like adding a List to a List using List.add()? There seems to be code to add a List to a ListItem, but the sublist never displays the symbol and doesn't get indented correctly. I

RE: [iText-questions] Does iText support Macro PDF 417?

2005-11-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jorge Ortiz Claver > Sent: Thursday, November 03, 2005 4:25 PM > To: Bruno Lowagie > Cc: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Does iText support Macro PDF 417? >

RE: [iText-questions] base font and PDF encypting

2005-11-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Alan Klikic > Sent: Thursday, November 03, 2005 4:48 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] base font and PDF encypting > > Hi again. > > > > I have 2 que

[iText-questions] base font and PDF encypting

2005-11-03 Thread Alan Klikic
Hi again. I have 2 questions: 1) I' m trying to insert text that I have in string into PDFTemplate: pdfTemplate.beginText(); BaseFont basefont = null; try { basefont = BaseFont.createFont(BaseFont.TIMES_ITALIC, BaseFont.CP1250, false);

[iText-questions] multiple iText questions

2005-11-03 Thread tony.akocs
I am using iText for the first time. I have a form that has been created in pdf format. I will use Adobe Writer to tag all the fields with a unique name so that I can populate them using my application with a Servlet. Will iText recognize these tagged fields as AcroFields so that I can pouplat

Re: [iText-questions] Does iText support Macro PDF 417?

2005-11-03 Thread Jorge Ortiz Claver
BTW, is it possible to get the PDF417 as a java.awt.Image instance (or in a bytes array) or should I dump it always to a PDF document in order to be able to print/see it? While looking to the API docs, I found I need to set the MacroFileId, MacroSegmentCount and MacroSegmentId. These methods

Re: [iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Bruno Lowagie
Nico Van den Broeck wrote: The error that adobe reader returns ; “Adobe Reader could not open ‘test.pdf’ because it is either not as supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded).” (see picture) Do yo

Re: [iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Bruno Lowagie
Nico Van den Broeck wrote: This is the MergePdfByteArray class (some code I found on the mailing list) OK, it looks good at first sight. The first thing you should establish is if the problem is related to the fact that you are using a web app or to a programming error. You should write the

Re: [iText-questions] PdfPTable Cell Borders

2005-11-03 Thread Bruno Lowagie
Mitch Freed wrote: I feel like I'm missing something here. I'm missing the point of the question. What is the problem? The PDF you attached shows the expected behavior when you setUseVariableBorders(false). Normally people don't use borders as thick as the one you used for the example and a

Re: [iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Bruno Lowagie
Nico Van den Broeck wrote: MergePdfByteArrays pdfMerger = new MergePdfByteArrays(); What is this MergePdfByteArray class? It doesn't just append byte array I hope? writer = new PdfCopy(document, response.getOutputStream()); Writing directly to the OutputStream directly works for many bro

RE: [iText-questions] PdfPTable Cell Borders

2005-11-03 Thread Paulo Soares
There are two types of borders. You use one or the other or a mix of the two. There's not a better border, each one has pros and cons. If you really want to be picky about the borders use a PdfPTableEvent or a PdfPCellEvent and draw the borders yourself in your correct way. > -Original Messag

RE: [iText-questions] PdfPTable Cell Borders

2005-11-03 Thread Mitch Freed
I feel like I'm missing something here. Should I be able to do normal table borders on a table and have one cell that has a larger width specified than the rest of the table and not have that border run into the surrounding cells? The reason I brought up variable borders was because when I turned o

[iText-questions] questions

2005-11-03 Thread davide . giov
come si crea l'index dell'rtf?? __ TISCALI ADSL Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone Telecom a partire da 19,95 Euro/mese. Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI: http://abbonati.tisca

Re: [iText-questions] PDF to PCL (or PDF to POSTSCRIPT)

2005-11-03 Thread Matt Benson
Google for ghostPcl. --- Paulo Soares <[EMAIL PROTECTED]> wrote: > No. > > - Original Message - > From: "Monkey Punch" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, November 02, 2005 10:13 PM > Subject: [iText-questions] PDF to PCL (or PDF to > POSTSCRIPT) > > > Hi, > > I'm looking i

[iText-questions] PdfPtable into PdfPTable, setExtendLastRow() does not work

2005-11-03 Thread Pietro Vigone
Hi, I am testing iText and trying to obtain two tables, side by side. I am using PdfPTables and everything is working, except that the last line of the left table is extended. I have used setExtendLastRow(false) but without success. Where's the mistake? package it.mksgs.action; import java.io.*;

Re: [iText-questions] Does iText support Macro PDF 417?

2005-11-03 Thread Bruno Lowagie
Jorge Ortiz Claver wrote: Hi, Looking at documentation and mail-lists, I found I can generate PDF417 bitmaps using iText but I can not see if it supports Macro PDF 417 as well. Does anybody know if I can use iText for generating PDF 417 from big files? It's possible to generate Macro PDF

[iText-questions] Does iText support Macro PDF 417?

2005-11-03 Thread Jorge Ortiz Claver
Hi, Looking at documentation and mail-lists, I found I can generate PDF417 bitmaps using iText but I can not see if it supports Macro PDF 417 as well. Does anybody know if I can use iText for generating PDF 417 from big files? Thanks in advance Jorge --

Re: [iText-questions] Re: Table of Contents in PDF

2005-11-03 Thread Bruno Lowagie
Jason Frank wrote: I understand the idea, but I can't figure out one piece of the puzzle. WhenI'm creating the ToC for the second time, I can easily figure out the correctpage number to put next to each ToC entry, based on the SimpleBookmarks that I retrieved earlier from my main document and

Re: [iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Bruno Lowagie
Nico Van den Broeck wrote: merging pdf files from disk works fine / merging via byte[] gives an empty browser window There's not much difference between merging PDF files from disk or merging the same files from a byte array, so there's probably something else going wrong. What objects are

[iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Nico Van den Broeck
Hi,   I’m generating pdf documents (invoices) out of a MySQL database via a servlet (Tomcat environment) to the clients browser. Those documents have a dynamically generated header and footer (a PdfPTable) also coming from the same database combined with page numbering. All this works f

RE: [iText-questions] PdfCopy add to document

2005-11-03 Thread Caoimhin Barry
Works like a treat. Thanks! --- Paulo Soares <[EMAIL PROTECTED]> wrote: > You can use ColumnText to have all those > features in PdfContentByte. > > > -Original Message- > > From: Caoimhin Barry > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 03, 2005 12:21 PM > > To: Paulo So

[iText-questions] Merging dynamically generated documents in servlet environment

2005-11-03 Thread Nico Van den Broeck
Hi,   I’m generating pdf documents (invoices) out of a MySQL database via a servlet (Tomcat environment) to the clients browser. Those documents have a dynamically generated header and footer (a PdfPTable) also coming from the same database combined with page numbering. All this works f

RE: [iText-questions] PdfCopy add to document

2005-11-03 Thread Paulo Soares
You can use ColumnText to have all those features in PdfContentByte. > -Original Message- > From: Caoimhin Barry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 03, 2005 12:21 PM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] PdfCopy add t

RE: [iText-questions] PdfCopy add to document

2005-11-03 Thread Caoimhin Barry
My hope was to be somehow able to use the useful objects like Paragraphs, Chunks, Tables etc for my new content. Is there any way to do this using pdfstamper? I tried creating a new page with (for example) pdfstamper.insertpage(1); PdfContentByte over=pdfstamper.getOverContent(1); PdfDocument doc=o

RE: [iText-questions] PdfCopy add to document

2005-11-03 Thread Paulo Soares
You can't add new content to PdfCopy using PdfContentByte or Document.add(). Build you doc with PdfCopy, close it and use PdfStamper to add new content. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Caoimhin Barry > Sent: Thursday, November 03

[iText-questions] PdfCopy add to document

2005-11-03 Thread Caoimhin Barry
Hi - Please let me know what I am doing wrong here. What I want to do is to read in a source pdf and copy all the pages, then add some more custom pages before closing the file. I want to use the document.add() feature so I can use some of the useful methods described in the tutorial, so that is wh

RE: [iText-questions] Form filling with xfdf file having traditional chinese character

2005-11-03 Thread Paulo Soares
What font and encoding are you using for the fields in the PDF? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Edwin Lee > Sent: Thursday, November 03, 2005 10:33 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Form

[iText-questions] Form filling with xfdf file having traditional chinese character

2005-11-03 Thread Edwin Lee
Hi I can join xfdf data file with pdf form with english character. If the xfdf data file having traditional chinese character, then the pdf file textarea form is "empty", but when I click on that textarea, the chinese character appear, if remind unedit & move the move cursor away, then the chinese

[iText-questions] PdfPtable into PdfPTable, setExtendLastRow() does not work

2005-11-03 Thread Pietro Vigone
Hi, I am testing iText and trying to obtain two tables, side by side. I am using PdfPTables and everything is working, except that the last line of the left table is extended. I have used setExtendLastRow(false) but without success. Where's the mistake? package it.mksgs.action; import java.io.*;