LibreOffice
LibreOffice 24.2 SDK API Reference
|
import <ModuleAcceleratorConfiguration.idl;
Public Member Functions | |
createWithModuleIdentifier ([in] string ModuleIdentifier) | |
![]() | |
sequence< com::sun::star::awt::KeyEvent > | getAllKeyEvents () |
return the list of all key events, which are available at this configuration set. | |
string | getCommandByKeyEvent ([in] com::sun::star::awt::KeyEvent aKeyEvent) raises (com::sun::star::container::NoSuchElementException) |
return the registered command for the specified key event. | |
void | setKeyEvent ([in] com::sun::star::awt::KeyEvent aKeyEvent, [in] string sCommand) raises (com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException) |
modify or create a key - command - binding. | |
void | removeKeyEvent ([in] com::sun::star::awt::KeyEvent aKeyEvent) raises (com::sun::star::container::NoSuchElementException) |
remove a key-command-binding from this configuration set. | |
sequence< com::sun::star::awt::KeyEvent > | getKeyEventsByCommand ([in] string sCommand) raises (com::sun::star::lang::IllegalArgumentException , com::sun::star::container::NoSuchElementException) |
optimized access to the relation "command-key" instead of "key-command" which is provided normally by this interface. | |
sequence< any > | getPreferredKeyEventsForCommandList ([in] sequence< string > lCommandList) raises (com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException) |
optimized function to map a list of commands to a corresponding list of key events. | |
void | removeCommandFromAllKeyEvents ([in] string sCommand) raises (com::sun::star::lang::IllegalArgumentException , com::sun::star::container::NoSuchElementException) |
search for a key-command-binding inside this configuration set, where the specified command is used. | |
![]() | |
void | reload () raises ( ::com::sun::star::uno::Exception ) |
reloads the configuration data from the storage and reinitialize the user interface configuration manager instance with this data. | |
void | store () raises ( ::com::sun::star::uno::Exception ) |
stores the configuration data to the storage provided by setStorage() from the storage and initialize the user interface configuration manager instance with the newly data. | |
void | storeToStorage ([in] ::com::sun::star::embed::XStorage Storage) raises ( ::com::sun::star::uno::Exception ) |
stores the configuration data to the provided storage, ignoring the previously set storage by setStorage(). | |
boolean | isModified () |
provides the current modify state of the configuration manager instance. | |
boolean | isReadOnly () |
provides the current read-only state of the user configuration manager. | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
![]() | |
void | setStorage ([in] ::com::sun::star::embed::XStorage Storage) |
connects a storage to the user interface configuration manager which is used on subsequent calls of load() and store(). | |
boolean | hasStorage () |
checks if an instance has already a storage to load/store its data. | |
![]() | |
void | addConfigurationListener ([in] ::com::sun::star::ui::XUIConfigurationListener Listener) |
adds the specified listener to receive events when elements are changed, inserted or removed. | |
void | removeConfigurationListener ([in] ::com::sun::star::ui::XUIConfigurationListener Listener) |
removes the specified listener so it does not receive any events from this user interface configuration manager. | |
Additional Inherited Members | |
![]() | |
interface | com::sun::star::ui::XUIConfigurationPersistence |
specifies a persistence interface which supports to load/store accelerator configuration data to a storage and to retrieve information about the current state. | |
interface | com::sun::star::ui::XUIConfigurationStorage |
connects this configuration to a new storage which must be used further on subsequent calls of com::sun::star::util::XConfigurationPersistence.load() and com::sun::star::util::XConfigurationPersistence.store(). | |
interface | com::sun::star::ui::XUIConfiguration |
supports to notify other implementations about changes of this accelerator configuration. | |
createWithModuleIdentifier | ( | [in] string | ModuleIdentifier | ) |