[iText-questions] Merge PDF and memory problem

2005-09-29 Thread Ali Ghassemi
Hi everyone, I am using iText Java API to merge around 1500 PDF files into one large one. However, it looks to me that iText keeps everything in memory until close() on the document is called which is causing my application to run out of memory. Here is how I merge the PDF files: - doc = n

[iText-questions] servlet

2005-09-29 Thread Sweeney, Mike
Title: servlet Dear sirs, My app opens a window called print.htm, whose onLoad() invokes a servlet, who uses your API to dump an image into print.htm. My question: is there a graceful way to then close print.htm once Adobe Reader kicks in ?

[iText-questions] AcroField is reversed when printed??

2005-09-29 Thread greg . ng1
I have a user that displays the PDF report correctly within the IE browser which contains a AcroField within it, but when they print the PDF the Acrofield is upside down and reversed on the printout. I suspect the problem lies with the printer driver settings but I’m not able to pin it down. H

[iText-questions] Merge PDF and memory problem

2005-09-29 Thread ALi Enigma
Hi everyone,I am using iText Java API to merge around 1500 PDF files into one large one. However, it looks to me that iText keeps everything in memory until close() on the document is called which is causing my application to run out of memory. Here is how I merge the PDF files:- doc = new Docume

RE: [iText-questions] PdfStamper and bookmarks

2005-09-29 Thread Joan Xiao
Although I didn’t figure out why I couldn’t use PdfOutline, I found that I could use SimpleBookmark to retrieve the bookmarks.   So I found the desired bookmark, get the “Named” key from the bookmark (map), and then I create the PdfAction as follows: PdfAction action = "" false); stamp.

[iText-questions] iTextDotNet - JUnit - Why AssertionFailedError extends ClasspathError

2005-09-29 Thread David Thielen
Hi; Int the ported Junit code, why does AssertionFailedError extend ClasspathError instead of Error? Thanks - dave David Thielen 303-499-2544 www.windwardreports.com --- This SF.Net email is sponsored by: Power Architecture

Re: [iText-questions] Digitally signing pdf - issue with acrobat 7

2005-09-29 Thread Paulo Soares
"Signature not Verified" means that you must click on it to verify it. The other message you see it's from the Java Sun 1.4 crypto provider and it's harmless. That message went away in 1.5. - Original Message - From: "Francisco" <[EMAIL PROTECTED]> To: Sent: Thursday, September 29, 2005

Re: [iText-questions] Cropping/Clipping images

2005-09-29 Thread Henry Dall
Thanks for the input. I had figured that I'd have to go with the image manipulation route (using Java, AWT, BufferedImage, Graphics2D) ... but figured that one try at finding an easier approach was prudent. Happy trails, HD --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > At 12:22 PM 9/29/20

[iText-questions] PdfStamper and bookmarks

2005-09-29 Thread Joan Xiao
I need open a PDF document at a specified bookmark. I tried to use PdfStamper, find the bookmark by the title, and then call setOpenAction() to open the doc at the destination of that bookmark.   However, the bookmarks seem to be null, so I couldn’t even find the right bookmark. The code

[iText-questions] Digitally signing pdf - issue with acrobat 7

2005-09-29 Thread Francisco
Hi all, First of all thanks to Paulo Soares and Beppe Costa for your fast replies on monday to my email. I was able to digitally sign a pdf with a verisign generated certificate, but when I open this pdf with acrobat 7 the stamp shows the message "Signature not Verified". Even so, opening it with

[iText-questions] Nested PdfPTable problem

2005-09-29 Thread Dario . Speroni
Hi. First of all, sorry for my bad English. I have a problem with nested PdfPTable. When I put a PdfPTableinto another table where the seconds has a border bigger than first, the result is that the border exit to the border of first table. I have to use fixwith (instead of WidthPercentage). This i

[iText-questions] Suggestion for PDFCopy

