openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hung Mark <mark...@gmail.com>
Subject Re: Set property of selected cell range in a textable in Writer
Date Wed, 08 Jul 2015 09:07:20 GMT
Hi Mathias,

It doesn't work.

2015-07-08 16:04 GMT+08:00 Mathias Röllig <mroellig.news@gmx.net>:

> 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
>
>


-- 
Mark Hung

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message