Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / offapi / com / sun / star / linguistic2 / DictionaryEvent.idl
blob8b7da6b7c1dd4d1e97e0292ff2471c7c9414a238
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 /** represents a dictionary event.
26 <P>This type of event is used by a dictionary to inform
27 its listeners about changes in its properties or its entry list.
28 It consists of an event type and may supply an affected
29 dictionary entry.</P>
31 @see com::sun::star::linguistic2::XDictionary
32 @see com::sun::star::linguistic2::XDictionaryEventListener
33 @see com::sun::star::lang::EventObject
35 published struct DictionaryEvent : com::sun::star::lang::EventObject
37 /** is the type of event.
39 <p>This must be the value of a single flag. No combinations are
40 allowed.</p>
42 @see com::sun::star::linguistic2::DictionaryEventFlags
44 short nEvent;
46 /** is the affected dictionary entry (if any).
48 <p>It must be set if an entry was
49 added or deleted, otherwise it should be empty.</p>
51 @see com::sun::star::linguistic2::XDictionaryEntry
53 com::sun::star::linguistic2::XDictionaryEntry xDictionaryEntry;
58 }; }; }; };
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */