briglia23 OOo Enthusiast

Joined: 24 Jun 2008 Posts: 121
|
Posted: Mon Jun 29, 2009 5:04 am Post subject: how can i modify a tabs by macro |
|
|
I all i have this Office macro
| Code: | | WordBasic.FormatTabs Position:="5,5 cm", Align:=0, Set:=1 |
I can't translate it to an OOo macro.
I do this:
| Code: |
bmks = ThisComponent.getBookMarks
If bmks.hasByName("Presenti") then
oTC = ThisComponent.Text.CreateTextCursorByRange(p.Anchor)
oTC.gotoStartOfParagraph(false)
oTC.gotoEndOfParagraph(true)
xray oTC
End If |
But the only properties that i found (ParaTabsStop) seems not to be correct can you help me?
Thanks |
|