Re: [iText-questions] Problem in setting up height

2011-01-13 Thread hemant thard
Thanks for the Reply Nurettin. You were right: 1. Simply defining height in defaultcell() doesnt work. 2. Have tried to fixed height of both cells with runtime value. Content is getting overflown. fortunately, scaling of Image is not a problem for me in this case. What i need help on is 1. whi

Re: [iText-questions] Page Number example!

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 22:10, icaro rezende schreef: > Hi there! Im new with iText, i bought the book "iText in Action" and > im having some problems with chapter 5. On Listing 5.19 Bruno give us > a example of using "ColumnText" to print page numbers, but i couldnt > understand that very well. So im ask

Re: [iText-questions] Add document tag to PDF

2011-01-13 Thread 1T3XT BVBA
Op 14/01/2011 6:04, Rupesh Swami schreef: > Hi all, > i create the PDF with iTextSharp. now i want to add document tag(or > image) to PDF. so how can i create PDF with document Tag. Please > advice or give some helpful link Define "document tag" or "image tag." I presume you aren't referring to t

Re: [iText-questions] Add document tag to PDF

2011-01-13 Thread 1T3XT
Op 14/01/2011 6:04, Rupesh Swami schreef: > Hi all, > i create the PDF with iTextSharp. now i want to add document tag(or > image) to PDF. so how can i create PDF with document Tag. Please advice > or give some helpful link Define "document tag" or "image tag." I presume you aren't referring to ta

[iText-questions] Add document tag to PDF

2011-01-13 Thread Rupesh Swami
Hi all, i create the PDF with iTextSharp. now i want to add document tag(or image) to PDF. so how can i create PDF with document Tag. Please advice or give some helpful link -- Please, consider your environmental responsibility. Before printing this e-mail ask yourself: "Do I need a hard copy?" -

Re: [iText-questions] Tools -> Comment and Markup -> Stamps

2011-01-13 Thread Leonard Rosenthol
Stamp annotations are correct... -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, January 13, 2011 11:54 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Tools -> Comment and Markup -> Stamps Op 13/01/2011 14:33, dmenne schreef: > Hi

Re: [iText-questions] Issues in HTML to PDF conversion

2011-01-13 Thread vaibhav gupta
Hi Paulo, Does that mean it is a bug in iText? or this feature is not yet ported? Regards, Vaibhav Gupta *Please don't print this Email unless you really need to - this will preserve trees on planet earth.* On Thu, Jan 13, 2011 at 1:18 PM, Paulo Soares wrote: > iTextSharp is in sync with iT

Re: [iText-questions] Tools -> Comment and Markup -> Stamps

2011-01-13 Thread dmenne
1T3XT BVBA wrote: > > Stamp annotations are used on page 224-225, but I'm not sure if that's > what you refer to. > I had seen that, but I could not get the required effect. I modified a version from a message on some other forum; it is not exactly what I had in mind, but much more flexible b

[iText-questions] Page Number example!

2011-01-13 Thread icaro rezende
Hi there! Im new with iText, i bought the book "iText in Action" and im having some problems with chapter 5. On Listing 5.19 Bruno give us a example of using "ColumnText" to print page numbers, but i couldnt understand that very well. So im asking for another example, if someone have it in a easy w

Re: [iText-questions] com.lowagie VS com.itextpdf

2011-01-13 Thread liliya woland
Thank you for the response, such a relief to know what's going on with the naming. Thank you! ~liliya Date: Thu, 13 Jan 2011 20:08:49 +0100 From: bruno.lowa...@gmail.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] com.lowagie VS com.itextpdf M

[iText-questions] DocumentException: Result too large

2011-01-13 Thread Jo Taylor
What does the DocumentException "Result too large" mean when adding an Image to a PdfDocument. The image was scaled to fit the page. Thanks. -- Protect Your Site and Customers from Malware Attacks Learn about various malw

