Re: [iText-questions] Nested PdfPTable table memory leak

2008-07-25 Thread Biswa
Paulo, Thanks for your reply. It helped me. Regards, Prakash On Thu, Jul 24, 2008 at 9:29 AM, Paulo Soares <[EMAIL PROTECTED]> wrote: > See > http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.phpand > chapter 6.1.5 of the book "iText in Action". > > Paulo > > > -Original M

Re: [iText-questions] Question about transforms and positioning.

2008-07-25 Thread Sam Gibson
> table.writeSelectedRows(0, -1, 20 * 0.3f, PageSize.A4.getHeight() * > 0.85f * 0.3f, cb); Sorry, you actually have to divide, not multiply. My mistake. Sam Gibson - This SF.Net email is sponsored by the Moblin Your Move De

Re: [iText-questions] Question about transforms and positioning.

2008-07-25 Thread Sam Gibson
Talmage wrote: > cb.saveState(); > > > cb.transform(AffineTransform.getScaleInstance(0.3f,0.3f)); > > table.writeSelectedRows(0, -1, 20, > PageSize.A4.getHeight() * 0.85f, cb); > > cb.restoreState(); > > > If I remove the call

[iText-questions] Question about transforms and positioning.

2008-07-25 Thread Talmage
I am working on understanding the workings behind the Transform on the content byte class and affine transforms. I have the iText book and have also been trying to read the online docs about how transforms work. I find myself lost as algebra classes are long past (and yes, my former teachers are la

[iText-questions] Re-Submitting - Flattening PDF Generated with Adobe LiveCycle Workbench ES Version8.0.3187.1

2008-07-25 Thread McGee Sr., Edwin F.
It appears my original posting was bounced back so please forgive me if this is posted twice. I am attempting to flatten a multi-page PDF Form generated with Adobe LiveCycle Workbench ES Version 8.0.3187.1 and keep encountering the error that "To view full contents of this document, you need a

[iText-questions] underline column headers in a report

2008-07-25 Thread The Frymans
I'm trying to generate a report using PdfPTable and I would like to underline the column headers as follows: *Name _ * *Address ___ * *Phone Number* ** (I need the underline to fill each cell of the table, but leave space between the cells.) I tried:

Re: [iText-questions] Vertical alignment of multiline form fields

2008-07-25 Thread David Michalson
I think I have a solution to this that fits my needs. If I fill out the form by manipulating the "XFA" xml document data and marking it "Changes" instead of using the stamper, the text has the right margins and is aligned correctly. It even works correctly with documents that have reader rights en

Re: [iText-questions] Publishing and storing pdf files..

2008-07-25 Thread Aniruddha Maru
On Fri, Jul 25, 2008 at 7:22 PM, Aniruddha Maru <[EMAIL PROTECTED] > wrote: > > * Should I store the user-pdf in database (BLOB - MySQL free > > version) or file system? - one pdf is around 90K. > > That's up to you to decide. > Personally, I'd store them on the file system. Putting them

[iText-questions] Graphics objects added to PDF being made larger

2008-07-25 Thread zoharat
I have a text file which I convert to a PNG using our proprietary java code.Using java I draw primitive graphics objects like lines , rectangles onto the image. They appear to be at the correct location. Now I can also add the text in the text file to a PDF using iText and draw the same lines an

Re: [iText-questions] Simplex and duplex in the same document

2008-07-25 Thread Tuoni
Didn't think it was (but it was worth a try) - I'll just put a blank after every page I want simplex. Thanks for the quick response. On 25/07/2008, 1T3XT info <[EMAIL PROTECTED]> wrote: > > Tuoni wrote: > > I have written a program which uses iText to concatenate several PDFs, > > but I have come

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-25 Thread 1T3XT info
Leonard Rosenthol wrote: > IF the PDF has been "Reader Enabled", then Reader can submit the full > PDF - in fact, for our "Distribute Form" feature in Acrobat 8 and > later, that's EXACTLY what it submitted. I assumed the PDF was created with iText. In that case, it isn't Reader Enabled

Re: [iText-questions] Simplex and duplex in the same document

2008-07-25 Thread 1T3XT info
Tuoni wrote: > I have written a program which uses iText to concatenate several PDFs, > but I have come across a problem - is it possible to mix duplex and > simplex page layouts/printing in the same document (e.g. page 1-8 are > simplex, 9 & 10 are duplex) using iText It's not possible, not wi

Re: [iText-questions] Publishing and storing pdf files..

2008-07-25 Thread 1T3XT info
Aniruddha Maru wrote: > * Should I store the user-pdf in database (BLOB - MySQL free > version) or file system? - one pdf is around 90K. That's up to you to decide. Personally, I'd store them on the file system. Putting them in a database can complicate the application (encoding problems

Re: [iText-questions] Is it possible to get the responce object in pdf, which will show the message data has been updated successfully?

2008-07-25 Thread wasegraves
-- Original message -- From: Manoj Sagar <[EMAIL PROTECTED]> > > > Hi, > > I have created one pdf form with 4 text fields and one submit button using > itext API. > I want to submit the form data from acrobat reader to tomcat server. > After submitting the pdf for

[iText-questions] Publishing and storing pdf files..

2008-07-25 Thread Aniruddha Maru
Hi all, My requirement is as follows: 1. Allow users to upload data in pdf format - call it user-uploaded pdf. 2. Add few lines of user-specific data (from db) to the pdf's uploaded by user - call this publishable-pdf 3. Publish the pdf's through a web app whenever requested. What I

Re: [iText-questions] signing/embedding PKCS7 using a key with EC

2008-07-25 Thread Leonard Rosenthol
Even if you were to get it working with iText - the signatures wouldn't validate in Adobe Acrobat/Reader. Leonard On Jul 22, 2008, at 12:04 PM, [EMAIL PROTECTED] wrote: > Hi Andreas, > > actually I want to sign a PDF using a EC-based cert/key. > > However, I already tried to workaround this is

Re: [iText-questions] Is it possible to get the responce object in pdf, which will show the message data has been updated successfully?

2008-07-25 Thread Leonard Rosenthol
Depends on how you are submitting. If you are using a Submit action, then no. If you are using JavaScript to submit, then yes. Leonard On Jul 23, 2008, at 4:13 PM, Manoj Sagar wrote: > > Hi, > > I have created one pdf form with 4 text fields and one submit button > using > itext API. > I w

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-25 Thread Leonard Rosenthol
On Jul 23, 2008, at 1:29 PM, 1T3XT info wrote: > Are you using the full Acrobat? Adobe Reader can't submit a > form as a PDF. IF the PDF has been "Reader Enabled", then Reader can submit the full PDF - in fact, for our "Distribute Form" feature in Acrobat 8 and later, that's EXACTLY wh

[iText-questions] Simplex and duplex in the same document

2008-07-25 Thread Tuoni
I have written a program which uses iText to concatenate several PDFs, but I have come across a problem - is it possible to mix duplex and simplex page layouts/printing in the same document (e.g. page 1-8 are simplex, 9 & 10 are duplex) using iText, or will the documents have to be printed separate

Re: [iText-questions] locked columns

2008-07-25 Thread Ning Zhao
Hi, this could be achieved with your own column-calculation algorithm. In some of our projects, the row numbers are fixed but the column numbers are dynamically calculated. Basically your program wants to know in advance: 1. The width of the printable area of your media 2. The width of each co

[iText-questions] addsignature to an ExistingPdf

2008-07-25 Thread Jose Carlos Maia
Sorry again , now I am a member, then I resend the question De: Jose Carlos Maia Enviada em: quinta-feira, 24 de julho de 2008 11:48 Para: 'itext-questions@lists.sourceforge.net' Assunto: addsignature to an ExistingPdf I want to add a empty signature field to

Re: [iText-questions] locked columns

2008-07-25 Thread Paulo Soares
It's possible to do but you'll have to place the rows and columns yourself. There's an example in the tutorial and book. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of David Hang > Sent: Friday, July 25, 2008 2:20 AM > To: itext-questions@

Re: [iText-questions] Signing with iText gives invalid sig when "mark read-only Signed" event set

2008-07-25 Thread Paulo Soares
iText doesn't look at the list of fields to change the state, you'll have to do it yourself. It can be done but it's not directly supported. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Ryan > Sent: Thursday, July 24, 2008 10:51 PM