Hi Mathias

This strange looking macro will set an internal switch in the document
meta data that enables the template update procedure.
BTW: the same macro will re-enable the update procedure in case you have
switched it off by answering the question "do you want to update your
styles" with "No".


yes it is strange :-)
some magics behind ;-)

You can execute this macro on every document if you want (e.g. by
assigning it to the "OnLoad" event on application level), if the
document is not based on a template it will not be modified by this macro.


Do you think an addon would be valuable ?
With a macro looping over all opened documents for example
(the OnLMoad event is not applicable in this case unless chosen by user)

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to