Hi
i want to set a rowspan in my table for some colored cells like this:
cell = new PdfPCell(new Phrase(text, textFont2));
cell.setBackgroundColor(bgColor2);
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
cell.setVerticalAlignment(Element.ALIGN_MIDDLE);
cell.setRowspan(3);
dpmihai wrote:
> I have following simple example :
>| X | -> X cell has colspan=3
>|Y| Z| -> Z cell has colspan=2
>
> If i use rowSpan = 2 for first cell the output is wrong : like | X | Y |
You're right. It was a bug. The fix is in the SVN repository:
@@ -540,7 +5
I have following simple example :
| X | -> X cell has colspan=3
|Y| Z| -> Z cell has colspan=2
If i use rowSpan = 2 for first cell the output is wrong : like | X | Y |
Document document = new Document(PageSize.A4);
PdfWriter.getInstance(docume
Hi,
I'm trying to use rowspan with nested tables. So far it works fine, but I'm
wondering what to do if one cell has a rowspan and a colspan over all
columns(example: http://www.nabble.com/file/p20437017/rowspan.html
rowspan.html ), because in this case you can't use a nested table because
the ce
Hi Igor,
On 13/10/2008, igor <[EMAIL PROTECTED]> wrote:
>
> Hi Paulo,
> i'm very interested in the problem explained in [iText-questions]
> ConvertingRowSpantoNestedTablesQuestion(AGAIN).
> We have very similar problem with report containing table with a
> multirowspan.Do you think a solution will
Hi Paulo,
i'm very interested in the problem explained in [iText-questions]
ConvertingRowSpantoNestedTablesQuestion(AGAIN).
We have very similar problem with report containing table with a
multirowspan.Do you think a solution will be available soon?
Please let me know any news about this problem.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2008 10:24 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Rowspan property in PdfPCell
>
>
>
Hi to all,
if I understand the documentation (book and news group) correct, there is
no "rowspan" property for PdfPCell. The only way
to "simulate" rowspan is to use nested tables. Is this correct?
Are there any plans to implement a "rowspan" property for PdfPCell? Does
someone made changes to
t-questions@lists.sourceforge.net
Sent: Monday, July 21, 2008 3:01:07 PM
Subject: Re: [iText-questions] rowspan & colspan in HTMLWorker
> krishna tara wrote:
>> Here I have one more doubt i.e. I have one simple html page called
>> hello.html with some text only. Here I want to
> krishna tara wrote:
>> Here I have one more doubt i.e. I have one simple html page called
>> hello.html with some text only. Here I want to read the text from html
>> and display under this created table. Is it possible in iText? If yes
>> how can I do this?
>
> With HTMLWorker.
> --
> This ans
Matthew Kiely wrote:
> Do you have plans to support rowspan in the future?
Not for PdfPTable, no.
> In the meantime,
> are there workarounds to achieve a good visual representation of
> rowspan?
Yes: use nested tables.
br,
Bruno
Do you have plans to support rowspan in the future? In the meantime,
are there workarounds to achieve a good visual representation of
rowspan?
Thank you for your great product,
Matthew
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
S
calvin wrote:
> hi,
>
> please see the attachment for my table with certain rowspans.
Thanks for the small standalone example.
This is a great help to reproduce the problem.
As you know class Table isn't supported anymore,
but the problem puzzled me: apparently it occurs
when a cell with rowspan
hi,
please see the attachment for my table with certain rowspans. runtime
exception was thrown.
jvm reported the exception was thrown from
com.lowagie.text.pdf.PdfDocument.java (line 1499)
that rows.get(i + k) got problem.
i modified the source such that it check for
if (rows.size() > i+k)
befo
Here is the example for rowspan to work as rowspan. You need to use nested
tables in following way.(Please see the attachment)
Paulo,
I think the site does not have the exact example of rowspan. I will
appreciate if you can put the attached example on the site and in the
tutorial.
http://www.na
Use nested tables.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of sunshine gerodias
> Sent: Monday, October 30, 2006 9:14 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] rowspan in PdfP
i am trying to set the rowspan with the cells inside my table i can set the colspan by doing this cell.setColspan(2); but i cannot do the same thing with rowspan as in cell.setRolspan(2); it outputs an error on compilation i have tried searching the net but nothing seems to point to an answer.
Nested tables.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gaet
> Sent: Thursday, February 09, 2006 3:31 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] rowspan?
>
> Hi,
>
> Is
Hi,
Is there a way to do the rowspan behaviour in a
table?
Because setColspan(int) is ok for column but what for
rows ???
Cordialement,
- Original Message -
From:
Gaet
To: itext-questions@lists.sourceforge.net
Sent: Thursday, February 09, 2006 3:44
PM
Sub
It can't.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Karen Vardanyan
> Sent: Thursday, September 29, 2005 9:11 AM
> To: Itext-Questions@Lists.Sourceforge.Net
> Subject: [iText-questions] Rowspan in PdfPTable
>
Hi all,
How can be set the row span for a PdfPTable ,
without using of nested tables. Thank's in advance !
Mr. Karen.
This is a way to do it :
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.PageSize;
import com.lowagie.text.pdf.PdfPTable;
import com.lowagie.text.pdf.PdfWriter;
import java.io.FileOutputStream;
import java.io.IOException;
/*
* TableWithRowspan.j
I want to have an image take up 3 columns and 3 rows in a PdfPTable. I can do
this in a Table using Cell.setRowspan(), but I would prefer to use a PdfPTable.
Can anyone help?
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want
x27;Paulo Soares'" <[EMAIL PROTECTED]>;
Sent: Tuesday, February 08, 2005 6:05 AM
Subject: AW: [iText-questions] Rowspan problem
Thanks for the hint. So I have to set the height of cell 1-1 to the height
of 1-3 + 2-3. But since I don't know the height of 1-3 and 2-3 befor
itext-questions@lists.sourceforge.net
Betreff: Re: [iText-questions] Rowspan problem
You'll probably need PdfPCell.setFixedHeight().
- Original Message -
From: "Weseloh, Markus" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 07, 2005 5:38 PM
Subject: [iText-questions]
You'll probably need PdfPCell.setFixedHeight().
- Original Message -
From: "Weseloh, Markus" <[EMAIL PROTECTED]>
To:
Sent: Monday, February 07, 2005 5:38 PM
Subject: [iText-questions] Rowspan problem
> Hello,
>
> I have a problem with the PdfPTable class.
Hello,
I have a problem with the PdfPTable class. I have to generate a pdf with the
following table structure (this is a simplified example):
*---*
* 1-1| 1-2 | 1-3 *
*| |--*
*| | 2-3 *
*- ---*
* 3-1| | 3-3 *
Use nested tables.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anu
> Sent: Monday, October 18, 2004 10:20 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Rowspan in PdfPCell
>
> Hi,
>
> I am using PdfP
Hi,
I am using PdfP*** to generate tables. I have the need to be able to set the
rowspan and colspan on a cell. I have seen examples to demonstrate this using
Table and Cell objects, but could not find rowSpan in PdfP** objects.
Is there any other way to achieve this without rowspan?
Any help
[EMAIL PROTECTED]
> Subject: [iText-questions] Rowspan in PDF
>
> Hello, All.
>
> I'm newbie here. I'm sorry for my terrible English.
> So, how can I make rowspan when I'm using PdfPTable? The answer: "Use
> nested tables" is not absolutely corr
Hello, All.
I'm newbie here. I'm sorry for my terrible English.
So, how can I make rowspan when I'm using PdfPTable? The answer: "Use
nested tables" is not absolutely correct. I'll try to illustrate
this.
private static final Font bold = new Font(Font.HELVETICA, 10, Font.BOLD);
document.
Hey folks-
I've been running into a problem when trying to add tables to my documents.
Specifically, when I end up with a rowspan which extends beyond the current
page, it looks as though the code is dropping into an infinite loop. Any
thoughts? Ideas?
Here is a piece of sample code I put toge
There's no secret in it: you must use nested tables.
Best Regards,
Paulo Soares
> -Original Message-
> From: Gautier, Charles [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 17:32
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] rowspan on P
Hi,
I
read in the archives that someone knows the workaround to have rowspan on
PdfPCell.
Is
this sharable ?
Regards,
Charles.
34 matches
Mail list logo