Re: [iText-questions] RTF - page numbering

2007-02-21 Thread GAMBELLI Raffaele
Ok Mark thanks. Here it is another interesting info: My colleague who uses TxTextControl (do you know? if not, you can see http://www.textcontrol.com/) says that he isn't able to change programmatically page's numbering (special) field for all the rtf documents that I created using itext,

Re: [iText-questions] html to pdf

2007-02-21 Thread roseline
HI, I am also lookin out for a HTML to PDF converter...did you get one? Please help me how you did it? nafise hasani wrote: Hi I want to convert html to pdf as I saw itext can not do this,Do you know any open source java framework that do this for me?

Re: [iText-questions] RTF - page numbering

2007-02-21 Thread GAMBELLI Raffaele
A simple question: Which version of RTF is supported by itext? Thank you very much, best regards Raffaele - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

Re: [iText-questions] RTF - page numbering

2007-02-21 Thread Mark Hall
On 21.02.2007, at 09:42, GAMBELLI Raffaele wrote: A simple question: Which version of RTF is supported by itext? iText is based on RTF version 1.6 (http://msdn2.microsoft.com/en-us/ library/aa140277(office.10).aspx). In some areas (I think tables are one) it doesn't generate fully

Re: [iText-questions] html to pdf

2007-02-21 Thread porcupine
please check the following threads, HTML to PDF support is there, although as Bruno has mention before HTML is a lower priority and therefore some caveats, also check out iText v2 I believe there are now more features. http://www.nabble.com/How-to-convert-HTML-into-PDF--tf2040067.html#a5619917

[iText-questions] Clickable Images

2007-02-21 Thread Buland Altaf
Hi - I have a requierement to fullfill. I have an image and i want a portion from that image to be clickable. How can i do this in Itext? I tried to use anntations but that seems to be not workign for me as it makes the whole image clickable but i want portion opf the image (specific

[iText-questions] Screen annotations

2007-02-21 Thread Tony Chhun
Hello, I am looking at the PdfAnnotation.createScreen method and I wonder why you chose to do movie annotation with screen instead of movie. Actually the Subtype should be movie for a movie annotation. Is there any specific reason to that. I am working on create a PdfAnnotation.createSound

Re: [iText-questions] Clickable Images

2007-02-21 Thread Paulo Soares
Set the image as content and the clickable area as an invisible annottation. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buland Altaf Sent: Wednesday, February 21, 2007 1:08 AM To: itext-questions@lists.sourceforge.net Subject:

Re: [iText-questions] Screen annotations

2007-02-21 Thread Paulo Soares
We didn't choose anything, you can create any type of annotation, all you need is the PDF reference. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Chhun Sent: Wednesday, February 21, 2007 8:14 AM To: Post all your questions about

Re: [iText-questions] adobe 8 and iText1.1

2007-02-21 Thread Paulo Soares
There's a problem with your text creation, you have a \n at the end. It's invisible in Acrobat 7 but Acrobat 8 decided, quite correctly, to render it as an unknown character. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hanspeter

[iText-questions] Encrypt signed pdf

2007-02-21 Thread Dimiter Nikolov
Hi, I've tryed to encrypt signed pdf document through the following code: int permissions = PdfWriter.AllowCopy | PdfWriter.AllowPrinting | dfWriter.AllowModifyContents |PdfWriter.AllowScreenReaders | PdfWriter.AllowModifyAnnotations|PdfWriter.AllowFillIn | PdfWriter.AllowAssembly

Re: [iText-questions] Multiple line text in TextField

2007-02-21 Thread Stolarczyk Piotr
OK, this tome something harder Lets say i have a multi-line text field and i need to set line height and letter spacin for the text thet will be type in the multi-line text field for example i want the text in my text field (after typing in) to look like text in HTML textarea whit style as below

[iText-questions] Font size and width between characters

2007-02-21 Thread David Allen
Hi all, I have 2 questions. Is there a way to convert the font size in mm to pt. I have a pdf file that has font size of 2.55mm and I need to know the equivalent in the pt system. Also, i am using the futura font and one of the requirements is that for a particular heading at the top of the

[iText-questions] Problem adding WMF file

2007-02-21 Thread Zuijderduijn, Paul [FINT]
Hi, I am trying to add a Wmf file but Itext keeps explaining that it does not recognize the image format. I have attached an example file, my guess is that it has something to do with the header. Can someone please take a look? Thanks in advance Paul test.wmf Description: test.wmf

Re: [iText-questions] Problem adding WMF file

2007-02-21 Thread Paulo Soares
The file header doesn't make sense. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zuijderduijn, Paul [FINT] Sent: Wednesday, February 21, 2007 2:44 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Problem adding

Re: [iText-questions] Multiple line text in TextField

2007-02-21 Thread Paulo Soares
Sorry but iText can't do more than Acrobat. Can you do it in Acrobat? Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stolarczyk Piotr Sent: Wednesday, February 21, 2007 11:31 AM To: itext-questions@lists.sourceforge.net Subject: Re:

[iText-questions] Premature EOF in Jpeg.Java processParameters

2007-02-21 Thread Lewis, Cory (Genworth)
Hi all, I have a jpeg that's causing problems. I'm not sure if it's borderline invalid or if there is an issue with the code, so here I am. I call Image.getInstance with a byte[], and get the following stack trace: java.io.IOException: Premature EOF while reading JPG. at

Re: [iText-questions] Acrobat Reader 7 vs. Acrobar Reader 8

2007-02-21 Thread murthy gandikota
Thanks a lot Mark. Your fix has worked amazingly well. Many thanks and regards Murthy Mark Storer [EMAIL PROTECTED] wrote: And that works in Reader 7? Huh. Looking at the Manipulating existing PDF documents example, AddWatermarkPageNumbers in the tutorial section, I see that

[iText-questions] Problem with PdfWriter..

2007-02-21 Thread parvez ahmed
Hi, I am using itext to merge different pdf into a single document. In that process, I am creating book marks, headers, footers. The input pdf that am merging could be in any type in the sense like it could be upside down or it could be magnifed. Accordingly I am writing the code

Re: [iText-questions] Problem with PdfWriter..

2007-02-21 Thread Paulo Soares
What you want to do can't be done unless you do a lot of code and are ready to accept many restrictions regarding the kind of transformations allowed. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of parvez ahmed Sent: Wednesday, February

Re: [iText-questions] Problem with PdfWriter..

2007-02-21 Thread Peter
Paulo, Lot of code?? Could you guide me the way of my approach? Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on

Re: [iText-questions] Font size and width between characters

2007-02-21 Thread porcupine
if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you would get 7.23pt As for tracking, if you place text in a template you can set template.setCharacterSpace(x) This shows you how to use a template

Re: [iText-questions] Font size and width between characters

2007-02-21 Thread mister bean
With just slightly more detail: there are 72 points per inch and 25.4 mm per inch. So, each mm = 2.83 points and your 2.55mm is 7.23 pt as porcupine points out. ---Mister Bean porcupine wrote: if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you

[iText-questions] NullPointerException in RtfDocument.filterSpecialChar

2007-02-21 Thread Dhruba Bandopadhyay
Hi, In my application today I got the error when converting the attached html file to rtf. Caused by: java.lang.NullPointerException at com.lowagie.text.rtf.document.RtfDocument.filterSpecialChar(RtfDocument.java:218) at

[iText-questions] Signing

2007-02-21 Thread Vinicius Vieira
Hello! Can I create PDF with signing permition onlly? Thanks. -- Vinícius Vieira - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

Re: [iText-questions] Signing

2007-02-21 Thread Paulo Soares
Can you create it with Acrobat? Paulo - Original Message - From: Vinicius Vieira [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 7:19 PM Subject: [iText-questions] Signing Hello! Can I create PDF with signing permition onlly? Thanks.

[iText-questions] New Document

2007-02-21 Thread Dean Krueger
When creating a new Document object is there a way to set the proper page label? What I am doing is splitting a multiple page document and want to keep the PageLabel in the single newly created document. IE I have one doc with 10 pages, real page numbers are 20-29, when I split I want the new

Re: [iText-questions] Problem with PdfWriter..

2007-02-21 Thread Paulo Soares
- Original Message - From: Peter [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 5:52 PM Subject: Re: [iText-questions] Problem with PdfWriter.. Paulo, Lot of code?? Could you guide me the way of my approach? When you transform

Re: [iText-questions] New Document

2007-02-21 Thread Paulo Soares
PdfWriter.sePageLabels() Paulo - Original Message - From: Dean Krueger [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 9:12 PM Subject: [iText-questions] New Document When creating a new Document object is there a way to set the proper

Re: [iText-questions] Signing

2007-02-21 Thread Brian McKeever
Hello! Can I create PDF with signing permition onlly? Thanks. I think you want to grant the AllowFillIn permission. Table 3.20 (in the version I'm looking at) of the Pdf spec lays out exactly what each permission flag means. You can cross-reference those with the PdfReader source file to

[iText-questions] Horizontal Line hr

2007-02-21 Thread dev
Hi! I would like to insert a horizontal line between elements. Like this: aDocument.add(aPdfPTable); // add horizontal line here aDocument.add(anotherPdfPTable); How do I do this? Any help appreciated, thanks! - Stava rätt! Stava lätt!

[iText-questions] setFullCompression

2007-02-21 Thread Ben Marchbanks
does setFullCompression remove page redundancy ? We are merging multipage PDF into a single PDF and need to get the filesize to a minimum. Does setFullCompression remove the duplication of pages within the PDF ? -- Ben Marchbanks ::: alQemy ::: transforming information into intelligence

Re: [iText-questions] setFullCompression

2007-02-21 Thread Bruno Lowagie (iText)
Ben Marchbanks wrote: does setFullCompression remove page redundancy ? No. setFullCompression compresses more than just the page streams. It's something that was introduced in PDF 1.5. Note that setFullCompression can in some cases result in a bigger file size. br, Bruno

Re: [iText-questions] Horizontal Line hr

2007-02-21 Thread Bruno Lowagie (iText)
dev wrote: Hi! I would like to insert a horizontal line between elements. Like this: aDocument.add(aPdfPTable); // add horizontal line here aDocument.add(anotherPdfPTable); How do I do this? Any help appreciated, thanks! There are too many answers to this question. You could use table