[iText-questions] Problem in rotating RTF page

2005-10-07 Thread Sujatha Bharathan
Hi, I am facing some problem in rotating RTF page. After creating two pages with page information and contents. i want to rotate the page fom the thirdpage onwards. Though i gave this only after giving new page in the end of second page all the pages rotate to landscape

[iText-questions] Using True Type Font and Aligning

2005-10-07 Thread Thomas
Hi I have to stamp table of contents on a pdf file using Arial font, the problem that I am facing is when I use arial font and stamp content (Table of contents) on the pdf it is not aligned properly.I have to append the page name and the page number and have to stamp the resultant string which

[iText-questions] PDF Printing

2005-10-07 Thread Soumya
Hi All, I am using iTextSharp in C# to write an application which can print pdf documents on a network printer while programmatically configuring the printer. I am using the PrintDocument class in the System.Drawing.Printing namespace along with PrinterSettings and PageSettings classes in order

Re: [iText-questions] PDF Printing

2005-10-07 Thread Paulo Soares
As far as I know all the pdf rasterizers are either commercial or GPL. If you want something free you can use the command line interface to ghostscript or imagemagik (that uses ghostscript) to render each page to a bmp. - Original Message - From: Soumya [EMAIL PROTECTED] To:

Re: [iText-questions] Using True Type Font and Aligning

2005-10-07 Thread Paulo Soares
That can only be done with more than one pass. I'm currently finishing a documentation assigment for my company and I do two passes and in some cases three. - Original Message - From: Thomas [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 07, 2005 2:53

[iText-questions] How to sign a signature field by embedding Image

2005-10-07 Thread fawad khan
I want to sign a PDF signature field by adding a image from a file. After adding image to the signature field the state of particular signature field be turned to signed signature field. Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort.

Re: [iText-questions] Problem in rotating RTF page

2005-10-07 Thread Mark Hall
On Friday 07 October 2005 06:20, Sujatha Bharathan wrote: Though i gave this only after giving new page in the end of second page all the pages rotate to landscape document.newPage(); document.setPageSize(PageSize.A4.rotate()); Please let me know how to fix it. You will need to use

[iText-questions] Padding in cell

2005-10-07 Thread Daniel Łaś
Hi When I create PdfPCell and add chunk to it, there is large space from the top of cell (padding top?) in result PDF file. How can I make it smaller ? Regards -- Daniel Łaś [EMAIL PROTECTED] e-direct Polska sp. z o.o. ul. 1-go Maja 9 45-068 Opole tel. +48 77 44 17 868

RE: [iText-questions] PDF Printing

2005-10-07 Thread Soumya
Hi, Thanks for your reply... Can you provide me with some sample code which uses GhostScript to manipulate PDF documents. An internet resource will be equally good, though I prefer some sample code in C# because that would make it easier to comprehend. Thanks. -Original Message- From:

[iText-questions] PDF Properties

2005-10-07 Thread Steve Simpson (AVR IT Dept)
Hi, I want to be able to set the PDF Producer, Title, Author, Subject and Keywords properties of a PDF file. Can you tell me how to do this? Thanks Steve - Steve Simpson Arriva Vehicle Rental Tel : 0191 520 4029

Re: [iText-questions] PDF Properties

2005-10-07 Thread Bruno Lowagie
Steve Simpson (AVR IT Dept) wrote: Hi, I want to be able to set the PDF Producer, Title, Author, Subject and Keywords properties of a PDF file. Can you tell me how to do this? Thanks Steve New document: Document document = new Document();

Re: [iText-questions] Padding in cell

2005-10-07 Thread Paulo Soares
Set the top padding to something small or even negative. Another option is PdfPCell.setUseAscender(). - Original Message - From: Daniel Łaś [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 07, 2005 11:38 AM Subject: [iText-questions] Padding in cell Hi

Re: [iText-questions] How to sign a signature field by embedding Image

2005-10-07 Thread Paulo Soares
That's not possible. Adding an image will invalidate the signature. - Original Message - From: fawad khan [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 07, 2005 8:20 AM Subject: [iText-questions] How to sign a signature field by embedding Image I

Re: [iText-questions] Using True Type Font and Aligning

2005-10-07 Thread Paulo Soares
In the first pass you generate just the body to a dummy PDF and collect the page numbers. In the second pass you generate the TOC and the body; you already have the page information for the TOC. - Original Message - From: tomas_philip [EMAIL PROTECTED] To: Paulo Soares [EMAIL PROTECTED]

Re: [iText-questions] Padding in cell

2005-10-07 Thread Daniel Łaś
Hi Thanks, it helped. Ihave another problem. When I add chunk to the PdfPCell , cell aligment seems to be ignored. Is it possible ? Regards Paulo Soares napisał(a): Set the top padding to something small or even negative. Another option is PdfPCell.setUseAscender(). - Original

[iText-questions] Background-picture

2005-10-07 Thread Markus Källander
Hi, How do I set an image as background picture? I want it to cover to whole page. BR Markus K

Re: [iText-questions] Padding in cell

2005-10-07 Thread Paulo Soares
If using addElement() the alignment comes from the Paragraph or other object. - Original Message - From: Daniel Łaś [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 07, 2005 2:50 PM Subject: Re: [iText-questions] Padding in cell Hi Thanks, it helped.

Re: [iText-questions] Using True Type Font and Aligning

2005-10-07 Thread Paulo Soares
Ah, I misread the question. Use BaseFont.getWidthPoint() to get the text size and do any adjustments. - Original Message - From: tomas_philip [EMAIL PROTECTED] To: Paulo Soares [EMAIL PROTECTED] Sent: Friday, October 07, 2005 7:43 PM Subject: Re: [iText-questions] Using True Type Font

[iText-questions] get default font

2005-10-07 Thread Marco
How can I know the default Font used for pdf files? I want anything as g.getFont().getName() and g.getFont().getSize() in graphics context. Can this default Font to be not equal in another PC? Thank, and excuse for my Enghish. Marco

[iText-questions] HTML to PDF

2005-10-07 Thread Stefano
Hi! I've problem to convert html to pdf. I've tried to use HTMLWorker or HTMLParser. With HTMLWorker I get a message like Document without any page, instead with the HTMLParser I get error with egrave (è) and ;nbsp. Before to use these 2 classes, I use JTiny and the html looks regular. Can

[iText-questions] Re: insertPage problem - ColdFusion

2005-10-07 Thread Neil Robertson-Ravo
For some reason, this doesnt work - it doesnt error, but it doesnt work? Any ideas? Paul Hastings wrote: Neil Robertson-Ravo wrote: pdfFile=expandPath(vcPDFfile); newFile=expandPath(vcNewPDFFile); fos=createObject(java,java.io.FileOutputStream).init(newFile); reader =

[iText-questions] Splitting PdfPTable when columns don't fit on one page

2005-10-07 Thread MMCCASKILL
I had to write a custom PDF to do such a thing for work and people are always asking how to do it. Here is my solution. //This is free for anyone's use/modification. I'd like to receive credit if it gets incorporated into the official itext though. //Copyright 2005. Michael McCaskill ([EMAIL

Re: [iText-questions] get default font

2005-10-07 Thread Paulo Soares
The default font is 12 point Helvetica and is the same everywhere. - Original Message - From: Marco [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, October 07, 2005 5:31 PM Subject: [iText-questions] get default font How can I know the default Font used for