Re: [iText-questions] Jsp is blank

2003-03-26 Thread Bruno
Quoting Mark Lee [EMAIL PROTECTED]: Hi, I'm trying to dynamically generate a pdf from a jsp but get a blank page instead. I'm using an IE browser, jboss with jetty. I can write this to file but i can't seem to stream it out to the browser. I don't get any errors, only a blank modal

RE: [iText-questions] The page 2 was requested but the document h as only 1 pages.

2003-03-26 Thread Bruno
Quoting Paulo Soares [EMAIL PROTECTED]: The current CVS is exactly the same what I have after the modifications, I just did a diff. I don't see any reason for that other that you didn't compile the right files. I have the same problem if I use your source.zip. It's definitely a compiler

Re: [iText-questions] HTML to PDF with SAXmyHtmlHandler problem

2003-03-26 Thread Bruno
Quoting Philippe Van Der Gucht [EMAIL PROTECTED]: Thanks for not answering. ;-) There must be something wrong with the mailing-list or with my mail-account from time to time. I wasn't sure about the philippe.vandergucht-mail, but I am sure about this one: I am sure I didn't get the Sandy

[iText-questions] Indentation

2003-03-26 Thread Damjan Ekert
Hello,Trying to post the question again: How do i move the Paragraph for a certain distance from the left margin? I suppose IndentationLeft should make the trick, but its not working. The code below, regardless what number I put for the IndentationLeft is now moving the paragraph from the

Re: [iText-questions] Nested HTML TABLE

2003-03-26 Thread Bruno
Quoting Venkat Sreenath [EMAIL PROTECTED]: Hi I have a html which has nested html tables I am using html example Chap0706.java to generate pdf out of it it is throwing array index out of bound exception I see Chap0514 Chap0515 and Chap0516 give errors in the current CVS version. I will try

Re: [iText-questions] access to writer.os.

2003-03-26 Thread Finn Bock
[Bruno] I have the same problem if I use your source.zip. It's definitely a compiler problem. I tried compiling with JDK1.3.1 and JDK1.4. The problem persists. I find that is a bit strange. I only get the problem when I compile with jdk1.3. I will look into Matt Bensons suggestions and try to fix

RE: [iText-questions] The page 2 was requested but the document h as only 1 pages.

2003-03-26 Thread Paulo Soares
As Matt has hinted this may be insufficient support for inner classes. I compiled my code with sun 1.3.1 and 1.4 in windows NT and XP without problems and according to language specs the code is legal. Furthermore, as the inner class is not static, it has access to all the variables as the

Re: [iText-questions] access to writer.os.

2003-03-26 Thread Bruno
Quoting Finn Bock [EMAIL PROTECTED]: The attached patch to PdfWriter allows at least Chap0101 to work for me when compiled and run jdk1.3. Thanks for the patch, but I already uploaded Matt Bensons patch to CVS. I see I had a message to the mailinglist open about this but it was hidden under

[iText-questions] PdfWriter proposal

2003-03-26 Thread Paulo Soares
I attach a PdfWriter with all the inner classes made static and the os access made with getOs() as per Matt/Finn patch. Best regards, Paulo Soares PdfWriter.zip PdfWriter.zip Description: Binary data

[iText-questions] error introduced in version 107

2003-03-26 Thread Bruno
Quoting Venkat Sreenath [EMAIL PROTECTED]: Hi I have a html which has nested html tables I am using html example Chap0706.java to generate pdf out of it it is throwing array index out of bound exception Can u please let me know is it possible to generate pdf with nested html tables An

[iText-questions] Image transparency

2003-03-26 Thread Robert Koval
I have 2 CMYK images. I want to place them into PDF document. first on on the top os second one. Fisr image has white background. Is there a way how to make this backgroubd transparent ? thanx Robert --- This SF.net email is sponsored by:

[iText-questions] bug fix WMF as watermark ?

2003-03-26 Thread Gerald Fehringer
Hello iText users! I tried to use a WMF as watermark which gave problems. Below you will a find modified version of the PdfContentByte.addImage() method which now allows to have a WMF as watermark (but I'm not satisfied with that bug fix since it would always create a new instance of an

[iText-questions] bug fix initPage() of PdfDocument ?

2003-03-26 Thread Gerald Fehringer
Hello iText users! While generating a report with multiple pages I came across the following problem: The first page of a document initially has a leading of 0, but thefollowing pages will reuse the leading currently set for the previous page. I think that is wrong, it again should start a

[iText-questions] enhancement for PdfDocument.addWatermark() ?

2003-03-26 Thread Gerald Fehringer
Hello iText users! I have modified the PdfDocument.addWatermark() a little bit. Normally one would need to set the watermark before opening the document to have it shown on the first page also. Since in my application I'm not able to provide the watermark before the document is opened I

Re: [iText-questions] enhancement for PdfDocument.addWatermark() ?

2003-03-26 Thread Bruno
Quoting Gerald Fehringer [EMAIL PROTECTED]: Here is the code, hope it can find its way into the next release: You were just minutes too late for iText0.98 Bruno --- This SF.net email is sponsored by: The Definitive IT and Networking Event.

RE: [iText-questions] enhancement for PdfDocument.addWatermark() ?

2003-03-26 Thread Paulo Soares
What about the direct content? Best Regards, Paulo Soares -Original Message- From: Gerald Fehringer [SMTP:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 13:51 To: [EMAIL PROTECTED] Subject: [iText-questions] enhancement for PdfDocument.addWatermark() ? Hello iText

RE: [iText-questions] Image transparency

2003-03-26 Thread Paulo Soares
It depends on where the images come from. Best Regards, Paulo Soares -Original Message- From: Robert Koval [SMTP:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:58 To: '[EMAIL PROTECTED]' Subject: [iText-questions] Image transparency I have 2 CMYK images. I want to

RE: [iText-questions] bug fix WMF as watermark ?

2003-03-26 Thread Paulo Soares
I'm not sure that there is a bug and it certainly is not here. WMF just can't be used with the simple watermark interface, WMF requires an open document. It can be done as easily with a page event and don't tell me that's difficult to use. As an extension to your other post you don't have to use

RE: [iText-questions] rotation

2003-03-26 Thread Paulo Soares
See the code in PdfContentByte.addImage(). Best Regards, Paulo Soares -Original Message- From: Matt Benson [SMTP:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 20:26 To: Paulo Soares; itext-questions Subject: Re: [iText-questions] rotation Is there a way to convert a

RE: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Paulo Soares
setMetadata would need something like PdfStamper to write new content. Best Regards, Paulo Soares -Original Message- From: Matt Benson [SMTP:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 15:43 To: Paulo Soares; '[EMAIL PROTECTED]' Subject: Re: [iText-questions] New release

[iText-questions] Question: setMargins

2003-03-26 Thread Stefan Klandt
Hi, in a document, i want to change the margins several times. But Document.setMargins(left,right,top,bottom) does not work after the document is opened!? Example1 (does not work): Document m_document = new Document (PageSize.A4); m_writer = PdfWriter.getInstance(m_document, new

[iText-questions] Do not want to generate the physical fle

2003-03-26 Thread gopaluni subramanyam
hi, I have written a component for generating PDF reports using ITEXT. It is working excellently. Thanks for an excellent API I am calling that PDF component from an EJB. Now a physical pdf report(file) had been generated in a particular directory. Now from my jsp i am redirecting the path to

[iText-questions] Portuguese IRS uses iText

2003-03-26 Thread Paulo Soares
Just out of curiosity I got today my electronic tax declaration in PDF and, surprise, was made with itext-paulo-112. Best Regards, Paulo Soares --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There!

[iText-questions] Unwanted space between tables

2003-03-26 Thread Jonathan_Bluks
Hi, I've been working with using XML to generate PDF. I've encountered a formatting issue, but I'm not sure if it is specific to the XML implementation or if it occurs using the Java API as well. Basically, I'm creating a PDF document with two pages, both essentially identical. The top part of

[iText-questions] Problem in RTF when changing Footer content on new page.

2003-03-26 Thread Java User
Greetings Everybody,I am trying to add a footer with new content to every new page, I add to the document. This works very well for PDF documents, but in case of RTF documents, the footer content I used for the last page overwrites the footer content for all the pages. Has anybody

RE: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Matt Benson
I know--is the implication that this method's existence might be misleading to the new user and generate a lot of e-mails to the list? ;) -Matt --- Paulo Soares [EMAIL PROTECTED] wrote: setMetadata would need something like PdfStamper to write new content. Best Regards, Paulo Soares

[iText-questions] Problem in RTF when changing Footer content on new page.

2003-03-26 Thread Java User
Greetings Everybody, Please ignore my previous email.That was an accidental Send :-( I am trying to add a footer with new content to every new page, I add to the document. This works very well for PDF documents, but in case of RTF documents, the footer content I used for the last page overwrites

Re: [iText-questions] Portuguese IRS uses iText

2003-03-26 Thread Bruno Lowagie
Paulo Soares wrote: Just out of curiosity I got today my electronic tax declaration in PDF and, surprise, was made with itext-paulo-112. Will you ask for a tax reduction? ;-) --- This SF.net email is sponsored by: The Definitive IT and

RE: [iText-questions] rotation

2003-03-26 Thread Matt Benson
This looks handy and useful! Thanks! -Matt --- Paulo Soares [EMAIL PROTECTED] wrote: See the code in PdfContentByte.addImage(). Best Regards, Paulo Soares -Original Message- From: Matt Benson [SMTP:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 20:26 To:

Re: [iText-questions] Portuguese IRS uses iText

2003-03-26 Thread Matt Benson
:) --- Paulo Soares [EMAIL PROTECTED] wrote: Just out of curiosity I got today my electronic tax declaration in PDF and, surprise, was made with itext-paulo-112. Best Regards, Paulo Soares --- This SF.net email is sponsored by: The

RE: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Paulo Soares
Well, I suppose that the method in PdfStamper would make sense. Best Regards, Paulo Soares -Original Message- From: Matt Benson [SMTP:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 17:22 To: Paulo Soares; '[EMAIL PROTECTED]' Subject: RE: [iText-questions] New release

RE: [iText-questions] Portuguese IRS uses iText

2003-03-26 Thread Paulo Soares
It's better to keep quiet or they can have the idea that I make any money with iText. Best Regards, Paulo Soares -Original Message- From: Bruno Lowagie [SMTP:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 17:10 To: Paulo Soares Cc: [EMAIL PROTECTED] Subject: Re:

Re: [iText-questions] Problem in RTF when changing Footer contenton new page.

2003-03-26 Thread Mark Hall
Java User wrote: Has anybody encountered this problem before ? Is this a bug or if I need to change the implementation ? This is caused by the way rtf works. All pages in one section have the same headers and footers. There are two ways to get around this. 1) For every page add a new Section

RE: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Matt Benson
I could live with that. I just figure I probably won't be the last person to want to do this. Would you want to provide any support for structuring the XMP? There are a lot of things that seem to be fairly constant with XMP. I have attached the constants I used. I ignored the bytes attribute

RE: [iText-questions] How to reduce timing

2003-03-26 Thread Jaladurgam, Ramana
I have tested the new release of itext-0.98. But it is not fast from the earlier release. Ramana. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:00 AM To: 'Jaladurgam, Ramana'; '[EMAIL PROTECTED]' Subject: RE: [iText-questions] How to

Re: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Paulo Soares
I know nothing about XMP and I don't even know what's that for. If someone shows up with a ready made solution I'll integrate it into iText otherwise I won't do any development on it. Sorry. Best Regards, Paulo Soares - Original Message - From: Matt Benson [EMAIL PROTECTED] To: Paulo

Re: [iText-questions] How to reduce timing

2003-03-26 Thread Paulo Soares
I doubt that with the current structure it can be made any faster. On the other hand, without this structure you lose all the niceties. If speed is your concern maybe you should use a C based library like pdflib. Best Regards, Paulo Soares - Original Message - From: Jaladurgam, Ramana

Re: [iText-questions] New release itext-paulo-113

2003-03-26 Thread Matt Benson
Well, that's just it. Seems that if the metadata in the catalog is always to be XMP XML, then the solution is pretty much ready-made based on what I have done. The XMP is, as far as I can tell, RDF XML embedded in ?xpacket tags. These are the only part that are peculiar to XMP (this may be an

[iText-questions] Do not want to generate the physical fle

2003-03-26 Thread gopaluni subramanyam
hi, I have written a component for generating PDF reports using ITEXT. It is working excellently. Thanks for an excellent API I am calling that PDF component from an EJB. Now a physical pdf report(file) had been generated in a particular directory. Now from my jsp i am redirecting the path to

Re: [iText-questions] Do not want to generate the physical fle

2003-03-26 Thread Bruno
Quoting gopaluni subramanyam [EMAIL PROTECTED]: i do not want to generate the physical file. is there any change to be made here. writer1 = PdfWriter.getInstance(document, new FileOutputStream(fileName+.pdf)); You can use any OutputStream; it doesn't necessarily have to be a