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 © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.