merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / text / XAutoTextContainer.idl
blob41cec4980938df5fc21defcf8faa04369679c653
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XAutoTextContainer.idl,v $
10 * $Revision: 1.11 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_XAutoTextContainer_idl__
31 #define __com_sun_star_text_XAutoTextContainer_idl__
33 #ifndef __com_sun_star_container_XNameAccess_idl__
34 #include <com/sun/star/container/XNameAccess.idl>
35 #endif
37 #ifndef __com_sun_star_text_XAutoTextGroup_idl__
38 #include <com/sun/star/text/XAutoTextGroup.idl>
39 #endif
41 #ifndef __com_sun_star_lang_IllegalArgumentException_idl__
42 #include <com/sun/star/lang/IllegalArgumentException.idl>
43 #endif
45 #ifndef __com_sun_star_container_ElementExistException_idl__
46 #include <com/sun/star/container/ElementExistException.idl>
47 #endif
49 #ifndef __com_sun_star_container_NoSuchElementException_idl__
50 #include <com/sun/star/container/NoSuchElementException.idl>
51 #endif
54 //=============================================================================
56 module com { module sun { module star { module text {
58 //=============================================================================
60 // DocMerge from xml: interface com::sun::star::text::XAutoTextContainer
61 /** handles blocks of <type>AutoTextEntry</type>.
69 @example <pre>
70 AutoTextPath=d:\office\autotext;f:\user\autotext
72 groupname: "standard*0"
73 -&amp;amp;gt; the group file is located n the path d:\office\autotext
74 groupname: "all*1"
75 -&amp;amp;gt; the group file is located in the path f:\user\autotext\
76 </pre>
78 <p>If the path extension is not specified, then the first directory
79 is used. For automatic text expansion, the name of an actual group is
80 set to search first in this group.
82 </p>@see AutoTextContainer
84 published interface XAutoTextContainer: com::sun::star::container::XNameAccess
86 //-------------------------------------------------------------------------
88 // DocMerge from xml: method com::sun::star::text::XAutoTextContainer::insertNewByName
89 /** creates a new AutoText group.
91 com::sun::star::text::XAutoTextGroup insertNewByName( [in] string aGroupName )
92 raises( com::sun::star::lang::IllegalArgumentException,
93 com::sun::star::container::ElementExistException );
95 //-------------------------------------------------------------------------
97 // DocMerge from xml: method com::sun::star::text::XAutoTextContainer::removeByName
98 /** deletes the specified AutoText group.
100 void removeByName( [in] string aGroupName )
101 raises( com::sun::star::container::NoSuchElementException );
105 //=============================================================================
107 }; }; }; };
110 #endif