[iText-questions] Re: PdfPTable's rowspan

2004-01-27 Thread Ujjwala Kadam
How can I make a nested table span two rows of the main table? --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA

[iText-questions] Tables...?

2004-01-27 Thread Bernard Herrok
Hi, When I write an item to a cell and the something later writes on the same cell, it clears the content of the cell. Is there a way to overwrite an existing value and formatting in a cell? Thanks     Bernard Herrok | Application Developer | Spotlight Stores P/L Ph +61 3 9684 7657

RE: [iText-questions] Hidden fields not transmitted in Acrobat 6. x

2004-01-27 Thread Leonard Rosenthol
At 02:47 AM 1/27/2004, Sherlock Simon wrote: As an aside to this, we are using a watermark (text converted to a JPG) that is rotated at 45 degress. All works great in Reader 5 but it just renders as blobs in Acrobat Reader 6.. I would love to se this PDF that dworks in 5 but not in 6..

[iText-questions] Embedding a PDF file in another

2004-01-27 Thread Gabe Johnson
This task is allegedly easy one, according to a previous post on this list. I have an image saved as a PDF file: logo.pdf I am generating a series of PDF invoices and would like to include lgo.pdf at the top of each file. I am using a page-event callback to include the header, as it is more com

[iText-questions] use of PageModeUseThumbs

2004-01-27 Thread Ulvi Cetin
Hi, I need to show the thumbnails of the PDF page. I understand that I need to use PageModeUseThumbs in PdfWriter class to set this. But I cannot figure out how. Can someone give an example how this can be done? Thanks. Ulvi. --- The

Re: [iText-questions] Problems in setting encryption options

2004-01-27 Thread Paulo Soares
I suppose that by save you mean copy/paste. It works. You'll notice that the copy operation in menu is disabled even if you can select the text you can't copy it to the clipboard. Best Regards, Paulo Soares - Original Message - From: "June Ni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [iText-questions] Question about the iText library capabilities...

2004-01-27 Thread Paulo Soares
iText can't do it. Text extraction from PDF is difficult and sometimes impossible. See JPEDAL and PDFBOX for text extraction libraries but don't set your expectations too high. Best Regards, Paulo Soares - Original Message - From: "Stephane Clinckart" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: [iText-questions] Problems in setting encryption options

