[iText-questions] multicolumntext

2005-02-02 Thread Thomas Kübler
hallo, what are the benefit to use the multicolumntext instead of the columntext. the problem that i have is, that if i have two ore more columns on one page and there is not enough text to fill, that i wan't, that the filling of the columns is balanced. can i reach this with multicolumntext?

[iText-questions] wirte html to pdf

2005-02-02 Thread Garuka Serasinghe
i'm new to iText and i want to write some html to the pdf format. how to do this. can any one send some example code. what  i really want is this. there are some html template files and i'm reading them via java application to generate some reports and i want to save the reports in pdf format. i ha

RE: [iText-questions] Coldfusion, Listeners, Headers, Images andItext.

2005-02-02 Thread Gareth Edwards
Couple of things.. import images.. not sure why its not working.. And Modify the header to include content I specify in the format I specify. Not sure the best way to "style" the header. Including images, paragraphs, tables (maybe) and page numbers. (maybe including the total page count). Als

Re: [iText-questions] Coldfusion, Listeners, Headers, Images andItext.

2005-02-02 Thread Paul Hastings
Gareth Edwards wrote: Listeners are not supported? Has anyone here had any experience with itext and Coldfusion? i have. what exactly are you trying to do? btw if you don't need a lot of control of the PDF & you can wait, blackstone's almost out the door. -

[iText-questions] Changing List Symbol

2005-02-02 Thread Jatin Shah
Hi - How can I change the list symbol (to say a bullet) when I am directly converting a HTML file to PDF? Thanks! Jatin -- Graduate Student, Department of Computer Science, Yale University. (203) 432-1274 (O) (203) 809-0065 (M) --- This SF.

Re: [iText-questions] Question

2005-02-02 Thread Paulo Soares
writer.newPage() does nothing, use document.newPage(). About the table positioning that's a problem with your app but there's not enough info in your code snippet to make any suggestion. - Original Message - From: "Todd Harris" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 02, 2005 1

RE: [iText-questions] Coldfusion, Listeners, Headers, Images and Itext.

2005-02-02 Thread Gareth Edwards
Still don't understand how it could be done. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 February 2005 9:00 AM To: Gareth Edwards Cc: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Coldfusion, Listeners, Headers, Images and Itext

[iText-questions] Question

2005-02-02 Thread Todd Harris
This may be in the archives some where and I just didn't see it, but here is goes. int tempCoords = this.vertCoords; if (this.writer != null) { if (this.smartTable.getTotalHeight() > vertCoords) { this.smartTable.deleteLastRow(); i--; this.

Re: [iText-questions] Coldfusion, Listeners, Headers, Images and Itext.

2005-02-02 Thread Paulo Soares
The idea is to have a java classas a wrapper for the page event so that CF could use it. - Original Message - From: "Gareth Edwards" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Sent: Wednesday, February 02, 2005 10:46 PM Subject: RE: [iText-questions] Coldfusion, Listeners,

Re: [iText-questions] copyright credits

2005-02-02 Thread Paulo Soares
See http://www.lowagie.com/iText/faq.html#license_string. Put the info somewhere in your documentation, online or not. A good place is the trademarks page, it doesn't need to be in any prominent place as long as it can be found if someone looks for it. - Original Message - From: "Greg Bra

Re: [iText-questions] Coldfusion, Listeners, Headers, Images and Itext.

2005-02-02 Thread Paulo Soares
- Original Message - From: "Gareth Edwards" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 02, 2005 10:07 PM Subject: [iText-questions] Coldfusion, Listeners, Headers, Images and Itext. I am trying to intergrate Coldfusion and the itext engine for future reports at the company I wor

[iText-questions] copyright credits

2005-02-02 Thread Greg Brand
I work for a large company and would like to use this library to generate PDFs for customers via the company's web site.  This library looks ideal, but I hesitate to use it because of the legal aspects.  It is stated that "You also have to distribute the source code of iText to your clients. An eve

[iText-questions] Coldfusion, Listeners, Headers, Images and Itext.