2005-09-29 Thread Eduard Drenth
Dear all, I have a suggestion for PDFCopy.java. Give it an extra constructor: public PdfCopy(OutputStream os) throws DocumentException { super(new PdfDocument(), os); } This way you can subclass it and manipulate your copied documents, for example: /** * Constructor

Re: [iText-questions] Cropping/Clipping images

2005-09-29 Thread Leonard Rosenthol
At 12:22 PM 9/29/2005, Henry Dall wrote: In the course of dynamically building our documents we will be getting images that need to be clipped/cropped to work in the given document (not just scaled to fit). You can use a clipping path around your image in the PDF. It will make the PDF

Re: [iText-questions] PDF file format specification

2005-09-29 Thread Antoine
Bruno Lowagie wrote: Paulo Soares wrote: Read the chapter 3 of the pdf reference 100 times (I'm not kidding) until you understand the overall pdf structure. After that have a look at PdfReader to explore the objects. ... Thanks for the info. I am interested in trying to dissect a PDF. Is th

[iText-questions] Cropping/Clipping images

2005-09-29 Thread Henry Dall
In the course of dynamically building our documents we will be getting images that need to be clipped/cropped to work in the given document (not just scaled to fit). How does one do this with iText? Is there any examples of doing this ... since there seems to be examples of just about everything

Re: [iText-questions] how to get field properties

2005-09-29 Thread Leonard Rosenthol
At 10:58 AM 9/29/2005, Igor Kostic wrote: I am looking for a way how to get field properties from AcroFields. Actualy I need: -format category -decimal places Neither of these are "properties" of a field. They are both controlled by JavaScript in the field, through the use of an int

[iText-questions] how to get field properties

2005-09-29 Thread Igor Kostic
Hi, I am looking for a way how to get field properties from AcroFields. Actualy I need: -format category -decimal places (The reason why I need these properties is to restore proper number formating after form populating) Regards Igor

[iText-questions] Re: How can I fill a combo in a PdfStamper object??

2005-09-29 Thread lobter
Jesús María Nuñez Matos jcyl.es> writes: > > Hi iText Gurus, > > I have a Servlet that opens an existing pdf form as template. > > PdfReader reader = new PdfReader("template.pdf"); > > // setting some response headers > response.setHeader("Expires", "0"); > response.setHeader("C

[iText-questions] Problem with Formats

2005-09-29 Thread Guillermo L. Odone
Hi there, I'm having a problem with the field format. I created a pdf with Acrobat Pro 7. (not designer!!) I added a lot of fields and some with a numeric format. When I set the value with my application, the format doesn't appear unless I click on the Acrobats' "Highlight Fields" checkbox. If I c

RE: [iText-questions] barre code using code39 font

2005-09-29 Thread Paulo Soares
You are probably getting some other pdf. Change the text and see you get the same text in the pdf. By the way, the correct code 39 must be "*12345*". > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 29, 2005 12:23 PM > To: Paulo Soares

Re: [iText-questions] Could i convert an PDF created with ITEXT to an PS file ?

2005-09-29 Thread Leonard Rosenthol
At 03:43 AM 9/29/2005, Philippe Couas wrote: I have created some PDF with ITEXT on AIX 4.3.3, now i need to print them directly on my AIX print spooler without using Windows ? Do you have an idea ? Open source - Ghostscript (pdf2ps) or Xpdf (pdftops). Commercial - PSServices (

Re: [iText-questions] pdf2ps error conversion only with PDF created with itext ???

2005-09-29 Thread Leonard Rosenthol
At 05:20 AM 9/29/2005, Philippe Couas wrote: GNU Ghostscript 7.05: Unrecoverable error, exit code 1   that's a REALLY OLD version of Ghostscript.  Update! Leonard --- Leonard Rosenthol   

Re: [iText-questions] pdf2ps error conversion only with PDF created with itext ???

2005-09-29 Thread Hans-Werner Hilse
Hi, On Thu, 29 Sep 2005 11:20:05 +0200 "Philippe Couas" <[EMAIL PROTECTED]> wrote: > I need to convert a PDF file to a PS file for an AIX os . > I try to use pdf2ps file.pdf > If i use tool pdf2ps with PDF created with Acrobat writer no problem, but if > i try to convert an PDF created with itext

RE: [iText-questions] Rowspan in PdfPTable

2005-09-29 Thread Paulo Soares
It can't. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Karen Vardanyan > Sent: Thursday, September 29, 2005 9:11 AM > To: Itext-Questions@Lists.Sourceforge.Net > Subject: [iText-questions] Rowspan in PdfPTable > > Hi all, > How can be set th

RE: [iText-questions] barre code using code39 font

2005-09-29 Thread Paulo Soares
Use it as any other external font. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Smail Namiri > Sent: Thursday, September 29, 2005 9:14 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] barre code using code39 font >

[iText-questions] pdf2ps error conversion only with PDF created with itext ???

2005-09-29 Thread Philippe Couas
Title: Message Hi,   I need to convert a PDF file to a PS file for an AIX os . I try to use pdf2ps file.pdf If i use tool pdf2ps with PDF created with Acrobat writer no problem, but if i try to convert an PDF created with itext, i have this error Do you have an idea ?, it seems i need to ad

[iText-questions] barre code using code39 font

2005-09-29 Thread Smail Namiri
hi how can add a barre code on a pdf doc using a code39 font thanks to reply Smail Namiri C.N.S.S Tél : 21222547367 Email : [EMAIL PROTECTED] Ce message électronique est confidentiel et destiné uniquement aux individus cités ci-dessus. Si vous avez r

[iText-questions] Rowspan in PdfPTable

2005-09-29 Thread Karen Vardanyan
Hi all, How can be set the row span for a PdfPTable , without using of nested tables. Thank's in advance ! Mr. Karen.

[iText-questions] Could i convert an PDF created with ITEXT to an PS file ?

2005-09-29 Thread Philippe Couas
Title: Message Hi,   I have created some PDF with ITEXT on AIX 4.3.3, now i need to print them directly on my AIX print spooler without using Windows ? Do you have an idea ?   Regards Philippe   Philippe COUAS Responsable Développement INFODEV S.A.