Re: [iText-questions] Consolidating lots of PDF's

2006-02-28 Thread bruno
Vijay wrote: Hi All, I have lots of PDF files. Some of them have their own TOC, while the others donot. I would like to create a single PDF file by combining all the individual PDFs. I am trying to understand, if the following is possible. I have searched in the Mailing List, but couldn't

[iText-questions] Consolidating lots of PDF's

2006-02-28 Thread Vijay
Hi All, I have lots of PDF files. Some of them have their own TOC, while the others donot. I would like to create a single PDF file by combining all the individual PDFs. I am trying to understand, if the following is possible. I have searched in the Mailing List, but couldn't find any match.

[iText-questions] PDFGraphics2D and Swing borders

2006-02-28 Thread Katz, Neal
Hi, I'm using an old version of iText (downloaded in 2004) without any of the fancy API calls. I create a PDFGraphics2D object and pass it in to the standard paint methods in my Java code. Overall, this works fine except for 1 thing: borders. I have a spreadsheet component created with Java

[iText-questions] Simple Test Fails / Debugging

2006-02-28 Thread Mark Hanfland
I am running the simple Hello World example on a server and it throws no errors but contains no output.   Is there a way to debug what the problem is?   I am having the same problem running Birt reports using IText on the same server.  I can see formatting lines but no text.  I have verified th

Re: [iText-questions] Writing an XMP Xpacket

2006-02-28 Thread bruno
Please keep on the mailing list. Please consult the Javadocs. Segev, Eli wrote: Bruno, How can you add an XmpWriter instance to a PdfWriter? It is not a PdfObject. http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfWriter.html#setXmpMetadata(byte[]) http://itextdocs.lowagie.com/doc

Re: [iText-questions] Pagevents - Watermarks

2006-02-28 Thread bruno
Kmet, Bill wrote: Just to make sure I am working on a valid concept, the parameters being being used in main can be somehow passed to the interface? You would have something like this: MyEvent event = new MyEvent(); event.setParameter1(parameter1); writer.setPageEvent(event); I also noticed

Re: [iText-questions] Dotted signature fields

2006-02-28 Thread Weston Bustraan
I'm baffled now. I created a very simple form with only one page, one text field, and one dotted signature field and it works properly. But not with a the original PDF. I've obviously got more investigating to do in this, but, at first glance, does anyone have any insight on why the same co

RE: [iText-questions] Pagevents - Watermakrs & PDF Size

2006-02-28 Thread Kmet, Bill
Ignore my previosu post, I was pointing it towards the wrong image. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the pri

[iText-questions] Pagevents - Watermakrs & Size Change

2006-02-28 Thread Kmet, Bill
By using the Pagevents to add the watermarks & logo I am noticing a pretty big increase in pdf size, it went from 10kb up to 18kb, is there a way to trim this back down? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting l

Re: [iText-questions] Dotted signature fields

2006-02-28 Thread Paulo Soares
Just post the pdf. The list handles attachments. - Original Message - From: "Weston Bustraan" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 28, 2006 2:44 PM Subject: Re: [iText-questions] Dotted signature fields That makes sense. However, I'm not trying to add a new field; it's al

RE: [iText-questions] Pagevents - Watermarks

2006-02-28 Thread Kmet, Bill
Just to make sure I am working on a valid concept, the parameters being being used in main can be somehow passed to the interface? So basically a program calls this java program and in public static void main the parameters passed are assigned to variables, then I can pass the contents of some

Re: [iText-questions] Dotted signature fields

2006-02-28 Thread Weston Bustraan
That makes sense. However, I'm not trying to add a new field; it's always an existing field. But when I use setVisibleSignature(String fieldName), as in my example, it's not showing up properly. If I were to put together a short demonstration block of code to illustrate the problem, what's

Re: [iText-questions] Concatenate a PDF to a signed PDF

2006-02-28 Thread bruno
Thorsten wrote: Hi, i want to concatenate an existing pdf-document to a signed pdf-document. I used PdfCopyFields to add both documents to a single documnet, but the signature from the signed document (external signature, CMS) is missing. My intention is to add additinal information to the sign

[iText-questions] Concatenate a PDF to a signed PDF

2006-02-28 Thread Thorsten
Hi, i want to concatenate an existing pdf-document to a signed pdf-document. I used PdfCopyFields to add both documents to a single documnet, but the signature from the signed document (external signature, CMS) is missing. My intention is to add additinal information to the signed pdf-documnent. t

RE: [iText-questions] Pagevents - Watermakrs

