Hello Thorsten.

I am going to assume that you are referring to a table within a spreadsheet and 
that you are, therefore, using HSSF. If this assumption is incorrect, then 
ignore the rest of the message.

The border properties are part of the cell properties. Therefore, one way you 
can discover what they are is to gain references to the cells that form the 
periphery of the table, access each ones HSSFCellStyle object and then read the 
border properties from there. If I remember correctly, there is a way to refer 
to a contiguous area of cells and set properties for that - like the border 
around a table - now but I cannot recall the name of the class or method that 
allows you to do that, sorry. It may be worth waiting for someone else to 
respond with that information.



--- On Tue, 8/26/08, Thorsten Bux <[EMAIL PROTECTED]> wrote:
From: Thorsten Bux <[EMAIL PROTECTED]>
Subject: How to read table border
To: [email protected]
Date: Tuesday, August 26, 2008, 8:36 AM

Hi,

I try to read the border properties of an existing table.
e.g border color, border style, ...

how to do this.

Thanks for your answer.

Thorsten
-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




      

Reply via email to