Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / linguistic2 / LinguServiceEvent.idl
blobfc30ac0144f9cc499adbd7bf715082b00b8529cd
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 .
19 #ifndef __com_sun_star_linguistic2_LinguServiceEvent_idl__
20 #define __com_sun_star_linguistic2_LinguServiceEvent_idl__
22 #include <com/sun/star/lang/EventObject.idl>
25 module com { module sun { module star { module linguistic2 {
27 /** represents a linguistic service event.
29 <P>This type of event may be broadcast by a spell checker or
30 hyphenator service implementation to inform its listeners (clients)
31 that the results of previous function calls may be different now.
32 It is possible to suggest that hyphenation should be done again
33 and/or the spelling of previously incorrect or correct words
34 should be checked again.</P>
36 @see com::sun::star::linguistic2::XLinguServiceEventBroadcaster
37 @see com::sun::star::linguistic2::XLinguServiceEventListener
38 @see com::sun::star::linguistic2::SpellChecker
39 @see com::sun::star::linguistic2::Hyphenator
40 @see com::sun::star::lang::EventObject
42 published struct LinguServiceEvent : com::sun::star::lang::EventObject
44 /** The type of event.
46 <p>The value may be combined via logical OR from those values
47 defined in com::sun::star::linguistic2::LinguServiceEventFlags</p>
49 short nEvent;
54 }; }; }; };
56 #endif
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */