1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: validate.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #define TP_VALIDATION_VALUES 696
31 #define TP_VALIDATION_INPUTHELP 697
32 #define TP_VALIDATION_ERROR 698
33 #define TAB_DLG_VALIDATION 699
37 #define TSB_ALLOW_BLANKS 3
50 #define FT_INPUTHELP 14
51 #define EDT_INPUTHELP 15
60 #define CB_SHOWLIST 27
61 #define CB_SORTLIST 28
63 #define FT_SOURCEHINT 30
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
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