Re: [iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread Chad Loder
On Fri, Jun 08, 2007 at 05:31:19PM +0100, Paulo Soares wrote: > That's the problem of using tools without understanding them. Most GC > strategies only release memory when it's full. If you only had 128M the > GC would kick in earlier than with 256M. What I mean is that summing the > memory taken b

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

2007-06-08 Thread sseif
I have attached the source and sample PDF. I have two rendering methods producing different results. The first (renderTestPdfByteWise) is close to what we are doing today in the Web Application (dealing with bytes and such). The second is smaller (renderTestPdf) which doesn't actually seem

Re: [iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread greggan1
The problem is that GC takes resources from the server. During a 21 minutes test we created 434 PDF-files from scratch using PdfPTable and 284 GC's were started. On a website with many customers this really affects the overall performance. During the GC the server is occupied with that and other

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

2007-06-08 Thread Paulo Soares
setField() should work for all objects in Designer forms. Please post the form and a small sample of the code used to fill it (with harcoded values). It may be a bug. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 9:48 PM Subject: [iText-questions

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

2007-06-08 Thread sseif
I know by default iText is not working completely with Designer designed forms. My current client is using Designer for which I have little control and for everything but radiobuttons, iText is working fine. Basically a user requests a form from the server and using iText I prefill the data.

Re: [iText-questions] getPageContent question

2007-06-08 Thread Paulo Soares
It can happen. The signature is a kind of annotation and doesn't appear in the page content. You must read the pdf reference to see what is where. Paulo - Original Message - From: "Carrie Schindele" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Friday, June

Re: [iText-questions] getPageContent question

2007-06-08 Thread Carrie Schindele
i want to get the byte[] for a specific page of the PDF. I used the getPageContent method for a pdf without a signature and it returned 192 bytes. I used the same method with the same PDF except adding a digital signature to it and got 47 bytes back. - Original Message From: Paulo S

Re: [iText-questions] getPageContent question

2007-06-08 Thread Paulo Soares
Like reading the file to a byte[]? You don't need iText to do that. Paulo - Original Message - From: "Carrie Schindele" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Friday, June 08, 2007 7:24 PM Subject: Re: [iText-questions] getPageContent question > the

Re: [iText-questions] Signing PDF using USPS EPM as TSA

2007-06-08 Thread Paulo Soares
The problem with signing is that it has little to do with iText. iText supplys the bytes and something else must produce the PKCS#7. Probably a better example is at http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp. Paulo - Original Message - From: "Martin Brunecky" <[E

Re: [iText-questions] getPageContent question

2007-06-08 Thread Carrie Schindele
the byte[] of all the content for the PDF - Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Friday, June 8, 2007 1:15:40 PM Subject: Re: [iText-questions] getPageContent question What exactly do you expect to get from getPage

Re: [iText-questions] getPageContent question

2007-06-08 Thread Paulo Soares
What exactly do you expect to get from getPageContent? It won't return any text. Paulo - Original Message - From: "Schindele, Carrie" <[EMAIL PROTECTED]> To: Sent: Friday, June 08, 2007 5:35 PM Subject: [iText-questions] getPageContent question I am trying to get all of the content f

[iText-questions] getPageContent question

2007-06-08 Thread Schindele, Carrie
I am trying to get all of the content for a PDF using the getPageContent method. The PDFs that I am having problems with have digital signatures on them. When I make the getPageContent method, I am not getting any of the actual text for the PDF. I read online that I should get the content from t

[iText-questions] Signing PDF using USPS EPM as TSA

2007-06-08 Thread Martin Brunecky
I am trying to use USPS Electornical Post Mark (EPM) to digitally sign my PDF file. I am following the posted example http://itextpdf.sourceforge.net/howtosign.html#howtosing example: How to sign with external signature dictionary (DSE200 example) Unfortunately, there is very little inform

Re: [iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread Paulo Soares
That's the problem of using tools without understanding them. Most GC strategies only release memory when it's full. If you only had 128M the GC would kick in earlier than with 256M. What I mean is that summing the memory taken by all the temporary objects, many of which go out of scope before othe

Re: [iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread Chad Loder
Paulo, You're kidding, right? What if the Java heap is only 128mb? c On Fri, Jun 08, 2007 at 03:41:58PM +0100, Paulo Soares wrote: > What's the problem? The GC takes care of that. > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On

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

2007-06-08 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Carl H. Sayres > Sent: Friday, June 08, 2007 3:41 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] problems signing PDFs using a > Verisign certificate > > I'm having

Re: [iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread Paulo Soares
What's the problem? The GC takes care of that. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of greggan1 > Sent: Friday, June 08, 2007 9:17 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] High memory allocation

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

2007-06-08 Thread Carl H. Sayres
I'm having two problems signing PDFs using a Verisign certificate with iText 2.0.4. 1. I'm including an Image of the handwritten signature using setSignatureGraphic. The signed PDF that iText produces does not show the image, though. 2. When I open the signed document in Acrobat Reader 8, it te

Re: [iText-questions] Adding revocation information in PKCS#7duringsigning

2007-06-08 Thread Paulo Soares
That looks like a question to the IAIK guys. Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Khurram Saleem Sent: Thursday, June 07, 2007 4:35 PM To: itext-questions@lists.sourceforge.net Cc: [EMAIL PROTECTED

Re: [iText-questions] weird exception

2007-06-08 Thread Paulo Soares
It looks like a truncated PDF. iText will try to fix broken PDFs but there's a limit. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Ian Michell > Sent: Thursday, June 07, 2007 11:37 AM > To: Post all your questions about iText here > Sub

Re: [iText-questions] Round Rectangle

2007-06-08 Thread Paulo Soares
Can I draw a triangle with four sides? Look at the round rectangle source and modify it. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Senthil Kumar > Sent: Thursday, June 07, 2007 7:08 AM > To: itext-questions@lists.sourceforge.net > S

Re: [iText-questions] add a table (which is created out side) to headerof document

2007-06-08 Thread Paulo Soares
That's your programming choice. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of nguyet minh > Sent: Thursday, June 07, 2007 4:53 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] add a table (which is created out

Re: [iText-questions] very important iText question

2007-06-08 Thread William Alexander Segraves
- Original Message - From: "Carsten Heuchel" <[EMAIL PROTECTED]> To: Sent: Thursday, 07 June, 2007 4:12 AM Subject: [iText-questions] very important iText question > I have a very important question: > How can I cut an Image? See the TemplateClip example in Chapter 11 of the book. C

Re: [iText-questions] xmp

2007-06-08 Thread Leonard Rosenthol
First, there is no such program as Acrobat Writer. I will assume you mean Acrobat Professional, correct? Second, what schemas did you use in the XMP? Based on which version of the XMP specification? Understand that XMP changed a few things between those versions of Acrobat, so it may be

Re: [iText-questions] very important iText question

2007-06-08 Thread Leonard Rosenthol
You don't need to cut the image! Since you can simply put a single copy of the image into the PDF, but reference on different pages at different transformations - I would just handle it that way. MUST simpler & faster. Leonard On Jun 7, 2007, at 5:12 AM, Carsten Heuchel wrote: > Hallo, >

Re: [iText-questions] IText -- post the question to sourceforge site...

2007-06-08 Thread subbiah mani
Hi, To write the table into end of page I have been using fitsPage() method which is in PdfWriter. But now this is deprecated method in latest version (Ver 2.0.4). So I want to know what is the alternative method for fitsPage() or any other solution is there to check whether the pdf table is

[iText-questions] High memory allocation with PdfPTable

2007-06-08 Thread greggan1
Hi I have tested your http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.html#memory and analyzed the memory allocation during the build with NuMega from Compuware. The result shows that 205 MB are used and about 575 thousand objects are temporarily created for the result,

[iText-questions] High memory allocation

2007-06-08 Thread g t
Hi I have tested your http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.html#memory and analyzed the memory allocation during the build with NuMega from Compuware. The result shows that 205 MB are used and about 575 thousand objects are temporarily created for the result, a

Re: [iText-questions] Added support for PDF/A-1

2007-06-08 Thread Dennis_Daems
Section F.3 of the book 'iText in Action' will give you a first glimpse on tagged pdf where you can add tags by hand. However for a full understanding of the subject, I suggest you start reading the PDF Reference 1.4, section 9.5 (Marked Content) and section 9.7 (Tagged PDF). Moreover, section

Re: [iText-questions] Adding revocation information in PKCS#7during signing

2007-06-08 Thread Khurram Saleem
Hi, Thanx for previous reply and good guidance. For your ease the thread link of previous reply is as follows: http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/msg31595 .html Now I'm facing a problem in adding revocation information during signing. I'm successful to a

[iText-questions] weird exception

2007-06-08 Thread Ian Michell
Can anyone tell me what this exception means and how can I possibly fix it? (Ignore the class throwing the exception, it's part of my rendering software). Thu Jun 07 10:31:15 GMT 2007 Imposer: com.photobox.rendering.modules.RenderException: Rebuild failed: trailer not found.; Original message:

[iText-questions] xmp

2007-06-08 Thread Thanksforfish
Hi, My code currently adds xmp data (multiple schemas) to an existing pdf using PdfStamper. When I open the resulting file in Acrobat Writer 6 I can see that the properties exist in the advanced section (where you expand the xmp schemas to look at the values) and have also made their way into the

[iText-questions] Round Rectangle

2007-06-08 Thread Senthil Kumar
Hi, I am Senthil Kumar. I am new to iText. I have a question regarding Round Rectangle.Is it possible to draw a round rectangle with only top two edges curved..? Thank you Best Regards, Senthil Kumar. S - This SF.net email

[iText-questions] Setting font on Acroform

2007-06-08 Thread Daffi
Hello, I'm new to iText, I have one question; I have some pdf files on which I created some Acroforms with Adobe Acrobat Professional 6. I manage to write on the fields, but I cannot set font type (I would like Courier) nor size. I know I can set them when I create the form from Acrobat, but I wo

[iText-questions] very important iText question

2007-06-08 Thread Carsten Heuchel
Hallo, I have a very important question: How can I cut an Image? I am programming in Java (eclipse). I looked up your tutorials and tried them out. I created a PDF and added an image. It is a really long Image and I want to cut it into two parts. So that one part is on the first page and the

[iText-questions] add a table (which is created out side) to header of document

2007-06-08 Thread nguyet minh
Hi, I've read and run your example "headers_and_watermarks.java". The example adds a table to the header of every page. It's ok when we have the table created inside "event" methods (onStartPage, onOpenDocument). My problems is I don't have this table at that time. I need to add a table to the

[iText-questions] Insert values to pdf template

2007-06-08 Thread Jinson Jacob
Hi all I am facing a problem while insering values to pdf template. The insertion is possible for one to one mapping(one value to one field name), but i want to insert some dynamic number of values to dynamic number of fields, for example list of customer name. How to make dynamic nu

Re: [iText-questions] Error message

2007-06-08 Thread Paulo Soares
Works for me. Your font is probably corrupted. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Patrick Mugabe > Sent: Friday, June 08, 2007 8:59 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Error message >

[iText-questions] Error message

2007-06-08 Thread Patrick Mugabe
I am getting the following error message: com.lowagie.text.DocumentException: Table 'name' does not exist in C:\pdfFonts\ARIALN.TTF And it originates failing on: File fArialNarrow = new File("C:\pdfFonts\ARIALN.TTF "); BaseFont baseFont = BaseFont.createFont(fArialNarrow.