Re: [iText-questions] PDF Signature for part of document

2005-08-02 Thread Kwan Simon
Dear Paulo, As PDF file can be incrementally updated, can I just sign the addendum portion of the file? Actually, I have to implement individual signature by using itext. Suppose there is a document having 2 pages, then: 1. User A modifies only page 1. 2. User A signs only page 1 and signature A

[iText-questions] about wartermark

2005-08-02 Thread Zoe Zhao
i have two questions about watermark: 1.Why can't see the part of watermark under a table? 2.The watermark can't display on the first page,why? there is a example in the attachment. lookingforward to your reply. thanks in advance. DO YOU YAHOO!? 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 prjSetOut.pdf

[iText-questions] query

2005-08-02 Thread Srikanth
I want to add check box box in pdf .and data should be retrieve from jsp dynamically. Srikanth.B Software Programmer Asia Telecommunications (M) Sdn Bhd, Level 62, Tower II, Petronas Twin Towers, Kuala Lumpur City Center, Kuala Lumpur 50088. Ph No + (603) 2070 8122, Fax +(603) 2078

[iText-questions] Useless font metrics for true type font

2005-08-02 Thread Thorsten Schülein
Hi all, we are currently experiencing a problem with font metrics provided by the PfdGraphics2D class: We create pdf documents only using the tools provided by the PdfGraphics2D class, no iText-internal layout components. Our client wants us to use his corporate design font, which exists as

Re: [iText-questions] PDF Signature for part of document

