:: com :: sun :: star :: text ::

interface XAutoTextGroup
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::container::XElementAccess
    |
    +-::com::sun::star::container::XNameAccess
       |
       +-XAutoTextGroup
Description
The interface provide methods to insert, rename and delete autotext entries from the current autotext group.

Methods' Summary
getTitles returns the titles of all autotext entries. The order of the entries corresponds to the output of the function getElementNames().
renameByName renames an entry in the autotext group.
insertNewByName creates a new AutoTextEntry entry.
removeByName removes the specified autotext entry.
Methods' Details
getTitles
sequence< string >
getTitles();
 
 

Description
returns the titles of all autotext entries. The order of the entries corresponds to the output of the function getElementNames().
renameByName
void
renameByName(
 
[in] string
[in] string
[in] string 

raises(

 
aElementName,
aNewElementName,
aNewElementTitle ) 
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::container::ElementExistException,
::com::sun::star::io::IOException );

Description
renames an entry in the autotext group.

The position of the autotext entry is not changed.

insertNewByName
XAutoTextEntry
insertNewByName(
 
[in] string
[in] string
[in] XTextRange 

raises(

 
aName,
aTitle,
xTextRange ) 
::com::sun::star::container::ElementExistException );

Description
creates a new AutoTextEntry entry.
removeByName
void
removeByName(
 
[in] string 

raises(

 
aEntryName ) 
::com::sun::star::container::NoSuchElementException );

Description
removes the specified autotext entry.
Top of Page