The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

interface XAutoTextContainer
Base Interfaces
XAutoTextContainer
┗ ::com::sun::star::container::XNameAccess
   ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XNameAccess
(referenced interface's summary:)
is used to access named objects within a container.
Description
handles blocks of AutoTextEntry.
Example
 AutoTextPath=d:\office\autotext;f:\user\autotext
 
 groupname: "standard*0" 
 -> the group file is located n the path d:\office\autotext
 groupname: "all*1" 
 -> the group file is located in the path f:\user\autotext\ 
 

If the path extension is not specified, then the first directory is used. For automatic text expansion, the name of an actual group is set to search first in this group.

See also
AutoTextContainer

Methods' Summary
insertNewByName creates a new AutoText group.  
removeByName deletes the specified AutoText group.  
Methods' Details
insertNewByName
XAutoTextGroup
insertNewByName( [in] string  aGroupName )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::container::ElementExistException );

Description
creates a new AutoText group.
removeByName
void
removeByName( [in] string  aGroupName )
raises( ::com::sun::star::container::NoSuchElementException );

Description
deletes the specified AutoText group.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.