1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_linguistic2_DictionaryListEventFlags_idl__
28#define __com_sun_star_linguistic2_DictionaryListEventFlags_idl__
29
30
31//=============================================================================
32
33module com { module sun { module star { module linguistic2 {
34
35//=============================================================================
36/** constants representing a single dictionary-list event.
37
38	<P>These flags define the possible types for a
39	dictionary-list event.</P>
40
41    @see    <type scope="com::sun::star::linguistic2">DictionaryListEvent</type>
42    @see    <type scope="com::sun::star::linguistic2">XDictionaryListEventListener</type>
43    @see    <type scope="com::sun::star::linguistic2">XDictionaryList</type>
44*/
45published constants DictionaryListEventFlags
46{
47	//-------------------------------------------------------------------------
48	/** A positive entry was added to a dictionary from the
49		dictionary list.
50	*/
51	const short ADD_POS_ENTRY = 1;
52
53	//-------------------------------------------------------------------------
54	/** A positive entry was deleted from a dictionary of the
55        dictionary-list or a dictionary with positive entries
56		was cleared.
57	*/
58	const short DEL_POS_ENTRY = 2;
59
60	//-------------------------------------------------------------------------
61	/** A negative entry was added to a dictionary from the
62        dictionary-list.
63     */
64	const short ADD_NEG_ENTRY = 4;
65
66	//-------------------------------------------------------------------------
67	/** A negative entry was deleted from a dictionary of the
68        dictionary-list or a dictionary with negative entries
69		was cleared.
70	*/
71	const short DEL_NEG_ENTRY = 8;
72
73	//-------------------------------------------------------------------------
74	/** A dictionary with positive entries was activated or
75		has changed its language.
76	*/
77	const short ACTIVATE_POS_DIC = 16;
78
79	//-------------------------------------------------------------------------
80	/** A dictionary with positive entries was deactivated or
81		has changed its language.
82	*/
83	const short DEACTIVATE_POS_DIC = 32;
84
85	//-------------------------------------------------------------------------
86	/** A dictionary with negative entries was activated or
87		has changed its language.
88	*/
89	const short ACTIVATE_NEG_DIC = 64;
90
91	//-------------------------------------------------------------------------
92	/** A dictionary with negative entries was deactivated or
93		has changed its language.
94	*/
95	const short DEACTIVATE_NEG_DIC = 128;
96};
97
98//=============================================================================
99
100}; }; }; };
101
102#endif
103