Yes, it was a typo, sorry. I meant:
abc............123
wxyz...........456
To: Lloyd Bergman/Towers
[EMAIL PROTECTED], itext-questions
"Jaladurgam, Ramana" <[EMAIL PROTECTED]>
<[EMAIL PROTECTED] cc:
earson.com> Subject: RE: [iText-questions]
Another Newbie
06/25/2003 03:34 PM
Do you have tab position for each row.
abc............123
wxyz..........456
The tab position of second word in second line is less than the first.
You want to implement by setting tab stops for every row.
Or can I assume that it is a typo and you need something like.
abc............123
wxyz...........456
I can probably help you if the second type is what you are looking for.
Excuse me, for the first one.
Regards,
Ramana.JV.
-----Original Message-----
From: Lloyd Bergman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 2:19 PM
To: itext-questions
Subject: RE: [iText-questions] Another Newbie
Thanks for your help. I was able to use the PdfContentByte to center my
headers. I haven't tried NO_BORDER yet but I do have a question about the
dots. In my example:
abc............123
wxyz..........456
I thought of making it a PdfPTable, adding a cell for which I set noWrap to
true. I'm assuming this means if the text in the row is too big for the
row, don't create a new line in the cell, just truncate the text. That is
what I want. I tried this (see code sample below) with no success. I
guess
noWrap means something else. Is it just not possible to do what I want?
To:
Lloyd Bergman/Towers [EMAIL PROTECTED], [EMAIL PROTECTED]
Paulo Soares cc:
(bcc: Lloyd Bergman/Towers Perrin)
<[EMAIL PROTECTED]> Subject: RE:
[iText-questions] Another Newbie
Sent by:
[EMAIL PROTECTED]
ceforge.net
06/24/2003 12:16 PM
> -----Original Message-----
> From: Lloyd Bergman [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 16:43
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Another Newbie
>
> For the past few days I've been using and learning iText and I think
> it's great. However, there are some things I would like to do that I
> can't seem to figure out. What I am trying to do now is to setup a
> tab like in
Word.
> For example:
>
> abc............123
> wxyz..........456
>
> where the dots are the tab. It seems that iText doesn't have this
> kind
of
> tab but I could use columns. The problem is that the number of dots
> varies
>
It doesn't have any kind of tab...
> depending on the size of the text. I don't know how would compute how
> many dots I would need per line. What I would like to do is to use
> more than enough dots but the problem is that that causes the column
> to wrap. Is there a way I can not have the column wrap and just loose
> the extra dots?
>
You'll need to do it in a PdfContentByte.
BaseFont.getWidthPoint()
gives the char widths and after that it's a matter of arithmetic.
> Another question I have is how to turn off (or change) boardrers in a
> PdfPTable?
>
Set the border width to 0 or to NO_BORDER.
> Also, I still can't figure out how to center my header?
>
Use a page event instead of HeaderFooter.
You have some examples in the tutorial and in
www.geocities.com/itextpdf.
Best Regards,
Paulo Soares
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions