You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Yan <ya...@makam.co.il> on 2011/04/05 12:04:46 UTC
HSLF direction and alignment issues
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