2005-02-02 Thread Gareth Edwards
I am trying to intergrate Coldfusion and the itext engine for future reports at the company I work for, its not a definite solution yet, but it would be good if I could get everything I need to work. Just a couple of questions. I'm guessing due to the nature of me calling the library via Coldfusi

Re: [iText-questions] Copying AcroForm?

2005-02-02 Thread Paulo Soares
PdfCopy doesn't behave very well with form fields. Have a look at PdfCopyFieldsImp. - Original Message - From: "Richard Freedman" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 02, 2005 9:50 PM Subject: [iText-questions] Copying AcroForm? Hello, I've modified the CopyPdf example in

[iText-questions] Copying AcroForm?

2005-02-02 Thread Richard Freedman
Hello, I've modified the CopyPdf example in an attempt to copy the content of one PDF file, and the AcroForm from another, to create a third PDF. When it attempts to copy the AcroForm, it throws an exception: java.lang.NullPointerException at com.lowagie.text.pdf.PdfWriter.getReaderFile(P

Re: [iText-questions] Embedding Fonts

2005-02-02 Thread Leonard Rosenthol
At 04:28 PM 2/2/2005, Paulo Soares wrote: That's overkill for dynamic reports and such. Not necessary... Consider the case of a financial report for somewhere in the EU that uses the Euro symbol Depending on the version of Acrobat and/or OS platform - there is a good chance that

Re: [iText-questions] Embedding Fonts

2005-02-02 Thread Paulo Soares
- Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Andre Fourie" <[EMAIL PROTECTED]>; Sent: Wednesday, February 02, 2005 8:50 PM Subject: Re: [iText-questions] Embedding Fonts > >Currently in the PDFS we are generating from ITEXT we do > >not embed the font. Should

Re: [iText-questions] Unreadable Template

2005-02-02 Thread Paulo Soares
You have to compensate for the page mediabox that is uncommon in this case. This will work for any template: PdfTemplate t = writer.getImportedPage(r, 1); Rectangle rect = r.getPageSize(1); cb.addTemplate(t, -rect.left(), -rect.bottom()); - Original Message - From: "Michael Helfer" <[EMA

Re: [iText-questions] Embedding Fonts

2005-02-02 Thread Leonard Rosenthol
At 03:27 PM 2/2/2005, Andre Fourie wrote: "In the years since this release of the Library and DLI came out, Adobe has ceased distributing the standard (or "base") 14 fonts with Acrobat and Reader, instead providing only MultiMaster serif and sans-serif fonts, and Pi symbol or ZapfDingbat fonts (I d

[iText-questions] Embedding Fonts

2005-02-02 Thread Andre Fourie
Hi, I was recently forwarded the following piece of information. "In the years since this release of the Library and DLI came out, Adobe has ceased distributing the standard (or "base") 14 fonts with Acrobat and Reader, instead providing only MultiMaster serif and sans-serif fonts, and Pi symbol

[iText-questions] RtfWriter2 Bugfixes and Updates

2005-02-02 Thread Mark Hall
Hi, The following bugfixes and updates have been committed to the CVS repository today: Bugfixes: * Fix for incorrect table widths. * Fix for RtfPageNumber and other field not showing in tables. * Super/Subscript should now always work. Updates: * Support for writing the temporary data that

RE: [iText-questions] page reference

2005-02-02 Thread Paulo Soares
That's what happens with PdfWriter.getImportedPage(). The result can be used any number of times in the doc. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Kübler > Sent: Wednesday, February 02, 2005 4:25 PM > To: iText-questions@lists.s

RE: [iText-questions] Re: BaseFont.setKerning won't do it...

2005-02-02 Thread Paulo Soares
Not in the near future. It requires a lot of changes in the way the text is output. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jani Bäckman > Sent: Wednesday, February 02, 2005 2:48 PM > To: iText-questions@lists.sourceforge.net > Subject:

RE: [iText-questions] position of a chart

2005-02-02 Thread Paulo Soares
Image.getInstance(PdfTemplate) and treat it as any other image. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Trosien, Michael > Sent: Wednesday, February 02, 2005 2:48 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions

Re: [iText-questions] subscript need help

2005-02-02 Thread Mark Hall
Hello, I've fixed the bug with the super/subscript settings. The CVS already contains the changes, so please try them out. Greetings, Mark -- As a general rule of thumb, never trust anybody who's been in therapy for more than 15 percent of their life span. The words "I am sorry" and "I am wro

[iText-questions] page reference

2005-02-02 Thread Thomas Kübler
hallo, i need to render one page with a static content more than once in a pdf file. how can i perform these without render the static object every time when i need this, is there a way to render the static page content once and reused a reference to this page? with regards thomas kübler --

[iText-questions] Re: itext insight required

2005-02-02 Thread Bruno Lowagie
Sagar Kar wrote: Hi Bruno, I was trying to indent a line thats within an paragraph. How do I do that? Its like I want to emulate tha tab functionality. Tabs are not supported in iText. I am using the xhtml to pdf converter. i.e the SAXmyHtmlHandler Wouldn't the solution be to stop the paragraph

Re: [iText-questions] absolute text positioning and changing background color

2005-02-02 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: hi, I am busy with a proof of concept where I am trying to build a generic barcode labeler for windows. I am able to have blocks with white text with black background but not able to specify x&y offsets for this. If I make use of pdfcontentbyte and absolute positioning I

Re: [iText-questions] Re:Re: position of a chart

2005-02-02 Thread bruno
Trosien, Michael wrote: …is this documented anywhere??? If you wrap the PdfTemplate in a com.lowagie.text.Image, you have a lot more possibilities to add the chart (for instance inside the Cell of a PdfPTable). These are some pointers that can be useful: http://itext.sourceforge.net/tutorial/obj

[iText-questions] Re:Re: position of a chart

2005-02-02 Thread Trosien, Michael
Title: Re:Re: position of a chart …is this documented anywhere??? Michael > Because of "cb.addTemplate(tp,0,0);" the chart is positioned at 0,0. > > But I want to position the chart for example under the last paragraph > or table I added before. How could I do it??? > If you wrap the

[iText-questions] absolute text positioning and changing background color

2005-02-02 Thread richardtnl
hi, I am busy with a proof of concept where I am trying to build a generic barcode labeler for windows. I am able to have blocks with white text with black background but not able to specify x&y offsets for this. If I make use of pdfcontentbyte and absolute positioning I can't set the back groun

Re: [iText-questions] Re: BaseFont.setKerning won't do it...

2005-02-02 Thread Jani Bäckman
Is there a possibility that in a near future kerning is supported not only in the low level you think? -- Jani Bäckman Polopoly - Cultivating the information garden Kungsgatan 88, SE-112 27 Stockholm, SWEDEN Ph: +46 8 506 782 80 Mob: +46 704 47 82 80 Fax: +46 8 506 782 51 [EMAIL PROTECTED]

Re: [iText-questions] position of a chart

2005-02-02 Thread bruno
Trosien, Michael wrote: Because of "cb.addTemplate(tp,0,0);" the chart is positioned at 0,0. But I want to position the chart for example under the last paragraph or table I added before. How could I do it??? If you wrap the PdfTemplate in a com.lowagie.text.Image, you have a lot more possibiliti

[iText-questions] position of a chart

2005-02-02 Thread Trosien, Michael
Title: position of a chart Hello, I want to use itext for generate pdf files containing charts generated with JFreeReport. That´s no problem. I used an example from the JFreeReport documentation and extended it with paragraphs etc. The result is a pdf with tables and paragraphs and a chart

Re: [iText-questions] Restrictions on PDF file

2005-02-02 Thread Leonard Rosenthol
At 05:29 AM 2/2/2005, Kalluru Uma. Maheswar wrote: Can we prevent the PDF file from being converted to any other formats? E.g. PDF to DOC, etc... Apply security to the PDF. Leonard --- Leonard Rosenthol

RE: [iText-questions] Restrictions on PDF file

2005-02-02 Thread Paulo Soares
That's not possible. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kalluru Uma. Maheswar > Sent: Wednesday, February 02, 2005 10:30 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Restrictions on PDF file > > Can w

Re: [iText-questions] create PDF with japanese characters

2005-02-02 Thread bruno
Zbynek Vrastil wrote: If someone could give me some clues what to do to enable japanese characters in the PDF, I would be very thankful - I don't now where to start. There are some japanese examples here: http://www.lowagie.com/iText/tutorial/ch09.html#ttc br, Bruno -

[iText-questions] Restrictions on PDF file

2005-02-02 Thread Kalluru Uma. Maheswar
Can we prevent the PDF file from being converted to any other formats? E.g. PDF to DOC, etc... Uma --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time

[iText-questions] create PDF with japanese characters

2005-02-02 Thread Zbynek Vrastil
Hi all, I'm using iText for some time to generate PDF reports from Java application. Recently, japanese edition of the application was prepared. I have realized that if the report contains some japan text (UTF-8 encoding), there is nothing displayed in the PDF. I suppose problem is in font. I use

RE: [iText-questions] Read & parse special encodings

2005-02-02 Thread Paulo Soares
You can't extract text with iText. > -Original Message- > From: Amir Kamel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 10:09 AM > To: Paulo Soares > Subject: Re: [iText-questions] Read & parse special encodings > > To simplify the 1st step, from a PDF document, I want

RE: [iText-questions] Read & parse special encodings

2005-02-02 Thread Paulo Soares
(Keep on the mailing list) What's your objective? "Read and parse" are too broad descriptions. > -Original Message- > From: Amir Kamel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 9:56 AM > To: Paulo Soares > Subject: Re: [iText-questions] Read & parse special encoding

RE: [iText-questions] Read & parse special encodings

2005-02-02 Thread Paulo Soares
BaseFont.getDocumentFonts(reader) only looks at single byte type1 and truetype fonts because those are the fonts that it can reuse. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Amir Kamel > Sent: Wednesday, February 02, 2005 9:33 AM > To: itex

[iText-questions] Read & parse special encodings

2005-02-02 Thread Amir Kamel
On Wed, 02 Feb 2005 10:29:00 +0100 "Amir Kamel" <[EMAIL PROTECTED]> wrote: Hello, I am very new to Itext - Adobe and all this stuff, so maybe I will ask a stupid question here : I cannot read/parse properly some of my PDF documents with Itext : From what I see, these documents have special fon

RE: [iText-questions] Re: Dashed border table

2005-02-02 Thread Paulo Soares
> ferari porsheh wrote: > > > > <>Another question is regarding RTL language text in the > header and > > footer. When RTL script is written in the table everything is fine, > > however when we have no table and have to put the text in Phrase or > > paragraph outside the table RTL doesn't

[iText-questions] (no subject)

2005-02-02 Thread Amir Kamel
Hello, I am very new to Itext - Adobe and all this stuff, so maybe I will ask a stupid question here : I cannot read/parse properly some of my PDF documents with Itext : From what I see, these documents have special fonts/encodings, and my itext reader does not recognize them. When I try to ge

RE: [iText-questions] Why are the results of" Image.getInstance(URL uRL)" and "Image.getInstance(Image image, Color color)" different ?

2005-02-02 Thread Paulo Soares
Post the two resulting PDFs somewhere for inspection. Looking at the code without the images doesn't help. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Rochana Attale > Sent: Wednesday, February 02, 2005 5:13 AM > To: itext-questions@lists.so

[iText-questions] Re: Dashed border table

2005-02-02 Thread devnull
Wrong mail-address: use itext-questions, instead of itext-questions-admin. ferari porsheh wrote: Hi all I am trying to use table border the same way we use in HTML format, and I need to define border style such as dashed border for the table, however dashed and other pens may be used only for RTF