openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Röllig <mroellig.n...@gmx.net>
Subject Re: Set property of selected cell range in a textable in Writer
Date Wed, 08 Jul 2015 08:04:01 GMT
Hello Hung!

It should be enough:

Sub Snippet
    Dim oCurrentSelection As Variant

    oCurrentSelection = ThisComponent.getCurrentSelection()
    oCurrentSelection.setPropertyValue( "WritingMode", 
com.sun.star.text.WritingMode2.TB_RL )
End Sub


Regards, Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message