Hi, There was a discussion about how to set diagonal border styling a few weeks ago, see http://mail-archives.apache.org/mod_mbox/poi-user/201508.mbox/browser, it describes how to set a diagonal border, maybe you can use some of this for reading the information in your case.
Dominik. On Fri, Sep 25, 2015 at 4:21 PM, Mark Beardsley <[email protected]> wrote: > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
