xref: /AOO41X/main/offapi/com/sun/star/linguistic2/DictionaryListEventFlags.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_linguistic2_DictionaryListEventFlags_idl__
24#define __com_sun_star_linguistic2_DictionaryListEventFlags_idl__
25
26
27//=============================================================================
28
29module com { module sun { module star { module linguistic2 {
30
31//=============================================================================
32/** constants representing a single dictionary-list event.
33
34    <P>These flags define the possible types for a
35    dictionary-list event.</P>
36
37    @see    <type scope="com::sun::star::linguistic2">DictionaryListEvent</type>
38    @see    <type scope="com::sun::star::linguistic2">XDictionaryListEventListener</type>
39    @see    <type scope="com::sun::star::linguistic2">XDictionaryList</type>
40*/
41published constants DictionaryListEventFlags
42{
43    //-------------------------------------------------------------------------
44    /** A positive entry was added to a dictionary from the
45        dictionary list.
46    */
47    const short ADD_POS_ENTRY = 1;
48
49    //-------------------------------------------------------------------------
50    /** A positive entry was deleted from a dictionary of the
51        dictionary-list or a dictionary with positive entries
52        was cleared.
53    */
54    const short DEL_POS_ENTRY = 2;
55
56    //-------------------------------------------------------------------------
57    /** A negative entry was added to a dictionary from the
58        dictionary-list.
59     */
60    const short ADD_NEG_ENTRY = 4;
61
62    //-------------------------------------------------------------------------
63    /** A negative entry was deleted from a dictionary of the
64        dictionary-list or a dictionary with negative entries
65        was cleared.
66    */
67    const short DEL_NEG_ENTRY = 8;
68
69    //-------------------------------------------------------------------------
70    /** A dictionary with positive entries was activated or
71        has changed its language.
72    */
73    const short ACTIVATE_POS_DIC = 16;
74
75    //-------------------------------------------------------------------------
76    /** A dictionary with positive entries was deactivated or
77        has changed its language.
78    */
79    const short DEACTIVATE_POS_DIC = 32;
80
81    //-------------------------------------------------------------------------
82    /** A dictionary with negative entries was activated or
83        has changed its language.
84    */
85    const short ACTIVATE_NEG_DIC = 64;
86
87    //-------------------------------------------------------------------------
88    /** A dictionary with negative entries was deactivated or
89        has changed its language.
90    */
91    const short DEACTIVATE_NEG_DIC = 128;
92};
93
94//=============================================================================
95
96}; }; }; };
97
98#endif
99