[iText-questions] Table cell with different border

2004-11-15 Thread Huelsemann, Gerlinde
I'm new to i-text. 
Do you have an example for a table with following layout. 

+---+-+
| 1.1   | 1.2 |
| 2.1   | |
+---+---+ |
| 3.1   | 3.2   | |
| 4.1   | 4.2   | |
+-+-+-+-+-+
| 5.1 | 5.2 | 5.3 | 5.4 | 5.5 |
+-+-+-+-+-+


I have problems with border in cells. Cell 1.1 has a border on top, but no
border down. Cell 2.1 has no top-border, but a down-border. How can I
realize this table?



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Table cell with different border

2004-11-15 Thread Steve Appling
Use setBoder to set up a bitwise combination of the border sides you wish 
enabled on each cell.  Ex:
 cell.setBorder(LEFT | TOP) to have only a top and left side border.

Alternatively, you can use the variable border width methods in itext-paulo-141 
at itextpdf.sf.net
to set differing widths on each side (including 0 width).

- Original Message - 
From: Huelsemann, Gerlinde [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 5:17 AM
Subject: [iText-questions] Table cell with different border


 I'm new to i-text.
 Do you have an example for a table with following layout.

 +---+-+
 | 1.1   | 1.2 |
 | 2.1   | |
 +---+---+ |
 | 3.1   | 3.2   | |
 | 4.1   | 4.2   | |
 +-+-+-+-+-+
 | 5.1 | 5.2 | 5.3 | 5.4 | 5.5 |
 +-+-+-+-+-+


 I have problems with border in cells. Cell 1.1 has a border on top, but no
 border down. Cell 2.1 has no top-border, but a down-border. How can I
 realize this table?



 ---
 This SF.Net email is sponsored by: InterSystems CACHE
 FREE OODBMS DOWNLOAD - A multidimensional database that combines
 robust object and relational technologies, making it a perfect match
 for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions





---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions