1*a5ae5a41SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*a5ae5a41SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*a5ae5a41SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*a5ae5a41SAndrew Rist * distributed with this work for additional information 6*a5ae5a41SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*a5ae5a41SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*a5ae5a41SAndrew Rist * "License"); you may not use this file except in compliance 9*a5ae5a41SAndrew Rist * with the License. You may obtain a copy of the License at 10*a5ae5a41SAndrew Rist * 11*a5ae5a41SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*a5ae5a41SAndrew Rist * 13*a5ae5a41SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*a5ae5a41SAndrew Rist * software distributed under the License is distributed on an 15*a5ae5a41SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*a5ae5a41SAndrew Rist * KIND, either express or implied. See the License for the 17*a5ae5a41SAndrew Rist * specific language governing permissions and limitations 18*a5ae5a41SAndrew Rist * under the License. 19*a5ae5a41SAndrew Rist * 20*a5ae5a41SAndrew Rist *************************************************************/ 21*a5ae5a41SAndrew Rist 22*a5ae5a41SAndrew Rist 23cdf0e10cSrcweir#define TP_VALIDATION_VALUES 696 24cdf0e10cSrcweir#define TP_VALIDATION_INPUTHELP 697 25cdf0e10cSrcweir#define TP_VALIDATION_ERROR 698 26cdf0e10cSrcweir#define TAB_DLG_VALIDATION 699 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define FT_ALLOW 1 29cdf0e10cSrcweir#define LB_ALLOW 2 30cdf0e10cSrcweir#define TSB_ALLOW_BLANKS 3 31cdf0e10cSrcweir#define FT_VALUE 4 32cdf0e10cSrcweir#define LB_VALUE 5 33cdf0e10cSrcweir#define FT_MIN 6 34cdf0e10cSrcweir#define EDT_MIN 7 35cdf0e10cSrcweir#define FT_MAX 8 36cdf0e10cSrcweir#define EDT_MAX 9 37cdf0e10cSrcweir 38cdf0e10cSrcweir#define FL_CONTENT 10 39cdf0e10cSrcweir 40cdf0e10cSrcweir#define TSB_HELP 11 41cdf0e10cSrcweir#define FT_TITLE 12 42cdf0e10cSrcweir#define EDT_TITLE 13 43cdf0e10cSrcweir#define FT_INPUTHELP 14 44cdf0e10cSrcweir#define EDT_INPUTHELP 15 45cdf0e10cSrcweir 46cdf0e10cSrcweir#define TSB_SHOW 21 47cdf0e10cSrcweir#define FT_ACTION 22 48cdf0e10cSrcweir#define FT_ERROR 23 49cdf0e10cSrcweir#define LB_ACTION 24 50cdf0e10cSrcweir#define EDT_ERROR 25 51cdf0e10cSrcweir#define BTN_SEARCH 26 52cdf0e10cSrcweir 53cdf0e10cSrcweir#define CB_SHOWLIST 27 54cdf0e10cSrcweir#define CB_SORTLIST 28 55cdf0e10cSrcweir#define EDT_LIST 29 56cdf0e10cSrcweir#define FT_SOURCEHINT 30 57cdf0e10cSrcweir//<!--Added by PengYunQuan for Validity Cell Range Picker 58cdf0e10cSrcweir#define RB_VALIDITY_REF 88 59cdf0e10cSrcweir//-->Added by PengYunQuan for Validity Cell Range Picker 60cdf0e10cSrcweir 61cdf0e10cSrcweir/* Position indexes for "Allow" list box. 62cdf0e10cSrcweir They do not map directly to ScValidationMode and can safely be modified to 63cdf0e10cSrcweir change the order of the list box entries. */ 64cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_ANY 0 65cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_WHOLE 1 66cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_DECIMAL 2 67cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_DATE 3 68cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_TIME 4 69cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_RANGE 5 70cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_LIST 6 71cdf0e10cSrcweir#define SC_VALIDDLG_ALLOW_TEXTLEN 7 72cdf0e10cSrcweir 73cdf0e10cSrcweir/* Position indexes for "Data" list box. 74cdf0e10cSrcweir They do not map directly to ScConditionMode and can safely be modified to 75cdf0e10cSrcweir change the order of the list box entries. */ 76cdf0e10cSrcweir#define SC_VALIDDLG_DATA_EQUAL 0 77cdf0e10cSrcweir#define SC_VALIDDLG_DATA_LESS 1 78cdf0e10cSrcweir#define SC_VALIDDLG_DATA_GREATER 2 79cdf0e10cSrcweir#define SC_VALIDDLG_DATA_EQLESS 3 80cdf0e10cSrcweir#define SC_VALIDDLG_DATA_EQGREATER 4 81cdf0e10cSrcweir#define SC_VALIDDLG_DATA_NOTEQUAL 5 82cdf0e10cSrcweir#define SC_VALIDDLG_DATA_BETWEEN 6 83cdf0e10cSrcweir#define SC_VALIDDLG_DATA_NOTBETWEEN 7 84cdf0e10cSrcweir 85