giancarlo wrote:
Is there any way to save the opened document without clicking on "save" button? I need this to avoid the user click to save the document after modifying document infos from my OOo extension.

The documents implement the interfaces XStorable. You can use store and storeAsURL which are equivalent to "save" and "save as" and the very useful storeToURL which saves to a given location without changing the current default URL of the document (that's something I miss from the GUI in OOo, I probably should write a little extension :) ).

http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XStorable.html

Arthur

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to