Re: [iText-questions] [Fwd: Using iText-classes in a webapplication]

2007-02-14 Thread Bruno Lowagie
Anja wrote: > I try to user iText-classes in a webapplication (Tomcat 5.5). > But if I user any class of iText, for example > > try{ > PdffPTable table = new PdfPTable(); > System.out.println("3. line"); > }catch(Exception e){ > System.out.println("Exception"); > } > > an error occurs

[iText-questions] extended ascii characters don ´t work with BarcodePDF417

2007-02-14 Thread Javier González
Hi, I have a problem printing extended ascii characters in BarcodePDF417. Some characters like Å, ƒ, ½, ¬,... don´t print inside the barcode. My code creates an image in 2 dimensions, with text that includes these especial characters. Is there any solution for encoding these characters with Barco

[iText-questions] [Fwd: Using iText-classes in a webapplication]

2007-02-14 Thread Anja
Original-Nachricht Betreff:Using iText-classes in a webapplication Datum: Wed, 14 Feb 2007 18:53:45 +0100 Von:Anja <[EMAIL PROTECTED]> An: iText-questions@lists.sourceforge.net Hi there, I try to user iText-classes in a webapplication (Tomcat 5.5). But if I

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Eugene R
Leonard Rosenthol wrote: >At the time, I hadn't found anyone else that wanted to pick this up >from me. However, I will ask around again. > >Leonard > >On Feb 13, 2007, at 9:10 PM, Eugene R wrote: > > > >>Hi Bill >> >>Commercial support would be a bonus, but commercial license is a >>necess

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Eugene R
Mark Storer wrote: >We aren't the only company out there shipping iText with a comercial product. >The terms of the MPL are quite acceptable to us. > >--Mark Storer > Senior Software Engineer > Cardiff.com > >#include >typedef std::Disclaimer DisCard; > > > > > >>-Original Message--

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Mark Storer
We aren't the only company out there shipping iText with a comercial product. The terms of the MPL are quite acceptable to us. --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::Disclaimer DisCard; > -Original Message- > From: [EMAIL PROTECTED] > [mailt

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Peter B. West
Alan Keown wrote: > Hi Eugene, > Is it possible for you to elaborate on why LGPL is excluded by your > company's Open Source policy? > > Thanks > AlanK > Or MPL, for that matter. I'm curious about the whole notion of a "commercial license" for iText. Was this in the nature of a support agreeme

[iText-questions] Need Help ....

2007-02-14 Thread Buland Altaf
Hi - I am usinf Itext to create PDF on fly (in web application). I am new bie in it and wondering if you can help me in telling either Itext is good enough to create a pdf like an attached template. Actually, I am using PDFPTable & PDFPCell but adding images in it is a big problem as its taking

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Alan Keown
Hi Eugene, Is it possible for you to elaborate on why LGPL is excluded by your company's Open Source policy? Thanks AlanK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eugene R Sent: Wednesday, 14 February 2007 1:11 PM To: Post all your questions abo

[iText-questions] FYI: Review 'iText in Action' on JavaLobby

2007-02-14 Thread Bruno Lowagie
I quote: "I've been using iText for over a year, but I still learnt an awful lot while reading this book. The author, Bruno Lowagie, created iText and knows what he's talking about, and this shows throughout the book; in particular, the reader benefits from Lowagie's knowledge of the project's

Re: [iText-questions] midi files into PDF

2007-02-14 Thread Bruno Lowagie
François Sénéquier wrote: > Hi, > > To give more informations about the problem I have is when I go to the part > "file attachments", I have the list of all the files I have imported into the > PDF. Then when I click on one of those midi files I have the error message > "There was a problem rea

Re: [iText-questions] Problems with chapterautonumber

2007-02-14 Thread Bruno Lowagie
Mike M. wrote: > Are you using static for the autonumbering? If so, maybe I > need to do something else as a workaround. It's fixed in the CVS repository. The new release will be available tomorrow. br, Bruno - Take Surveys.

Re: [iText-questions] midi files into PDF

2007-02-14 Thread François Sénéquier
Hi, To give more informations about the problem I have is when I go to the part "file attachments", I have the list of all the files I have imported into the PDF. Then when I click on one of those midi files I have the error message "There was a problem reading the document (14)". I am surprise

Re: [iText-questions] PDF Permissions

2007-02-14 Thread Bruno Lowagie
Paulo Soares wrote: > You can't invent permissions. Actually you can, but you can't expect them to work ;-) br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get t

Re: [iText-questions] Problems with chapterautonumber

2007-02-14 Thread Bruno Lowagie
Mike M. wrote: > Are you using static for the autonumbering? If so, maybe I > need to do something else as a workaround. Yuck, it's a static. I wasn't aware of that (the code was contributed, but I never used it myself except for simple examples). I'll have a look at it, and see what I can do. br

