Methods' Details |
insertNewByName
- Description
- creates a new AutoText group.
- Parameter aGroupName
- the name of the AutoTextContainer
The name must follow the pattern groupname*pathid , where:
groupname should contain only alphanumeric characters
(A-Za-z0-9), underscore (_) or space (0x20)
- an asterisk (*) delimiter separates the group name from the path
identifier
pathid is a number (0 or 1) identifying the directory
where the AutoText file is stored. Paths are stored in the Office
configuration and accessed through
::com::sun::star::util::PathSettings::AutoText.
- 0 indicates the path of the Office Basis layer
- 1 indicates the path of the user directory
If only groupname is specified, the path defaults to 0, the
Office Basis layer.Note that in some systems the user may lack of
write access to the Office Basis directory.
- Example
standard*0 the "standard" AutoTextGroup in the Office Basis layer
template the "template" AutoTextGroup in the Office Basis layer
mytexts*1 the "mytexts" AutoTextGroup in the user directory
|
|
removeByName
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.