I did not see it.... it is probably me, so, can you tell me how to see
this.
For example, should i see it if I do the following
1. Right click in a text table and choose table
2. Select "Text Flow"
3. Looks for a check box named "????"
I do not see a right to left or left to right thing.
On 06/27/2015 09:24 AM, Hung Mark wrote:
Sorry that I misled you. It is my intention to change text flow in a cell
to right to left direction.
Writer's GUI has that setting in text flow tab, but I didn't find
correspond property.
2015-06-27 16:50 GMT+08:00 Jörg Schmidt <joe...@j-m-schmidt.de>:
Hello,
From: Hung Mark [mailto:mark...@gmail.com]
How to change text flow direction in a table with macro?
See this example:
Sub Snippet
Dim oCurrentController As Variant
Dim oViewCursor As Variant
Dim oCell As Variant
Dim nVertOrient As Integer
oCurrentController = ThisComponent.getCurrentController()
oViewCursor = oCurrentController.getViewCursor()
oCell = oViewCursor.Cell
'.VertOrient --> 0 - None , 1 - top ,2 - middle, 3 - bottom
'other values see:
'
http://www.openoffice.org/api/docs/common/ref/com/sun/star/text/VertOrientation.html
oCell.VertOrient = 3
'or use:
'oCell.VertOrient = com.sun.star.text.VertOrientation.BOTTOM
'msgbox oCell.VertOrient
End Sub
Greetings,
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info: http://www.pitonyak.org/oo.php
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org