2006-02-28 Thread Kmet, Bill
Sorry I better redo some reading, its been a while since I have used Java and I should take more time to understand the pagevents concept before trying to use it. Bill > -Original Message- > From: bruno [SMTP:[EMAIL PROTECTED] > Sent: February 28, 2006 10:11 AM > To: Bill > Cc: itext-

[iText-questions] Re: watermarks, display only on print with current timestamp

2006-02-28 Thread bruno
It's a bad idea to send mail to my personal address. If every iText user did this, I wouldn't have a life. Razal, Jocel [SFOKA] wrote: Hi Bruno, We have a project wehre we wanted to put watermarks to existing pdf files. However, the watermarks must only be displayed when printing the pdf

Re: [iText-questions] Pagevents - Watermakrs

2006-02-28 Thread bruno
Kmet, Bill wrote: Sorry I better redo some reading, its been a while since I have used Java and I should take more time to understand the pagevents concept before trying to use it. Best way to do it, is to have the WTMARK and WTMKPATH as member variables of your custom event class. You can add

Re: [iText-questions] Pagevents - Watermakrs

2006-02-28 Thread bruno
Bill wrote: I am trying to generate a watermark image over/under the content already on the page but for somer reason I am not seeing the watermark any suggesstions? What's this? public void onOpenDocument(PdfWriter writer, Document document, String WTMARK, String WTMKPATH) { You s

[iText-questions] Pagevents - Watermakrs

2006-02-28 Thread Bill
I am trying to generate a watermark image over/under the content already on the page but for somer reason I am not seeing the watermark any suggesstions? public void onOpenDocument(PdfWriter writer, Document document, String WTMARK, String WTMKPATH) { try { if (WTMARK

Re: [iText-questions] PDF File HashCode & Writing a PDF file to a DB

2006-02-28 Thread bruno
Wayne Schoeman wrote: After Generation of the PDF I want to create a hash value for the PDF File created. After that i want to save the file aswell as the hashVal(HashCode)- to my DB That's what the digital signature stuff does: it takes a hash from the PDF content and stores it in the signatu

Re: [iText-questions] PDF File HashCode & Writing a PDF file to a DB

2006-02-28 Thread Udo Rader
On Tue, 2006-02-28 at 13:47 +0200, Wayne Schoeman wrote: > Hey There Guys > > Wayne here from South Africa. > let me explain what I want to to. 1st I want to Genereate a PDF File > from some input i take in from my front end. After Generation of the > PDF I want to create a hash value for the PDF

Re: [iText-questions] Put "More" "End" at the bottom of the page

2006-02-28 Thread bruno
beppe costagliola wrote: Are pageEvents methods available in PdfStamper with the same logic ? Yes and no. There are no page events in PdfStamper. You have to loop over every page and apply the code you have in your onEndPage on the PdfContentByte that is returned by getUnderContent Because

[iText-questions] PDF File HashCode & Writing a PDF file to a DB

2006-02-28 Thread Wayne Schoeman
Hey There Guys Wayne here from South Africa. let me explain what I want to to. 1st I want to Genereate a PDF File from some input i take in from my front end. After Generation of the PDF I want to create a hash value for the PDF File created. After that i want to save the file aswell as the hashVa

Re: [iText-questions] Put "More" "End" at the bottom of the page

2006-02-28 Thread beppe costagliola
Are pageEvents methods available in PdfStamper with the same logic ? Because I'm concerned with document size, is the final size the same if I put the watermarks and the various accessories during the creation of the document, or if I add them later with PdfStamper ? Thanks. Giuseppe. --- bruno

Re: [iText-questions] Put "More" "End" at the bottom of the page

2006-02-28 Thread bruno
bruno wrote: beppe costagliola wrote: I already have the page number at the top, but I don't understand how to see if I have to write "More.." because there are more pages folowing or "End" at the last page. Aha, that was the part I didn't understand. onEndPage is always called and it doesn'

Re: [iText-questions] Dotted signature fields

2006-02-28 Thread Paulo Soares
It's possible to sign an existing empty signature field with dots using PdfSignatureAppearance.setVisibleSignature(String fieldName). It's not possible to create a new signature field with dots with PdfSignatureAppearance.setVisibleSignature(Rectangle pageRect, int page, String fieldName). Pa

Re: [iText-questions] Put "More" "End" at the bottom of the page

2006-02-28 Thread bruno
beppe costagliola wrote: Usually I write the "page n/tot" at the bottom of the page using the template and it works fine. OK, so you do this in an onEndPage method using absolute coordinates. But now I'm asked to put "page n/tot" at the top Change the coordinates that were used to plac

[iText-questions] Put "More" "End" at the bottom of the page

2006-02-28 Thread beppe costagliola
Usually I write the "page n/tot" at the bottom of the page using the template and it works fine. But now I'm asked to put "page n/tot" at the top and "More..." or "End" at the bottom of the page. How can I get it ? Thanks. Giuseppe. ___

Re: [iText-questions] PageEvents

2006-02-28 Thread bruno
beppe costagliola wrote: Hi Paulo, can you please explain what's the difference in putting watermarks, rectangles etc. in onStarPage or in onEndPage ? Stuff that is added in onStartPage, is added before any content is written to that page. Stuff added in onEndPage is added after all the other

[iText-questions] PageEvents

2006-02-28 Thread beppe costagliola
Hi Paulo, can you please explain what's the difference in putting watermarks, rectangles etc. in onStarPage or in onEndPage ? Thanks. Giuseppe. ___ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yah

[iText-questions] Bugfix / Patch for ExtractAttachments

2006-02-28 Thread Eberhard Schulte
Hi, use src.getParentFile().getAbsolutePath() to get the full path! Eberhard. iText-1.3.6/com/lowagie/tools/plugins/ExtractAttachments.java,v retrieving revision 1.1 diff -u -r1.1 ExtractAttachments.java --- ExtractAttachments.java 28 Feb 2006 09:41:32 - 1.1 +++ ExtractAttachment

Re: [iText-questions] Writing an XMP Xpacket

2006-02-28 Thread bruno
Segev, Eli wrote: Is there a standard way of writing the xpacket headers using iText? What I mean by header is the lines that I included above. http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.p df [Eli Segev] Does this mean 'No'? The link is the document I us

Re: [iText-questions] iTex compatibale version with JDK 1.3

2006-02-28 Thread bruno
Manjith Gunatilaka wrote: Hi This is the error I am getting during the compilation in JDK 1.3.1 === C:\iTexHome\src>ant -f build.xml compile Buildfile: build.xml compile: compile: [javac] Compiling 399