Re: [iText-questions] Not able to open the urls on pdf

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 9:25, gurjant singh schreef: > But when I create same file on the windows and opens the urls, it > works fine. Does the file created on Linux opens URLs when opened on Windows? Maybe your viewer on Linux doesn't support Link annotations. (I know that Adobe Reader doesn't support Lin

Re: [iText-questions] [itext] Incorrect naming for maven

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 13:50, Bileychik, Ivan schreef: Hi guys, It seems, that there is a small issue with pom.xml file naming for the latest revision of the iText library in your maven repo. I mean that pom.xml in http://maven.itextpdf.com/com/itextpdf/itextpdf/5.0.5/ should be renamed to itextpdf-5

Re: [iText-questions] Tools -> Comment and Markup -> Stamps

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 14:33, dmenne schreef: > Hi, > > I am looking for example code to do something like > > Tools -> Comment and Markup -> Stamps > > in Acrobat with iText, i.e. insert one Pdf as a transparent movable stamp on > a document. I tried to locate an example in the book, but probably I > pos

Re: [iText-questions] Proposal for setting default value, value and appearance in an textfield

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 16:35, Kahlert, Lorenz schreef: > Finally after three years I found out how to set value and default value. > Reason for this reply is that the former solution worked only for a single > field with name e.g. "Check.test". If there are two fields with this name > within the source PDF

Re: [iText-questions] Extract Hyperlink Display Text

2011-01-13 Thread 1T3XT BVBA
Op 13/01/2011 20:09, mindrani schreef: > Thanks for the response. > > I did looked at Chapter 15 from here: http://itextpdf.com/book/examples.php But that's NOT the documentation; that's a page with all the examples that are EXPLAINED IN THE BOOK. > But did not find any class that has a method tha

Re: [iText-questions] Problem in setting up height

2011-01-13 Thread Nurettin DAG
When you are explicityly creating cells and providing to PdfPTable operations on getDefaultCell() will not work. You need to set fixed height on both cells image and text ones. However, please note that your current content is overflowing the height you would like to limit it to. It seems to me t

[iText-questions] Problem in setting up height

2011-01-13 Thread hemant thard
Hi , I am having problem setting up height in PDF Header. Here's my code for setting up header : public class MyClass extends PdfPageEventHelper { public void onStartPage(PdfWriter writer, Document document) { try { Rectangle page = document.getPageSize()

Re: [iText-questions] Proposal for setting default value, value and appearance in an textfield