2005-08-02 Thread Paulo Soares
A second signature must always be done in append mode. See the java docs for: PdfStamper.createSignature(PdfReader reader, OutputStream os, char pdfVersion, File tempFile, boolean append) - Original Message - From: Kwan Simon [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net

Re: [iText-questions] DocumentFont TrueTypeFont

2005-08-02 Thread Paulo Soares
As I said the os_2 table is generally removed as it does nothing in the PDF context after the font is embedded. In the unlikely case that the os_2 is still there you can modify TrueTypeFont.java to read the table. - Original Message - From: sreeram ramesh kumar [EMAIL PROTECTED] To:

Re: [iText-questions] about wartermark

2005-08-02 Thread bruno
Zoe Zhao wrote: i have two questions about watermark: 1.Why can't see the part of watermark under a table? Because the (white) table/cell background is covering the Watermark. Did you define a table/cell background? 2.The watermark can't display on the first page,why? Because you added the

Re: [iText-questions] Useless font metrics for true type font

2005-08-02 Thread Paulo Soares
If you are using one of the latest iText releases the font metrics in this case come from java.awt directly. You can try to check BaseFont to see if the ascent/descent info is in the font. This kind of font metrics is always included in the font but nothing prevents it from being zero instead of a

Re: [iText-questions] about wartermark

2005-08-02 Thread Paulo Soares
- Original Message - From: Zoe Zhao [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 02, 2005 8:17 AM Subject: [iText-questions] about wartermark i have two questions about watermark: 1.Why can't see the part of watermark under a table? That's a well

[iText-questions] Integrating maps with PDF

2005-08-02 Thread Avi Golan
Hi, Is there a way to integrate geographic vector map inside a PDF document? What I need is a utility that can read a vector map file format, and I will be able to assign to it some display values (e.g. set the color of each state based on sales value). Thanks.

[iText-questions] We are using itext-0.52.jar

2005-08-02 Thread satish babu
Hi, We are using itext-0.52.jar file since 2001/02 usually we have to generate most of the reports as pdfs only. These pdfs are editable. But we want to make these as not editable and willing to give only print permissions to that. The cuttent version of iText.jar only supports this!

Re: [iText-questions] We are using itext-0.52.jar

2005-08-02 Thread bruno
satish babu wrote: Hi, We are using itext-0.52.jar file since 2001/02 usually we have to generate most of the reports as pdfs only. These pdfs are editable. But we want to make these as not editable and willing to give only print permissions to that. The cuttent version of iText.jar

Re: [iText-questions] We are using itext-0.52.jar

2005-08-02 Thread Paulo Soares
You can't have two iText versions loaded from the same class loader. You can call the new version to encrypt the doc as an external app or take the new version and change the package name so that there are not clashes, for example replace all the com.lowagie. with com.lowagie2.. - Original

[iText-questions] chunk setBackground not working with RtfWriter2 ?

2005-08-02 Thread gyannuzzi
Hello, I have the following portion of code: - chunk = new Chunk((String)sow_map.get(background_info), fGeneral); chunk.setBackground(Color.yellow); sec11.add(chunk); - I am using RtfWriter2, and itext-1.3.jar. The background color does not render for me when I view the rtf file in

[iText-questions] Imagesize and DPI

2005-08-02 Thread Malte Gräbe
Hi, I have a major problem with adding images to an existing PDF File using PDfContentByte and PDFStamper. Adding the images works fine, but the images in the PDF document are lot of bigger than the source images. I already read the explanation posted in

[iText-questions] Align Right in a cell consisting of a phrase.

2005-08-02 Thread Todd Huhman
I am having trouble with aligning text to the right in a cell, with the cell consisting of a phrase. My cell also does a COLSPAN(2) (across 2 cells). Here is my code: phraseText = Brokering Agent: ; Phrase phrase = createPhrase(phraseText, leadingValue, fontDetail);

Re: [iText-questions] Integrating maps with PDF

2005-08-02 Thread bruno
Avi Golan wrote: I'm looking for something similiar to the ability that Excel 2000 has with the Data Map component (http://support.microsoft.com/?kbid=147637), which enables displaying data on geographic vector maps. I didn't read the KB article completely, but isn't this about creating

Re: [iText-questions] Opening Adobe upon document close

2005-08-02 Thread Angela Berk
Could you give me an example of how to start Adobe Reader from a JVM? I read through the Executable.java class, but I am a little confused as to how to do this. Thanks, Angela --- Bruno Lowagie [EMAIL PROTECTED] wrote: Angela Berk wrote: Is there anyway I can trigger Adobe to open as soon

Re: [iText-questions] Opening Adobe upon document close

2005-08-02 Thread bruno
Angela Berk wrote: Could you give me an example of how to start Adobe Reader from a JVM? I read through the Executable.java class, but I am a little confused as to how to do this. It's done like this: String osName = System.getProperty(os.name ); //FOR WINDOWS 95 AND 98 USE COMMAND.COM

RE: [iText-questions] Imagesize and DPI

2005-08-02 Thread Bill Ensley
you need to use image.scaleAbsolute(desiredWidth, desiredHeight); Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Malte Gräbe Sent: Tuesday, August 02, 2005 6:01 AM To: itext-questions@lists.sourceforge.net Subject:

Re: [iText-questions] Integrating maps with PDF

2005-08-02 Thread Avi Golan
Hi, Thanks for the response. I'm looking for something similiar to the ability that Excel 2000 has with the Data Map component (http://support.microsoft.com/?kbid=147637), which enables displaying data on geographic vector maps. I don't care what is the vector format, as long as it standard

[iText-questions] Question about licenses for commercial use

2005-08-02 Thread Maria Clara Ramirez
Hi: Recently I used your libraries for a product for commercial use and I need to know if a need a licences and in that case, how much it cost and for how long it take effect. Thanks, MCR --- SF.Net email is sponsored by: Discover Easy Linux

Re: [iText-questions] We are using itext-0.52.jar

2005-08-02 Thread Paulo Soares
You'll have to change the package names and recompile it. - Original Message - From: satish babu [EMAIL PROTECTED] To: Paulo Soares [EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 1:52 PM Subject: Re: [iText-questions] We are using itext-0.52.jar Thanku very much for ur idea!,

Re: [iText-questions] Imagesize and DPI

2005-08-02 Thread Paulo Soares
If the image is 72 dpi and it looks bigger maybe it is not 72 dpi. - Original Message - From: Malte Gräbe [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 02, 2005 2:00 PM Subject: [iText-questions] Imagesize and DPI Hi, I have a major problem with

Re: [iText-questions] Align Right in a cell consisting of a phrase.

2005-08-02 Thread Paulo Soares
Maqke Phrase a Paragraph and set there the alignment. - Original Message - From: Todd Huhman [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 02, 2005 2:24 PM Subject: [iText-questions] Align Right in a cell consisting of a phrase. I am having trouble

[iText-questions] determine iText version?

2005-08-02 Thread Paul Hastings
is there any way to programmtically determine which version of iText an app is using? thanks. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles,

Re: [iText-questions] Question about licenses for commercial use

2005-08-02 Thread Paulo Soares
See http://www.lowagie.com/iText/faq.html. - Original Message - From: Maria Clara Ramirez [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 02, 2005 6:17 PM Subject: [iText-questions] Question about licenses for commercial use Hi: Recently I used your

Re: [iText-questions] Form field Font Question

2005-08-02 Thread Paulo Soares
Your pdf doesn't have any embedded font and is not filled. - Original Message - From: Malloy, James [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Monday, August 01, 2005 6:21 PM Subject: [iText-questions] Form field Font Question I am using Itext to do form filling.

RE: [iText-questions] determine iText version?

2005-08-02 Thread Tony.L.Reller
Document.getVersion(); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Hastings Sent: Tuesday, August 02, 2005 2:24 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] determine iText version? is there any way to programmtically

RE: [iText-questions] Form field Font Question

2005-08-02 Thread Malloy, James
I actually discovered what my issue is. I am caching the field appearances (form.setFieldCache(cache);) I changed my pdf form but did not clear the cache. It was applying the old appearances into my new pdf. I cleared the cache and and problem solved.. Thanks for your prompt reply, Jim

Re: [iText-questions] determine iText version?

2005-08-02 Thread Paulo Soares
Document.getVersion() - Original Message - From: Paul Hastings [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 02, 2005 8:23 PM Subject: [iText-questions] determine iText version? is there any way to programmtically determine which version of iText an

Re: [iText-questions] determine iText version?

2005-08-02 Thread Paul Hastings
Paulo Soares wrote: Document.getVersion() thanks, trying to solve a minor jar mystery w/coldfusion from home. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps,

[iText-questions] html to pdf

2005-08-02 Thread THOMAS Alexandre
dear user of iText I'm trying to convert a html to pdf document. I've try a simple example at http://www.lowagie.com/iText/examples/Chap0707.java but it do not seems to work I've store the html file, on my disk on the app directoy but the pdf result has a size null :| It not seems to have a

Re: [iText-questions] Runtime.getRuntime().exec( cmd /c start acrord32 \ + fileName + \); //fileName e.g. test.pdf

2005-08-02 Thread Bruno Lowagie
Michael Hüttermann wrote: Dear pdf experts, I have an issue opening a pdf-file in java on windows the straight way. I do it this way Runtime.getRuntime().exec( cmd /c start acrord32 \ + fileName + \); //fileName e.g. test.pdf Adobe reader opens but with a message dialog (I translated

Re: [iText-questions] itext header and footer xml

2005-08-02 Thread Bruno Lowagie
Keith Istler wrote: Hello, I'm using your java itext library in an application and using the xml to pdf/rtf functionality. In doing so i was trying to use the header and footer features for these formats and discovered that, atleast for rtf, the XmlWriter does not appear to output any of

[iText-questions] Problems copying artwork, form fields, and images

2005-08-02 Thread Chris Miller
Hello, I am trying to merge a) pdf artwork b) a separate form field file and c) images into a single pdf. Eventually, this will have to support multi-page documents, but for now let's assume everything is merging together onto one page. I have tried numerous ways of doing it but have had no