LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XHierarchicalNameAccess Interface Referencepublished

is used to have hierarchical access to elements within a container. More...


Inheritance diagram for XHierarchicalNameAccess:
XInterface TypeDescriptionManager TypeDescriptionProvider HierarchyAccess Package HierarchyDataReadAccess ReadOnlyAccess XHierarchicalNameReplace ConfigurationAccess GroupAccess SetAccess HierarchyDataReadWriteAccess XReadWriteAccess XHierarchicalNameContainer ConfigurationUpdateAccess ConfigurationAccess GroupUpdate ConfigurationAccess SetUpdate ReadWriteAccess DocumentContainer ConfigurationUpdateAccess ConfigurationUpdateAccess ConfigurationUpdateAccess ConfigurationUpdateAccess Forms Reports

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

Detailed Description

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

To implement inaccurate name access, support the com::sun::star::beans::XExactName interface.

See also

Member Function Documentation

◆ getByHierarchicalName()

any getByHierarchicalName ( [in] string  aName)
raises (com::sun::star::container::NoSuchElementException
the object with the specified name.
aNamethe name of the object.
NoSuchElementExceptionif an element under Name does not exist.

◆ hasByHierarchicalName()

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.

aNamethe name of the object.

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