/**************************************************************
 * 
 * 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_sheet_FunctionCategory_idl__
#define __com_sun_star_sheet_FunctionCategory_idl__

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

module com {  module sun {  module star {  module sheet {

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

/** used to specify the category of a spreadsheet function.
 */
published constants FunctionCategory
{
	//-------------------------------------------------------------------------

	/** specifies a database function.
	 */
	const long DATABASE = 1;

	//-------------------------------------------------------------------------

	/** specifies a function that calculates with dates and/or times.
	 */
	const long DATETIME = 2;

	//-------------------------------------------------------------------------

	/** specifies a financial function.
	 */
	const long FINANCIAL = 3;

	//-------------------------------------------------------------------------

	/** specifies a function that returns information about the cell,
		the cell contents or the current formula.
	 */
	const long INFORMATION = 4;

	//-------------------------------------------------------------------------

	/** specifies a boolean function.
	 */
	const long LOGICAL = 5;

	//-------------------------------------------------------------------------

	/** specifies a common mathematical function
	 */
	const long MATHEMATICAL = 6;

	//-------------------------------------------------------------------------

	/** specifies a matrix function.
	 */
	const long MATRIX = 7;

	//-------------------------------------------------------------------------

	/** specifies a statistical function
	 */
	const long STATISTICAL = 8;

	//-------------------------------------------------------------------------

	/** specifies a function that returns information using the spreadsheet
		contents or specific cell positions.
	 */
	const long SPREADSHEET = 9;

	//-------------------------------------------------------------------------

	/** specifies a text function.
	 */
	const long TEXT = 10;

	//-------------------------------------------------------------------------

	/** specifies a common add-in function.
	 */
	const long ADDIN = 11;

};

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

}; }; }; };

#endif

