[iText-questions] Concatenate PDFs with additional text

2006-06-07 Thread beppe costagliola
I'm using this code to concatenate PDF: PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(outFile)); PdfReader reader = new PdfReader(args[f]); copy.addDocument(reader); It it possible to add some text while adding documents ? Thanks. Giuseppe. Chiacchiera con i

Re: [iText-questions] Concatenate PDFs with additional text

2006-06-07 Thread bruno
beppe costagliola wrote: I'm using this code to concatenate PDF: PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(outFile)); PdfReader reader = new PdfReader(args[f]); copy.addDocument(reader); It it possible to add some text while adding documents? No, not with

Re: [iText-questions] autosize fonts for form fields

2006-06-07 Thread bruno
Andrew Smith wrote: Is there something in the itext api to mimic the autosize feature that Adobe Acrobat provides for form fields? Yes. If you set the fontsize to 0, the font-size will be adjusted automatically so that the text fits the text field. AcroFields form = stamper.getAcroFields();

Re: [iText-questions] tiff to pdf for java version 1.3.

2006-06-07 Thread Paulo Soares
You'll have to build it yourself. There's an ANT task to do it. Note that you'll need to change a line in PdfGraphics2D to have it compile in 1.3, it's documented there. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karina Ishkhanova

[iText-questions] Reg Setting the font in itext pdfgenerator

2006-06-07 Thread Visalatchi Balu
Hi I have used Icebrowser SDK to render the pdf from the html...But my output font is different and bigger... I want to reduce the font sizeIn icesoft they ask me to set the font in itext pdfgenerator... I dont know how to set in the pdfgenerator... Pls do advise me asap... Thank you

[iText-questions] Polish national characters in pdf and rtf files

2006-06-07 Thread mariusz . sazynski
Hi, I the following program I tested Polish letters in pdf and rtf documents. When I create rtf and pdf files sequencially there is only a problem with meta fields in rtf file (in this case - subject). When creating both files simultaneously there are strange results depending on the order of

[iText-questions] Beautiful exception

