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

Help with InsertColumnBreak in a calc document

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
jml3310
General User
General User


Joined: 08 Oct 2007
Posts: 26

PostPosted: Tue Apr 15, 2008 7:49 am    Post subject: Help with InsertColumnBreak in a calc document Reply with quote

I'm trying to insert a column break in a calc document (sheet) between the 2nd and 3rd columns. Unfortunately, I haven't had a lot of luck finding documentation on how to do this, but this is what I did find and tried:

document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno.InsertColumnBreak","", 0, Array())

I have 2 problems:
1) The above code segment doesn't appear to do anything
2) How do I inidcate which columns the break should be placed between

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