Re: [iText-questions] PDF Time Bomb

2006-04-28 Thread Vineet Reynolds
Adobe LiveCycle Policy Server. You can specify a policy where the PDF will expire after a certain period of time.On 4/29/06, Buchanan, Trevor < [EMAIL PROTECTED]> wrote: Hi,   Is there any way to program pdf files to self destruct after a specified time with itext or any other java api?   Tha

[iText-questions] PDF Time Bomb

2006-04-28 Thread Buchanan, Trevor
Hi,   Is there any way to program pdf files to self destruct after a specified time with itext or any other java api?   Thanks,   Trevor      

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-28 Thread Tim Dylla
bruno schrieb: > > The first thing you need to know that a PdfPCell is treated as a > ColumnText object. > There are two ways to add content to a ColumnText object: > - in text mode > - in composite mode > When you add objects in text mode, the alignment of the object is ignored. > You have to set

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Thanks, Matt... Paulo, will it be possible to get the update through another venue?   TIA,   Elvis Novas > From: [EMAIL PROTECTED]> Subject: RE: Re: [iText-questions] PDFReader doesn't Garbage Collect> To: itext-questions@lists.sourceforge.net> Date: Fri, 28 Apr 2006 12:57:52 -0700> > sourceforg

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Matt Benson
sourceforge anonymous CVS access has been unavailable all month. It may be back in a few more days... ? :( -Matt --- Elvis Novas <[EMAIL PROTECTED]> wrote: > Paulo, > > I have not been able to login to cvs following the > instructions from > http://www.lowagie.com/iText/cvs.html using wincvs

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Paulo,   I have not been able to login to cvs following the instructions from http://www.lowagie.com/iText/cvs.html using wincvs or the command line. If you have any other way to get the update I will really appreciate it.   Thanks again,   Elvis Novas Subject: RE: Re: [iText-questions] PDFRead

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Good... I will download it and test it as soon as the server is back up.   Thank you, Paulo!     Elvis Novas Subject: RE: Re: [iText-questions] PDFReader doesn't Garbage CollectFrom: [EMAIL PROTECTED]To: itext-questions@lists.sourceforge.netDate: Fri, 28 Apr 2006 17:28:41 +0100 I've located

[iText-questions] Re: PDFReader doesn't Garbage Collect

2006-04-28 Thread sf
Elvis Novas wrote: Hi All, I’m generating a Book (PDF file) using Java. The book is made of several existent pdf files (mostly images) as pages and when this book reaches a significant amount of MBs I’m running out memory. Checking the process using OptimizeIt in JBuilder I’m noticing that PDFR

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Paulo Soares
I've located the problem and the fix is in the CVS. After using the pdf call PdfCopy.freeReader().   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elvis NovasSent: Friday, April 28, 2006 5:02 PMTo: itext-questions@lists.sourceforge.netSubject: RE: Re:

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Then, something (that I cannot see through the OptimizeIt) is causing the PdfReader to not be released ( garbage collected) until the end of the process. Nevertheless, the PdfImportedPage object is being garbage collected every x number of instances.   By the way, I downloaded the version 1.4 and

RE: [iText-questions] Compressing TIF images before adding to PDF

2006-04-28 Thread Hicks, Shaun
The way we're doing it now is via Java Advanced Imaging (JAI). Check on Sun's site for the latest JAR. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Davis Sent: Friday, April 28, 2006 10:58 AM To: itext-questions@lists.sourceforge.net Subject: [iTe

[iText-questions] Compressing TIF images before adding to PDF

2006-04-28 Thread Matt Davis
Does anyone know of a way to "compress" or downscale a tif image (Using iText) before adding it to a pdf? Thanks, Matt P. Davis Programmer Analyst Maryland State Archives [EMAIL PROTECTED] --- Using Tomcat but need to do more? Need to su

[iText-questions] Re: PDF of different size imges

2006-04-28 Thread Matt Davis
Bruno, That did the trick! Not sure why I needed some of that math, but it works! Thanks so much, Matt At 10:57 AM 4/28/2006, Bruno wrote: See http://itextdocs.lowagie.com/src/com/lowagie/tools/plugins/PhotoAlbum.java It's a little tool that reads all the images in a directory and gen

Re: [iText-questions] Groups e SubGroups

2006-04-28 Thread Bruno Lowagie
Farid SALAH wrote: marvit a écrit : Hello Paulo, I need help me for mount this report, with Groups and subgroups, I think this is pretty simple problem unless I miss something. Why don't you simply fill tables with your data ? Farid is right. You should create a PdfPTable with 3 col

Re: [iText-questions] Groups e SubGroups

2006-04-28 Thread Farid SALAH
marvit a écrit : Hello Paulo, I need help me for mount this report, with Groups and subgroups, want to know what by the way, bellow the model: Manager: Pedro Employees Age Ocupation Ana20 Analista Paula 30 Caixa

[iText-questions] Groups e SubGroups

2006-04-28 Thread marvit
Hello Paulo, I need help me for mount this report, with Groups and subgroups, want to know what by the way, bellow the model: Manager: Pedro Employees Age Ocupation Ana20 Analista Paula 30 Caixa Claudia50 An

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Paulo Soares
PdfCopy only holds the reference to the last added PDF. In any case I'll do some testing to see if something is broken.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Elvis NovasSent: Friday, April 28, 2006 2:31 PMTo: itext-questions@lists.sourceforge.

RE: [iText-questions] iText Question

2006-04-28 Thread Paulo Soares
PdfStamper can't get or create optional content layers. It's not rocket science but it's not yet done.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sontheimer, MarcoSent: Friday, April 28, 2006 2:11 PMTo: itext-questions@lists.sourceforge.netSubjec

RE: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-04-28 Thread Paulo Soares
This is really strange. The signature is in the PDF but after reading it with Acrobat the signature disappears from the doc, no trace of it. I'll need to think a bit more about this. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andreas

[iText-questions] Re: PDF of different size imges

2006-04-28 Thread Bruno Lowagie
Matt Davis wrote: I am trying to make "E-Books" of land record images. Essentially I need one page per image, and nothing else (no text). However, the images very in size. I have tried doing the following: mDocument.SetPageSize(New Rectangle(img.Width, img.Height)) However, it seems a

[iText-questions] PDF of different size imges

2006-04-28 Thread Matt Davis
I am trying to make "E-Books" of land record images. Essentially I need one page per image, and nothing else (no text). However, the images very in size. I have tried doing the following: mDocument.SetPageSize(New Rectangle(img.Width, img.Height)) However, it seems as though some pages ar

[iText-questions] iText Question

2006-04-28 Thread Sontheimer, Marco
Hello,   I've a question about creating and reading PDF files. I have written an application which can make a stamp (Text) on a PDF. The stamp I make on a separate layer in the document, because I want to show the stamp or not. My question is now: Is it possible to read the content of an ex

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Actually, I am looping (not in the example) through a number of Pdf files (currentPdfFile) and after adding the Imported Page to the PdfCopy I am setting the pdfReader object to null (not in the example), so I am expecting this object to be garbage collected a any time during the process.   Thank

RE: Re: [iText-questions] PDFReader doesn't Garbage Collect

2006-04-28 Thread Elvis Novas
Actually I am looping (not in the example) through a number of Pdf files (currentPdfFile) and after adding the Imported Page to the PdfCopy I am setting the pdfReader object to null (not in the example), so I am expecting this object to be garbage collected a any time during the process.   Thanks

Re: [iText-questions] generate postscript instead of pdf

2006-04-28 Thread bruno
Bruno wrote: 1) Is iText able to generate postscript-files instead of pdf directly - then we could deliver the whole out of the box within the deployment-package. No, iText doesn't have a PSWriter. 2) Do you know such a libary, that can handle this approach. I'm sorry, I don't know. br, B

Re: [iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-28 Thread bruno
Tim Dylla wrote: Call me stubborn, I'd like to have proper padding AND desired alignment. How can I achieve this, without changing too much of my approach? It is odd, I agree, but there's some logic behind it. The first thing you need to know that a PdfPCell is treated as a ColumnText object

[iText-questions] alignment-problem with PdfPCell & Paragraph

2006-04-28 Thread Tim Dylla
Hi List, first: I really appreciate the work of Paulo and Bruno, and all the other active people on this list. Thanx a lot! But now to the Prob: I have to do some formatting on a PdfPTable. I want to align some Text to the right of its Cell. Therefore I'd like to do something similar to this:

[iText-questions] generate postscript instead of pdf

2006-04-28 Thread Bruno
We are using the iText-libary to merge pdf-documents and to append tif's to a pdf-document. In case of server-side-printing we would be able to generate postscript instead of pdf - this because not all of our printers are able to print pdf's directly and we need to go over pdf2ps-scripts. and that'

Re: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-04-28 Thread Andreas Homrighausen
Thank you very much! :-) Attached you find four pdf-Files: Empty page, signed empty page, page with one form and this one signed... Andreas Paulo Soares schrieb: It would help to post the original pdf, the pdf with the form and the signed pdf. Paulo -Original Message- From: [EMA

RE: 4 Paulo[iText-questions] Is there a way to set owner password null (No)

2006-04-28 Thread abc xyz
Dear Paulo. i think it's not due to acrobat. since when we supply owner password as null or zero length it converted in random string. it mean there is some owner password is applied on document. this is why Acrobat shows master password: Yes. bcoz it is no happened with user password bcoz it is

RE: [iText-questions] Is there a way to set owner password null (No)

2006-04-28 Thread abc xyz
Dear Paulo. i think it's not due to acrobat. since when we supply owner password as null or zero length it converted in random string. it mean there is some owner password is applied on document. this is why Acrobat shows master password: Yes. bcoz it is no happened with user password bcoz it is

RE: [iText-questions] Is there a way to set an initial zoom for the viewer to display PDF file

2006-04-28 Thread Paulo Soares
PdfReader pdf = new PdfReader("abc.pdf");PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("abcout.pdf"));PdfWriter writer = stp.getWriter();PdfAction ac = PdfAction.gotoLocalPage(1, new PdfDestination(PdfDestination.XYZ, -1, -1, 0.1f), writer);writer.setOpenAction(ac);stp.close();

RE: [iText-questions] Is there a way to set owner password null (No)

2006-04-28 Thread Paulo Soares
That's not possible, Acrobat doesn't allow it.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of abc xyzSent: Friday, April 28, 2006 7:34 AMTo: itext-questions@lists.sourceforge.netSubject: [iText-questions] Is there a way to set owner password null (

RE: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-04-28 Thread Paulo Soares
It would help to post the original pdf, the pdf with the form and the signed pdf. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, April 28, 2006 11:57 AM > To: itext-questions@lists.sourceforge.net > Cc:

[iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-04-28 Thread ahom_de
Hello all. I've written a java-method signing pdf-documents (which are created by the tool scribus) using itext. With standard pdf documents no problems... But if the scribus pdf contains only one form, something went wrong. The resulting signed pdf doesn't show the signature although it is in th

[iText-questions] Signing pdf documents containing forms does not work

2006-04-28 Thread ahom_de
Hello all! I've written a java-method signing pdf-documents (which are created by the tool scribus) using itext. With standard pdf documents no problems... But if the scribus pdf contains only one form, something went wrong. The resulting signed pdf doesn't show the signature although it is in th

Re: [iText-questions] Question

2006-04-28 Thread Paulo Soares
Go to http://itextdocs.lowagie.com/tutorial/objects/anchors/index.html#actions and look for open actions. Paulo - Original Message - From: "shoaib ahmad" <[EMAIL PROTECTED]> To: Sent: Friday, April 28, 2006 7:54 AM Subject: [iText-questions] Question Hello I have a question. Actu

[iText-questions] Question

2006-04-28 Thread shoaib ahmad
Hello     I have a question. Actually i am using your itext library and am unable to find a way to adjust the magnification of my document through your library. What i want is to adjust the magnification so if we open it through a pdf reader application it opens the pdf document in 100 or 2