OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

how can i modify a tabs by macro

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
briglia23
OOo Enthusiast
OOo Enthusiast


Joined: 24 Jun 2008
Posts: 121

PostPosted: Mon Jun 29, 2009 5:04 am    Post subject: how can i modify a tabs by macro Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group