poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zihao Yu <zihao...@gmail.com>
Subject setBorderXxx() removes default grey cell outline on other sides
Date Fri, 17 Sep 2010 15:42:24 GMT
If I call setBorderXxx() explicitly, the grey outline on other sides will be
removed. For instance, I call

style.setBorderTop(BORDER_THICK);
style.setBottomBorderColor(BLUE);

and apply the style on cell B3. Then B3 will lose the grey outline on its
left, right and bottom border, which is the default appearance in Excel. Is
this true and if so how can I set one border but preserve default looks on
other sides?

Thanks.

Zihao

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message