[iText-questions] Creating 3 column table to generate mailing labels

2009-04-13 Thread bogorman
Have written the following coding which reads data from a MySQL database and inserts it into a two column table: Document doc = new Document(); PdfWriter.GetInstance(doc, new System.IO.FileStream("Test.pdf", System.IO.FileMode.Create)); doc.Open(); PdfPTable table

[iText-questions] Insert .doc file text into PDF using iText

2009-04-13 Thread Kishore1
Hi All, I have just started working on ‘Generating PDF’ by Java code using iText APIs version 2.1.5. Its quite good in all features but unable to insert text including formatting from a MS-Word file (.doc) into generating PDF. Just like in MS-Word Helper class I use the following code to insert

[iText-questions] A Simple Question About link PdfAnnotation

2009-04-13 Thread Imgen
I use iText PdfAnnotation.createLink to add hyper link to an existing PDF file. Everything went fine except that there is a think black frame around the link area. I want to remove that frame, how? I believe this isn't very hard, it's just I can't figure it out. Does anyone have a clue?

Re: [iText-questions] Followup: Some content not copied when concatenating PDFs

2009-04-13 Thread 1T3XT info
Chris Bourke wrote: > > A follow up to my previous email: the the content seems to be a simple > PDF annotation as described in chapter 15 of the iText in Action book. > The book mentions that some annotations are supported and others are > not. However, this annotation seems to be a simple t

Re: [iText-questions] iText License

2009-04-13 Thread 1T3XT info
Binod Garg wrote: > http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License The LGPL will probably be discontinued in the near future. LGPL was only provided for backward compatibility. By now, everybody should be using iText under the MPL. -- This answer is provided by 1T3XT BVBA http://w

[iText-questions] HTMLWorker removing underline from href

2009-04-13 Thread Rahul Anand
Hi Guys, I'm trying to create a PDF using HTMLWorker, but the problem is, the generated pdf is not showing the blue color and underline for any hyperlink. Below is my code : import java.io.FileOutputStream; import java.io.FileReader; import java.util.ArrayList; import com.lowagie.

[iText-questions] Followup: Some content not copied when concatenating PDFs

2009-04-13 Thread Chris Bourke
A follow up to my previous email: the the content seems to be a simple PDF annotation as described in chapter 15 of the iText in Action book. The book mentions that some annotations are supported and others are not. However, this annotation seems to be a simple text annotation (defined as a popup

[iText-questions] allignment problem in paragraph

2009-04-13 Thread ravikanth pratti
Hi, I need to insert paragraph into pdfpcell at specified location. 1) How to insert paragraph into pdfpcell at specified location. 2) Can we adjust the different space between the lines in a paragraph. Currently am using Chunk new line charcter to get the space betwee lines and to locate parag

Re: [iText-questions] iText License

2009-04-13 Thread Binod Garg
http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License *A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivati

Re: [iText-questions] iText License

2009-04-13 Thread Binod Garg
http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License *A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivati

[iText-questions] iText License

2009-04-13 Thread Quoc Nguyen
Dear Sir, I'm Quoc, a Java Developer from Seoul, South Korea. I've been trying to integrate iText library to our manufacturing legacy system. One of our function is to export the test result certificate in PDF format, this system is developed and used by our self. I'm the new one in licensed terms

Re: [iText-questions] PDF not created on FEDORA

2009-04-13 Thread 1T3XT info
Paulo Soares wrote: > Given that you are using createGraphicsShapes() I overlooked that. Yes, that's probably the problem. I also had to install the JDK from SUN to build all the examples on my Fedora server. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] PDF not created on FEDORA

2009-04-13 Thread Paulo Soares
Given that you are using createGraphicsShapes() it looks like that's a java version limitation. Does it work if written to a panel or a BufferedImage? Paulo > -Original Message- > From: gautamn2002 [mailto:gautamn2...@gmail.com] > Sent: Monday, April 13, 2009 6:57 AM > To: itext-questi

Re: [iText-questions] PDF not created on FEDORA

2009-04-13 Thread 1T3XT info
gautamn2002 wrote: > > Hi, > I am creating PDF with indian languages (using unicode) on Fedora. The > same code works fine for windows, but in linux it shows a blank document. 1. You didn't define a FontMapper. 2. You have the font present on Windows, but iText can't find it on Fedora (and tha

[iText-questions] PDF not created on FEDORA

2009-04-13 Thread gautamn2002
Hi, I am creating PDF with indian languages (using unicode) on Fedora. The same code works fine for windows, but in linux it shows a blank document. import java.awt.Font; import java.awt.Graphics2D; import java.io.FileOutputStream; import com.lowagie.text.Document; import com.lowagie.text.Pag