RE: [iText-questions] resolving image from within a war file

2005-06-29 Thread Ossie Guy
That did it thanks! We ended up subclasing SAXiTextHandler to parse a new "resource" attribute in the image tag - we mapped this to the tomcat file url of our exploded war using the getResource method you mention below and filled in the url attribute before passing the tag to super. Now the on

[iText-questions] setting fields to read-only

2005-06-29 Thread Scott Lewis
Howdy, Once filled in (programmatically via itext), I would like to selectively set pdf output fields to read-only. How does one do this? Thanksinadvance, Scott --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

[iText-questions] Font size for entire table

2005-06-29 Thread Ekta Ojha
Hello People, I am building a table using PdfPTable and I need my font size(may be 6) to be small for all the cells in the table. Presently I am doing 'new' for every cell in the table. The table might end up having many cells and so I may end up doing many new statements. AS such I have the fear

RE: [iText-questions] flattening checkboxes

2005-06-29 Thread Costa Basil
Sorry, I found it. --- Costa Basil <[EMAIL PROTECTED]> wrote: > Excuse my ignorance regarding the pdf format, but > what > is what you call "appearance"? I searched the pdf > reference document for the word "appearance" and I > couldn't find it. Where should I look? > > Thank you. > > --- P

[iText-questions] Numbered List

2005-06-29 Thread Gustavo de Moura Rocha
Hi, I'm trying to set the first item of a list in a RTF document but the method setFirst(int i) doesn't works. Is the feature implemented for RTF files? Is there any other way to do this? Thanks! Gustavo Rocha --- SF.Net ema

Re: [iText-questions] AFP to PDF

2005-06-29 Thread Paulo Soares
No. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, June 29, 2005 8:31 PM Subject: [iText-questions] AFP to PDF > > Does iText support AFP to PDF conversion? > > > Thank you, > > Jyran Glucky > Advisory Programmer > BlueWare, Inc. > Strategic HealthWare Solution

Re: [iText-questions] Document Security

2005-06-29 Thread Bruno Lowagie
Brian wrote: How do I set my permissions on my pdf so that my users can't modify the documents? I've looked at the: PdfEncryptor.encrypt((reader, out),PdfWriter.AllowPrinting | PdfWriter.AllowDegradedPrinting,fase); But this dosen't work. How are they modifying the document? Did you use an o

Re: [iText-questions] Space for MultiColumnText footer

2005-06-29 Thread Bruno Lowagie
David Bender wrote: I'm using the MultiColumnText object to put content onto my PDF pages and would like to have footers. I'm working through the HeaderFooter example and can get a footer to show up but it overlaps the bottom of the text from the MultiColumnText object. How do I make them no

[iText-questions] Space for MultiColumnText footer

2005-06-29 Thread David Bender
I'm using the MultiColumnText object to put content onto my PDF pages and would like to have footers.  I'm working through the HeaderFooter example and can get a footer to show up but it overlaps the bottom of the text from the MultiColumnText object.  How do I make them not overlap?   Thank

[iText-questions] Document Security

2005-06-29 Thread Brian
How do I set my permissions on my pdf so that my users can't modify the documents? I've looked at the: PdfEncryptor.encrypt((reader, out),PdfWriter.AllowPrinting | PdfWriter.AllowDegradedPrinting,fase); But this dosen't work. Thanks for any thought's. Brian _

Re: [iText-questions] Keep tract the page

2005-06-29 Thread Bruno Lowagie
Victor Nkonga wrote: Hi everyone, I have long report and I want to be able to tell the user the number of pages that are done. I am using the idea of progress servlet that itext has in the tutorial. I also used page events in the program. I don't know how to keep tract the page. Please

[iText-questions] AFP to PDF

2005-06-29 Thread jglucky
Does iText support AFP to PDF conversion? Thank you, Jyran Glucky Advisory Programmer BlueWare, Inc. Strategic HealthWare Solutions 3060 W. 13th Street Cadillac, MI 49601 Phone: (231) 779-0224 ext. 111 Fax: 231-779-1002 mailto:[EMAIL PROTECTED] http://www.blueware.net DID YOU KNOW? BlueWare i

[iText-questions] Keep tract the page

2005-06-29 Thread Victor Nkonga
Hi everyone, I have long report and I want to be able to tell the user the number of pages that are done. I am using the idea of progress servlet that itext has in the tutorial. I also used page events in the program. I don't know how to keep tract the page. Please I am waiting for your

RE: [iText-questions] flattening checkboxes

2005-06-29 Thread Costa Basil
Excuse my ignorance regarding the pdf format, but what is what you call "appearance"? I searched the pdf reference document for the word "appearance" and I couldn't find it. Where should I look? Thank you. --- Paulo Soares <[EMAIL PROTECTED]> wrote: > That's to be expected. Your app that create

Re: [iText-questions] Grayscale Imaging...

2005-06-29 Thread Leonard Rosenthol
At 9:36 AM -0400 6/29/05, Bill Murray wrote: Is it possible with iText to take a full color image and, upon PDF generation, convert the PDF to grayscale? Thanks. No. You'd either need to do that sort of thing with JAI (or the like) before putting it into the PDF - or use a 3rd party

[iText-questions] Re: Help with PdfContentByte

