On Sun, 12 May 2013 06:42:05 -0400, Vieri <firstname.lastname@example.org> wrote:
I'd like to override the SAVE toolbar button, the FIle/save(save as)
menu items and the X (close) on the top right corner of the window. In
other words, I'd like a custom macro to be executed whenever a user
wants to either save or exit. This macro will eventually save the
document and exit the app but after making custom checks.
Could anyone please give me a tip on how to do this?
Alternatively, it would be fine if I could simply disable both SAVE and
QUIT/exit as long as I can add a custom icon/button in the toolbar or in
the menu so the user can actually run the macro to save&exit.
I believe you can write a macro and install it on the toolbar. Using
TOOLS>OPTIONS you can select which buttons are visible on the toolbar.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy