Re: [iText-questions] plotting graphs

2005-01-11 Thread Paulo Soares
Use PdfContentByte.createGraphics() instead. Have a look at http://prdownloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf - Original Message - From: "Todd Harris" <[EMAIL PROTECTED]> To: "Itext List" Sent: Tuesday, January 11, 2005 8:40 PM Subject: Re: [iText-questions] plotting gr

Re: [iText-questions] Projects using itext

2005-01-11 Thread Paulo Soares
- Original Message - From: "amine ab." <[EMAIL PROTECTED]> To: Sent: Tuesday, January 11, 2005 4:56 PM Subject: [iText-questions] Projects using itext Hi, I work in Billing departement (GSM operator). I want to use iText to generate bills. Is this allowed? is there any license issue?

Re: [iText-questions] pdf 1.5 concatenation

2005-01-11 Thread Paulo Soares
Since 2004-08-04. - Original Message - From: "owz" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 11, 2005 8:48 AM Subject: [iText-questions] pdf 1.5 concatenation > Hello, > > Since which version of iText, PDF 1.5 is supported . > > thanks > > > >

[iText-questions] pdf 1.5 concatenation

2005-01-11 Thread owz
Hello, Since which version of iText, PDF 1.5 is supported . thanks --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp:

Re: [iText-questions] plotting graphs

