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_CellFlags_idl__ 25#define __com_sun_star_sheet_CellFlags_idl__ 26 27//============================================================================= 28 29module com { module sun { module star { module sheet { 30 31//============================================================================= 32 33/** These constants select different types of cell contents. 34 35 <P>The values can be combined. They are used to insert, copy, or 36 delete contents.</P> 37 */ 38published constants CellFlags 39{ 40 //------------------------------------------------------------------------- 41 42 /** selects constant numeric values that are not formatted 43 as dates or times. 44 */ 45 const long VALUE = 1; 46 47 //------------------------------------------------------------------------- 48 49 /** selects constant numeric values that have a date or time 50 number format. 51 */ 52 const long DATETIME = 2; 53 54 //------------------------------------------------------------------------- 55 56 /** selects constant strings. 57 */ 58 const long STRING = 4; 59 60 //------------------------------------------------------------------------- 61 62 /** selects cell annotations. 63 */ 64 const long ANNOTATION = 8; 65 66 //------------------------------------------------------------------------- 67 68 /** selects formulas. 69 */ 70 const long FORMULA = 16; 71 72 //------------------------------------------------------------------------- 73 74 /** selects all explicit formatting, but not the formatting which is 75 applied implicitly through style sheets. 76 */ 77 const long HARDATTR = 32; 78 79 //------------------------------------------------------------------------- 80 81 /** selects cell styles. 82 */ 83 const long STYLES = 64; 84 85 //------------------------------------------------------------------------- 86 87 /** selects drawing objects. 88 */ 89 const long OBJECTS = 128; 90 91 //------------------------------------------------------------------------- 92 93 /** selects formatting within parts of the cell contents. 94 */ 95 const long EDITATTR = 256; 96 97 //------------------------------------------------------------------------- 98 99 /** selects cells with formatting within the cells or cells with more than 100 one paragraph within the cells. 101 */ 102 const long FORMATTED = 512; 103}; 104 105//============================================================================= 106 107}; }; }; }; 108 109#endif 110 111