poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Beardsley <markbrd...@tiscali.co.uk>
Subject Re: Diagonal border
Date Fri, 25 Sep 2015 14:21:03 GMT
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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message