1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module linguistic2
{
24 /** flags used for the event type in dictionary events.
26 <P>These flags represent the type of events that a dictionary
29 @see com::sun::star::linguistic2::DictionaryEvent
31 published constants DictionaryEventFlags
33 /** indicates that at least one entry has been added.
35 const short ADD_ENTRY
= 1;
37 /** indicates that at least one entry has been deleted.
39 const short DEL_ENTRY
= 2;
41 /** the dictionary's name has changed.
43 const short CHG_NAME
= 4;
45 /** the dictionary's language has changed.
47 const short CHG_LANGUAGE
= 8;
49 /** all entries have been removed.
51 const short ENTRIES_CLEARED
= 16;
53 /** used when the dictionary was activated.
55 const short ACTIVATE_DIC
= 32;
57 /** used when the dictionary was deactivated.
59 const short DEACTIVATE_DIC
= 64;
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */