Re: [iText-questions] border in PdfPTable

2006-09-19 Thread Bruno Lowagie (iText)
Rüdiger Kaatz wrote: > Hi Bruno, > > great idea, thanx. Remember the problem I had the other day showing an > image inside a table (catalunya...)? > Here is my solution, I have to load the image via the Jpeg class and > not the generic Image one: > > ClassLoader cl = ITextHelper.class.getClassLoa

Re: [iText-questions] border in PdfPTable

2006-09-19 Thread Rüdiger Kaatz
Hi Bruno, great idea, thanx. Remember the problem I had the other day showing an image inside a table (catalunya...)? Here is my solution, I have to load the image via the Jpeg class and not the generic Image one: ClassLoader cl = ITextHelper.class.getClassLoader(); URL url = cl.getResource("imag

Re: [iText-questions] border in PdfPTable

2006-09-19 Thread Bruno Lowagie (iText)
Rüdiger Kaatz wrote: > is this what you are looking for? > > PdfPTable mainTable = new PdfPTable(2); > > PdfPCell cell1 = new PdfPCell("some borderless cell"); > cell1.setBorder(Rectangle.NO_BORDER); > > PdfPCell cell2 = new PdfPCell("another borderless cell"); > cell2.setBorder(Rectangle.NO_BOR

Re: [iText-questions] border in PdfPTable

2006-09-19 Thread Rüdiger Kaatz
is this what you are looking for? PdfPTable mainTable = new PdfPTable(2); PdfPCell cell1 = new PdfPCell("some borderless cell"); cell1.setBorder(Rectangle.NO_BORDER); PdfPCell cell2 = new PdfPCell("another borderless cell"); cell2.setBorder(Rectangle.NO_BORDER); mainTable.addCell(cell1); mainTa

RE: [iText-questions] border in PdfPTable

2003-07-01 Thread Paulo Soares
getDefaultCell() will not work with addCell(PdfPCell), in this case the properties come from the PdfPCell. Best Regards, Paulo Soares > -Original Message- > From: Roberto Cipollini [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 10:32 > To: [EMAIL PROTECTED] > Subject: [iTex

Re: [iText-questions] border in PdfPTable

2003-07-01 Thread Roberto Cipollini
PROTECTED]> Sent: Tuesday, July 01, 2003 12:12 PM Subject: RE: [iText-questions] border in PdfPTable Maybe I'm wrong but I fear you'll have to set for each cell NO_BORDER It's curious because the iText API I have says " getDefaultCell public PdfPCell getDefaultCell() Get

RE: [iText-questions] border in PdfPTable

2003-07-01 Thread Sergio Lopez Rodriguez
Maybe I'm wrong but I fear you'll have to set for each cell NO_BORDER It's curious because the iText API I have says " getDefaultCell public PdfPCell getDefaultCell() Gets the default PdfPCell that will be used as reference for all the addCell methods except addCell(PdfPCell)." so this makes m

Re: [iText-questions] Border in PdfPTable

2002-10-02 Thread postmaster
Quoting Ravindra B Mamidipaka <[EMAIL PROTECTED]>: > I am a new to IText package. I need some help > regarding the borders on PdfPTables. > > I am trying to add a pdfp table to another pdfp table as a > cell. When I add the table, it is generating a border. > How do I disable the border in a Pdf