LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides access to the Gallery themes. More...
import"XGalleryThemeProvider.idl";
Public Member Functions | |
XGalleryTheme | insertNewByName ([in] string ThemeName) raises ( com::sun::star::container::ElementExistException ) |
creates a new Gallery theme and adds it to the collection. More... | |
void | removeByName ([in] string ThemeName) raises ( com::sun::star::container::NoSuchElementException ) |
deletes a Gallery theme from the collection. More... | |
Public Member Functions inherited from XNameAccess | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
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... | |
provides access to the Gallery themes.
It also allows inserting and removing of Gallery themes by name.
This interface extends the interface com::sun::star::container::XNameAccess which provides access to existing Gallery themes collection.
XGalleryTheme insertNewByName | ( | [in] string | ThemeName | ) | |
raises | ( | com::sun::star::container::ElementExistException | |||
) |
creates a new Gallery theme and adds it to the collection.
ThemeName | The name of the Gallery theme to be added to the collection. The name must be unique. |
void removeByName | ( | [in] string | ThemeName | ) | |
raises | ( | com::sun::star::container::NoSuchElementException | |||
) |
deletes a Gallery theme from the collection.
ThemeName | The name of the Gallery theme to be removed. The theme with the given name must exist. |