RE: Re: [iText-questions] PdfPTable - seperate tables..

2002-11-06 Thread isha afisha
hi Paula Soares, thanx for ur response...but i don't know how to position the tables?? rgds, isha. == Mail From: Paulo Soares <[EMAIL PROTECTED]> wrote: == Subject : RE: Re: [iText-questions] PdfPTable - seperate tables.. Date : 06 Nov 2002 12:02 AM  >You'll have to position the ta

[iText-questions] How to get the current text position

2002-11-06 Thread A.Marochow
Hi  I am new to this great and well done pdf API.   I wrote a small XML based template description that delegates to your API. It reads from another XML data Structure and merges all together to beautifull looking print results.   Butt, what I wanted to know is: How can I get the current ver

[iText-questions] Setting the colSpan on a PdfPCell that contains a PdfPTable

2002-11-06 Thread Khaled Alakhras
It seems that there is a problem when setting the colSpan of a PdfPCell that contains a PdfPTable.  Setting the colSpan effects all other cells that contain a PdfPTable also.  Please see attahced example. Thanks,Khaled Test.java import com.lowagie.text.Document; import com.lowagie.text.PageSize; im

[iText-questions] Generate PDF using XML

2002-11-06 Thread Rajeev Mancheril
Hi,   I'm using iText libraries to generate PDF document. I have couple of  questions regarding XML configuration to generate PDF. (parsing XML document and replacing database values with the help of tagmap).   01. How to handle a detail section in a report? (i.e. to display recursive data)

Re: [iText-questions] FONTS...

2002-11-06 Thread Paulo Soares
The fonts are different and so will the metrics. Forget about getWidths(), it's there for changing the widths in very specific situations and will not support Identity-H. Use getWidthPoint(). Best Regards, Paulo Soares - Original Message - From: "Matías Salvador" <[EMAIL PROTECTED]> To: "

Re: [iText-questions] ColumnText and spacing, lists, tables, etc.

2002-11-06 Thread Paulo Soares
- Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 18:10 Subject: [iText-questions] ColumnText and spacing, lists, tables, etc. Hi; A couple of questions: 1.. Can you put tables in ColumnText? No. It doesn

[iText-questions] FONTS...

2002-11-06 Thread Matías Salvador
If I create a BaseFont with parameters (TIMES_ROMAN, CP1252, NOT_EMBEDDED) and obtain the getWidths(), would it be the same than obtaining the getWidths() from a FontMetrics with a Font set "Times New Roman" size 14? The summatory of both int[] would be the same?   Thank you, I'd really apre

[iText-questions] ColumnText and spacing, lists, tables, etc.

2002-11-06 Thread David Thielen
Hi;   A couple of questions: Can you put tables in ColumnText? Can you put lists in ColumnText? Can you set different spacing for before and after a paragraph in ColumnText? If so, how? Can you set different spacing for before, after, and leading for each paragraph in a ColumnText

Re: [iText-questions] Font Widhts...

2002-11-06 Thread Paulo Soares
You should use ColumnText. Best Regards, Paulo Soares --- Matías_Salvador <[EMAIL PROTECTED]> wrote: > I'm using tables because I need to put the texts in > an absolute position, > and I can't use graphics to do so, because I'm > generating the PDF in my > server, and it throws me the following:

Re: [iText-questions] Help with PdfCell

2002-11-06 Thread Matt Benson
Looks like there are possibilities here but I would think not immediate as it appears this class is currently only for use with PdfAnnotations. Remember to keep the list in on the conversation. -Matt --- Imad Jradi <[EMAIL PROTECTED]> wrote: > Thanks for the reply, > I did find PdfBorderDictiona

Re: [iText-questions] line spacing

2002-11-06 Thread Paulo Soares
It's called leading. Best Regards, Paulo Soares --- lihui <[EMAIL PROTECTED]> wrote: > Hi all, > > How do I set the line space inside a paragraph? > Don't see that attribute. > > Lihui Zhao > > > --- > This sf.net email is sponsored by: See

