[iText-questions] Cell Alignment

2009-09-18 Thread Thilip Kumar S
Hi Im trying to generate the PDF with 3 column. My requirement is , I need to have 3 columns in report, Say Cust Name, Account No, Paid Amount. In this case, the first 2 cells should be aligned left, the 3rd one should be aligned right , as its a numeric value. Im trying like

Re: [iText-questions] Split PDF using Itext

2009-09-18 Thread xdmello
Thanks Mark for your help . I figured out the problem. The PDF was generated but at incorrect location, since I was using wrong variable to create outputstream. Mark Storer-2 wrote: Nothing is jumping out at me. What is the output from all those system.out.println calls? By the way, two

Re: [iText-questions] Cell Alignment

2009-09-18 Thread Paulo Soares
Rewrite your post in a way that makes sense. Paulo -Original Message- From: Thilip Kumar S [mailto:thili...@suntecgroup.com] Sent: Friday, September 18, 2009 8:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Cell Alignment Hi Im trying to

Re: [iText-questions] Cell Alignment

2009-09-18 Thread Iliadis Yannis
Instead of using alignment on the cell level I'm using alignment of a paragraph. see the following code: PdfPTable tbl=new PdfPTable(3); PdfPCell cell1; PdfPCell cell2; PdfPCell cell3; Paragraph p; cell1=new PdfPCell(); cell2=new

Re: [iText-questions] Cell Alignment

2009-09-18 Thread mister bean
Kumar: Even with the suggested solution, your table is not going to work very well. For example, setWidths() does not work the way you're using it. Secondly, why are you using a command that sets the alignment for all cells to right, and then setting individual cells to right? I am fairly sure

[iText-questions] stretch text

2009-09-18 Thread Geert Delanote
How can I stretch text to fit a tablecell? I have a table with 10 rows (The layout contains no vertical lines). Before the first 5 rows I want a large brace {. How should I do that? My plan was to create an extra column, add the {-character in a cell and stretch it over the height of the cell

Re: [iText-questions] stretch text

2009-09-18 Thread 1T3XT info
Geert Delanote wrote: How can I stretch text to fit a tablecell? I have a table with 10 rows (The layout contains no vertical lines). Before the first 5 rows I want a large brace {. How should I do that? I'd use a table event to do that. My plan was to create an extra column, add the

Re: [iText-questions] stretch text

2009-09-18 Thread Geert Delanote
On Fri, Sep 18, 2009 at 12:10 PM, 1T3XT info i...@1t3xt.info wrote: Geert Delanote wrote: How can I stretch text to fit a tablecell? I have a table with 10 rows (The layout contains no vertical lines). Before the first 5 rows I want a large brace {. How should I do that? I'd use a table

Re: [iText-questions] stretch text

2009-09-18 Thread 1T3XT info
Geert Delanote wrote: On Fri, Sep 18, 2009 at 12:10 PM, 1T3XT info i...@1t3xt.info wrote: Geert Delanote wrote: How can I stretch text to fit a tablecell? I have a table with 10 rows (The layout contains no vertical lines). Before the first 5 rows I want a large brace {. How should I do

Re: [iText-questions] In Object Data model How to create treeview

2009-09-18 Thread Leonard Rosenthol
That's a 3D model - it gets its data from inside of a 3D object. It has NOTHING to do with the page content stream. -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sent: Friday, September 18, 2009 12:33 AM To: itext-questions@lists.sourceforge.net Subject: Re:

[iText-questions] PdfTemplate logo

2009-09-18 Thread Jason Berk
I need to create a PdfTemplate that contains a logo, and then add this template to each page of every PDF I create. Do I have to recreate the template with each new document, or is there a way to create the template once and add it to multiple documents? Thanks, Jason Now serving Boiler Spirit

Re: [iText-questions] PdfTemplate logo

2009-09-18 Thread 1T3XT info
Jason Berk wrote: I need to create a PdfTemplate that contains a logo, and then add this template to each page of every PDF I create. Do I have to recreate the template with each new document, or is there a way to create the template once and add it to multiple documents? Create a PDF with

[iText-questions] image setSpacingAfter() not working?

2009-09-18 Thread Jason Berk
public class ImageTest { public static void main(String[] args) { new ImageTest(); } public ImageTest() { try { Document doc = new Document(PageSize.LETTER, 36, 36, 36, 36);