The border is part of the style applied to the cell from POIs point of view.
What you will need to do is recover the style from the cell - call the
getCellStyle() method on the object - and then interrogate that to find out
what type of border has been applied. If you look at the CellStyle class,
you should see that manifest constants have been created that identify the
various attributes and they include THICK_BACKWARD_DIAG and
THIN_FORWARD_DIAG. A simple switch clause should allow you to filter out the
cells that are marked with diagonal borders; it is maybe wise to include
tests for all of the diagonal options unless you are confident in your user
body.



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Diagonal-border-tp5720338p5720341.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to