[iText-questions] itext 0.95 throws runtime exception

2002-12-19 Thread Monojit
Hi   I am trying to use the latest version of IText ie 0.95. But i get the following exception     java.lang.NoSuchMethodError    at com.lowagie.text.pdf.PdfDate.(Unknown Source)    at com.lowagie.text.pdf.PdfDate.(Unknown Source)    at com.lowagie.text.pdf.PdfDocument$PdfInfo.addCreationDat

Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and text position

2002-12-19 Thread David Thielen
Hi;   I've tried this and this is what I've found: For an image, the absolute position I set for an image is not where it's printed. Instead it is printed a little lower and to the right of the position I give. I printed out getDpiX() & getDpiX() (both 72.0) and absoluteX() & absolu

[iText-questions] Creating Font

2002-12-19 Thread Rajeev Mancheril
Hi,   Is there a way to create/set a Font without specifying the path (font directory).   BaseFont bf = BaseFont.createFont("c:\\WINDOWS\\Fonts\\Alger.ttf",BaseFont.WINANSI,BaseFont.NOT_EMBEDDED); Using Font Algerian, this works fine.   Just checking whether there is a way to avoid the path.

Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and text position

2002-12-19 Thread Paulo Soares
- Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 19:11 Subject: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and text position > Hi; > > When calling PdfContentByte.setTextMatrix, a couple of

Re: [iText-questions] BaseFont - encoding

