[iText-questions] Re: Writing PDFs to directories in a JBoss/Tomcat .ear deployment

2004-03-31 Thread Conal Loughrey
You are correct, this is a general JBOSS/Tomcat issue. The reason I posted here is because we were convinced that we were not the only ones to have used iText to create PDFs on the fly in a JBOSS/Tomcat environment. Our forlorn hope was to encounter someone who had the same setup as ours. Thank

[iText-questions] Select a area from one pdf and put in another

2004-03-31 Thread David Capredoni
Hi   Does anyone know how to select an area (rectangle in a page) from one pdf file and place it at a certain location in a new pdf file.   Thanks  

[iText-questions] Extract text from PDF using iTextSharp

2004-03-31 Thread Tomasz Domański
Hi. I need to extract text in C# from PDF file. Can I use, and HOW iTextSharp? I read in other posts that better solution is using jPedal or pdfBox.. but in java :( It doesn't fit me,because I have to create my program in C# on microsoft .net platform. Do you know any other-free libraries for C# w

[iText-questions] memory management problem (java.lang.StackOverflowError)

2004-03-31 Thread John Gage
I have a table with 30 rows (and 12 columns) and I am using the suggestion in "Example 13" to manually set page breaks between rows.  The table works fine when all 30 rows fit on the same page, but if I position the table so that the rows span two pages, then I get a stack overflow error.  My code

RE: [iText-questions] Writing PDFs to directories in a JBoss/Tomcat .ear deployment

2004-03-31 Thread Karr, David
You might try asking about this in a more appropriate list. This obviously has nothing to do with iText. This is a generally known issue with deploying exploded hierarchies, as opposed to ears or wars. You can't get a filesystem location to write to in a war or ear. That's just the way it is.

RE: [iText-questions] Writing PDFs to directories in a JBoss/Tomcat .ear deployment

2004-03-31 Thread Paulo Soares
Isn't this a question for JBoss/Tomcat? Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Conal Loughrey > Sent: Wednesday, March 31, 2004 3:07 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Writing PDFs to dir

[iText-questions] Writing PDFs to directories in a JBoss/Tomcat .ear deployment

2004-03-31 Thread Conal Loughrey
We are deploying our app as a .ear in JBoss/Tomcat. One of our actions has to write PDF files to a directory within the .ear application. We are unable to create the PDFs files due to a FileNotFoundException. This is because the location does not physically exist. Everything works fine in our d

Re: [iText-questions] Creating TOC in an RTF document

2004-03-31 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 31 March 2004 16:31, fff wrote: > When the rtf file is created, and I open it in Word 2000, the TOC consists > of some german phrase that I believe says to right-click on it and choose > update. It updates it properly, but I was wond

RE: [iText-questions] PDF forms

2004-03-31 Thread Paulo Soares
You can do it with PdfStamper and AcroFields.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin TomerSent: Wednesday, March 31, 2004 3:24 PMTo: [EMAIL PROTECTED]Subject: [iText-questions] PDF forms Hi,           Is

[iText-questions] Creating TOC in an RTF document

2004-03-31 Thread fff ffff
I'm fairly new to using iText, and I was having a problem using the TOC feature for RTF documents. I'm using the following code: rtfWriter.writeTOC("My TOC", new Font(), false, new Font()); rtfWriter.setGenerateTOCEntries(true); following by a bunch of Chapter, Paragraph, Ta

[iText-questions] New release itext-paulo-130

2004-03-31 Thread Paulo Soares
Changes in itext-paulo-130 (2004-03-31) - added tab order information to AcroFields - added BaseFont.setPostscriptFontName() to change the font name - added PdfContentByte.setDefaultColorspace(). - added global javascript support to PdfCopy, PdfCopyFields and PdfStamper. -

[iText-questions] PDF forms

2004-03-31 Thread Nitin Tomer
Hi,           Is there any way to set/get field values in PDF forms, and flatten PDF forms using iText? Is there any other open source API available for this purpose?   Thanx and Regards   Nitin

RE: [iText-questions] setFontAndSize(...) supposed problem ..

2004-03-31 Thread Paulo Soares
I don't know where you heard that the writer must also be opened. The sequence is:   Document document = new Document(PageSize.A4, 20, 20, 20, 20);PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(_pdfFileName));document.open();   Best Regards, Paulo Soares From

RE: [iText-questions] setFontAndSize(...) supposed problem ..

2004-03-31 Thread NICOLAU Raffaele
Actually the line concerned is the one with document.add(_header), and the PdfPtable is instanciated within the getHeader(..) method    _returnValue = new PdfPTable(p_objHeader.size());   Sorry if it was not clear enough,   Thanks again,   Regards,   R.Nicolau -Message d'origine

RE: [iText-questions] setFontAndSize(...) supposed problem ..

2004-03-31 Thread Sherlock Simon
I can't see where you instantiate myTable[Sherlock Simon] . If you debug your code I think you'll find that it's your null.  -Original Message-From: NICOLAU Raffaele [mailto:[EMAIL PROTECTED]Sent: 31 March 2004 10:51To: [EMAIL PROTECTED]Subject: [iText-questions] setFontAnd

[iText-questions] HTML to PDF

2004-03-31 Thread Hua W.H., Sys Engr (IT)
I have an HTML table that I wish to convert to PDF. It has between 8 and13 columns. When I convert using:// step 2:// we create a writer that listens to the document// and directs a XML-stream to a filePdfWriter.getInstance(document, new FileOutputStream("c:/test.pdf"));// step 3: we create

[iText-questions] HTML to PDF.

2004-03-31 Thread Max
I have an HTML table that I wish to convert to PDF. It has between 8 and 13 columns. When I convert using: // step 2: // we create a writer that listens to the document // and directs a XML-stream to a file PdfWriter.getInstance(document, new FileOutputStream("c:/test.pdf")); // step 3: we create

[iText-questions] setFontAndSize(...) supposed problem ..

2004-03-31 Thread NICOLAU Raffaele
Hello iText users,   I have some kind of problem concerning a Document, in which I try to add a PdfPTable. The PdfPTable is generated quite normally, but when I do the document.add(myTable), i have the following stack trace :   DocumentException: java.lang.NullPointerException at com.lowa