2011-01-13 Thread Kahlert, Lorenz
Finally after three years I found out how to set value and default value. Reason for this reply is that the former solution worked only for a single field with name e.g. "Check.test". If there are two fields with this name within the source PDF then the default values (that means the value which w

[iText-questions] Tools -> Comment and Markup -> Stamps

2011-01-13 Thread dmenne
Hi, I am looking for example code to do something like Tools -> Comment and Markup -> Stamps in Acrobat with iText, i.e. insert one Pdf as a transparent movable stamp on a document. I tried to locate an example in the book, but probably I possibly I missed the right chapter. Dieter -- View t

Re: [iText-questions] com.lowagie VS com.itextpdf

2011-01-13 Thread Bruno Lowagie
Op 13/01/2011 18:34, liliya woland schreef: Hello all, I'm helping someone to get pdfs created with itext and we're having the following issue. We downloaded iText-5.0.5 jar file. In December 2009, we jumped from iText 2.1.7 to iText 5.0.0. Why did we skip version numbers 3 and 4? -> To sync w

Re: [iText-questions] Extract Hyperlink Display Text

2011-01-13 Thread mindrani
Thanks for the response. I did looked at Chapter 15 from here: http://itextpdf.com/book/examples.php But did not find any class that has a method that takes input a rectangle or co-ordinate on a page and returns the text contained in it. Please direct me to the appropriate classes to look at.

[iText-questions] com.lowagie VS com.itextpdf

2011-01-13 Thread liliya woland
Hello all, I'm helping someone to get pdfs created with itext and we're having the following issue. We downloaded iText-5.0.5 jar file. I refer to the libs in my code with notation starting with "import com.lowagie". But this notation doesn't work for him, instead he needs to use "import com.i

Re: [iText-questions] Saving PDF file generated by Servlet with a different name.

2011-01-13 Thread Ed M
If you are using a FileOutputStream to write your physical file, have you considered creating a temporary file (File.CreateTemporaryFile("filename", ".pdf")) rather than using File? example: File myFile = File.createTemporaryFile("filename", ".pdf"); file.deleteOnExit(); // to cleanup your tempo

Re: [iText-questions] Custom font for digital signature

2011-01-13 Thread Paulo Soares
PdfStamper breaks any PDF/A doc and it's not only the font. Paulo -Original Message- From: Rafael Wampfler [mailto:wampf...@glue.ch] Sent: Thursday, January 13, 2011 9:36 AM To: iText Questions Subject: [iText-questions] Custom font for digital signature Hi, I try to use a custom font

Re: [iText-questions] Image Rotation is flipping the image

2011-01-13 Thread Paulo Soares
What about putting the template inside an Image and do the rotation there? Paulo From: Iain Wilson [mailto:email.iainwil...@gmail.com] Sent: Thursday, January 13, 2011 8:13 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Image Rotation is f

Re: [iText-questions] Issues in HTML to PDF conversion

2011-01-13 Thread Paulo Soares
iTextSharp is in sync with iText. Paulo From: Nurettin DAG [mailto:nurettin...@gmail.com] Sent: Wednesday, January 12, 2011 11:06 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Issues in HTML to PDF conversion The first issue was f

Re: [iText-questions] Barcode128 subtypes

2011-01-13 Thread Paulo Soares
You can't, the selection is automatic. Paulo From: J J [mailto:jesfa...@yahoo.es] Sent: Thursday, January 13, 2011 8:35 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Barcode128 subtypes Hello, I need to generate some barcodes in 128A, 1

Re: [iText-questions] PdfTextExtractor. Bug report

2011-01-13 Thread Paulo Soares
Thank you, I'll have a look. Paulo -Original Message- From: Александр Либерман [mailto:a...@akma.spb.ru] Sent: Thursday, January 13, 2011 9:39 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] PdfTextExtractor. Bug report Hi. I'm tring to parse pdf-file with PdfT

[iText-questions] PdfTextExtractor. Bug report

2011-01-13 Thread Александр Либерман
Hi. I'm tring to parse pdf-file with PdfTextExtractor. I've got ArrayIndexOutOfBoundsException (see below). To solve the problem I've changed the size of array cidbyte2uni in line 123 of com.itextpdf.text.pdf.CMapAwareDocumentFont.java: cidbyte2uni = new char[257] // instead of 256 File bei

[iText-questions] Custom font for digital signature

2011-01-13 Thread Rafael Wampfler
Hi, I try to use a custom font for the signature text (the default Helvetica font has problems with unicode characters). I'm using this code, which is working well for normal PDF documents: FontFactory.register(ALBANY_FONT); signatureAppearance.setLayer2Font(FontFactory.getFont("albany", BaseFon

[iText-questions] Barcode128 subtypes

2011-01-13 Thread J J
Hello, I need to generate some barcodes in 128A, 128B and 128C. I've seen the class "Barcode128". How can I set the subtype in this class to each subtype (A, B or C)? Thanks -- Protect Your Site and Customers f

[iText-questions] Not able to open the urls on pdf

2011-01-13 Thread gurjant singh
Hi, I am creating the pdf report on linux server and using it on windows. I am setting the urls on the pdf file as given below. Chunk chunk = new Chunk("Click Here" , font); chunk.setAnchor("http://www.google.co.in/";); when I click on the "Click Here", it does not open the " http://www.google.c