Re: [iText-questions] Alignment of a section or a chapter text

2007-02-14 Thread Bruno Lowagie
Eric Summkeller wrote: > Is there any possibility to align a chapter or a section. The Paragraph I use > for the chapter has a right aligment but in the Document the chapter has a > left alignment. Could I change this alignment? The concept 'alignment' doesn't exist in Chapter or Section. You sh

Re: [iText-questions] PDF Permissions

2007-02-14 Thread Paulo Soares
You can't invent permissions. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vinicius Vieira > Sent: Wednesday, February 14, 2007 2:57 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PDF Permissions > > Hello

Re: [iText-questions] problem embedding ps-file in pdf

2007-02-14 Thread Bruno Lowagie
Andreas Huhn wrote: > that does not happen when using a ps-file from the examples. > so which standards does the ps-file have to meet to be embedded by iText? iText has limited support for EPS, not for PS. br, Bruno - Take Su

Re: [iText-questions] simple 2 column

2007-02-14 Thread Bruno Lowagie
Michael Andreasen wrote: > Hello, > > I am trying to do a simple PDF which has two columns. I want the data to > flow from top of column 1 to bottom of column 1, then from top of column > 2 down, then new page. This seem very simple. So you want something like this: http://itext.ugent.be/librar

[iText-questions] Problems with chapterautonumber

2007-02-14 Thread Mike M.
Hi, I have a web application that creates a pdf in a servlet. It does all the standard stuff, create document, pdfwriter.getinstance on a bytearrayoutputstream, etc. Everything works fine the first time I create a pdf. However, the 2nd time I create a pdf, the chapterautonumbers start where the

[iText-questions] simple 2 column

2007-02-14 Thread Michael Andreasen
Hello, I am trying to do a simple PDF which has two columns. I want the data to flow from top of column 1 to bottom of column 1, then from top of column 2 down, then new page. This seem very simple. However, from reading the docs the only way seems to be to use a ColumnText and then to manually

[iText-questions] PDF Permissions

2007-02-14 Thread Vinicius Vieira
Hello! To create a pdf with permission to print and copy, I do something like this: PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(" Sample.pdf")); writer.setEncryption(PdfWriter.STRENGTH128BITS, null, null, PdfWriter.AllowPrinting | PdfWriter.AllowCopy); So, how can

[iText-questions] problem embedding ps-file in pdf

2007-02-14 Thread Andreas Huhn
hi there. I came across following problem, if I try to create a pdf-document when adding a ps-file. DocumentException: DocumentException: DocumentException: java.lang.IllegalStateException: Null token encountered; last unknown identifier was array at line 16 at com.lowagie.text.pdf.codec.pos

Re: [iText-questions] About iTextSharp and signatures.

2007-02-14 Thread Bruno Lowagie
Paulo Soares wrote: > After the next release I'll provide more formal examples. If all goes well, the next version of iText will be released tomorrow. I have already tested all the tutorial examples (manually opened all the PDFs one by one, and checked if they looked OK). Currently I am checking a

Re: [iText-questions] Add an existing PDF to a Servlet generated PDF

2007-02-14 Thread Marc Font
Thank you for your fast reply Bruno. I still need a tip about how to do this: > Use PdfWriter.getImportedPage and add the PdfImportedPage > to the direct content Here is a (really simplificated) sample code: Document document = new Document(); resp.setContentType("application/pdf"); PdfWriter wr

Re: [iText-questions] About iTextSharp and signatures.

2007-02-14 Thread Paulo Soares
See http://article.gmane.org/gmane.comp.windows.dotnet.itextsharp.general/12/. After the next release I'll provide more formal examples. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paúl Santapau > Sent: Wednesday, February 14, 2007 1

[iText-questions] Alignment of a section or a chapter text

2007-02-14 Thread Eric Summkeller
Is there any possibility to align a chapter or a section. The Paragraph I use for the chapter has a right aligment but in the Document the chapter has a left alignment. Could I change this alignment? - Take Surveys. Earn Ca

Re: [iText-questions] Add an existing PDF to a Servlet generated PDF

2007-02-14 Thread Bruno Lowagie (iText)
Marc Font wrote: > I'm generating a PDF and before close the document, so before send the > HttpServletResponse, I need to add an existing PDF in the end of the document. You are generating a PDF with PdfWriter, right? So you have this writer object: PdfWriter writer = PdfWriter.getInstance(docum

[iText-questions] Add an existing PDF to a Servlet generated PDF

2007-02-14 Thread Marc Font
I'm generating a PDF and before close the document, so before send the HttpServletResponse, I need to add an existing PDF in the end of the document. I've been trying to figure out how to do it with both examples of how to concatenate documents and don't get it. Could anyone help me?

Re: [iText-questions] image alignment in Header, Footer in RTF

