poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26574] - [RFE] ActiveSheet.DisplayRightToLeft = True
Date Thu, 01 Apr 2004 15:56:53 GMT
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=26574>.
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=26574

[RFE] ActiveSheet.DisplayRightToLeft = True





------- Additional Comments From avisar@hotmail.com  2004-04-01 15:56 -------
Hi,

I looked into the files and found out that on WindowTwoRecord there is a method
called setArabic(boolean) which supposed to do the DisplayRightToLeft as it is 
described in excelfileformat.pdf (page 184) which is to set option's bit 6 
(0.0040H) to true or false.
Problem is : How can I reach from HSSFSheet the WindowTwoRecord ? I saw
that getSheet() is protected so I can't use the getRecordBySid method.

How can I reach the getSheet() method ? I see that you do it in HSSFWorkbook
so I don't know how it compiles as it is protected.

A future feature for next version might be to add a method  
setDisplayRightToLeft(boolean isRightToLeft) to HSSFSheet 
which does :

WindowTwoRecord windowTwo = (WindowTwoRecord) sheet.getSheet
().findFirstRecordBySid(WindowTwoRecord.sid);
windowTwo.setArabic(isRightToLeft);

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message