Bug 47970 - [PATCH] No way to set arabic mode from HSSFSheet
Summary: [PATCH] No way to set arabic mode from HSSFSheet
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.5-FINAL
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 01:12 UTC by markus.herven
Modified: 2009-11-13 05:38 UTC (History)
0 users



Attachments
A patch that adds the possiblity to set the arabic property to HSSFSheet (1.60 KB, patch)
2009-10-09 02:16 UTC, markus.herven
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description markus.herven 2009-10-09 01:12:41 UTC
The arabic is hidden under Sheet and getWindowTwoRecord which cannot be accessed from HSSFSheet. Easiest is to add a getter and setter. This is needed to enable right to left sheets.
Comment 1 markus.herven 2009-10-09 02:16:26 UTC
Created attachment 24368 [details]
A patch that adds the possiblity to set the arabic property to HSSFSheet
Comment 2 Yegor Kozlov 2009-11-06 11:40:50 UTC
Applied in r833537

Thanks,
Yegor
Comment 3 Yegor Kozlov 2009-11-13 05:38:36 UTC
The name "setArabic" is politically insensitive. I renamed it to setRightToLeft() - this name should be fine. The corresponding VBA property is called DisplayRightToLeft.

Yegor