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

Version Feature

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






PostPosted: Sun Mar 23, 2003 2:33 pm    Post subject: Version Feature Reply with quote

Hello,

how can I enable the version Feature in SO6 with a macro (after I have created the document)?

Thank you
Back to top
Guest






PostPosted: Mon Mar 24, 2003 3:51 am    Post subject: Reply with quote

Hello,

found it by my self

oDoc = thisComponent()
oDocSettings = oDoc.createInstance("com.sun.star.document.Settings")
oDocSettings.SaveVersionOnClose = true


Thank you
Back to top
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