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 2006/06/26 15:10:51 UTC

DO NOT REPLY [Bug 30714] - HSSFSheet.setRowSumsBelow is not working

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30714>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30714





------- Additional Comments From tellmebout-apache@yahoo.com  2006-06-26 13:10 -------
Indeed, the bytes in WSBoolRecord seem to have been mixed. My workaround for
this problem was to set the same bit in the other byte. Explaining, what I
wanted was to setRowSumsBelow to false. Well, rowSumsBelow corresponds (in the
source code <a
href="http://svn.apache.org/viewvc/jakarta/poi/tags/REL_2_5_1/src/java/org/apache/poi/hssf/record/WSBoolRecord.java?revision=353578&view=markup">here</a>
) to bit 0x40 of byte 1, but it doesn't work. However, if we set bit 0x40 of
byte 2 to false (which happens to be setAlternateExpression(false)) then we get
rowSumsBelow working correctly. Coming to a conclusion, if you want to
setRowSumsBelow to false, set instead alternateExpression and you will get what
you are looking for.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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/