2006-06-07 Thread Slavik Ivasyuk
Hello All ! I have asp.net page and for page response stream I was formed simple pdf document with Image and table. But in some situations (I can't reproduce) any part of document don't creating - I see The document has no pages. throwed exception. Anybody was confronted with this problem ?

[iText-questions] I want empty rows in a table (or PdfpTable)

2006-06-07 Thread Jørgen Bøgvald
In a previous update to iText my code which just added a number of empty cells (making one row) to the table broke. I have searched the documentation/tutorials and the only thing I found was that it should work if I specified the leading (I put a phrase with an empty string in the cells),

Re: [iText-questions] I want empty rows in a table (or PdfpTable)

2006-06-07 Thread Paulo Soares
With PdfPTable you can set a fixed row height. With Table you'll need a character but instead of usig an X use a \u00a0. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jørgen Bøgvald Sent: Wednesday, June 07, 2006 12:42 PM To:

Re: [iText-questions] Beautiful exception

2006-06-07 Thread bruno
Slavik Ivasyuk wrote: Hello All ! I have asp.net page and for page response stream I was formed simple pdf document with Image and table. But in some situations (I can't reproduce) any part of document don't creating - I see The document has no pages. throwed exception. Anybody was

Re: [iText-questions] Reg Setting the font in itext pdfgenerator

2006-06-07 Thread bruno
Visalatchi Balu wrote: Hi I have used Icebrowser SDK to render the pdf from the html...But my output font is different and bigger... I want to reduce the font sizeIn icesoft they ask me to set the font in itext pdfgenerator... I dont know how to set in the pdfgenerator... Pls do

Re: [iText-questions] Question on security

2006-06-07 Thread Guy Careau
Hello Does it have a way to not invalidate the signature wen we modify a document with iText? Thanks Guy From: Leonard Rosenthol [EMAIL PROTECTED] Reply-To: itext-questions@lists.sourceforge.net To: itext-questions@lists.sourceforge.net,itext-questions@lists.sourceforge.net Subject: Re:

Re: [iText-questions] iText Dot Net

2006-06-07 Thread Robertson-Ravo, Neil (RX)
The pure Java version will not work on .NET as it stands. You would need to recompile the iText source as J# first and even that is not 100% guaranteed to work. N From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Jiménez González Sent: 05 June

[iText-questions] Adding attachment

2006-06-07 Thread Beate Niendorf
Hi, is there a possibility to add file attachments to a PDF? I've found the static method createFileAttachment in PdfAnnotation. But this is not exactly what I want... Does anyone know how to add an attachment without the help of Annotations? Thanks in advance... Ihr ProcSet-Team --

Re: [iText-questions] Adding attachment

2006-06-07 Thread bruno
Beate Niendorf wrote: Hi, is there a possibility to add file attachments to a PDF? I've found the static method createFileAttachment in PdfAnnotation. But this is not exactly what I want... Does anyone know how to add an attachment without the help of Annotations? Thanks in advance... See

Re: [iText-questions] Mac PDF Photoshop Image Alchemy plug-in XML and stack overflow

2006-06-07 Thread Webber, David (NIH/OD) [C]
Leonard, I'm going to try and create a new PDF myself that I can send you that will replicate the problem we're seeing. Maybe tomorrow now - since I have a bunch of other production to-do's to handle today first. Thanks, DW -Original Message- From: Leonard Rosenthol [mailto:[EMAIL

Re: [iText-questions] Storing document page by page in DB

2006-06-07 Thread bruno
Please do not mail me personally. Jesús Vallejo Ramos wrote: I have a pdf to which I have added one to him watermark and I need to keep it in a field BLOB. How can do it? Let me try to understand the question. You have created a PDF. Or you have added watermarks to an existing PDF.

Re: [iText-questions] Question on security

2006-06-07 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guy Careau Sent: Wednesday, June 07, 2006 12:51 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Question on security Hello Does it have a way to not

Re: [iText-questions] Storing document in Oracle DB

2006-06-07 Thread Jesús Vallejo Ramos
Hi, I have the document with watermark in a PdfStamper object, but not like obtaining the bytes to store it in a field BLOB of an Oracle DB Thanks bruno [EMAIL PROTECTED] 07/06/2006 16:34 Para Jesús Vallejo Ramos [EMAIL PROTECTED], 'itext-questions@lists.sourceforge.net'

Re: [iText-questions] Text to stamp in a pdf generating on the fly

2006-06-07 Thread Mick Collins
great example at http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/copystamp/AddWatermarkPageNumbers.java From: Carlos Bergueira [EMAIL PROTECTED] Reply-To: Post all your questions about iText here itext-questions@lists.sourceforge.net To: itext-questions@lists.sourceforge.net

[iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Ricardo Coutinho
Hi all, Currently I use the following code to get the number of pages for a PDF.. . documentReader = new PdfReader(document.getData()); documentReader.getNumberOfPages(); What I want to know is; Is there a quicker way to get this information? Part of the processing in my

Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Paulo Soares
documentReader = new PdfReader(new RandomAccessFileOrArray(document.getData()), null); documentReader.getNumberOfPages(); documentReader.close(); Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Coutinho Sent: Wednesday, June 07, 2006

Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Leonard Rosenthol
At 11:53 AM 6/7/2006, Ricardo Coutinho wrote: Currently I use the following code to get the number of pages for a PDF….. documentReader = new PdfReader(document.getData()); documentReader.getNumberOfPages(); That's the way to do it! What I want to know is; Is there a quicker way to

Re: [iText-questions] autosize fonts for form fields

2006-06-07 Thread Andrew Smith
Sending to the list for archival purpsoses in case anyone is interested. The solution we used was to set the font size to 60 percent of the rectangle height and then set an extra top margin on the field equal to 40 percent of the rectangle height. This closely approximates the way Adobe Reader

Re: [iText-questions] autosize fonts for form fields

2006-06-07 Thread Andrew Smith
Actually - scratch that - this solution won't work for text that is longer than the original form field. Will itext allow me to compute the proper font size based on the height AND WIDTH of a rectangle? What classes/methods are available to help me compute the width of a piece of text given a

[iText-questions] Example for using Automatic Page Breaks and Page Headers

2006-06-07 Thread Brian Ewers
I am a new iText user. Can anyone point me to an example that will show the following: How do I create a PDF report that uses PdfPTable tables and automatically creates page breaks when the content goes more that 1 page. I also would like Page Headers that should