RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-25 Thread wilbert . v . vicencio
Hi Paulo,   Yup, I’ve noticed that too.  But when I use encrypt_pdf.java, the produced PDF is only compatible with Acrobat 5.0 and up.  Is there a way so that it is compatible with Acrobat 3 or 4?   -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: [iText-questions] problem with bookmark

2004-03-25 Thread PIGEYRE Bastien
Title: RE: [iText-questions] problem with bookmark Ok Paulo I understand what you say. But in my case I have pdf wih GoTo only. So perhaps my question is not a Itext question but a pdf question. When I have a pdf with GoTo action, how I know the index of the first page of my document (0 or

[iText-questions] CPDF-Monospace (ClibPDF to iText Migration Question)

2004-03-25 Thread laborte . p
Hi all! Do you guys here know any exact replacement for CPDF-Monospace for iText? That would really save a lot of trouble from migrating to iText from ClibPDF. OT: Thanks a lot to Paolo for the PdfTemplate / UNDERSCORE answer. Have a nice day everyone! Paul ---

[iText-questions] Setting PdfPTable width

2004-03-25 Thread Suprigya
Hello, I need to set the table width equal to the image that I am inserting in a column. Image img = Image.getInstance( cComps.getImage(), Color.BLUE ); PdfPTable pTable = new PdfPTable( 2 ); pTable.setTotalWidth( img.scaledWidth() ); PdfPCell cell = new PdfPCell( img ); cell.setColspan( 2 );

Re: [iText-questions] Transparent watermark is visible but not printable

2004-03-25 Thread Leonard Rosenthol
At 12:40 PM 3/25/2004, [EMAIL PROTECTED] wrote: I'am using the same code as Simon for printing a watermark. the only difference is the use of PdfGState to set transparency. the watermark is visible on the pdf but newer printed. Not printed FROM WHAT? Opened in Acrobat and then prin

RE: [iText-questions] PDF Signatures

2004-03-25 Thread Paulo Soares
You need full Acrobat to sign a document, Reader is not enough.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Liem DoSent: Thursday, March 25, 2004 6:41 PMTo: iText-questionsSubject: [iText-questions] PDF Signatures Hell

[iText-questions] PDF Signatures

2004-03-25 Thread Liem Do
Hello,   I'm having some problem trying to sign a signature form field in iText. I'm using the signature.java example file as is and when I click on the signature field to sign it using a self signed signature, I get the following error when saving the file:        "The document could not be

RE: [iText-questions] Question

2004-03-25 Thread Paulo Soares
What problem? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jose Puchi > Sent: Thursday, March 25, 2004 4:14 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [iText-questions] Question > > How I can to resolve this problem? > I m

RE: [iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-25 Thread Paulo Soares
That's weird. You can send me a small code example so that I can reproduce here the problem. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Graham Leggett > Sent: Thursday, March 25, 2004 4:58 PM > To: [EMAIL PROTECT

RE: [iText-questions] Parse XML and overlay from template

2004-03-25 Thread Paulo Soares
Use pdfStamper. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Phil Browne > Sent: Thursday, March 25, 2004 1:55 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Parse XML and overlay from template > > Can an

RE: [iText-questions] problem with bookmark

2004-03-25 Thread Paulo Soares
Title: problem with bookmark The /Dest you have would only be valid for the GoToR action and that's not the case here. You should have something like:   /Dest [12 0 R /FitH 354.250]   You have to explain a lot better what you want to do and how you are doing it.   Best Regards, Paulo Soares

[iText-questions] Transparent watermark is visible but not printable

2004-03-25 Thread marco . abderhalden
Hello I'am using the same code as Simon for printing a watermark. the only difference is the use of PdfGState to set transparency. the watermark is visible on the pdf but newer printed. This is not dependent from the colorFill settings. Not setting the GState works fine. Can somebody give me a

[iText-questions] Switching from landscape to portrait to landscape again - broken

2004-03-25 Thread Graham Leggett
Hi all, I have an iText app linked against v1.02b that is demonstrating some weirdness. I have a document containing pages that alternate between portrait and landscape. Page 1 is portrait, this works fine. Page 2 and 3 are landscape, this works fine. Page 4 is supposed to be portrait again, a

[iText-questions] XmlWriter problem

2004-03-25 Thread Franck Poussiere
hello, I'm generating XML by the use of document.add(Element) method. the problem is that the XML generated is splitted (to respect 80 columns ??) and \n are inserted into paragraphs. So when generating corresponding PDF, lines are rejoined, and spaces forgotten. somebody can help me ? Franc

[iText-questions] Question

2004-03-25 Thread Jose Puchi
How I can to resolve this problem? I m using the wrong path to the Images I want to display Thanks Atte. José Luis Puchi Alvarez Desarrollo ICS 56-2-3405254 09-9040488 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tut

RE: [iText-questions] howto stop grayscale jpg lightening automat ically on output to pd f?

2004-03-25 Thread Menke, John
lol... the answer to this was kinda easy from the API getInstance(Image image, Color color, boolean forceBW) Gets an instance of an Image from a java.awt.Image. SET forceBW to false and NO MORE LIGHTENING... thanks all for suggestions :) -Original Message- From: Matt Bens

[iText-questions] XmlWriter problem

2004-03-25 Thread Franck Poussiere
hello, I'm generating XML by the use of document.add(Element) method. the problem is that the XML generated is splitted (to respect 80 columns ??) and \n are inserted into paragraphs. So when generating corresponding PDF, lines are rejoined, and spaces forgotten. somebody can help me ? Franc

[iText-questions] problem with bookmark

2004-03-25 Thread PIGEYRE Bastien
Title: problem with bookmark Hi, I'm working on the pdf bookmark. But I have a little problem. I have pdf whych have their bookmark defined like this: [PDF CODE] 65 0 obj <<     /Title(þÿ a b s t r a c t)     /Parent     63 0 R     /Next       66 0 R     /Prev

RE: [iText-questions] pdf_split not working

2004-03-25 Thread Bruno
Quoting "Ramon M. Arias" <[EMAIL PROTECTED]>: > Thanks Paulo, > Where can I get Itext 1.02b. Sourceforge only lists 1.02. Look closer. 1.02b is published on SourceForge. br, Bruno --- This SF.Net email is sponsored by: IBM Linux Tutorial

[iText-questions] Parse XML and overlay from template

2004-03-25 Thread Phil Browne
Can anyone help with the following. I am parsing an XML document using a tagmap using XmlParser.parse(document, "file:c:\\xml\\Letter2A.xml", tagmap); but I would like this parsed XML to overlay an existing A4 PDF template. I have tried adding / opening the document after the parse and using the

RE: [iText-questions] pdf_split not working

2004-03-25 Thread Ramon M. Arias
Thanks Paulo, Where can I get Itext 1.02b. Sourceforge only lists 1.02. Best Regards Ramon Arias -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:21 AM To: Ramon M. Arias; itext-questions Subject: RE: [iText-questions] pdf_split not

RE: [iText-questions] RE: Watermarks and Tables

2004-03-25 Thread Criddle, Daniel
Thanks for you comments. I have now found that PdfPTable seems to work with the watermark. Regards, Dan Criddle -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 12:32 To: Criddle, Daniel; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [iText-que

RE: [iText-questions] auto change of sumbit url

2004-03-25 Thread Paulo Soares
That's easy with PdfStamper. AcroFields af = stamper.getAcroFields(); AcroFields.Item item = af.getFieldItem("submit"); //your submit field name PdfDictionary w = (PdfDictionary)item.widgets.get(0); //repeat from 0-size() PdfDictionary a = (PdfDictionary)PdfReader.getPdfObject(w.get(PdfName.A)); P

RE: [iText-questions] RE: Watermarks and Tables

2004-03-25 Thread Paulo Soares
You can't use class Watermark with Table. It must be done in an onStartPage event using writer.getDirectContent(). I hope to have an example in the next version with watermark and complex headers and footers. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] > [m

RE: [iText-questions] pdf_split not working

2004-03-25 Thread Paulo Soares
Works correctly using itext-paulo-129 and I suspect that it will work correctly with 1.02b. It wont work with 1.02. Best Regards, Paulo Soares > -Original Message- > From: Ramon M. Arias [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 24, 2004 8:43 PM > To: Paulo Soares; itext-questi

[iText-questions] auto change of sumbit url

2004-03-25 Thread itext
Hi. I want to use iText to modify existing PDF files. All of these PDF files have Form fields. Also a Submit button which leads to an URL. Is there a way to automatic change this URL in all PDF Files. If yes, can you give me some sample lines? Thankx a lot Philipp Schneider from Germany -

[iText-questions] restarting the JVM ...? (ignore, wrong list)

2004-03-25 Thread Jan Blok
Title: Message  

[iText-questions] RE: Watermarks and Tables

2004-03-25 Thread Criddle, Daniel
I am having the exact same problem described below in an email on the 11th of March. Did anyone have an answer to this as I can't find a reply. Thanks, Dan Criddle >Hi > >I generate a PDF with a watermark, and over that I place a table. The text >overlays the watermark fine but the table/cell

[iText-questions] restarting the JVM with special exit code?

2004-03-25 Thread Jan Blok
Title: Message Hi,   I see in the docs it is possible to request a restart with WrapperManager.restart(), but I cannot have a compile decency on the wrapper code. So I wonder if it's possible to configure the wrapper so it catches a System.exit(X) where X == Y todo a restart?   In my case I w

RE: [iText-questions] PdfTemplate and UNDERLINE question

2004-03-25 Thread Paulo Soares
Underscores don't show because they are below the baseline. Other characters with descenders, such as 'p', will also be cut. Set the template bbox with some negative slack: template.setBoundingBox(new Rectangle(0, -20, document.getPageSize().width(), document.getPageSize().height())) Best Regards

RE: [iText-questions] Encrypting PDFs makes the encrypted version upside down.

2004-03-25 Thread Paulo Soares
That's old code. Use com.lowagie.tools.encrypt_pdf.java.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, March 24, 2004 11:56 PMTo: Paulo Soares; [EMAIL PROTECTED]Subject: RE: [iText-questions]

[iText-questions] PdfTemplate and UNDERLINE question

2004-03-25 Thread laborte . p
Hello Everyone! Is it possible to write and UNDERLINE/UNDERSCORE using PdfTemplate? I've been trying this code and it seems to be not diplaying the pFont.getFixedText() when it is composed of UNDERSCORES ("__" ). Dashes ("--") and other characters are displayed properly though. template

Re: [iText-questions] Header size

2004-03-25 Thread Bruno
Quoting Richard Corn <[EMAIL PROTECTED]>: > I have added a header to my document pages and set a gray background. Looks > nice. But I'd > like the header to be smaller and I can't seem to find a way to control the > size of the header area. For more control over Headers/Footers, you really should

[iText-questions] Re: Question,

2004-03-25 Thread Bruno
Quoting Jose Puchi <[EMAIL PROTECTED]>: > Hello Bruno: > I take a example from logawie site, this example is Calendar.java, well my > idea is generate pdf´s files in my local pc with iText api. I can do it with > System Simbol, but when i try to do it with a servlet i can´t. iText was designed