interface XNameContainer in module com::sun::star::container::

(Global Index)

Syntax

interface XNameContainer : com::sun::star::container::XNameReplace ;

Description

This is the generic interface for supporting the insertion and removal of named elements.

See also

XContainer

Method Summary

insertByName inserts the element at the specified name.

removeByName removes the element with the specified name.

Known Services Which Export this Interface

com::sun::star::form::FormComponents

com::sun::star::form::component::GridControl

com::sun::star::presentation::CustomPresentationAccess

com::sun::star::drawing::BitmapTable

com::sun::star::drawing::DashTable

com::sun::star::drawing::GradientTable

com::sun::star::drawing::HatchTable

com::sun::star::drawing::MarkerTable

com::sun::star::drawing::TransparencyGradientTable

com::sun::star::ucb::HierarchyDataReadWriteAccess

com::sun::star::sheet::SheetCellRanges

com::sun::star::sheet::TableAutoFormats

com::sun::star::xml::AttributeContainer

com::sun::star::xml::NamespaceContainer

com::sun::star::configuration::SimpleSetUpdate

com::sun::star::style::StyleFamily

com::sun::star::packages::PackageFolder

com::sun::star::sdb::DefinitionContainer

Method Details



insertByName

Syntax

void insertByName (
string aName,
any aElement )
raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::container::ElementExistException , com::sun::star::lang::WrappedTargetException );

Description

inserts the element at the specified name.


removeByName

Syntax

void removeByName (
string Name )
raises ( com::sun::star::container::NoSuchElementException , com::sun::star::lang::WrappedTargetException );

Description

removes the element with the specified name.

Top of Page