xref: /aoo41x/main/dbaccess/source/ui/inc/sbagrid.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
28#ifndef DBACCESS_SBA_GRID_HRC
29#define DBACCESS_SBA_GRID_HRC
30
31//----------------Menueitems-------------------------------------------------
32//#define SID_SBA_BRW_DELETEROWS					(SID_SBA_START + 34) // Zeilen loeschen
33//#define SID_SBA_BRW_HIDECOL						(SID_SBA_START + 35) // Spalten verstecken
34//#define SID_SBA_BRW_SHOWCOL						(SID_SBA_START + 36) // Spalten wieder zeigen
35//#define SID_SBA_BRW_SHOWALLCOLS					(SID_SBA_START + 37) // Alle Spalten wieder zeigen
36//#define SID_SBA_BRW_INSERTROWS					(SID_SBA_START + 38) // Zeilen einfuegen
37//#define SID_SBA_BRW_DELETEROW					(SID_SBA_START + 39) // Zeilen loeschen
38//#define SID_SBA_TABED_PRIMARYKEY				(SID_SBA_START + 40) // Primary key vergeben
39//#define SID_QRY_FUNCTION						(SID_SBA_START + 41) // Funktionen anzeigen
40//#define SID_QRY_TABLENAME						(SID_SBA_START + 42) // Tabellennamen anzeigen
41//#define SID_QRY_ALIASNAME						(SID_SBA_START + 43) // Aliasnamen anzeigen
42//#define SID_QRY_DISTINCT						(SID_SBA_START + 44) // Distinct anzeigen
43//#define SID_TBL_SORT_ASC						(SID_SBA_START + 45) // Aufsteigen Sortieren
44//#define SID_TBL_SORT_DESC						(SID_SBA_START + 46) // Absteigen Sortieren
45
46//#define SID_DBSTATE_ACTUALIZE					(SID_SBA_START + 48) // actualize dbstate
47//#define SID_DBSTATE_SHUTDOWN 					(SID_SBA_START + 49) // shutdown db
48//#define SID_DBSTATE_RESTART 					(SID_SBA_START + 50) // restart db
49
50// Tabelle
51#define SBA_WHICHID_START		100
52// Zeilenhoehe
53#define SBA_DEF_ROWHEIGHT		(SBA_WHICHID_START+131) // SbaColRowSizeItem
54
55#define SBA_DEF_RANGEFONT		(SBA_WHICHID_START+132) // RangeItem
56#define SBA_DEF_FONT			(SBA_WHICHID_START+133) // SvxFontItem
57#define SBA_DEF_FONTHEIGHT		(SBA_WHICHID_START+134) // SvxFontHeightItem
58#define SBA_DEF_FONTCOLOR		(SBA_WHICHID_START+135) // SvxColorItem
59#define SBA_DEF_FONTWEIGHT		(SBA_WHICHID_START+136) // SvxWeightItem
60#define SBA_DEF_POSTURE         (SBA_WHICHID_START+137) // SvxPostureItem
61#define SBA_DEF_SHADOWED        (SBA_WHICHID_START+138) // SvxShadowedItem
62#define SBA_DEF_CONTOUR         (SBA_WHICHID_START+139) // SvxContourItem
63#define SBA_DEF_CROSSEDOUT      (SBA_WHICHID_START+140) // SvxCrossedOutItem
64#define SBA_DEF_UNDERLINE       (SBA_WHICHID_START+141) // SvxUnderlineItem
65#define SBA_DEF_LANGUAGE		(SBA_WHICHID_START+142) // SvxLanguageItem
66
67// Spalten
68// Formatierung
69#define SBA_DEF_RANGEFORMAT		(SBA_WHICHID_START+143) // RangeItem
70#define SBA_DEF_FMTVALUE		(SBA_WHICHID_START+144) // SfxULONG, Format
71
72// Ausrichtung
73#define SBA_ATTR_ALIGN_HOR_JUSTIFY	(SBA_WHICHID_START + 145) //  SvxHorJustifyItem
74
75// Spaltenbreite
76#define SBA_DEF_FLTCOLWIDTH			(SBA_WHICHID_START + 146) // SbaColRowSizeItem
77// Feldtyp
78#define SBA_DEF_FLTTYPE				(SBA_WHICHID_START + 147) // DataFieldTypeItem
79// Feldl�nge
80#define SBA_DEF_FLTLENGTH			(SBA_WHICHID_START + 148) // SfxUInt32Item
81// Eingabe erforderlich
82#define SBA_DEF_FLTREQUIRED			(SBA_WHICHID_START + 149) // SfxBoolItem
83// Position in der Tabelle, Abfrage
84#define SBA_DEF_FLTPOS				(SBA_WHICHID_START + 150) // SfxUInt16Item
85// Name der zugehoerigen Tabelle
86#define SBA_DEF_FLTTABLE			(SBA_WHICHID_START + 151) // SfxStringItem
87// Spalte ausblenden
88#define SBA_DEF_FLTHIDE 			(SBA_WHICHID_START + 152) // SfxBoolItem
89
90// Ausrichtung
91#define SBA_ATTR_ALIGN_HOR_JUSTIFY	(SBA_WHICHID_START + 145) //  SvxHorJustifyItem
92
93// Spaltenbreite
94#define SBA_DEF_FLTCOLWIDTH			(SBA_WHICHID_START + 146) // SbaColRowSizeItem
95// Feldtyp
96#define SBA_DEF_FLTTYPE				(SBA_WHICHID_START + 147) // DataFieldTypeItem
97// Feldl�nge
98#define SBA_DEF_FLTLENGTH			(SBA_WHICHID_START + 148) // SfxUInt32Item
99// Eingabe erforderlich
100#define SBA_DEF_FLTREQUIRED			(SBA_WHICHID_START + 149) // SfxBoolItem
101// Position in der Tabelle, Abfrage
102#define SBA_DEF_FLTPOS				(SBA_WHICHID_START + 150) // SfxUInt16Item
103// Name der zugehoerigen Tabelle
104#define SBA_DEF_FLTTABLE			(SBA_WHICHID_START + 151) // SfxStringItem
105// Spalte ausblenden
106#define SBA_DEF_FLTHIDE 			(SBA_WHICHID_START + 152) // SfxBoolItem
107// Kommentar zum Feld
108#define SBA_DEF_FLTCOMMENT 			(SBA_WHICHID_START + 153) // SfxStringItem
109// default wert
110#define SBA_DEF_FLTDEFAULT 			(SBA_WHICHID_START + 154) // SfxStringItem
111// Prim�rschluessel
112#define SBA_DEF_FLTPRIMARY			(SBA_WHICHID_START + 155) // SfxBoolItem
113// table properties
114#define SBA_DEF_TABLEPROP			(SBA_WHICHID_START + 156) // SfxString
115#define SBA_DEF_SORT				(SBA_WHICHID_START + 157) // SfxString
116#define SBA_DEF_FILTER				(SBA_WHICHID_START + 158) // SfxString
117#define SBA_DEF_FILTERAPPLIED		(SBA_WHICHID_START + 159) // SfxBool
118#define SBA_DEF_ROWHEIGHT_DEFAULT	(SBA_WHICHID_START + 160) // SfxBool
119// the col has a default width ?
120#define SBA_DEF_FLTCOLWIDTH_DEFAULT	(SBA_WHICHID_START + 161) // SfxBool
121#define SBA_DEF_WORDLINEMODE		(SBA_WHICHID_START + 162) // SfxBool
122
123
124
125#endif // DBACCESS_SBA_GRID_HRC
126