LibreOffice
LibreOffice 24.2 SDK API Reference
|
import"XUIConfigurationManager2.idl";
Exported Interfaces | |
interface | com::sun::star::ui::XUIConfigurationStorage |
provides access to set a storage and to check if a storage has been associated to the user interface configuration manager. More... | |
interface | com::sun::star::ui::XUIConfigurationPersistence |
provides access to persistence functions to load/store user interface configuration data from a storage. More... | |
interface | com::sun::star::ui::XUIConfigurationManager |
provides functions to change, insert and remove user interface elements from a user interface configuration manager. More... | |
interface | com::sun::star::ui::XUIConfiguration |
provides functions to add and remove listeners for changes within a user interface configuration manager. More... | |
interface | ::com::sun::star::lang::XComponent |
allows controlling or observing the lifetime of a user interface configuration manager instance. More... | |
Public Member Functions | |
com::sun::star::ui::XAcceleratorConfiguration | createShortCutManager () |
Creates a new configuration manager in case there are different views with different languages. More... | |
Public Member Functions inherited from XUIConfigurationStorage | |
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(). More... | |
boolean | hasStorage () |
checks if an instance has already a storage to load/store its data. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Public Member Functions inherited from XUIConfigurationPersistence | |
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. More... | |
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. More... | |
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(). More... | |
boolean | isModified () |
provides the current modify state of the configuration manager instance. More... | |
boolean | isReadOnly () |
provides the current read-only state of the user configuration manager. More... | |
Public Member Functions inherited from XUIConfigurationManager | |
void | reset () |
resets the configuration manager to the default user interface configuration data. More... | |
sequence< sequence< com::sun::star::beans::PropertyValue > > | getUIElementsInfo ([in] short ElementType) raises ( com::sun::star::lang::IllegalArgumentException ) |
retrieves information about all user interface elements within the user interface configuration manager. More... | |
::com::sun::star::container::XIndexContainer | createSettings () |
creates an empty settings data container. More... | |
boolean | hasSettings ([in] string ResourceURL) raises ( com::sun::star::lang::IllegalArgumentException ) |
determines if the settings of a user interface element is part the user interface configuration manager. More... | |
::com::sun::star::container::XIndexAccess | getSettings ([in] string ResourceURL, [in] boolean bWriteable) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::IllegalArgumentException ) |
retrieves the settings of a user interface element. More... | |
void | replaceSettings ([in] string ResourceURL, [in] ::com::sun::star::container::XIndexAccess aNewData) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::IllegalAccessException ) |
replaces the settings of a user interface element with new settings. More... | |
void | removeSettings ([in] string ResourceURL) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::IllegalAccessException ) |
removes the settings of an existing user interface element. More... | |
void | insertSettings ([in] string NewResourceURL, [in] ::com::sun::star::container::XIndexAccess aNewData) raises ( com::sun::star::container::ElementExistException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::IllegalAccessException ) |
inserts the settings of a new user interface element. More... | |
com::sun::star::uno::XInterface | getImageManager () |
retrieves the image manager from the user interface configuration manager. More... | |
com::sun::star::ui::XAcceleratorConfiguration | getShortCutManager () |
retrieves the keyboard short cut manager from the user interface configuration manager. More... | |
com::sun::star::uno::XInterface | getEventsManager () |
retrieves the events manager from the user interface configuration manager. More... | |
Public Member Functions inherited from XUIConfiguration | |
void | addConfigurationListener ([in] ::com::sun::star::ui::XUIConfigurationListener Listener) |
adds the specified listener to receive events when elements are changed, inserted or removed. More... | |
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. More... | |
Public Member Functions inherited from XComponent | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More... | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. More... | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. More... | |
interface ::com::sun::star::lang::XComponent |
allows controlling or observing the lifetime of a user interface configuration manager instance.
The owner of the object may dispose of this object using com::sun::star::lang::XComponent::dispose().
interface com::sun::star::ui::XUIConfiguration |
provides functions to add and remove listeners for changes within a user interface configuration manager.
provides functions to change, insert and remove user interface elements from a user interface configuration manager.
provides access to persistence functions to load/store user interface configuration data from a storage.
provides access to set a storage and to check if a storage has been associated to the user interface configuration manager.
com::sun::star::ui::XAcceleratorConfiguration createShortCutManager | ( | ) |
Creates a new configuration manager in case there are different views with different languages.
This function enables those views to have short cut keys specific to the languages.