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