Re: [iText-questions] displaying japanese characters in pdf

2007-06-12 Thread Bruno Lowagie
ranjan reddy wrote: > hi, > we have a requirement in our project to display japanese > characters on pdf using linux Operating System,so we are using itext > to fulfill our requirement . OK. No problem. > Using itext we are able to generate pdf Successfully,But japaneses > characters a

Re: [iText-questions] Fonts and Printing

2007-06-12 Thread Bruno Lowagie
nguyet minh wrote: > Hi, > My document is using itext. But I need use font "Arial", "Dialog", which > itext doesn't support directly. I have to use .ttf file by pointing > directly the full path and file name of .ttf in the Windows folder. I > wonder if there's other way to solve this problem. A

Re: [iText-questions] Header footer, or long line

2007-06-12 Thread Bruno Lowagie
Michael Clayton wrote: > Hi, > > i would like to underline the first line of text in my document. I > want the line to span across the entire width of the page. How do you > do this? I'm not sure how you define a line. Suppose you have: Quick brown fox jumps over the lazy dog. What is the

[iText-questions] How to use stylesheet fot parsing HTML ?

2007-06-12 Thread shruti shah
Hi , I am converting HTML file to PDF . I have used HtmlParse in that. Following is the code HtmlParser parser1 = new HtmlParser(); try{ String str1 = new String(""+profDetailForm.getBVI_Bio().getStringProperty(

[iText-questions] displaying japanese characters in pdf

2007-06-12 Thread ranjan reddy
hi, we have a requirement in our project to display japanese characters on pdf using linux Operating System,so we are using itext to fulfill our requirement . Using itext we are able to generate pdf Successfully,But japaneses characters are not getting displayed.To overcome this problem

[iText-questions] Header footer, or long line

2007-06-12 Thread Michael Clayton
Hi, i would like to underline the first line of text in my document. I want the line to span across the entire width of the page. How do you do this? Mike - This SF.net email is sponsored by DB2 Express Download DB2 Ex

[iText-questions] Fonts and Printing

2007-06-12 Thread nguyet minh
Hi, My document is using itext. But I need use font "Arial", "Dialog", which itext doesn't support directly. I have to use .ttf file by pointing directly the full path and file name of .ttf in the Windows folder. I wonder if there's other way to solve this problem. And in general, how can we kn

[iText-questions] Sending HASH to external components to get it signed

2007-06-12 Thread jortizclaver
Hi, I know I have a pretty common problem but I can't find the way to solve it, even after reading all the messages of this forum. I need to get my PDF documents signed by external components. It seems like what I need to do is generate a hash, send it to my external document, retrieve from it a

[iText-questions] 3D PDF and JavaScript

2007-06-12 Thread AHeckmeier
Hello, I have a strange behaviour with iText. I've added a 3d modell programmatically with iText (see code below). When I add the JavaScript with Acrobat, I get the JavaScript message "host is undefined". If I add the 3D modell and script manually, it works fine ... An example pdf can be foun

[iText-questions] Query while printing Pdf report

2007-06-12 Thread Aditya Nihar Amonkar
Hi, I am facing a serious doubt.I am using I-Text to generate reports in pdf format. In the beginning i am setting the property of the page to Pagesize.A4.Rotate. So when the report is generated it shows the report in Landscape format,but when i try to print the report the print d

Re: [iText-questions] Paragraphs and new pages

2007-06-12 Thread Bruno Lowagie
Aleix Casagolda wrote: > I'm generating a pdf with some paragraphs and I need that when one > paragraph don't fit to a page, the entire paragraph jump to next page, > so a paragraph is never splitted between two pages. > > How can I do it? You can use ColumnText in simulation mode. Add a paragraph

[iText-questions] 3D PDF and JavaScript

2007-06-12 Thread AHeckmeier
Hello, I have a strange behaviour with iText. I've added a 3D modell programmatically with iText (see code below). When I add the JavaScript with Acrobat, I get the JavaScript message "host is undefined". If I add the 3D modell and script manually, it works fine ... An example pdf can be foun

Re: [iText-questions] Adobe and GeoTrust

2007-06-12 Thread Leonard Rosenthol
On Jun 12, 2007, at 7:56 PM, Chad Loder wrote: > The last time I checked, Adobe chose to ship Acrobat Reader with > only a single > trusted root Certificate Authority (GeoTrust). No, we ship with a couple of CA's last time I checked. In addition, we also fully support, on Windows, any

Re: [iText-questions] Paragraphs and new pages

2007-06-12 Thread Damien Uern
Aleix Casagolda wrote: > Hi, I have a question about iText. > > I'm generating a pdf with some paragraphs and I need that when one > paragraph don't fit to a page, the entire paragraph jump to next page, > so a paragraph is never splitted between two pages. > > How can I do it? > > Thank you. S

[iText-questions] Adobe and GeoTrust

2007-06-12 Thread Chad Loder
A question for the list. The last time I checked, Adobe chose to ship Acrobat Reader with only a single trusted root Certificate Authority (GeoTrust). Does anyone know why such a decision has been made, when there are countless other reputable CA's doing business (just see the trusted CA list in y

Re: [iText-questions] Designer & RadioButton work-around?

2007-06-12 Thread sseif
So let me rehash what you're saying to be clear. You are recommending the solution around the "Expected a name object" error is to not use the PdfCopyFields process because it probably doesn't work with Designer Forms because it is converting the form to an AcroForm (hence the reason it shrun

Re: [iText-questions] Designer & RadioButton work-around?

2007-06-12 Thread sseif
So let me rehash what you're saying to be clear. You are recommending the solution around the "Expected a name object" error is to not use the PdfCopyFields process because it probably doesn't work with Designer Forms because it is converting the form to an AcroForm (hence the reason it shrun

Re: [iText-questions] Time to load an image

2007-06-12 Thread Paulo Soares
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance("logo.jpg"); Paulo - Original Message - From: "Max" <[EMAIL PROTECTED]> To: Sent: Monday, June 11, 2007 12:40 PM Subject: [iText-questions] Time to load an image >I have an image (size 202 KB) which I would like to load!

Re: [iText-questions] problems signing PDFs using a Verisigncertificate

2007-06-12 Thread Paulo Soares
- Original Message - From: "Carl H. Sayres" <[EMAIL PROTECTED]> To: Sent: Sunday, June 10, 2007 1:06 PM Subject: Re: [iText-questions] problems signing PDFs using a Verisigncertificate Thanks Paulo! I changed VERISIGN_SIGNED to WINCER_SIGNED. That removed the plug-in message. Acrobat

[iText-questions] getting the information of images in PDF file

2007-06-12 Thread linkjaya
Hello ALL, I have created a PDF file which contains some images. How can i get the information about images on that PDF later when i need it. The infomation are color space , size etc. Is there any standard way to find out the images on the PDF file and get the infomation of it? Can some one sen

Re: [iText-questions] xmp

2007-06-12 Thread linkjaya
Can you please send me sample code to insert XMP metadata and retrieve it later, Any articles , tutorials to do is will work for me. Thanks and Regards Jaya N Pasachhe. Thanksforfish wrote: > > Hi, > > My code currently adds xmp data (multiple schemas) to an existing pdf > using PdfStamper.

Re: [iText-questions] xmp

2007-06-12 Thread Thanksforfish
I do indeed mean Adobe Acrobat Professional 7 - glad you knew what I meant. The schemas I used are (hope this is the right way to identify them): http://ns.adobe.com/pdfx/1.3/ http://ns.adobe.com/xap/1.0/rights/ also the itext DublinCoreSchema and PdfSchema classes. Are you saying that if I

[iText-questions] Paragraphs and new pages

2007-06-12 Thread Aleix Casagolda
Hi, I have a question about iText. I'm generating a pdf with some paragraphs and I need that when one paragraph don't fit to a page, the entire paragraph jump to next page, so a paragraph is never splitted between two pages. How can I do it? Thank you. --

[iText-questions] Memory issue while adding images in document

2007-06-12 Thread gscac
I am adding 100 images into the pdf document. After adding 90 images, the program throws outof memory exception. for(int i = 0; i<100;i++){ Image img = Image.getInstance(url) ; document.add(img); } How can I avoid this memory issue? -- View this message in context: http://www.nabble.com/Memor

[iText-questions] PDF header signature not found

2007-06-12 Thread peter_budo
After opening PDF document I try to read page content and store it in another PdfReader but I'm getting following error java.io.IOException: PDF header signature not found. at com.lowagie.text.pdf.PRTokeniser.checkPdfHeader(Unknown Source) at com.lowagie.text.pdf.PdfReader.readPdf(Unknown

[iText-questions] Table of Content in pdf - Example

2007-06-12 Thread Lars Vogel
Hello, sorry for the uninformed question, but can someone point me to an example of how to create a table of content referrening to the correct page number of the sections? I searched through this newsgroup but found only examples for RTF / formating the TOC / reordering the pages after creat

[iText-questions] Time to load an image

2007-06-12 Thread max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Read link details of the page

2007-06-12 Thread Peter
In the company, we scan documents and then link them up. The main document has page(s) of selected text linked with external documents that are usually in subdirectory. Currently if operator wants to create links from target document back to main document he/she has to run a small utility developed

[iText-questions] Time to load an image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Read link details of the page

2007-06-12 Thread Peter
In the company we scan documents and then link them up. The main document has page(s) of selected text linked with external documents which are usualy in subdirectory. Currently if operator whant to create links from target document back to main document he/she has to run a small utility developed

[iText-questions] Time to load an image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Time to load an Image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

Re: [iText-questions] problems signing PDFs using a Verisign certificate

2007-06-12 Thread Carl H. Sayres
Thanks Paulo! I changed VERISIGN_SIGNED to WINCER_SIGNED. That removed the plug-in message. Acrobat didn't recognize the Verisign root certificate until I changed the security settings to use all Windows root certificates. Does that jive with your experience? I still can't get the signature

Re: [iText-questions] Designer & RadioButton work-around?

2007-06-12 Thread Paulo Soares
Designer support in iText is limited to setField(). It is possible to add a button but you'll have to change the template section of the XFA yourself and insert the button acroform in the right place. It's not rocket science but it's still some work. Paulo - Original Message - From: <[EM

Re: [iText-questions] problems signing PDFs using a Verisign certificate

2007-06-12 Thread Carl H. Sayres
Thanks Paulo! I changed VERISIGN_SIGNED to WINCER_SIGNED. That removed the plug-in message. Acrobat didn't recognize the Verisign root certificate until I changed the security settings to use all Windows root certificates. Does that jive with your experience? I still can't get the signature