LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XGalleryThemeProvider Interface Reference

provides access to the Gallery themes. More...

import"XGalleryThemeProvider.idl";

Inheritance diagram for XGalleryThemeProvider:
XNameAccess XElementAccess XInterface GalleryThemeProvider

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...
 

Detailed Description

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.

See also
com::sun::star::container::XNameAccess

Member Function Documentation

◆ insertNewByName()

XGalleryTheme insertNewByName ( [in] string  ThemeName)
raises (com::sun::star::container::ElementExistException
)

creates a new Gallery theme and adds it to the collection.

Parameters
ThemeNameThe name of the Gallery theme to be added to the collection. The name must be unique.
Returns
XGalleryTheme The created theme interface
See also
com::sun::star::container::ElementExistException

◆ removeByName()

void removeByName ( [in] string  ThemeName)
raises (com::sun::star::container::NoSuchElementException
)

deletes a Gallery theme from the collection.

Parameters
ThemeNameThe name of the Gallery theme to be removed. The theme with the given name must exist.
See also
com::sun::star::container::NoSuchElementException

The documentation for this interface was generated from the following file: