xref: /aoo41x/main/sc/source/ui/inc/validate.hrc (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#define TP_VALIDATION_VALUES    696
28#define TP_VALIDATION_INPUTHELP 697
29#define TP_VALIDATION_ERROR     698
30#define TAB_DLG_VALIDATION      699
31
32#define FT_ALLOW                1
33#define LB_ALLOW                2
34#define TSB_ALLOW_BLANKS        3
35#define FT_VALUE                4
36#define LB_VALUE                5
37#define FT_MIN                  6
38#define EDT_MIN                 7
39#define FT_MAX                  8
40#define EDT_MAX                 9
41
42#define FL_CONTENT              10
43
44#define TSB_HELP                11
45#define FT_TITLE                12
46#define EDT_TITLE               13
47#define FT_INPUTHELP            14
48#define EDT_INPUTHELP           15
49
50#define TSB_SHOW                21
51#define FT_ACTION               22
52#define FT_ERROR                23
53#define LB_ACTION               24
54#define EDT_ERROR               25
55#define BTN_SEARCH              26
56
57#define CB_SHOWLIST             27
58#define CB_SORTLIST             28
59#define EDT_LIST                29
60#define FT_SOURCEHINT           30
61//<!--Added by PengYunQuan for Validity Cell Range Picker
62#define	RB_VALIDITY_REF			88
63//-->Added by PengYunQuan for Validity Cell Range Picker
64
65/*  Position indexes for "Allow" list box.
66    They do not map directly to ScValidationMode and can safely be modified to
67    change the order of the list box entries. */
68#define SC_VALIDDLG_ALLOW_ANY       0
69#define SC_VALIDDLG_ALLOW_WHOLE     1
70#define SC_VALIDDLG_ALLOW_DECIMAL   2
71#define SC_VALIDDLG_ALLOW_DATE      3
72#define SC_VALIDDLG_ALLOW_TIME      4
73#define SC_VALIDDLG_ALLOW_RANGE     5
74#define SC_VALIDDLG_ALLOW_LIST      6
75#define SC_VALIDDLG_ALLOW_TEXTLEN   7
76
77/*  Position indexes for "Data" list box.
78    They do not map directly to ScConditionMode and can safely be modified to
79    change the order of the list box entries. */
80#define SC_VALIDDLG_DATA_EQUAL      0
81#define SC_VALIDDLG_DATA_LESS       1
82#define SC_VALIDDLG_DATA_GREATER    2
83#define SC_VALIDDLG_DATA_EQLESS     3
84#define SC_VALIDDLG_DATA_EQGREATER  4
85#define SC_VALIDDLG_DATA_NOTEQUAL   5
86#define SC_VALIDDLG_DATA_BETWEEN    6
87#define SC_VALIDDLG_DATA_NOTBETWEEN 7
88
89