2007-02-14 Thread Mark Hall
Please post your questions only to the itext-list. That way they are archived. Depending on how much time I've got, questions not to the list go unanswered. On 14.02.2007, at 14:33, Raghu wrote: > setting the alignment on the image worked for both scenarios. > > But how about setting TWO Ali

Re: [iText-questions] image alignment in Header, Footer in RTF

2007-02-14 Thread Raghu
Mark, Thanks Mark setting the alignment on the image worked for both scenarios. But how about setting TWO Alignments at same time horizontal center ,vertically - middle) Example: ImageHeaderCenter.setAlignment(Element.ALIGN_MIDDLE); ImageHeaderCenter.setAlignment(Element.ALIGN_CENTER);

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Leonard Rosenthol
At the time, I hadn't found anyone else that wanted to pick this up from me. However, I will ask around again. Leonard On Feb 13, 2007, at 9:10 PM, Eugene R wrote: > Hi Bill > > Commercial support would be a bonus, but commercial license is a > necessity. > Unfortunately neither MPL nor LGP

Re: [iText-questions] image alignment in Header, Footer in RTF

2007-02-14 Thread Mark Hall
On 14.02.2007, at 12:24, Raghu wrote: > string content in Paragraph objects works , > but Image doesn't Woked > > Example : > Paragraph imgHeaderPara = new Paragraph(new Phrase(new Chunk > ("right"))); // > THIS works > > Paragraph imgHeaderPara = new Paragraph(new Phrase(new > Chunk(ImageHeader

[iText-questions] About iTextSharp and signatures.

2007-02-14 Thread Paúl Santapau
Hello again, I'm wondering if the way a PDF is signed under the C# version of iText is the same that java and if iTextSharp has the functionality of signing pdfs. In general I would like to know if iTextSharp is as powerful as iText Java version. Is there any code snippet about how

Re: [iText-questions] Question about the style of the numbe rs in a Chapter or a Section!

