xref: /aoo41x/main/sc/source/ui/inc/scui_def.hxx (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 
28 #ifndef SCUI_DEF_HXX
29 #define SCUI_DEF_HXX
30 
31 #define SCRET_COLS 0x42
32 #define SCRET_ROWS 0x43
33 
34 #define	FDS_OPT_NONE		0  // from filldlg.hxx
35 #define	FDS_OPT_HORZ		1	// from filldlg.hxx
36 #define	FDS_OPT_VERT		2  // from filldlg.hxx
37 
38 #define INS_CONT_NOEMPTY 	0x0100 //from inscodlg.hxx
39 #define INS_CONT_TRANS 		0x0200 //from inscodlg.hxx
40 #define INS_CONT_LINK 		0x0400 //from inscodlg.hxx
41 
42 #define SC_CELL_SHIFT_DISABLE_DOWN	0x01 //from inscodlg.hxx
43 #define SC_CELL_SHIFT_DISABLE_RIGHT	0x02 //from inscodlg.hxx
44 
45 #define NAME_TOP		1 //from namecrea.hxx
46 #define NAME_LEFT		2 //from namecrea.hxx
47 #define NAME_BOTTOM		4  //from namecrea.hxx
48 #define NAME_RIGHT		8 //from namecrea.hxx
49 
50 #define BTN_PASTE_NAME	100  // from namepast.hxx
51 #define BTN_PASTE_LIST	101  // from namepast.hxx
52 
53 #define BTN_EXTEND_RANGE       150
54 #define BTN_CURRENT_SELECTION  151
55 #define SCRET_REMOVE	0x42 //from subtdlg.hxx
56 #endif
57 
58