2002-12-19 Thread Paulo Soares
- Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 19:37 Subject: [iText-questions] BaseFont - encoding > Hi; > > Two questions: > > 1. What are the possible encoding vlause All the supported java encodings (d

[iText-questions] BaseFont - encoding

2002-12-19 Thread David Thielen
Hi;   Two questions: What are the possible encoding vlause How do I do Chinese/Japanese/Korean - is there a tutorial or sample for them? thanks - dave

[iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and text position

2002-12-19 Thread David Thielen
Hi;When calling PdfContentByte.setTextMatrix, a couple of questions about it. x,y - are these units in points? where is 0,0 - the lower left corner of the page? Is this the position of the top, baseline, or bottom of the text written? thanks - dave

Re: [iText-questions] support PdfPTable

2002-12-19 Thread Paulo Soares
How do you know if the problem is with iText ot the jsp/browser? The first step is always to generate the pdf to a local file in the server to see where the problem is. Best Regards - Original Message - From: "Fredrik Nilsson" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[

Re: [iText-questions] bookmark list

2002-12-19 Thread Paulo Soares
Yes, if you are generating the document. If it's a PdfReader it can be done but it's not easy yet, I'm working on a friendly interface for it. Best Regards, Paulo Soares - Original Message - From: "Shahzad Latif" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 200

Re: [iText-questions] Template

2002-12-19 Thread Paulo Soares
Your page code is supposed to go into a page event... Best Regards, Paulo Soares - Original Message - From: "Collenghi, Ruggero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 16:23 Subject: [iText-questions] Template > I'm trying to use PdfTemplate, but

Re: [iText-questions] support PdfPTable

2002-12-19 Thread Fredrik Nilsson
Hi, I'm making the pdf in a jsp-page and can not (right away extract the pdf) as a file. It is possible that the browser doesn't recognize the file as a pdf since I don't get the extra toolbar as I do with pdf-files. I can't look at the source either since I can't rightclick (or use the menu-item)

[iText-questions] Re: iText

2002-12-19 Thread Collenghi, Ruggero
-Messaggio originale- Da: Paulo Soares [mailto:[EMAIL PROTECTED]] Inviato: giovedì 19 dicembre 2002 16.40 A: Bruno Lowagie; Collenghi, Ruggero Cc: [EMAIL PROTECTED] Oggetto: Re: iText ~ ~ ~ If the PdfPTable is printed with Document.add() it will work about the same ~ as Table otherwise you

Re: [iText-questions] bookmark list

2002-12-19 Thread Shahzad Latif
Hi: Can we read the bookmarks or chapter/section outlines? Tks, Shahzad Original Message Follows From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Jianhua Jin" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: Re: [iText-questions] bookmark list Date: Thu, 19 Dec 2002 16:08:47 - MIME-Ver

[iText-questions] Template

2002-12-19 Thread Collenghi, Ruggero
I'm trying to use PdfTemplate, but it seems not to work. My document is made by one big PdfPTable (with some others PdfPTables nested). Some code follows.. document.open(); PdfContentByte cb = writer.getDirectContent(); PdfTemplate templateNumeroPagina = cb.createTemplate(50 ,50)

Re: [iText-questions] support PdfPTable

2002-12-19 Thread Paulo Soares
If the blank pdf is not too big (I'm on a GSM phone today) send it privately to me. We'll see what to do after that. Best,Regards Paulo Soares - Original Message - From: "Fredrik Nilsson" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, Decem

Re: [iText-questions] Add line to document

2002-12-19 Thread Matt Benson
The easiest way is to embed a "\n" in your text. -Matt --- Rajeev Mancheril <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to add a new line to pdf document ? > Similar to while parsing XML. > > Thanks, > Rajeev. > > __ Do you Yahoo!? Ya

Re: [iText-questions] support PdfPTable

2002-12-19 Thread Fredrik Nilsson
I use three tables in the generated pdf and I set widths on all three. During the afternoon I've noticed that I can see the pdf when I print out three images, otherwise not! There are no exception thrown on screen or stdout/stderr. I have also made sure that the columns are filled (this is otherwis

[iText-questions] Add line to document

2002-12-19 Thread Rajeev Mancheril
Hi,   Is there a way to add a new line to pdf document ? Similar to while parsing XML.   Thanks, Rajeev.  

Re: [iText-questions] bookmark list

2002-12-19 Thread Paulo Soares
No, you can build the bookmarks yourself with the class PdfOutline. Best Regards, Paulo Soares - Original Message - From: "Jianhua Jin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 15:52 Subject: [iText-questions] bookmark list > Are chapters and sectio

Re: [iText-questions] bookmark list

2002-12-19 Thread Bruno
Quoting Jianhua Jin <[EMAIL PROTECTED]>: > Are chapters and sections the only way to build a > bookmark list? You'll find all about this here: http://www.lowagie.com/iText/tutorial/ch11.html#outlines Bruno --- This SF.NET email is sponsored b

Re: [iText-questions] PdfPTable question

2002-12-19 Thread Paulo Soares
moveTo and lineTo. - Original Message - From: "Martin Hellat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 10:18 Subject: Re: [iText-questions] PdfPTable question > >Paulo Soares wrote: > > >If you want speed you won't have all the nice > >funcionalitie

Re: [iText-questions] PdfTemplate question

2002-12-19 Thread Paulo Soares
- Original Message - From: "Martin Hellat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 11:44 Subject: [iText-questions] PdfTemplate question > Hi, > I have trouble with the following code: > > template = cb.createTemplate(200, 200); > template.beginTex

Re: [iText-questions] support PdfPTable

2002-12-19 Thread Paulo Soares
Are you setting the table width? I'm sure an exception is being thrown. Best Regards, Paulo Soares - Original Message - From: "Fredrik Nilsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 9:29 Subject: [iText-questions] support PdfPTable Hi, I use the

Re: [iText-questions] outlines in iText

2002-12-19 Thread Paulo Soares
- Original Message - From: "Prasad Vishnubhotla" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 14:42 Subject: [iText-questions] outlines in iText > Dear iText experts: > > I have been having two problems with iText outlines (I > am using Build 0.96): > > I

[iText-questions] bookmark list

2002-12-19 Thread Jianhua Jin
Are chapters and sections the only way to build a bookmark list? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --- This SF.NET email is sponsore

Re: [iText-questions] templates

2002-12-19 Thread Bruno
Quoting Dieter Zysk <[EMAIL PROTECTED]>: > This looks as if we need > > 1. to have templates, were the dynamic parts of the document are filled by > the application Class PdfTemplate can be used for this purpose, but: > 2. to seperate the process of designing a document from filling in the > da

[iText-questions] templates

2002-12-19 Thread Dieter Zysk
Hi, I'm a beginner in using iText, so please excuse the following question: our applications produce a lot of different documents. But most of them share nearly the same layout. At runtime the variable parts of the document (e.g. number of rows, adress data, ...) will be determined. This looks a

[iText-questions] outlines in iText

2002-12-19 Thread Prasad Vishnubhotla
Dear iText experts: I have been having two problems with iText outlines (I am using Build 0.96): I use some Asian Indian fonts via BaseFont.createFont(fontsDir + fontFile + ".ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); These show up alright in regular iText docs (in the right frame) but the o

Re: [iText-questions] Dash Grid Lines and File Size

2002-12-19 Thread Kenny G. Dubuisson, Jr.
I don't know if this info will help but it works great for me. I am also using iText for PDF generation via servlets and it calls JFreeChart for the embedded chart. But I don't bring the chart in as an JFreeChart Image object; I bring it in as a JPEG Image. My JFreeChart servlet just outputs to

[iText-questions] PdfTemplate question

2002-12-19 Thread Martin Hellat
Hi, I have trouble with the following code: template = cb.createTemplate(200, 200); template.beginText(); template.setFontAndSize(bf, 12); template.showText("blah1"); template.showTextAligned(PdfContentByte.ALIGN_CENTER, "blah2", 100, 100, 0); template.endText(); when i generate my pdf file using

Re: [iText-questions] PdfPTable question

2002-12-19 Thread Martin Hellat
Paulo Soares wrote: If you want speed you won't have all the nice funcionalities. You can place all the text at absolute positions and draw yourself the lines if the bills are all of the same kind. And what is the best way to draw border lines for this "table" of mine? Thanks, Martin. _

[iText-questions] support PdfPTable

2002-12-19 Thread Fredrik Nilsson
Hi,   I use the PdfPTable to fill a pdf with external data. Now I have trouble showing the pdf. It appears white unless I put a image in the document, then it shows. I use  table.writeSelectedRows(0,-1, TABLE_X, TABLE_Y - counter*RECT_H-counter*10, writer.getDirectContent()); to print out