1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_sheet_FormulaMapGroup_idl__ 25#define __com_sun_star_sheet_FormulaMapGroup_idl__ 26 27//============================================================================= 28 29module com { module sun { module star { module sheet { 30 31//============================================================================= 32 33/** Constants of bit masks used with 34 <member>XFormurmulaOpCodeMapper::getAvailableMappings</member> to 35 specify for which group of symbols the mappings are to be obtained. 36 37 If no bit is set, a sequence of special mappings is returned in the 38 order that is defined by <type>FormulaMapGroupSpecialOffset</type>. 39 Note that the special group and other groups are mutual exclusive. 40 */ 41constants FormulaMapGroup 42{ 43 /** Group of op-codes without a string symbol. 44 45 @see FormulaMapGroupSpecialOffset 46 */ 47 const long SPECIAL = 0; 48 49 /** Separators and parentheses */ 50 const long SEPARATORS = 0x00000001; 51 52 /** Separators and parentheses for constant arrays */ 53 const long ARRAY_SEPARATORS = 0x00000002; 54 55 /** Unary operators */ 56 const long UNARY_OPERATORS = 0x00000004; 57 58 /** Binary operators */ 59 const long BINARY_OPERATORS = 0x00000008; 60 61 /** Functions */ 62 const long FUNCTIONS = 0x00000010; 63 64 /** All groups except SPECIAL */ 65 const long ALL_EXCEPT_SPECIAL = 0x7fffffff; 66}; 67 68//============================================================================= 69 70}; }; }; }; 71 72#endif 73 74