[iText-questions] need help

2008-05-22 Thread Kishore_Antrias
Hi, I have five cells in a table where three cells have the contents, and two cells don't have any contents. The problem is the cell which do not have contents occupy the same space as the cell which have the contents. In html cell width are adjusted according to the content automaticall

Re: [iText-questions] Cannot find symbol while compiling 'com.lowagie.text.PageSize.POSTCARD'

2008-05-22 Thread 1T3XT info
harsha ravindra wrote: > Hi, > > I'm having a problem while compiling a document with the page size > 'POSTCARD'. What may be the cause for this..? > It says 'cannot find the symbol 'PageSize.POSTCARD' Maybe you are using an old iText version? POSTCARD was introduced 18 months and 2 weeks ago. -

Re: [iText-questions] extract part of pdf

2008-05-22 Thread 1T3XT info
Andrea König wrote: > Hi all, > I have an existing pdf file. I want to extract a special part, belonging > to a bookmark, of this file It is very unclear what you mean by this. PDF is a page based document format. Do you mean you want to extract complete pages? > and want to display this part i

Re: [iText-questions] insert HTML into PDF Form field.

2008-05-22 Thread 1T3XT info
bthorington wrote: > Hello, > > I've been trying to figure out how to put HTML (converted to PDF) into > form fields in an existing PDF. I have been able to put images and > normal text. > > I can even convert the HTML into its own PDF file (using HTMLWorker.) > Again, I can't see how to loa

Re: [iText-questions] NullPointerException in PdfDocument.newPage

2008-05-22 Thread 1T3XT info
Abhishek Kaukuntla wrote: > Java.lang.NullPointerException > > At com.lowagie.text.pdf.PdfDocument.newPage (Unknown Source) There's a fix in SVN. A NullPointerException in newPage() occurred when using Type3 fonts. Were you using a Type3 font? -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Type 1 font bullet width

2008-05-22 Thread Tony Stevens
I know a little more about what's going on. The problem occurs if I point to the .pfm file created by the Windows Type 1 installer. If I point to the original .afm (which doesn't get copied to \Windows\Fonts) the problem goes away. It looks like the automatic .pfm to .afm conversion isn't working

[iText-questions] How to avoid loosing fields format when flattening a PDF

2008-05-22 Thread Fernando Margueirat
Hi there I am writing an application that takes an AcroForm with different fields, fills in those fields with data extracted from a database and then generate a flat PDF that is being sent to a customer. I want to keep the fields formatting originaly set in the AcroForm in the flatten PDF. For exa

Re: [iText-questions] Adding custom properties to PDF

2008-05-22 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dayvidpow wrote: |> The easiest way is to put your data as extra keys in the info dictionary. If |> you want it more "hidden" they can go to the catalog dictionary. | | Are there any sample / example code as to how to accomplish this? | I don't think

Re: [iText-questions] Adding custom properties to PDF

2008-05-22 Thread dayvidpow
>The easiest way is to put your data as extra keys in the info dictionary. If >you want it more "hidden" they can go to the catalog dictionary. Are there any sample / example code as to how to accomplish this? -- View this message in context: http://www.nabble.com/Adding-custom-properties-t

Re: [iText-questions] Adding custom properties to PDF

2008-05-22 Thread Paulo Soares
The easiest way is to put your data as extra keys in the info dictionary. If you want it more "hidden" they can go to the catalog dictionary. Paulo - Original Message - From: "dayvidpow" <[EMAIL PROTECTED]> To: Sent: Thursday, May 22, 2008 4:34 PM Subject: [iText-questions] Adding cust

Re: [iText-questions] some pages are not displaying right

2008-05-22 Thread Ping Zhang
Hi Paulo, Thank you very much for the help, but I don't know how to do that 'take the page rotation into account'. Could you please explaining ? Ping From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Date: 05/22/2008 03:36 PM Subject: Re: [iText-ques

Re: [iText-questions] some pages are not displaying right

2008-05-22 Thread Paulo Soares
You have to take the page rotation into account when adding the template. Paulo - Original Message - From: "Ping Zhang" <[EMAIL PROTECTED]> To: Sent: Thursday, May 22, 2008 7:43 PM Subject: [iText-questions] some pages are not displaying right > Hi everyone, > > Please help! I have a

Re: [iText-questions] iText extension to merge pdf files

