RE: [iText-questions] setEncryption question

2004-02-18 Thread Paulo Soares
Title: RE: [iText-questions] setEncryption question From the javadocs: Sets the encryption options for this document. The userPassword and the ownerPassword can be null or have zero length. In this case the ownerPassword is replaced by a random string. The open permissions for the

[iText-questions] Adding header and footer to PDF.

2004-02-18 Thread giovanni carau
Hi! We are trying to use the XML front end of iText to auto generate a pdf from a xml file. We are using the iText dtd (http://itext.sourceforge.net/itext.dtd). We need to print a header and footer on each page. We need to define the header and footer in the xml. The dtd does not define this

[iText-questions] page extraction - problem

2004-02-18 Thread Huttin Pierre
Hello, I have a little question, I want extract a page from a PDF document to generate a new document. But I have some performances problems because my sources files can have more than 50.000 pages. And the class PdfReader verify all objects in PDF file, is there anyway to bypass this step ?

Re: [iText-questions] Chunk Height

2004-02-18 Thread Bruno
Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I'm wondering if it's possible to find thw height of a chunk. I have a chunk with an image in it, texts is appended to the image I'm wondering if it's possible to find the total height of the chunk, or even the height of the text alone

Re: [iText-questions] Showing dynamically generated PDF (using iTex t) inbrowser...

2004-02-18 Thread alexandre . sueiro-santos
Hi Are you using Microsoft Internet Explorer ? I had a similar problem when I was developing my application. I resolved it removing the option Do not save encrypted pages to disk in Internet Options / Advanced / Security. Best regards

[iText-questions] RoundRectangle - background

2004-02-18 Thread alexandre . sueiro-santos
Hi, I'm trying to make round a rectangle corner and put a background color, but I haven't the expected result. I get to draw the round rectangle, however I don't get to put a background color. I'm using the method roundRectangle of the class Graphic. Below I show the source that I'm using in my

Re: [iText-questions] RoundRectangle - background

2004-02-18 Thread Bruno
Quoting [EMAIL PROTECTED]: I'm using the method roundRectangle of the class Graphic. You should use PdfContentByte. There are some examples in Chapter 10 of the tutorial. To set the background color, you need to use one of the setColorFill methods

RE: [iText-questions] page extraction - problem

2004-02-18 Thread Paulo Soares
Title: RE: [iText-questions] page extraction - problem Currently all the pages are parsed. I have plans to do incremental loading but I have a few things first in my to-do list. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On

Re: [iText-questions] Showing dynamically generated PDF (using iText) in browser...

2004-02-18 Thread Giuliano Intrito
Hi, i found this simple script on the web. It works well. It can also be modified to get the file downloaded from a dialog box instead of viewing in the browser // // Template JSP file for iText // by Tal Liron // response.setContentType( application/pdf ); // step 1: creation of a

[iText-questions] file attachments in pdf with Adobe Reader 6.0

2004-02-18 Thread emeric
Hello, Do any of you know how to allow readers of a pdf file to attach an external file ? (This function seems possible in Adobe Reader 6.0 with special usage rights such as in the example file http://www.adobe.com/products/server/readerextensions/pdfs/contract.pdf) I've tried

Re: [iText-questions] file attachments in pdf with Adobe Reader 6.0

2004-02-18 Thread Leonard Rosenthol
At 05:54 AM 2/18/2004, emeric wrote: Do any of you know how to allow readers of a pdf file to attach an external file ? Sure, require those users to have Acrobat Standard or Professional... OR purchase a copy of Adobe Document Server with Reader Extensions and right enable your

RE: [iText-questions] file attachments in pdf with Adobe Reader 6.0

2004-02-18 Thread Paulo Soares
Title: RE: [iText-questions] file attachments in pdf with Adobe Reader 6.0 As you said it requires special usage rights that iText can't provide, only the Adobe Document Server. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On

Re: [iText-questions] file attachments in pdf with Adobe Reader 6.0

2004-02-18 Thread Giuliano Intrito
Hi, if you mean to read an existing pdf an then add content to it, look at this script. It works whith jsp. [EMAIL PROTECTED] import=java.io.*,com.lowagie.text.*,com.lowagie.text.pdf.*errorPage=error.jsp% % String nome,cognome; nome = request.getParameter( nome ); cognome = request.getParameter(

[iText-questions] BUG founded in TiffImage

2004-02-18 Thread Huttin Pierre
Hello, I just found a bug in com.lowagie.text.pdf.codec.TiffImage class at line 307, it was write dpiX instead of dpiY /*306*/ dpiX = getDpi(dir.getField(TIFFConstants.TIFFTAG_XRESOLUTION), resolutionUnit); /*307*/ dpiX = getDpi(dir.getField(TIFFConstants.TIFFTAG_YRESOLUTION),

[iText-questions] Scaling Fonts

2004-02-18 Thread jean-philippe . belanger
Hi, We've been using iText for some time now and everything works nicely so far! :) But I got a question about supported features of iText. We are in need of scaling some fonts. Let's say that I have a 200 character String for each line of my PDF document. The Font has to be fixed width of

[iText-questions] Comments in Adobe Reader (al-la Adobe Document Server for Reader Extensions)

2004-02-18 Thread Barnaby Shearer
Has anyone tried to add the ability to enable the 'Adobe Acrobat Reader' commenting features to PDF files created by iText? The commenting features are controlled by a security setting in PDF files that is usually only set by 'Adobe Document Server for Reader Extensions', however it is believed

RE: [iText-questions] BUG founded in TiffImage

2004-02-18 Thread Paulo Soares
Title: RE: [iText-questions] BUG founded in TiffImage Thank you. Bug noted and corrected. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Huttin Pierre Sent: Wednesday, February 18, 2004 15:26 To: [EMAIL PROTECTED]

RE: [iText-questions] Scaling Fonts

2004-02-18 Thread Paulo Soares
Title: RE: [iText-questions] Scaling Fonts You can do that with PdfContentByte.setHorizontalScaling(value). A value of 50 would shrink the subsequent text to half. This and other transformations can also be done with the text matrix. Best Regards, Paulo Soares -Original Message-

Re: [iText-questions] Scaling Fonts

2004-02-18 Thread jean-philippe . belanger
Worked perfectly! Only difference is that I have to write line per line instead of just adding a paragraph with the carriage return included. No biggy Thanks Jean-Philippe Blanger CGI Paulo Soares wrote: RE: [iText-questions] Scaling Fonts You can do that with

[iText-questions] Getting the value of a flattened field from the request

2004-02-18 Thread USB ITEXT
Hi. I have partially flatted the PDF generated (using Paulo Soares'sextension to iText). I am then getting the PDF to the browser using the PDFStamper. When I try to go to the next screen on the PDF form submission, I am able to get the values of the non-flattened fields using the

RE: FW: [iText-questions] HTML to PDF Question...

2004-02-18 Thread Matt Benson
--- Dunstall, Christopher [EMAIL PROTECTED] wrote: Hi Matt, I'm hoping you're still around :) We finally got rid of the oracle errors and we're using Xerces xml parser and JAXP (we sorted out that dodgy command line ;)). I'm trying out the tutorial classes just to see if we get it

RE: FW: [iText-questions] HTML to PDF Question...

2004-02-18 Thread Matt Benson
What version of xerces? -Matt --- Dunstall, Christopher [EMAIL PROTECTED] wrote: Yes I have the iText xml jar file as well... We're using SDK 1.3.1.02 ~~ Chris Dunstall Analyst Programmer Admin Computing Bathurst Campus Charles Sturt

[iText-questions] PDF Form Template

2004-02-18 Thread Jim Riley
I have an HTMLFill-In form andIuse itext to display the records. However, I was asked if thereis anyway I can use an already created PDF that has all the pre-printed text, lines, images,etc. Then, all I would have to do is define the XY coordinatesjust for the user information.. IE names, ssn,

Fwd: RE: FW: [iText-questions] HTML to PDF Question...

2004-02-18 Thread Matt Benson
Note: forwarded message attached. __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools---BeginMessage--- I didn't know what version, I've downloaded the latest version of xerces and it works! :) Thanks for your

[iText-questions] Question regarding check boxes in flattened PDF

2004-02-18 Thread USB ITEXT
Hi. I have populated the PDF form fields with data and flattened it using PDFStamper. But, the check box (a square before the option) for the unchecked options are not visible in the flattened PDF. A radio button is working fine. Is there any way we can get the unselected checkbox visible?

[iText-questions] Making text in a table cell editable

2004-02-18 Thread Liem Do
I'm new to Itext and am having some problems trying to makea the text in a table cell editable. Is this possible? I've looked at the examples on the site and from Paolo's site but could only find examples that added editable fields at a particular location using a Rectangle and the

Re: [iText-questions] Comments in Adobe Reader (al-la Adobe Document Server for Reader Extensions)

2004-02-18 Thread Leonard Rosenthol
At 08:29 AM 2/18/2004, Barnaby Shearer wrote: Has anyone tried to add the ability to enable the 'Adobe Acrobat Reader' commenting features to PDF files created by iText? No, because in order to do it you would need a digital signature/private key from Adobe Systems - since the system is

[iText-questions] Euro symbool

2004-02-18 Thread Jonas Roels
Beste, Ik maak gebruik van iText voor het aanmaken van facturen, ... Hiervoor heb ik het euro-symbool nodig. Ik heb een servlet gemaakt die data uit een database haalt en deze data verwerkt in een pdf. De data wordt in een ResultSet geplaatst en ik haal het eurosymbool via getString uit de set.

[iText-questions] (no subject)

2004-02-18 Thread youweixin
dear: today,I stury iText,but it can't wiew pdf. I looked the http://www.lowagie.com/iText/faq.html#pdfviewer; There is a question :Can I view PDFs using iText? I download the jpedal.jar and the pdfviewer.jar, then can view some pdf,but they can't view another new pdf. can you

[iText-questions] Setting the background color of a form field using IText

2004-02-18 Thread Anthony Flores
Hi, Is it possible to set the background color of a form field using IText? Thanks! __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools --- SF.Net is

Re: [iText-questions] PDF Form Template

2004-02-18 Thread Bruno
Quoting Jim Riley [EMAIL PROTECTED]: I have an HTML Fill-In form and I use itext to display the records. However, I was asked if there is anyway I can use an already created PDF that has all the pre-printed text, lines, images, etc. Then, all I would have to do is define the XY