Hello, > From: Hung Mark [mailto:mark...@gmail.com]
> Sorry that I misled you. It is my intention to change text > flow in a cell > to right to left direction. I think you mean the setting of the paragraph: 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 cur = oCell.Text.CreateTextCursor cur.WritingMode = 1 cur.ParaAdjust = 1 'that is necessary! End Sub Greetings, Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org For additional commands, e-mail: api-h...@openoffice.apache.org