This should be possible, a patch was submitted by another list member in response to bug number 47970 and recently applied by Yegor as far as I remember. My advice would be to download the very latest build of the API and to look for methods with the word Arabic in them - I am going to guess there will be a setArabic and a getArabic method - as the alignment necessary for Arabic worksheets is also right to left I understand and the patch was submitted in response to a specific request for this support.
Yours Mark B PS. I do not mean version 3.5 final when I say the latest version but the most recent 3.6 beta release. For the core API, you can get that here; http://encore.torchbox.com/poi-cvs-build/poi-3.6-beta1-20091113.jar and can see all of the builds here; http://encore.torchbox.com/poi-cvs-build/ Java Fan wrote: > > 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 > > -- View this message in context: http://old.nabble.com/Right-to-left-directed-sheet-in-POI-tp26331127p26332380.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
