LibreOffice
LibreOffice 24.2 SDK API Reference
|
This is the generic interface for supporting the replacement of named elements. More...
import"XNameReplace.idl";
Public Member Functions | |
void | replaceByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
replaces the element with the specified name with the given element. 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... | |
This is the generic interface for supporting the replacement of named elements.
void replaceByName | ( | [in] string | aName, |
[in] any | aElement | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException, | |
com::sun::star::container::NoSuchElementException, | |||
com::sun::star::lang::WrappedTargetException | |||
) |
replaces the element with the specified name with the given element.