/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 *************************************************************/


#ifndef __com_sun_star_linguistic2_LinguServiceEventFlags_idl__
#define __com_sun_star_linguistic2_LinguServiceEventFlags_idl__


//=============================================================================

module com { module sun { module star { module linguistic2 {

//=============================================================================
/** to be used in lingu-service events.

	<P>These values define the flags which may be logically combined
	to build the event type of a
	<type scope="com::sun::star::linguistic2">LinguServiceEvent</type></P>
*/
published constants LinguServiceEventFlags
{
	//-------------------------------------------------------------------------
	/** The spelling of previously correct words should be checked again.
	*/
	const short SPELL_CORRECT_WORDS_AGAIN = 1;

	//-------------------------------------------------------------------------
	/** The spelling of previously misspelled words should be checked again.
	*/
	const short SPELL_WRONG_WORDS_AGAIN = 2;

	//-------------------------------------------------------------------------
	/** The hyphenation of words may have changed.
	*/
	const short HYPHENATE_AGAIN = 4;

    //-------------------------------------------------------------------------
    /** Request new proofreading of the document
	
		@since OpenOffice 3.0.1
    */
    const short PROOFREAD_AGAIN = 8;

};

//=============================================================================

}; }; }; };

#endif