Re: [iText-questions] Help with PdfCell

2002-11-06 Thread Matt Benson
Unless iText is moving faster than I can discern, setting markup attributes will not help anything much when PDF is your output type. Markup attributes were added for markup output formats i.e. HTML and XML. So with HTML you should have gotten what you wanted, or close to it (also you could use M

Re: [iText-questions] line spacing

2002-11-06 Thread Matt Benson
You are probably looking for Paragraph.setLeading(). -Matt --- lihui <[EMAIL PROTECTED]> wrote: > Hi all, > > How do I set the line space inside a paragraph? > Don't see that attribute. > > Lihui Zhao > > > --- > This sf.net email is sponsor

[iText-questions] line spacing

2002-11-06 Thread lihui
Hi all, How do I set the line space inside a paragraph? Don't see that attribute. Lihui Zhao --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redi

[iText-questions] Help with PdfCell

2002-11-06 Thread Imad Jradi
I have a PdfCell that I would like to set the style on it. I tried using setMarkupAttribute("style","border-bottom: 1 dashed #80") but that didn't work. Any ideas?? Also I have a large table that print on 5 pages. Now it prints fine, but I want to print the table header on each of the 5 pages.

Re: [iText-questions] Line breaks.

2002-11-06 Thread David Thielen
Table t = new Table( 2 ); Cell c = new Cell(); c.add( new Paragraph( "hello" )); c.add( new Paragraph( "David" )); t.addCell( c ); - Original Message - From: "amit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 6:27 AM Subject: Re: [iText-qu

Re: [iText-questions] Font Widhts...

2002-11-06 Thread Matías Salvador
I'm using tables because I need to put the texts in an absolute position, and I can't use graphics to do so, because I'm generating the PDF in my server, and it throws me the following: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Re: [iText-questions] Font Widhts...

2002-11-06 Thread Paulo Soares
Showing some code would be helpfull and so would be to know exactly what you want to do. Using table to see if the text fits is not the best way to do it. Best Regards, Paulo Soares --- Matías_Salvador <[EMAIL PROTECTED]> wrote: > Anybody has been working with Font widhts in iText? > I'm having s

[iText-questions] Font Widhts...

2002-11-06 Thread Matías Salvador
Anybody has been working with Font widhts in iText? I'm having some problems to calculte how many text fits in one page depending on the font size... it throws me a "java.lang.IndexOutOfBoundsException: reserve - incorrect column/size", and I'd like to avoid this from happening... Thank you

Re: [iText-questions] RE: iText-questions digest, Vol 1 #830 - 9 msgs

2002-11-06 Thread Paulo Soares
If you are using PdfPTable I would like to see it. Best Regards, Paulo Soares --- SATHISH Sreedharan <[EMAIL PROTECTED]> wrote: > Hi, > I face a peculiar problem.The HTML is getting > converted to PDF properly and > displayed correctly too in my environment.But at the > clients place,the > alignm

Re: [iText-questions] PdfPTable - seperate tables..

2002-11-06 Thread Paulo Soares
You'll have to position the tables at absolute positions. Best Regards, Paulo Soares --- isha afisha <[EMAIL PROTECTED]> wrote: > Hi All, > > May I know.. > How to create 2 seperate tables using PdfPTable. > > for example : > > > table1 > table2

Re: [iText-questions] Asking Again:Japanese Font

2002-11-06 Thread Paulo Soares
The font is the same and the string must always contain Unicode characters (unless you want to use CID chars to have access to rotated chars for vertical writing and other special non-unicode chars). Read you text to a byte array and then convert it to Unicode with: string s = new String(b, "EUC_

Re: [iText-questions] Line breaks.

2002-11-06 Thread Paulo Soares
You can add a "\n" to your text. Best Regards, Paulo Soares --- amit <[EMAIL PROTECTED]> wrote: > Thanks . I am new to iText so Can you tell me which > method i can use to to add a new Paragraph to a > cell? > > > -- Original message -- > Date: Tue, 5 Nov 2002 22:21:50 -0700 >