poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yan <...@makam.co.il>
Subject HSLF direction and alignment issues
Date Tue, 05 Apr 2011 10:04:46 GMT
Hello,

I am trying to insert a right-to-left text into a slide but the 
alignment doesn't seem to work and I couldn't find a direction property.

1. Is there a direction property/method?

2. What is the correct way of using the alignment methods?

TextBox t = new TextBox();
t.setHorizontalAlignment(TextBox.AlignRight);

OR

RichTextRun rt = t.getTextRun().getRichTextRuns()[0];
rt.setAlignment(TextBox.AlignRight);

Both of these options did not work.

Best regards,
Yan

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


Mime
View raw message