2007-02-14 Thread Eric Summkeller
Bruno Lowagie (iText lowagie.com> writes: > > Bruno Lowagie wrote: > The numbers in front of a Chapter/Section > take the style of the Paragraph that was passed > as the title; more specifically: if you title > is Paragraph p, then the font of the numbers is > p.font(). > If that's not the case

Re: [iText-questions] Using external providers when signing a PDF file.

2007-02-14 Thread Paúl Santapau
El Miércoles, 14 de Febrero de 2007 13:18, Paulo Soares escribió: > What's wrong with PdfSignatureAppearance.setProvider()? Ok, anything, PdfSignatureAppearance.setProvider() is perfect It's that I haven't seen that on samples and I didn't realize. Thank you very much for th hint. Paúl. > Paul

Re: [iText-questions] Paragraph + Table Question

2007-02-14 Thread Peter Neu
Sorry, I missed that. :o( > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:itext- > [EMAIL PROTECTED] Im Auftrag von Bruno Lowagie > (iText) > Gesendet: Mittwoch, 14. Februar 2007 13:47 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] Paragraph +

Re: [iText-questions] Paragraph + Table Question

2007-02-14 Thread Bruno Lowagie (iText)
Peter Neu wrote: > Hi, > > I tried Bruno's advice No, you didn't! > doing it like this using the Phrase object: > > cell = new PdfPCell(new Phrase(erg.getBenennung(), font)); You haven't read my advice. Let me repeat: table.addCell(new Phrase(getText(), new Font(...)); Do you see "new PdfPCe

Re: [iText-questions] Paragraph + Table Question

2007-02-14 Thread Peter Neu
Hi, I tried Bruno's advice doing it like this using the Phrase object: cell = new PdfPCell(new Phrase(erg.getBenennung(), font)); But it does not work. So I suppose only your method is possible if I don't want to write a PdfPCell-factory. Cheers, Pete > -Ursprüngliche Nachricht- > Vo

Re: [iText-questions] Using external providers when signing a PDF file.

2007-02-14 Thread Paulo Soares
What's wrong with PdfSignatureAppearance.setProvider()? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paúl Santapau > Sent: Wednesday, February 14, 2007 11:47 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] U

Re: [iText-questions] Paragraph + Table Question

2007-02-14 Thread Paulo Soares
cell = new PdfPCell(new Paragraph(getText(), new Font(Font.HELVETICA, 9, Font.NORMAL))); cell.setGrayFill(0.9f); Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Peter Neu > Sent: Wednesday, February 14, 2007 12:10 PM > To: iText-questions@

Re: [iText-questions] Potential BugonPdfStamper.setFormFlattening(true)

2007-02-14 Thread Bluhm, Stefan (GE Money)
Hello Paulo, Thank you for your reply. I do already use your last suggestion: I flatten the docs and then assemple them with PDFCopy. Best wishes, Stefan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Paulo Soares Gesendet: Mittwoch, 14. Febru

Re: [iText-questions] Paragraph + Table Question

2007-02-14 Thread Bruno Lowagie (iText)
Peter Neu wrote: > When I define a table and want a certain font size in it I will have to do > something like this: > > cell = new PdfPCell(new Paragraph( getText(), new Font(Font.HELVETICA, 9, > Font.NORMAL))); or table.addCell(new Phrase(getText(), new Font(...)); > I realized if I define th

Re: [iText-questions] Potential Bug onPdfStamper.setFormFlattening(true)

2007-02-14 Thread Paulo Soares
PdfCopy doesn't work with fields. Either use PdfCopyFields or fill/stamp/flatten each doc and assemble the result with PdfCopy. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bluhm, Stefan (GE Money) > Sent: Wednesday, February 14, 2007

[iText-questions] Paragraph + Table Question

2007-02-14 Thread Peter Neu
Hello, I'm new to iText so please excuse if my question might seem a bit dumb. When I define a table and want a certain font size in it I will have to do something like this: cell = new PdfPCell(new Paragraph( getText(), new Font(Font.HELVETICA, 9, Font.NORMAL))); I realized if I define the ce

Re: [iText-questions] image alignment in Header, Footer in RTF

2007-02-14 Thread Mark Hall
On 14.02.2007, at 10:02, Raghu wrote: > Example : > A Header Table has 3 column. > In the third column ,how to set the image in Right side of cell. > Element.ALIGN_RIGHT doesn't effect. > > Please find attached document for reference and below code for RTF > Header I can't say why the alignment

[iText-questions] Using external providers when signing a PDF file.

2007-02-14 Thread Paúl Santapau
Hello all, First I would like to congratulate you for that great library. I'm developing a Java applet where the funcinality of itext is requiered, exactly that one for signing pdf documents, I have read a lot of samples on [1] but I'm using a self implemented cryptographic provider wh

Re: [iText-questions] image alignment in Header, Footer in RTF - Thanks to MARK

2007-02-14 Thread Raghu
information in this page http://itextdocs.lowagie.com/tutorial/rtf/extensions/hf/index.html helped me . Thanks to MARK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Raghu Sent: Wednesday, February 14, 2007 3:33 PM To: itext-questions@lists.sourceforge.net

Re: [iText-questions] Question about the style of the numbers in a Chapter or a Section!

2007-02-14 Thread Bruno Lowagie (iText)
Eric Summkeller wrote: > I would like that they have the same > style like the added Paragraph. The numbers in front of a Chapter/Section take the style of the Paragraph that was passed as the title; more specifically: if you title is Paragraph p, then the font of the numbers is p.font(). If that

[iText-questions] Question about the style of the numbers in a Chapter or a Section!

2007-02-14 Thread Eric Summkeller
I add a Paragraph with a special style into a chapter and the numbers in front of the chapter has got another style. I would like that they have the same style like the added Paragraph. Is there any possibility to change the style for those numbers?

Re: [iText-questions] image and Page Number in Footer in RTF

2007-02-14 Thread Mark Hall
On 14.02.2007, at 10:07, Raghu wrote: > How about the page numbers Footer in RTF. > Please let me know if this can be done or not ?. > > IF YES ,provide me suggestion how to proceed. Please, the documentation exists for a reason. There are examples for page numbers. http://itextdocs.lowagie.co

Re: [iText-questions] image and Page Number in Footer in RTF

2007-02-14 Thread Raghu
Mark, How about the page numbers Footer in RTF. Please let me know if this can be done or not ?. IF YES ,provide me suggestion how to proceed. Rag -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 5:19 PM To: Post all your questions about iText

[iText-questions] Potential Bug on PdfStamper.setFormFlattening(true)

2007-02-14 Thread Bluhm, Stefan (GE Money)
Hello, I have created an Acrobat document with a few text input fields and a customized, non standard font on Acrobat 7.0. I use PDFCopy.addPage(copy.getImportedPage(page,1)); and getAcroFields().setField to populate those fields. The fields are filled out with the wanted text and the wanted true

Re: [iText-questions] Commercial iText license

2007-02-14 Thread Bruno Lowagie
Eugene R wrote: > Please let me know if somebody inherited > right to sell from PDF Sages. I have send a long answer to this question privately. Summarized: it doesn't go as quickly as we would like it to go, but we're working on it. br, Bruno

Re: [iText-questions] Filling dynamic (repeating) form fields

2007-02-14 Thread Paulo Soares
iText (and iTextSharp) doesn't support dynamic fields. Paulo - Original Message - From: "leon breedt" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 14, 2007 2:37 AM Subject: [iText-questions] Filling dynamic (repeating) form fields > Hi all > > I am quite new to PDF generation, th