LibreOffice
LibreOffice 24.2 SDK API Reference
|
is used to have hierarchical access to elements within a container. More...
import"XHierarchicalNameAccess.idl";
Public Member Functions | |
any | getByHierarchicalName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException ) |
boolean | hasByHierarchicalName ([in] string aName) |
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... | |
is used to have hierarchical access to elements within a container.
You address an object of a specific level in the hierarchy by giving its fully qualified name, e.g., "com.sun.star.uno.XInterface".
To implement inaccurate name access, support the com::sun::star::beans::XExactName interface.
any getByHierarchicalName | ( | [in] string | aName | ) | |
raises | ( | com::sun::star::container::NoSuchElementException | |||
) |
aName | the name of the object. |
NoSuchElementException | if an element under Name does not exist. |
boolean hasByHierarchicalName | ( | [in] string | aName | ) |
TRUE
if an element with this name is in the container, FALSE
otherwise.In many cases, the next call is XNameAccess::getByName(). You should optimize this case.
aName | the name of the object. |