2005-01-11 Thread Todd Harris
Okay so I looked at the code more(some of this isn't mine). What we are doing is using a buffered image bi, creating a Graphics2D g = bi.createGraphics(); drawChart(g) //which is using drawPolyline return com.lowagie.text.Image.getInstance(bi, null); and then using doc.add(Image); on the image th

Re: [iText-questions] Fast Web View changes in 1.2?

2005-01-11 Thread Paulo Soares
I have that in my to-do list but really down. I don't know if I'll ever make it. - Original Message - From: "Michael Helfer" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 11, 2005 8:07 PM Subject: [iText-questions] Fast Web View changes in 1.2? > I noticed that as of May 2004 that iTe

[iText-questions] Re: Just some more info on my previous question!!

2005-01-11 Thread Paulo Soares
The output file must be different from the input file. You can read the input file to memory and go from there. - Original Message - From: "Kalkunda, Venkat" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 11, 2005 10:01 PM Subject: J

[iText-questions] Just some more info on my previous question!!

2005-01-11 Thread Kalkunda, Venkat
Hi, I have the following code but am erroring out with an ArrayIndexOutOfBounds exception. what am I doing wrong. @param: pdfPath: path to a file pageNumbers: Vector of page numbers. public static void removePages (String pdfPath, Vector pageNumbers) throws Exception{

RE: [iText-questions] quesion on XfdfReader

2005-01-11 Thread Kalkunda, Venkat
Hi, I have the following code but am erroring out with an ArrayIndexOutOfBounds exception. what am I doing wrong. @param: pdfPath: path to a file pageNumbers: Vector of page numbers. public static void removePages (String pdfPath, Vector pageNumbers) throws Exception{

[iText-questions] Fast Web View changes in 1.2?

2005-01-11 Thread Michael Helfer
I noticed that as of May 2004 that iText didn't support linearization or "fast web view". I was wondering if there have been any changes to that since May, or if not, are there any plans to support it in the future? Thanks Michael Helfer --- Th

[iText-questions] Projects using itext

2005-01-11 Thread amine ab.
Hi, I work in Billing departement (GSM operator). I want to use iText to generate bills. Is this allowed? is there any license issue? where can I find projects that have used iText? and why the ones that have used it don't give the name of them projects in this mailing list in order to say thank y

[iText-questions] Fast Web View changes in 1.2?

2005-01-11 Thread Michael Helfer
I noticed that as of May 2004 that iText didn't support linearization or "fast web view". I was wondering if there have been any changes to that since May, or if not, if there are any plans to support it in the future? Thanks --- The SF.Net ema

[iText-questions] Printing long text in PDF

2005-01-11 Thread Kuldeep
Hi Guys, I have a very long text around 900,000 words. I want to print this using itext. I got it printing but it contnue to print on header and footer also. How can I break a page when it reaches the full page width? Or how can I break into chunck which will fit into one page? Thanks for your

Re: [iText-questions] PDF Generated is Blank

2005-01-11 Thread Brian Burridge
I'm using Tomcat for the JSPs. I would really rather use JSPs, because I'm supposed to be integrating iText into an existing website without changing the architecture, and they use JSPs for everything. They have tag libraries that do all the data iteration and I was hoping to reuse those as well.

RE: [iText-questions] multipage row problem

2005-01-11 Thread Dongili Mattia
Title: RE: [iText-questions] multipage row problem > -Original Message- > From: Paulo Soares [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 11, 2005 11:50 AM > To: Dongili Mattia; itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] multipage row problem > > Po

Re: [iText-questions] Missing fonts?

2005-01-11 Thread David Bogus
Thanks for the lead! The problem was that the default encoding of Java 1.4.0_02 on our Debian installation IS NOT cp1252. Therefore we told it '-Dfile.encoding=cp1252', and it worked. On Sat, 8 Jan 2005 11:34:36 -, Paulo Soares <[EMAIL PROTECTED]> wrote: > It looks like the debian java has a

Re: [iText-questions] Blank page in Internet Explorer 6, help me please !!!!!

2005-01-11 Thread Brian Burridge
Yes! It does have a lot of question marks. Brian On Tue, 2005-01-11 at 03:19, Bruno wrote: > Quoting Brian Burridge <[EMAIL PROTECTED]>: > > > I saw that, but I don't think its the same problem. First, I'm not using > > IE, but Mozilla, and second, I don't get a blank web page, I got a blank > >

RE: [iText-questions] multipage row problem

2005-01-11 Thread Paulo Soares
Post a complete example that can be run. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dongili Mattia > Sent: Tuesday, January 11, 2005 9:10 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] multipage row problem > >

RE: [iText-questions] Re: why is PdfGraphics2D using cb.showText(s) instead of cb.showTextKerned(s) ?

2005-01-11 Thread Paulo Soares
That's wrong policy and it may not work with today's release. Either you work in the awt universe or in the pdf one. I'll release a version today that only looks at the awt spacings. It will increase/decrease the space between pdf letters so that the pdf spacing matchs the awt spacing. The result i

Re: [iText-questions] Bugfixes for the RtfWriter2

2005-01-11 Thread Bruno Lowagie
Mark Hall wrote: Hi Two Bugfixes to the RtfWriter2 have been committed lately: * Fix a bug in the way fonts are propagated form RtfPhrase to RtfChunk * Fix a bug in the way fonts were handled that derive from a BaseFont. The BaseFont is now no longer ignored. If all went well, these bugfixes shou

RE: [iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread Katrin Tesmann
Hello again, I'm sorry, but it still doesn't work. The header-table is at the correct position but the transform()-method does nothing, my JTable looks like I don't use transform. I changed my code: PdfContentByte cb = writer.getDirectContent(); AffineTransform at = new

RE: [iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread Paulo Soares
> > PdfContentByte cb = writer.getDirectContent(); > > > > AffineTransform at = new AffineTransform(); > > at.translate(184.0, -141.5); cb.saveState(); > > cb.transform(at); > > > > Graphics2D g2 = cb.createGraphics(475, 650); > > g2.clipRect(0, 0, 475, 2

RE: [iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread Paulo Soares
You must do the save before the transform. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 11, 2005 11:44 AM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] self-created header with > PdfPageEve

RE: [iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread kgnurps
Hi, I do use the save / restore state in the body, as you can see: PdfContentByte cb = writer.getDirectContent(); AffineTransform at = new AffineTransform(); at.translate(184.0, -141.5); cb.transform(at); Graphics2D g2 = cb.createGraphics(475, 650

Re: AW: [iText-questions] problems with the title

2005-01-11 Thread Bruno
Quoting "Trosien, Michael" <[EMAIL PROTECTED]>: > Yes, that's right. I only need the the chapters and section to generate > the bookmarks. So, I hope I will be succesfull with generating the > bookmarks myself. Because using XML to "describe" the pdf, I hope I can > use your examples. Using XML t

[iText-questions] New release itext-paulo-149

2005-01-11 Thread Paulo Soares
Changes in itext-paulo-149 (2005-01-11) - fixed a bug that broke PDF 1.5 compression. The bug was introduced in itext-paulo-144. - fixed PdfCopy to not throw an exception with acroform that is not indirect. - fixed PdfGraphics2D to match the pdf text width with the awt text width.

RE: [iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread Paulo Soares
Enclose all the graphics in the body in a save/restore state otherwise the transformations will propagate to onEndPage. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, January 11, 2005 7:58 AM > To: itext-ques

RE: [iText-questions] Question's TextField 's Font

2005-01-11 Thread Paulo Soares
As far as I know there's no Tahoma italic font and form fields only work with real fonts, not simulated ones. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of wang yun > Sent: Tuesday, January 11, 2005 1:01 AM > To: itext-questions@lists.sourcefo

Re: [iText-questions] itext and xfa/xdp forms

2005-01-11 Thread joust
Hi all, Thank you again for your support! Yesterday I managed to extract and modify the XFA part using the PdfStamper and the help of the pdf reference 1.6. As a simple test, I replaced some fonts names in the XFA template part and loaded the modified file in Acrobat and Reader 7. Both took no no

RE: [iText-questions] signing 10 MB sized pdf document

2005-01-11 Thread Paulo Soares
100M looks too much but reading a pdf requires memory. One day PdfReader will work incrementally but until then... > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wahaj > Sent: Tuesday, January 11, 2005 6:16 AM > To: itext-questions@lists.source

Fwd: Re: [iText-questions] problems with the title

2005-01-11 Thread Bruno
Quoting "Trosien, Michael" <[EMAIL PROTECTED]>: > Hello together, > I have a problem using the title element with itext. I use the title to > generate the bookmaks, where I can navigate in the pdf. Using the title > element the way I do, runs without problems. But I don't want to see the > title i

[iText-questions] problems with the title

2005-01-11 Thread Trosien, Michael
Title: problems with the title Hello together, I have a problem using the title element with itext. I use the title to generate the bookmaks, where I can navigate in the pdf. Using the title element the way I do, runs without problems. But I don’t want to see the title in the pdf as a headl

[iText-questions] Re: why is PdfGraphics2D using cb.showText(s) instead of cb.showTextKerned(s) ?

2005-01-11 Thread bodo teichmann
well, i calculate the positions of words using iText metrics, then i use the result to draw the strings on awt. that way the error-offset in awt is small enough (exept when using kerning , as i said, i also need to calc the offset correction of each glyph using the kerning table from itext) bod

[iText-questions] signing 10 MB sized pdf document

2005-01-11 Thread Wahaj
Hi All, I am trying to digitally sign a 10 MB pdf document and getting out of memory exceptions using iText samples [it took more than 100 MB for the sample]. I know how to increase the heap size to remove this problem but I was thinking whether some effective memory management can be made in iTex

[iText-questions] multipage row problem

2005-01-11 Thread Dongili Mattia
Hello, I have a problem dealing with large tables: the error occurs when a table takes two pages and the first page can't contain the whole text of a cell. In this situation the remaining text goes in the second page (and this is correct), then there is another row (small), but after the end of the

[iText-questions] Re: Is this possible??? Please help

2005-01-11 Thread Bruno Lowagie
Sanyukta wrote: Hi Bruno, Thanks a lot for the quick reply. Can you tell me one more thing please. If I have an html format document and i want to save it in pdf format, is it possible with iText Not if you want really good results. All depends upon your expections, if you just need to suppo

[iText-questions] Re: Is this possible??? Please help

2005-01-11 Thread Bruno
Quoting Sanyukta <[EMAIL PROTECTED]>: > Hi, > > I need to write an agent that converts existing mail message Body > fields. I need to convert the body from Rich Text to PDF. If by Rich Text you mean RTF, you won't find anything about it on the mailing-list, as iText only produces RTF, it doesn't

Re: [iText-questions] PDF Generated is Blank

2005-01-11 Thread Bruno
Quoting Brian Burridge <[EMAIL PROTECTED]>: > When I save this PDF and > compare it to the one that works, I see that the faulty one has a bunch > of question marks where the correct one shows black graphic blocks. Yep, as I am reading my mail from the most recent one to the oldest ones, I see yo

Re: [iText-questions] Blank page in Internet Explorer 6, help me please !!!!!

2005-01-11 Thread Bruno
Quoting Brian Burridge <[EMAIL PROTECTED]>: > I saw that, but I don't think its the same problem. First, I'm not using > IE, but Mozilla, and second, I don't get a blank web page, I got a blank > PDF that is almost the pdf I tried to create. It has the PDF properties > and file size, and has the f

[iText-questions] self-created header with PdfPageEventHelper

2005-01-11 Thread kgnurps
Hi, I tried to create my own header with PdfPageEventHelper and I used the example head_foot.java. There is a table (which should work as header) in my document, but at the wrong position at page 1, but page 2 is correct (except of the missing space between header and the other table). pdf-file is