Re: [iText-questions] Compiling 1.3 branch with jdk 1.3 results in "The type Class is not generic" error

2009-03-04 Thread Xavier Le Vourch
jens.schwendem...@hansgrohe.com wrote: > Hi List, > > ERROR: > I have a problem compiling the jdk 1.3 branch of itext using eclipse. > It gives me this error: > [...] This must be a problem with your setup as it works fine from the command line using the following commands: svn co

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 7:10 PM, Antonio Manuel Muñiz wrote: > >> Someone asked for a "standalone" example and the faulty PDF - looks like >> you covered yourself in the code... >> > > Sorry, I don't understand you very well. I attach the faulty PDF (if what > you mean). > I'm sorry - I seem to h

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Antonio Manuel Muñiz
2009/3/5 Brian Busch > On Wed, Mar 4, 2009 at 5:56 PM, Antonio Manuel Muñiz < > amunizmar...@gmail.com> wrote: > >> Hello Brian, thanks for your reply. >> >> I have renamed the image to image123456XYZ.png, I'm sure that I haven't an >> image with this name in the classpath. >> I have added this t

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 5:56 PM, Antonio Manuel Muñiz wrote: > Hello Brian, thanks for your reply. > > I have renamed the image to image123456XYZ.png, I'm sure that I haven't an > image with this name in the classpath. > I have added this to my code: > > URL resource2 = > this.getClass().getClassL

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Antonio Manuel Muñiz
Hello Brian, thanks for your reply. I have renamed the image to image123456XYZ.png, I'm sure that I haven't an image with this name in the classpath. I have added this to my code: URL resource2 = this.getClass().getClassLoader().getResource("image123456XYZ.png"); if(resource2 == null) { Syste

[iText-questions] Add TextField to multiple pages

2009-03-04 Thread Bordeman, Chris
for (int pageno = 1; pageno <= reader.NumberOfPages; pageno++) { TextField field = [...] [...] PdfAnnotation annotat = field.GetTextField(); stamper.AddAnnotation(annot, pageno); } I want to add the TextField to all pages, but it only seems to be created on the firs

[iText-questions] Compiling 1.3 branch with jdk 1.3 results in "The type Class is not generic" error

2009-03-04 Thread Jens . Schwendemann
Hi List, ERROR: I have a problem compiling the jdk 1.3 branch of itext using eclipse. It gives me this error: The type Class is not generic; it cannot be parameterized with arguments Anchor.java itext1.3/src/core/com/lowagie/text line 1 Java Problem I've installed JDK 1.3.1_20 and conf

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
> > >> Just for testing - change the name so it doesn't start with a '-' (hypen). >> It might be a bad URL even tho it doesn't throw an exception. Weird, but >> easy to test. >> > > If this still fails - remember, you're scanning the classpath for a file of > that name - java will stop at the first

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 4:30 PM, Brian Busch wrote: > On Wed, Mar 4, 2009 at 4:09 PM, Antonio Manuel Muñiz < > amunizmar...@gmail.com> wrote: > >> Hello Alexis, >> >> The image is not added although it is in my file system. For example: >> >> public void imageTest() throws MalformedURLException, I

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 4:09 PM, Antonio Manuel Muñiz wrote: > Hello Alexis, > > The image is not added although it is in my file system. For example: > > public void imageTest() throws MalformedURLException, IOException, > DocumentException { > Document document = new Document(PageSize.A4, 50

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Antonio Manuel Muñiz
Sorry, images attached. 2009/3/4 Antonio Manuel Muñiz > Hello Alexis, > > The image is not added although it is in my file system. For example: > > public void imageTest() throws MalformedURLException, IOException, > DocumentException { > Document document = new Document(PageSize.A4, 50, 50,

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Antonio Manuel Muñiz
Hello Alexis, The image is not added although it is in my file system. For example: public void imageTest() throws MalformedURLException, IOException, DocumentException { Document document = new Document(PageSize.A4, 50, 50, 110, 50); PdfWriter.getInstance(document, new FileOutputStream("

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Antonio Manuel Muñiz
Hello. Sorry, my english is a bit confuse sometimes. I'm not eating the exception and no image is added. I will provide an example in the next mail. Thanks, Antonio. 2009/3/3 1T3XT info > Antonio Manuel Muñiz wrote: > > Hello Alexis, > > > > "it doesn't work" means that any exception is throw

[iText-questions] FW: PdfGraphic2d Problem

2009-03-04 Thread Alexander Software, Inc.
I need some help with my itext, I'm trying to print my jtable to a pdf file, however when I do this it gives me a blank pdf file and i get the error message "null incompatible with text-specific antialiasing enable key". I'm using windows xp. Has anyone else seen this problem or knows how to resolv

Re: [iText-questions] Blank signable paper? RE: Client signature of FDF

2009-03-04 Thread Giles, Bear
We're still trying to get clarification on what the client wants, from a client that's not always clear on the distinction between an e-signature and a digital signature. :) It's not a trivial question since some of the users of the system are in remote areas with intermittent dialup access an

Re: [iText-questions] Blank signable paper? RE: Client signature of FDF

2009-03-04 Thread Leonard Rosenthol
1 - Depends on what you do with the document after it is "Reader Enabled" for signing. 2 - Since a PDF signature is built around forms - be they AcroForms or LiveCycle/XFA forms, there is SOME form involved..even if it's only a single field for the sig. 3 - You can put the signature field on any

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 11:47 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > >Please provide the jvm version/supplier, os/vendor, jvm settings, app > server, iText >version, etc. for your environment - we're guessing without > any data. > > * JAVA VERSION (SUN): > > java vers

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
Thank you all for the attention you are paying to my problem. >Please provide the jvm version/supplier, os/vendor, jvm settings, app server, iText >version, etc. for your environment - we're guessing without any data. * JAVA VERSION (SUN): java version "1.6.0_10" Java(TM) SE Runtime Environment

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
Just stole and tweaked this little java program to let you test the memory settings (see below). Compile like: javac MemTest.java Run it like (on Unix with >1.5 JVM): % java MemTest 5 10 // 500MB alloc, 10 times - total 5GB // without options, this runs fine: % java MemTest 5 10

Re: [iText-questions] Installing and running iText in Oracle Database

2009-03-04 Thread Ramana Kondaveeti
Hello , Nick were you able to configure iText in Oracle database and Oracle application Server ? Ramana Nicholas Bacon wrote: > > Hi, > > I am planning to install iText in an Oracle database and use it to combine > existing PDFs. Has anyone performed a similar operation, and if so, do you >

[iText-questions] Blank signable paper? RE: Client signature of FDF

2009-03-04 Thread Giles, Bear
If we use a signable template, is the resulting document signable? Or is it something that can only be done with acroforms? What about merged documents, e.g., the first page is signable but subsequent pages is not? If we can use an underlying signable template, is there a specimen somewhere?

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 10:35 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi all. > > I KNOW the GC run asyncronously, and I know the memory will be freed when > the JVM needs it or when it has some "free time"... > > I told I think that's not a memory issue because: > 1)

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Thimo Seitz
Hello all. Maybe you should use the Tools jhat and jmap from your jdk to examine the heap after your first pdf to check if there exits referencepathes from root to the memory consuming objects. If there are such a path, the gc could not free the used memory. Maybe you have to create WeakRef

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
Hi all. Thank you for your help. I know (i think) how JVM and GCs works. I KNOW the GC run asyncronously, and I know the memory will be freed when the JVM needs it or when it has some "free time"... I told I think that's not a memory issue because: 1) The readers are always set to null after I c

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Klas Lindbäck
|| > On Wed, Mar 4, 2009 at 3:26 AM, Massimiliano Ziccardi > > wrote: > > The only object I take in memory is the PDF reader, that, of > course get closed and recreated (with a new instance) after each > signature. > > That should clean the

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 8:30 AM, Markus Meyer wrote: > Brian Busch schrieb: > > Markus - he included the stack trace on his first post: > > Okay, I missed that, sorry. I missed it the first time too! > java.lang.OutOfMemoryError: Java heap space > > at java.lang.String.toCharArray(String.j

[iText-questions] Table headers and page break

2009-03-04 Thread Chitapalli, Sriram
Hi All, I am generating a RTF document with iText. I do not want only table headers to be printed on a RTF page with rest of the data in the next page. Any help is highly appreciated. Thanks in advance. Sriram -- Open Sou

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Markus Meyer
Brian Busch schrieb: > Markus - he included the stack trace on his first post: Okay, I missed that, sorry. > java.lang.OutOfMemoryError: Java heap space > at java.lang.String.toCharArray(String.java:2726) > at com.lowagie.text.pdf.PdfName.(Unknown Source) I agree that it probably really

Re: [iText-questions] Cell content alignment vs text alignment

2009-03-04 Thread Manuel Darveau
Hi! You are right, the inner table is useless. I have to quit this HTML mindset. I tried what you proposed and it worked perfectly. Thanks! Manuel On Wed, Mar 4, 2009 at 2:18 AM, 1T3XT info wrote: > Manuel Darveau wrote: > > However, I want the address paragraph to be centered in the cell > >

Re: [iText-questions] convert doc+xls+ppt to pdf

2009-03-04 Thread 1T3XT info
Mircea Liviu wrote: > Hi, > > My team came across a solution for converting DOC, XLS and PPT files to PDF > using a solution provided buy this guy on his page: > http://www.dancrintea.ro/xls-to-pdf/ > but it uses OpenOffice in background. > > I was wondering if there is a solution based on iTex

Re: [iText-questions] convert doc+xls+ppt to pdf

2009-03-04 Thread Alexis Pigeon
Hi Mircea, 2009/3/4 Mircea Liviu > > Hi, > > My team came across a solution for converting DOC, XLS and PPT files to PDF > using a solution provided buy this guy on his page: > http://www.dancrintea.ro/xls-to-pdf/ > but it uses OpenOffice in background. > > I was wondering if there is a solution

[iText-questions] convert doc+xls+ppt to pdf

2009-03-04 Thread Mircea Liviu
Hi, My team came across a solution for converting DOC, XLS and PPT files to PDF using a solution provided buy this guy on his page: http://www.dancrintea.ro/xls-to-pdf/ but it uses OpenOffice in background. I was wondering if there is a solution based on iText, without using another party lib

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 7:16 AM, Markus Meyer wrote: > It's entirely possible that something is just throwin an out of memory > exception when there actually is enough memory available. > > I think you should check where exactly the out-of-memory condition > occurs (stacktrace of the exception).

Re: [iText-questions] PdfGraphic2d Problem

2009-03-04 Thread 1T3XT info
Alexander Software, Inc. wrote: > I need some help with my itext, I’m trying to print my jtable to a pdf > file, however when I do this it gives me a blank pdf file and i get the > error message “null incompatible with text-specific antialiasing enable > key”. I Googled for that sentence and sa

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread 1T3XT info
Markus Meyer wrote: > It's entirely possible that something is just throwin an out of memory > exception when there actually is enough memory available. Correct! I've experienced similar problems in the past. The JDK sometimes throws errors that aren't always accurate. The stacktrace can tell you

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Markus Meyer
It's entirely possible that something is just throwin an out of memory exception when there actually is enough memory available. I think you should check where exactly the out-of-memory condition occurs (stacktrace of the exception). Markus Massimiliano Ziccardi schrieb: > The only object I t

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:26 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > The only object I take in memory is the PDF reader, that, of course get > closed and recreated (with a new instance) after each signature. > > That should clean the memory, if that's not a leak. As

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:28 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi Brian. Thanks for your help. > > I don't think that's a memory limit issue: I have 9 *identical* files. You said you're getting OutOfMemory Exceptions? That's a memory limit issue! > > After I s

Re: [iText-questions] WG: Adobe Reader Extensions

2009-03-04 Thread 1T3XT info
> Hi, >Can anyone tell me a way how to use Annotations on PDF using > LiveCycle .. I am nwe to Adobe LiveCycle and not sure which one to > use.. weather its ReaderExtensions .. or Desing ES or Digital > Signatures.. or many more.Can u please let me know ... My requirement is > .. to Open a

Re: [iText-questions] signing pdf with external signature

2009-03-04 Thread Andreas Kuehne
Hi Gonçalo, yes, simple replacing bytes within the PDF is easy, as I know the bytes that build the signature. I wrote it myself as a placeholder. Once the external sining process finished, I just replace bytes in a file. This process doesn't require any knowledge about the file, this could work

[iText-questions] WG: Adobe Reader Extensions

2009-03-04 Thread Benjamin Rein
Hi, please post all questions to the list. I don't have any experience with Adobe Livecycle*. Maybe your question is offtopic here, but this should be decided by someone with more experience in this area. Best Regards Benjamin - Weitergeleitet von Benjamin Rein/Allendorf/VIESSMANN/DE am 04

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
Hi Brian. Thanks for your help. I don't think that's a memory limit issue: I have 9 *identical* files. After I sign the first one, the second gives me OutOfMemory... Thank you, Massimiliano On Tue, Mar 3, 2009 at 7:24 PM, Brian Busch wrote: > If you're using a 32 bit JVM you can only have arou

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Massimiliano Ziccardi
The only object I take in memory is the PDF reader, that, of course get closed and recreated (with a new instance) after each signature. That should clean the memory, if that's not a leak. Do I miss something? Regards, Massimiliano On Tue, Mar 3, 2009 at 6:46 PM, 1T3XT info wrote: > Massimili