2005-06-29 Thread Jed Hanes
bruno lowagie.com> writes: > > Hello again, > in attachment, you'll find your example with some corrections and the > resulting PDF. > Because I didn't see the cause of the problem immediately, I have moved > part of > the code to a separate method. I think you should do that too (including

RE: [iText-questions] Problem adding images

2005-06-29 Thread Pankaj Bhatnagar
Hi, Is there any way to know whether the image was ignored or fitted correctly ? Alternatively, is there a way to check while adding the image whether it will fit in the page or not, in which case I can add a page break before adding the image. Also, is it necessary to specify the height of the

RE: [iText-questions] very large documents

2005-06-29 Thread Paulo Soares
You'll have to throw more memory at it. The problem is not the number of pages but the number of xrefs. It's in my to-do list to have the xref created in disk. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bódis János > Sent: Wednesday, June

RE: [iText-questions] Problem adding images

2005-06-29 Thread Paulo Soares
If the image doesn't fit it's ignored. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Pankaj Bhatnagar > Sent: Wednesday, June 29, 2005 3:44 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Problem adding images > >

[iText-questions] Problem adding images

2005-06-29 Thread Pankaj Bhatnagar
Hi, I am creating a pdf document using iText 1.3. The file is created by adding com.lowagie.text.Image, com.lowagie.text.pdf.PdfPTable & com.lowagie.text.Paragraph objects using the add(Element element) method in the Document class. The document is created by the code : document = new Document(ne

[iText-questions] very large documents

2005-06-29 Thread Bódis János
Hi. I'm a little bit newbie, and i've got a problem to solve. The problem is, that i need to create very large PDF documents (over 20.000 pages/documents) and iText use very large memory when i run my program (not my object hierarchi big). It can be a very newbie question but, can i someh

Re: [iText-questions] Help with PdfContentByte

2005-06-29 Thread bruno
Hello again, in attachment, you'll find your example with some corrections and the resulting PDF. Because I didn't see the cause of the problem immediately, I have moved part of the code to a separate method. I think you should do that too (including the image), because it will save you time i

[iText-questions] Grayscale Imaging...

2005-06-29 Thread Bill Murray
Is it possible with iText to take a full color image and, upon PDF generation, convert the PDF to grayscale? Thanks. Bill --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, strai

[iText-questions] Multiple Header in PdfPTable

2005-06-29 Thread Andrew Petrov
Hello.How can i made such header in PdfPTable without using Table?Can i join cells in vertical direction like setColspan() in horizontal? _ |    |  | |    || |   

RE: [iText-questions] resolving image from within a war file

2005-06-29 Thread Doug James
I have some images that are used within one of our PDFs. I use the Class.getResource() method to get the URL of the image. If the String passed to getResource() begins with a '/' it starts looking from the root of the app server otherwise it starts looking in the directory of the class. I have a su

RE: [iText-questions] flattening checkboxes

2005-06-29 Thread Paulo Soares
That's to be expected. Your app that created the PDF was lazy and didn't create the checkbox appearances, expecting Acrobat to do the job. You can recreate the appearances but it's not an automatic job and requires knowledge of the PDF format. > -Original Message- > From: [EMAIL PROTECTED]

Re: [iText-questions] Insert data in existing pdf.

2005-06-29 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi.But if i know that your name will be only on one line and 'how are you?' on other,could i do such template?And also, i can write such example as Paragraph p=new Paragraph("Hi,"); p.add("Bruno Lowagie"); p.add("\nHow are you?"); In such way,i supose that it is not im

Re: [iText-questions] Insert / Add Items in a List Box of an Acroform

2005-06-29 Thread bruno
George Bougiakas wrote: There is nothing there for List Boxes - The page is still under construction. It has radio buttons and check boxes but not list boxes. If I look at http://itextdocs.lowagie.com/tutorial/forms/TextFields.pdf I see the PDF equivalent of the HTML TEXTAREA, SELECT (single

Re: [iText-questions] Insert / Add Items in a List Box of an Acroform

2005-06-29 Thread bruno
George Bougiakas wrote: Hello, I need help adding items to a List Box in an AcroForm. I can add text to TextFields but I cant figure out how to add items in List Boxes. Any ideas.? Go to this page http://itextdocs.lowagie.com/tutorial/forms/ and look for the example TextFields.pdf It has di

Re: [iText-questions] Verticall Text

2005-06-29 Thread bruno
Telmo Cardoso wrote: Hi, is it possible to put some verticall text in versions 1.X. How? (because in newer versions some old Java generate pdfs wrong, and I dont want to re-code :( old files) Normal text: template = cb.createTemplate(templateWidth, templateHeight); bf = BaseFont.createFont

[iText-questions] Insert / Add Items in a List Box of an Acroform

2005-06-29 Thread George Bougiakas
Hello, I need help adding items to a List Box in an AcroForm. I can add text to TextFields but I cant figure out how to add items in List Boxes. Any ideas.? Thank you in advance. --- SF.Net email is sponsored by: Discover Easy Linux Migratio

Re: [iText-questions] Insert data in existing pdf.

2005-06-29 Thread bruno
[EMAIL PROTECTED] wrote: The layout is not different.It's the same.i send you a part of code. field[1]="hi"; Paragraph p3 = new Paragraph("hi", font1); p3.setAlignment(Element.ALIGN_RIGHT); Chunk c1 = new Chunk(" "+field[1]+" "); c1.setUnder

Re: [iText-questions] Read text from pdf file

2005-06-29 Thread bruno
Asya Lisak wrote: Is there is a way to strip text from a pdf document. Preferable with the page numbers. The reason I am asking is because I need to hightlight pdf document in the browser. I am creating an xml file according to http://partners.adobe.com/public/developer/en/pdf/HighlightFileForma