Good catch, thanks.

I didn't realize that "setArabic" is politically insensitive. This name was used in the original patch submitted in Bugzilla 47970.

I renamed it to setRightToLeft() - this name should be fine. The corresponding 
VBA property is called DisplayRightToLeft.

Yegor


Hi Yegor -

Calling this "setArabic" is politically insensitive. Arabic is not the only right to left language. Please change the name of this newly added routine to setDirection.

Regards,
Dave


On Nov 12, 2009, at 11:07 PM, Yegor Kozlov wrote:

sheet.setArabic(boolean isArabic) was added in r833537.

To use this feature you will need the latest development version. Daily builds from trunk are available at http://encore.torchbox.com/poi-svn-build/

Yegor

Good day,
I have a newbie's question about the POI API.
How can I create a new workbook and add a new sheet with "Right-To-Left"
direction?
Workbook wb = new HSSFWorkbook();
Sheet sheet = wb.createSheet("new sheet");
// ???????
I would expect to see the corresponding method in the Sheet's API, something
like
sheet.setDirection(short)
but I couldn't find something suitable
I'm using the newest POI jar available from the site.
Thanks a lot in advance
Mark Bramnik


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




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to