The ::com::sun::star::container::XNameContainer
and ::com::sun::star::container::XNameReplace
interfaces can be used to manage the members that this group contains.
It is possible to insert, remove, and replace members.
The method
::com::sun::star::container::XNameReplace::replaceByName can be used to rename the
specified member. To do so, the new name has to be passed as second
argument. An implementation should support the following data types:
- a non-empty
string
specifying the new name of the
group member.
- an object supporting the
::com::sun::star::container::XNamed interface, for example an instance of
DataPilotFieldGroupItem received from another group.
The method
::com::sun::star::container::XNameContainer::insertByName can be used to insert a new
member into this field group. An implementation should ignore the
second argument and insert the specified member name.
The method
::com::sun::star::container::XNameContainer::removeByName can be used to remove an
existing member name.