2008-05-22 Thread Paulo Soares
I'll have a look. Paulo - Original Message - From: "Mohni, Daniel" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, May 22, 2008 3:11 PM Subject: Re: [iText-questions] iText extension to merge pdf files Ok, I tested the PDFSmartCopy to compare it wit

[iText-questions] some pages are not displaying right

2008-05-22 Thread Ping Zhang
Hi everyone, Please help! I have a application using iText to display/fill data on the exisiting multiple PDF forms (one form at a time) , all forms has two pages, with my code as the following, some application displaying form right, some application first page displaying right, but second pag

Re: [iText-questions] iText extension to merge pdf files

2008-05-22 Thread Mohni, Daniel
Ok, I tested the PDFSmartCopy to compare it with my own class single file size ~145KB merged 5 different files with pictures (same for both tests) myClass: final size 235KB PdfSmartCopy: final size 379KB maybe my class is not as safe as PdfSmartCopy but maybe you want to have a look... Danie

Re: [iText-questions] iText extension to merge pdf files

2008-05-22 Thread Mohni, Daniel
damn, didn't see this one I will try it right now... Daniel > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:itext-questions- > [EMAIL PROTECTED] Im Auftrag von Paulo Soares > Gesendet: Donnerstag, 22. Mai 2008 14:55 > An: Post all your questions about iText here > Betref

[iText-questions] Adding custom properties to PDF

2008-05-22 Thread dayvidpow
Is there a way to add custom properties to a PDF using iText? Basically i am seeking a way to set some custom properties (e.g. pageLabelsUpdated = 'Y', urlsUpdated = 'N' , etc) in a new PDF document. Then later I want to be able to retrieve/check the custom properties in the PDF and perform cer

Re: [iText-questions] RTF List indentations explained

2008-05-22 Thread Howard Shank
Here is a code sample and the resulting PDF and RTF file from the output. Document document = new Document(); RtfWriter2 writer = RtfWriter2.getInstance(document, new FileOutputStream("TestListIndent.rtf")); PdfWriter pwriter = PdfWriter.getInstance(document, new FileOut

[iText-questions] RTF List indentations explained

2008-05-22 Thread Howard Shank
Hi Michael, I will try to explain the indents here. There are 2 indents when working with lists. Here is a simple example. SYMBOLList text follows here is the Left Indentation value. is the Symbol Indent value. You can use the method List.setIndentationLeft(float indentation) to modify valu

Re: [iText-questions] itext - rtf only works with word

2008-05-22 Thread Howard Shank
Hi Michael, Please keep the thread in the mailing list so others may benefit from the information. Wordpad support for images require control words that are not emitted by iText RTF at this time.. There are 2 different image sections (identified by \shppict and \nonshppict control words) in

Re: [iText-questions] iText extension to merge pdf files

2008-05-22 Thread Paulo Soares
Isn't that what PdfSmartCopy already does? Paulo - Original Message - From: "Mohni, Daniel" <[EMAIL PROTECTED]> To: Sent: Thursday, May 22, 2008 9:11 AM Subject: [iText-questions] iText extension to merge pdf files > Hello > > I made a extension to the PDFCopy class to cache XObjects

[iText-questions] iText extension to merge pdf files

2008-05-22 Thread Mohni, Daniel
Hello I made a extension to the PDFCopy class to cache XObjects Streams and replace following references to same objects. We are using this to concatenate pdf's where every single pdf contains a few pictures. The resulting pdf will only contain one of each picture for all source pdf's. I hope y

[iText-questions] Font Embedding

2008-05-22 Thread Roger Misteli
Hi I'm trying to embed a font into a PDF that doesn't have any fonts embedded. Using the demo sample DumpFontNames, I could get a list of the font names that were missing. So far so good. Now, to embed the font, Paulo wrote a little sample code (http://thread.gmane.org/gmane.comp.java.lib.itex

[iText-questions] Cannot find symbol while compiling 'com.lowagie.text.PageSize.POSTCARD'

2008-05-22 Thread harsha ravindra
Hi, I'm having a problem while compiling a document with the page size 'POSTCARD'. What may be the cause for this..? It says 'cannot find the symbol 'PageSize.POSTCARD' Thx -- Rgds; Harsha - This SF.net email is sponsored

[iText-questions] extract part of pdf

2008-05-22 Thread Andrea König
Hi all, I have an existing pdf file. I want to extract a special part, belonging to a bookmark, of this file and want to display this part in a pdf viewer. For better understanding let me explain, what it is used for. I have to display help hints of an installation handbook during an installat