You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2003/08/11 09:20:22 UTC
DO NOT REPLY [Bug 22292] New: -
the wrong border value when cell spanned
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22292>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22292
the wrong border value when cell spanned
Summary: the wrong border value when cell spanned
Product: POI
Version: 2.0-pre2
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: jungleguo@hotmail.com
help!
I come up against a problem when dealing with border .when I span row or column
of the cell in the excel and use the HSSFCellStyle to get the border value, I
found could not get the right value of BorderRight or BorderBottom.
as follows:
private void getBorder(HSSFCell cell){
HSSFCellStyle style=cell.getCellStyle();
short borderBottom= style.getBorderBottom();
short borderRight=style.getBorderRight();
/**
*if cell span column, the value of borderRight ==0
*if cell span row , the value of borderBottom==0
*that is to say , I could not get the right value
*/
}
so ,I wonder maybe it's a bug of poi. please help me!
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/