Re: [iText-questions] [Fwd: Re: iText invisible annotation]

2008-12-31 Thread Leonard Rosenthol
I see the comment in the comment pane at the bottom of the Acrobat/Reader window (as I would expect) but I don't see it on the page (also, as I would expect). The annot has an empty rectangle, so there is no rectangle into which it can draw - so that's why it doesn't draw on the page. Leonard On

Re: [iText-questions] itext 2.1.4 xfa form pdfstamper issue

2008-12-31 Thread Leonard Rosenthol
You are mixing XFA forms with AcroForms - that's like crossing the streams - don't do it! If you have an XFA form, you will need to use the XFA-based APIs (and/or doing your own XML management) to handle it. The AcroForm APIs only work on AcroForms. Leonard -Original Message- From: D

Re: [iText-questions] [Fwd: itext pdf ocsp - help ?]

2008-12-31 Thread Leonard Rosenthol
It needs to be inlcuded in the PKCS#7 data...so whatever is required by your crypto library... Leonard -Original Message- From: JKT [mailto:java2004...@yahoo.fr] Sent: Wednesday, December 31, 2008 10:28 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] [Fwd: itext

[iText-questions] itext 2.1.4 xfa form pdfstamper issue

2008-12-31 Thread Dave Ballard
I am using itext 2.1.4 and am encountering an issue with an XFA form. I have a PDF document containing an XFA form (xfaForm.isXfaPresent() returns true). The PDF document has two pages. Each page has one form field. I use PdfStamper and AcroFields to set the form fields. PdfReader reader = ne

[iText-questions] [Fwd: itext pdf ocsp - help ?]

2008-12-31 Thread JKT
Dear all, I am newbie to iText so I would like to have some help from the list. Below the mail I sent to Fhomasp after reading his messages posted to the list. Any help would be very appreciated ;) Thanks for your help Best regards, JKT, who's wishing a happy new year ;) Original Mes

Re: [iText-questions] Using PdfGraphics2D and compressing non-JPEG images

2008-12-31 Thread Steven Case
Leonard, I'll gladly take a look at the C/C++ code that you have. I'm sure it will be helpful. Steve On Dec 31, 2008, at 7:31 AM, Leonard Rosenthol wrote: > Steve - I haven't looked at your code, but the process of splitting > an ARGB (or RGBA) image into an RGB image + a DeviceGray image

Re: [iText-questions] Reader error reporting

2008-12-31 Thread Leonard Rosenthol
Preflight is part of the Professional version of Acrobat, not Standard - sorry. Yes, you can use Preflight to get a list of many (though not all) errors in a PDF using the "Report Syntax Errors" check. Leonard From: hideki tihiri [mailto:hideki.tih...@gmail.com] Sent: Wednesday, December 31, 20

Re: [iText-questions] Reader error reporting

2008-12-31 Thread hideki tihiri
Hi, thanks for the update. We have Adobe 8 Standard but I cannot find that 'Preflight' option apparently. Do I have wrong version ? Will the 'Preflight' option give me a list of all things wrong in a PDF document ? Or are there any other tools available that do the same job ? Thx, HT. On

Re: [iText-questions] Using PdfGraphics2D and compressing non-JPEG images

2008-12-31 Thread Leonard Rosenthol
Steve - I haven't looked at your code, but the process of splitting an ARGB (or RGBA) image into an RGB image + a DeviceGray image that can be used for an SMask is pretty simple and should not be having the problems that you are describing. I can provide some sample/working C/c++ code that do

Re: [iText-questions] Using PdfGraphics2D and compressing non-JPEG images

2008-12-31 Thread Leonard Rosenthol
Steve - I haven't looked at your code, but the process of splitting an ARGB (or RGBA) image into an RGB image + an -Original Message- From: Steven Case [mailto:s.c...@ieee.org] Sent: Wednesday, December 31, 2008 2:29 AM To: Post all your questions about iText here Subject: Re: [iText-qu

Re: [iText-questions] Reader error reporting

2008-12-31 Thread Leonard Rosenthol
It's one of those tricky problems, especially when your software is installed on >90% of all computers in the world... How do you tell someone that they have a problem BUT then not offer them any way to fix it ESPECIALLY when it's most likely not their fault in the first place (it's just some P

Re: [iText-questions] When read pdfTemplate menory overflow ?

2008-12-31 Thread 1T3XT info
wlei23 wrote: I was using itext to make a report. But there was a 23M pdfTemplate. When my program was reading it, maybe one minite later menory overflowed. Why the case Occurred ? And what can I do ? Why? Because you didn't attribute enough memory to the JAVA VM. How to avoid this? It de

[iText-questions] When read pdfTemplate menory overflow ?

2008-12-31 Thread wlei23
Good morning manager I was using itext to make a report. But there was a 23M pdfTemplate. When my program was reading it, maybe one minite later menory overflowed. Why the case Occurred ? And what can I do ? Best wishes for you ! A itext student -

Re: [iText-questions] Loop in ColumnText and MultiColumnText

2008-12-31 Thread 1T3XT info
Leo wrote: > Hi everybody, > I found a loop condition inside ColumnText class...it would be very > usefull to avoid that, because it seems like nothing is going on...but > it's looping!!! This was caused by the fact that your initial y value wasn't equal to document.top(); I uploaded a (dirty)

Re: [iText-questions] Loop in ColumnText and MultiColumnText

2008-12-31 Thread 1T3XT info
Leo wrote: > Hi everybody, > I found a loop condition inside ColumnText class...it would be very > usefull to avoid that, because it seems like nothing is going on...but > it's looping!!! I was able to reproduce the problem using your code, but: > _I suggest to add this code in ColumnText.go(bo

Re: [iText-questions] Bug inside MultiColumnText

2008-12-31 Thread 1T3XT info
Leo wrote: > Hi everybody, > I found a bug into MultiColumnText class in method addElement. > The method should be written like this: > > public void addElement(Element element) throws DocumentException { > if (element instanceof Phrase) { > columnText.addText((Phrase) element); > }