Re: [iText-questions] quesion on XfdfReader

2005-01-05 Thread Paulo Soares
It's a bug, the file is never closed in XfdfReader. - Original Message - From: "Kalkunda, Venkat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 05, 2005 8:34 PM Subject: [iText-questions] quesion on XfdfReader Hi, I have the following code in one of my programs

Re: [iText-questions] quesion on XfdfReader

2005-01-05 Thread Paulo Soares
Wait for the next release or read first the file to a byte array. - Original Message - From: "Kalkunda, Venkat" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 05, 2005 11:38 PM Subject: RE: [iText-questions] quesion on XfdfReader

RE: [iText-questions] quesion on XfdfReader

2005-01-05 Thread Kalkunda, Venkat
So how do I get around it, I don't want to keep it in my hard disk, which will become a big liability in a matter of very short time. Thank You Kalkunda Venkat 515 362 0241 x-20241 -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 5:03 PM

Re: [iText-questions] help with encryption

2005-01-05 Thread Leonard Rosenthol
At 05:20 PM 1/5/2005, [EMAIL PROTECTED] wrote: By not supplying a password, the document opens up and is uneditable. This work fine except that I don't want the whole document to AllowModifyContents. I would like parts to be editable and parts to be uneditable. Is their a way I can essentially ch

[iText-questions] help with encryption

2005-01-05 Thread Michael . Helfer
I am using the iText Method writer.setEncryption(PdfWriter.STRENGTH128BITS, "","", PdfWriter.AllowModifyContents); to make my PDF essentially read-only. By not supplying a password, the document opens up and is uneditable. This work fine except that I don't want the whole document to AllowModify

[iText-questions] quesion on XfdfReader

2005-01-05 Thread Kalkunda, Venkat
Hi, I have the following code in one of my programs AcroFields form = stamper.getAcroFields(); XfdfReader xfdf = new XfdfReader(xFDFString); form.setFields(xfdf); Do I need to close this reader(like closing a document or something) or should I be closing the Acrofields object? I am haveing pro

Re: [iText-questions] Can i rotate second page of document - In RTFWriter2

2005-01-05 Thread Lorenz Maierhofer
Hi, I have a similar question, and the code below does not what I want, so maybe there is another way... I want one page of my RTF document written by RTFWriter2 to be landscape. The trouble is that this page is in a chapter/section hierarchy and I want one subsection to be written on a separ

RE: [iText-questions] Performance Issue on Document.add() function

2005-01-05 Thread Liao, Shangshin
Hi Steve, Thanks for your quick reply. I took your suggestion and this is what I found. Writing the large table out in smaller chunks does indeed solve the OutOfMemory problem. However, it still takes the same amount of time or even more when I split the large table into multiple s

[iText-questions] iText, XML-Template and iteration

2005-01-05 Thread Patrick
Hello, i have a simple Question. I want't to create and web application from which I can create an invoice as an pdf document. I want to define the layout in a separate xml file and collect the data in a servlet and merge it with the xml-template to the pdf. Now my question: How can I define th

Re: [iText-questions] Encryption using user password

2005-01-05 Thread Wahaj
Attached is a pdf on which user password is applied using Adobe 6.0 and there is no permission set. Regards, Wahaj - Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Wahaj" <[EMAIL PROTECTED]>; Sent: Wednesday, January 05, 2005 5:28 PM Subject: Re: [iText-questions]

RE: [iText-questions] form filling with variable data

2005-01-05 Thread Paulo Soares
Use invoice.pdf as a background template and place the text at absolute positions. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of devanand jamisetti > Sent: Tuesday, January 04, 2005 9:10 PM > To: itext-questions@lists.sourceforge.net > Subject

RE: [iText-questions] PDF Signatures

2005-01-05 Thread Paulo Soares
You can't. From: Palani V. Rajan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 12:26 PMTo: Paulo SoaresSubject: Re: [iText-questions] PDF Signatures Hi   I've created a Signature in a pdf document.   But the signature appears only in the first p

Re: [iText-questions] Encryption using user password

2005-01-05 Thread Leonard Rosenthol
At 06:09 AM 1/5/2005, Wahaj wrote: This is some thing which we can achieve with Adobe alone. No you can't. Acrobat 6 and later does not permit this combination due to the insecurity of it. Such a combination can be required when in some cases where the creator of the pdf document

[iText-questions] PdfContentByte - How to set alignments in the document?

2005-01-05 Thread kgnurps
Hello everybody, I use iText for printing a JTable to pdf. But how can I fix the position of the PdfContentByte (which holds the JTable)in the document? The table is printed at the top of the document and at the very left side. It doesn't accept any margins. Here's some code: PdfWriter writer = P

Re: [iText-questions] Performance Issue on Document.add() function

2005-01-05 Thread Steve Appling
Well - try not to make the table so big :) Seriously, you can get the exact same effect as a big table by using multiple smaller tables with the right options. See the example "ExampleLargeTable.java" in the bundle examples-147.zip at itextpdf.sf.net. - Original Message - From: "Liao, S

[iText-questions] Writing PDF-Bills

2005-01-05 Thread Eckbert P . Dollhofer
Hi, I am new to the list so sorry if this was already answered or the answer is really simple. I would like to write pdf-bills like: Import a pdf and use it as template Than create a template for each bill containing the information that appears on all pages Next fill in the bill details (if pos

Re: [iText-questions] Encryption using user password

2005-01-05 Thread Wahaj
This is some thing which we can achieve with Adobe alone. Such a combination can be required when in some cases where the creator of the pdf document does not want users to see the contents of pdf document without entering the password. Regards, Wahaj - Original Message - From: "Leonard

Re: [iText-questions] Encryption using user password

2005-01-05 Thread Leonard Rosenthol
At 03:22 AM 1/5/2005, Wahaj wrote: Is it possible to apply only the user password and not the owner one ? No, because such a combination doesn't make any sense... Why would you assign a password restricting OPENING/VIEWING the document - but not one that protects against the changi

RE: [iText-questions] PdfTable in Footer/Headers

2005-01-05 Thread Paulo Soares
See the example headers_and_watermarks.java at itextpdf.sf.net. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 4:33 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions]

[iText-questions] Encryption using user password

2005-01-05 Thread Wahaj
Hi All, Is it possible to apply only the user password and not the owner one ? Currently if I set the user password and owner password is empty, the document still gets encrypted with a random password and permission are set. There should be some way to only apply user password and not owner. I a

[iText-questions] setTextRise in RTF files

2005-01-05 Thread patrick dooley
Hi, I have used some of the example code posted in the mail list to test setTextRise() and anchors in RTF table cells. The anchor code works outside of the table, but the textRise doesn't. I am using Java 1.4.2 and Word XP to view the output. Here is the code snippet I am using: Chunk ck

[iText-questions] Performance Issue on Document.add() function

2005-01-05 Thread Liao, Shangshin
Hi, The function in question takes at least 10 seconds if the size of bigTable is more than 1 mega.( plz see sample code below) com.lowagie.text.Document pdfDocument = new com.lowagie.text.Document(PageSize.LETTER.rotate()); PdfPTable bigTable = new PdfPTable(10); p