2004-01-27 Thread Sherlock Simon
You cannot disable the Save in iText (how I wish you could!) -Original Message- From: June Ni [mailto:[EMAIL PROTECTED] Sent: 27 January 2004 17:03 To: [EMAIL PROTECTED] Subject: [iText-questions] Problems in setting encryption options Hi, This line of code works correctly - only allow

[iText-questions] Problem specifying width of columns in iText Table

2004-01-27 Thread Patrick Craston
Bruno lowagie.com> writes: > > Table items = new Table(4,5); items.addCell(bruttoCell,4,3); > At first site I would think this is wrong: > there are only 4 columns: 0, 1, 2 and 3. > You are trying to add something to the fifth > column. According to the API the method is Table.addCe

[iText-questions] Problems in setting encryption options

2004-01-27 Thread June Ni
Hi, This line of code works correctly - only allow SAVE operation, print is disabled. docWriter.setEncryption(PdfWriter.STRENGTH40BITS, null, null, PdfWriter.AllowCopy); However this line of code does not work correctly - Not only the PRINT is enabled, but the SAVE is also enabled. docWriter.

[iText-questions] Question about the iText library capabilities...

2004-01-27 Thread Stephane Clinckart
Hi,   I have to make some checks on existing pdfs files. Before I start to learn how to use the iText library, I want to ensure that this library is capable to do that.   I will enumerate what as to be checked…   Verify that text (header, main document, …) is extractable. (à

RE: [iText-questions] Content Lost in Adobe Reader

2004-01-27 Thread Paulo Soares
Title: RE: [iText-questions] Content Lost in Adobe Reader See if you have a PdfContentByte.saveState() for each PdfContentByte.restoreState(). Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Thorsten Schülein Sent:  

[iText-questions] Content Lost in Adobe Reader

2004-01-27 Thread Thorsten Schülein
Hi, my application produces pdf documents only using the PdfContentByte and PdfGraphics2D classes. When writing the documents, everything works fine, iText raises no exception, warning message what so ever. The documents can also be opened in the Adobe Reader (version 6.0), but under certain circu

RE: [iText-questions] Hidden fields not transmitted in Acrobat 6.x

2004-01-27 Thread Paulo Soares
Title: RE: [iText-questions] Hidden fields not transmitted in Acrobat 6.x Maybe Acrobat 6 needs a widget for the hidden field even if it's never shown. Best Regards, Paulo Soares -Original Message- From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Gerd Holzner Sent

[iText-questions] Re: Table setWidths()

2004-01-27 Thread Patrick Craston
Bruno lowagie.com> writes: > > Table items = new Table(4,5); > > > > items.addCell(bruttoCell,4,3); > > At first site I would think this is wrong: > there are only 4 columns: 0, 1, 2 and 3. > You are trying to add something to the fifth > column. But according to the API t

Re: [iText-questions] Table setWidths() "Wrong number of columns"

2004-01-27 Thread Bruno
Quoting Patrick Craston <[EMAIL PROTECTED]>: > Table items = new Table(4,5); > > items.addCell(bruttoCell,4,3); At first site I would think this is wrong: there are only 4 columns: 0, 1, 2 and 3. You are trying to add something to the fifth column. br, Bruno --

[iText-questions] TOC for existing PDF

2004-01-27 Thread Anil Kumar
Hi All, I want to add a TOC for some of pages/text of existing PDF, how can I do it ? Regards, Anil --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse

Re: [iText-questions] concat_pdf.java

2004-01-27 Thread Bruno
Quoting Rémi Guilbert <[EMAIL PROTECTED]>: > Hi, I want use concat_pdf.java to merge some pdf files. How I can modify the > code to be able to have each page of different documents to LEGAL size. I > have some files that content are picture larger then LEGAL size. Do you have > a method to fit

Re: [iText-questions] XML To PDF

2004-01-27 Thread Bruno
Quoting jones henry <[EMAIL PROTECTED]>: > Bruno, > > I tried the iText XML by handcoding it. It seems it is not generating the > PDF to use any other font except the default one. I used the following input > xml and program. You need to register those other fonts first. Take a look at http://w

RE: [iText-questions] Hidden fields not transmitted in Acrobat 6. x

2004-01-27 Thread Sherlock Simon
As an aside to this, we are using a watermark (text converted to a JPG) that is rotated at 45 degress. All works great in Reader 5 but it just renders as blobs in Acrobat Reader 6.. -Original Message- From: Gerd Holzner [mailto:[EMAIL PROTECTED] Sent: 26 January 2004 16:40 To: [EMAIL

[iText-questions] concat_pdf.java

2004-01-27 Thread Rémi Guilbert
Hi, I want use concat_pdf.java to merge some pdf files.  How I can modify the code to be able to have each page of different documents to LEGAL size.  I have some files that content are picture larger then LEGAL size.  Do you have a method to fit page inside LEGAL one ? Thank's !! Rémi

Re: [iText-questions] XML To PDF

2004-01-27 Thread Christian Lauer
Hi Jones, if you like to use true type fonts in your PDF, you have to register it inside the document template using the tag, as you can see in the Fonts example on the project page. This is necessary, as the UJAC print module does NOT make use of the iText FontFactory. I've decided n

[iText-questions] Styles of Paragraphs Added to Table Cells

2004-01-27 Thread Ira Klotzko
I am adding a paragraph to a Table Cell. I am formatting the style of the paragraph to have a left indentation. I am unable to get the resulting PDF document to render showing the indentation. I am wondering whether I am doing something incorrect, or it is an unsupported operation. Cell ce

[iText-questions] Table setWidths() "Wrong number of columns"

2004-01-27 Thread Patrick Craston
Hello! I have this code: Table items = new Table(4,5); items.setWidth(100); items.setBorder(Rectangle.NO_BORDER); items.setAlignment("LEFT"); int[] itemsCols = { 40, 20, 20, 20}; subject.setWidths(itemsCols); items.se

[iText-questions] Hidden fields not transmitted in Acrobat 6.x

2004-01-27 Thread Gerd Holzner
Hi, I use iText for dynymically creating PDFs which include a HTML form with some hidden parameters. code snippet: PdfAcroForm acroForm = writer.getAcroForm(); PdfFormField hiddenField1 = acroForm.addHiddenField("name1", "value1"); hiddenField1.setFieldFlags(0);

[iText-questions] Re: adding char into phrase

2004-01-27 Thread Wizard
Ok, I figure it out. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _