xref: /AOO41X/main/dbaccess/source/ui/inc/browserids.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir #ifndef DBACCESS_UI_BROWSER_ID_HXX
28*cdf0e10cSrcweir #define DBACCESS_UI_BROWSER_ID_HXX
29*cdf0e10cSrcweir 
30*cdf0e10cSrcweir #ifndef _SBASLTID_HRC
31*cdf0e10cSrcweir #include <svx/svxids.hrc>
32*cdf0e10cSrcweir #endif
33*cdf0e10cSrcweir #ifndef _DBACCESS_SLOTID_HRC_
34*cdf0e10cSrcweir #include "dbaccess_slotid.hrc"
35*cdf0e10cSrcweir #endif
36*cdf0e10cSrcweir 
37*cdf0e10cSrcweir #define ID_BROWSER_COPY						SID_COPY
38*cdf0e10cSrcweir #define ID_BROWSER_CUT						SID_CUT
39*cdf0e10cSrcweir #define ID_BROWSER_EDITDOC					SID_EDITDOC
40*cdf0e10cSrcweir #define ID_BROWSER_UNDORECORD				SID_FM_RECORD_UNDO
41*cdf0e10cSrcweir #define ID_BROWSER_SAVERECORD				SID_FM_RECORD_SAVE
42*cdf0e10cSrcweir #define ID_BROWSER_PASTE					SID_PASTE
43*cdf0e10cSrcweir #define ID_BROWSER_CLIPBOARD_FORMAT_ITEMS	SID_CLIPBOARD_FORMAT_ITEMS
44*cdf0e10cSrcweir #define ID_BROWSER_REDO						SID_REDO
45*cdf0e10cSrcweir #define ID_BROWSER_SAVEDOC					SID_SAVEDOC
46*cdf0e10cSrcweir #define ID_BROWSER_SAVEASDOC				SID_SAVEASDOC
47*cdf0e10cSrcweir #define ID_BROWSER_TITLE					SID_DOCINFO_TITLE
48*cdf0e10cSrcweir #define ID_BROWSER_UNDO						SID_UNDO
49*cdf0e10cSrcweir #define ID_BROWSER_INSERTCOLUMNS			SID_SBA_BRW_INSERT
50*cdf0e10cSrcweir #define ID_BROWSER_FORMLETTER				SID_SBA_BRW_MERGE
51*cdf0e10cSrcweir #define ID_BROWSER_INSERTCONTENT			SID_SBA_BRW_UPDATE
52*cdf0e10cSrcweir 
53*cdf0e10cSrcweir #define ID_BROWSER_SEARCH					SID_FM_SEARCH
54*cdf0e10cSrcweir #define ID_BROWSER_SORTUP					SID_FM_SORTUP
55*cdf0e10cSrcweir #define ID_BROWSER_SORTDOWN					SID_FM_SORTDOWN
56*cdf0e10cSrcweir #define ID_BROWSER_AUTOFILTER				SID_FM_AUTOFILTER
57*cdf0e10cSrcweir #define ID_BROWSER_FILTERCRIT				SID_FM_FILTERCRIT
58*cdf0e10cSrcweir #define ID_BROWSER_ORDERCRIT				SID_FM_ORDERCRIT
59*cdf0e10cSrcweir #define ID_BROWSER_REMOVEFILTER				SID_FM_REMOVE_FILTER_SORT
60*cdf0e10cSrcweir #define ID_BROWSER_FILTERED					SID_FM_FORM_FILTERED
61*cdf0e10cSrcweir #define ID_BROWSER_REFRESH					SID_FM_REFRESH
62*cdf0e10cSrcweir #define ID_BROWSER_EXPL_PREVLEVEL			SID_EXPLORER_PREVLEVEL
63*cdf0e10cSrcweir #define ID_BROWSER_COLATTRSET				20	// Spaltenformatierung
64*cdf0e10cSrcweir #define ID_BROWSER_COLWIDTH					21	// Spaltenbreite
65*cdf0e10cSrcweir #define ID_BROWSER_TABLEATTR				22	// table format attributes
66*cdf0e10cSrcweir #define ID_BROWSER_ROWHEIGHT				23	// Zeilenhoehe
67*cdf0e10cSrcweir #define ID_BROWSER_COLUMNINFO				24	// copies the column description to insert it into the table design
68*cdf0e10cSrcweir #define ID_BROWSER_COUNTALL					SID_FM_COUNTALL // count all
69*cdf0e10cSrcweir #define ID_BROWSER_ADDTABLE					SID_FM_ADDTABLE
70*cdf0e10cSrcweir #define ID_BROWSER_EXPLORER					SID_DSBROWSER_EXPLORER
71*cdf0e10cSrcweir #define ID_BROWSER_DOCUMENT_DATASOURCE		SID_DOCUMENT_DATA_SOURCE
72*cdf0e10cSrcweir 
73*cdf0e10cSrcweir // The following ids are local to special components (e.g. menus), so they don't need to be unique
74*cdf0e10cSrcweir // overall. Please have this in mind when changing anything
75*cdf0e10cSrcweir #define ID_TREE_EDIT_DATABASE                1
76*cdf0e10cSrcweir #define ID_TREE_CLOSE_CONN					 2
77*cdf0e10cSrcweir     // FREE
78*cdf0e10cSrcweir #define ID_TREE_ADMINISTRATE				 4
79*cdf0e10cSrcweir #define ID_MIGRATE_SCRIPTS                   5
80*cdf0e10cSrcweir 
81*cdf0e10cSrcweir #define ID_REPORT_NEW_TEXT					14
82*cdf0e10cSrcweir #define ID_FORM_NEW_TEXT					15
83*cdf0e10cSrcweir #define ID_FORM_NEW_CALC					16
84*cdf0e10cSrcweir #define ID_FORM_NEW_IMPRESS					17
85*cdf0e10cSrcweir #define ID_NEW_QUERY_DESIGN					20
86*cdf0e10cSrcweir #define ID_EDIT_QUERY_DESIGN				21
87*cdf0e10cSrcweir #define ID_NEW_QUERY_SQL					22
88*cdf0e10cSrcweir #define ID_EDIT_QUERY_SQL					23
89*cdf0e10cSrcweir #define ID_NEW_TABLE_DESIGN					25
90*cdf0e10cSrcweir #define ID_NEW_VIEW_DESIGN					28
91*cdf0e10cSrcweir #define ID_DIRECT_SQL						32
92*cdf0e10cSrcweir #define ID_BROWSER_REFRESH_REBUILD			34
93*cdf0e10cSrcweir #define ID_INDEX_NEW						36
94*cdf0e10cSrcweir #define ID_INDEX_DROP						37
95*cdf0e10cSrcweir #define ID_INDEX_RENAME						38
96*cdf0e10cSrcweir #define ID_INDEX_SAVE						39
97*cdf0e10cSrcweir #define ID_INDEX_RESET						40
98*cdf0e10cSrcweir #define ID_DOCUMENT_CREATE_REPWIZ			41
99*cdf0e10cSrcweir #define ID_BROWSER_SQL						42
100*cdf0e10cSrcweir 
101*cdf0e10cSrcweir #define ID_APP_NEW_QUERY_AUTO_PILOT			44
102*cdf0e10cSrcweir #define ID_NEW_TABLE_DESIGN_AUTO_PILOT		45
103*cdf0e10cSrcweir #define ID_NEW_VIEW_DESIGN_AUTO_PILOT		46
104*cdf0e10cSrcweir 
105*cdf0e10cSrcweir 
106*cdf0e10cSrcweir // other
107*cdf0e10cSrcweir #define ID_BROWSER_QUERY_EXECUTE			SID_FM_EXECUTE
108*cdf0e10cSrcweir 
109*cdf0e10cSrcweir #define ID_BROWSER_CLOSE					SID_CLOSEWIN
110*cdf0e10cSrcweir #define ID_BROWSER_ESACPEPROCESSING			SID_FM_NATIVESQL
111*cdf0e10cSrcweir 
112*cdf0e10cSrcweir #define ID_QUERY_FUNCTION					(SID_SBA_START + 41) // Funktionen anzeigen
113*cdf0e10cSrcweir #define ID_QUERY_TABLENAME					(SID_SBA_START + 42) // Tabellennamen anzeigen
114*cdf0e10cSrcweir #define ID_QUERY_ALIASNAME					(SID_SBA_START + 43) // Aliasnamen anzeigen
115*cdf0e10cSrcweir #define ID_QUERY_DISTINCT					(SID_SBA_START + 44) // Distinct anzeigen
116*cdf0e10cSrcweir #define ID_QUERY_EDIT_JOINCONNECTION		(SID_SBA_START + 45) // show-edit Join
117*cdf0e10cSrcweir #define ID_BROWSER_INSERT_ROW       		(SID_SBA_START + 46) // insert row
118*cdf0e10cSrcweir #define ID_QUERY_ZOOM_IN					SID_ZOOM_IN
119*cdf0e10cSrcweir #define ID_QUERY_ZOOM_OUT					SID_ZOOM_OUT
120*cdf0e10cSrcweir 
121*cdf0e10cSrcweir 
122*cdf0e10cSrcweir #endif // DBACCESS_UI_BROWSER_ID_HXX
123