Thanks for your quick reply. Meanwhile I was investigating a little bit and I realised that the ODF documents are able to store a set of custom settings per document. If I unzip, (for instance), a writer document we can see the following structure:
(I customized the menubar with a new entry for the document using tools->customize) Archive: /home/jordi/test.odt extracting: mimetype creating: Configurations2/statusbar/ inflating: Configurations2/accelerator/current.xml creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/progressbar/ inflating: Configurations2/menubar/menubar.xml creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ inflating: content.xml inflating: styles.xml inflating: meta.xml inflating: Thumbnails/thumbnail.png inflating: settings.xml inflating: META-INF/manifest.xml So, my next question is: How can I access (for creating/updating) the document-specific settings (Configurations2/menubar/menubar.xml) using the OOo API?? Regards, 2007/10/6, ashok _ <[EMAIL PROTECTED]>: > > On 10/6/07, Jordi Sanchez wrote: > > Hi devs, > > So, my question is: Is there some way to modify the menu bar only for a > > single document? > > > > > Hi, > > this should be possible if you create your document using a template. > In the template you can disable the menus using tools->customize , > save in "template file name". any documents created using that > template will have your modified menu bar now. > > ashok > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
