xref: /AOO41X/main/dbaccess/source/ui/inc/browserids.hxx (revision 2e2212a7c22e96cf6f6fab0dd042c34a45a64bd6)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef DBACCESS_UI_BROWSER_ID_HXX
24 #define DBACCESS_UI_BROWSER_ID_HXX
25 
26 #ifndef _SBASLTID_HRC
27 #include <svx/svxids.hrc>
28 #endif
29 #ifndef _DBACCESS_SLOTID_HRC_
30 #include "dbaccess_slotid.hrc"
31 #endif
32 
33 #define ID_BROWSER_COPY                     SID_COPY
34 #define ID_BROWSER_CUT                      SID_CUT
35 #define ID_BROWSER_EDITDOC                  SID_EDITDOC
36 #define ID_BROWSER_UNDORECORD               SID_FM_RECORD_UNDO
37 #define ID_BROWSER_SAVERECORD               SID_FM_RECORD_SAVE
38 #define ID_BROWSER_PASTE                    SID_PASTE
39 #define ID_BROWSER_CLIPBOARD_FORMAT_ITEMS   SID_CLIPBOARD_FORMAT_ITEMS
40 #define ID_BROWSER_REDO                     SID_REDO
41 #define ID_BROWSER_SAVEDOC                  SID_SAVEDOC
42 #define ID_BROWSER_SAVEASDOC                SID_SAVEASDOC
43 #define ID_BROWSER_TITLE                    SID_DOCINFO_TITLE
44 #define ID_BROWSER_UNDO                     SID_UNDO
45 #define ID_BROWSER_INSERTCOLUMNS            SID_SBA_BRW_INSERT
46 #define ID_BROWSER_FORMLETTER               SID_SBA_BRW_MERGE
47 #define ID_BROWSER_INSERTCONTENT            SID_SBA_BRW_UPDATE
48 
49 #define ID_BROWSER_SEARCH                   SID_FM_SEARCH
50 #define ID_BROWSER_SORTUP                   SID_FM_SORTUP
51 #define ID_BROWSER_SORTDOWN                 SID_FM_SORTDOWN
52 #define ID_BROWSER_AUTOFILTER               SID_FM_AUTOFILTER
53 #define ID_BROWSER_FILTERCRIT               SID_FM_FILTERCRIT
54 #define ID_BROWSER_ORDERCRIT                SID_FM_ORDERCRIT
55 #define ID_BROWSER_REMOVEFILTER             SID_FM_REMOVE_FILTER_SORT
56 #define ID_BROWSER_FILTERED                 SID_FM_FORM_FILTERED
57 #define ID_BROWSER_REFRESH                  SID_FM_REFRESH
58 #define ID_BROWSER_EXPL_PREVLEVEL           SID_EXPLORER_PREVLEVEL
59 #define ID_BROWSER_COLATTRSET               20  // Spaltenformatierung
60 #define ID_BROWSER_COLWIDTH                 21  // Spaltenbreite
61 #define ID_BROWSER_TABLEATTR                22  // table format attributes
62 #define ID_BROWSER_ROWHEIGHT                23  // Zeilenhoehe
63 #define ID_BROWSER_COLUMNINFO               24  // copies the column description to insert it into the table design
64 #define ID_BROWSER_COUNTALL                 SID_FM_COUNTALL // count all
65 #define ID_BROWSER_ADDTABLE                 SID_FM_ADDTABLE
66 #define ID_BROWSER_EXPLORER                 SID_DSBROWSER_EXPLORER
67 #define ID_BROWSER_DOCUMENT_DATASOURCE      SID_DOCUMENT_DATA_SOURCE
68 
69 // The following ids are local to special components (e.g. menus), so they don't need to be unique
70 // overall. Please have this in mind when changing anything
71 #define ID_TREE_EDIT_DATABASE                1
72 #define ID_TREE_CLOSE_CONN                   2
73     // FREE
74 #define ID_TREE_ADMINISTRATE                 4
75 #define ID_MIGRATE_SCRIPTS                   5
76 
77 #define ID_REPORT_NEW_TEXT                  14
78 #define ID_FORM_NEW_TEXT                    15
79 #define ID_FORM_NEW_CALC                    16
80 #define ID_FORM_NEW_IMPRESS                 17
81 #define ID_NEW_QUERY_DESIGN                 20
82 #define ID_EDIT_QUERY_DESIGN                21
83 #define ID_NEW_QUERY_SQL                    22
84 #define ID_EDIT_QUERY_SQL                   23
85 #define ID_NEW_TABLE_DESIGN                 25
86 #define ID_NEW_VIEW_DESIGN                  28
87 #define ID_DIRECT_SQL                       32
88 #define ID_BROWSER_REFRESH_REBUILD          34
89 #define ID_INDEX_NEW                        36
90 #define ID_INDEX_DROP                       37
91 #define ID_INDEX_RENAME                     38
92 #define ID_INDEX_SAVE                       39
93 #define ID_INDEX_RESET                      40
94 #define ID_DOCUMENT_CREATE_REPWIZ           41
95 #define ID_BROWSER_SQL                      42
96 
97 #define ID_APP_NEW_QUERY_AUTO_PILOT         44
98 #define ID_NEW_TABLE_DESIGN_AUTO_PILOT      45
99 #define ID_NEW_VIEW_DESIGN_AUTO_PILOT       46
100 
101 
102 // other
103 #define ID_BROWSER_QUERY_EXECUTE            SID_FM_EXECUTE
104 
105 #define ID_BROWSER_CLOSE                    SID_CLOSEWIN
106 #define ID_BROWSER_ESACPEPROCESSING         SID_FM_NATIVESQL
107 
108 #define ID_QUERY_FUNCTION                   (SID_SBA_START + 41) // Funktionen anzeigen
109 #define ID_QUERY_TABLENAME                  (SID_SBA_START + 42) // Tabellennamen anzeigen
110 #define ID_QUERY_ALIASNAME                  (SID_SBA_START + 43) // Aliasnamen anzeigen
111 #define ID_QUERY_DISTINCT                   (SID_SBA_START + 44) // Distinct anzeigen
112 #define ID_QUERY_EDIT_JOINCONNECTION        (SID_SBA_START + 45) // show-edit Join
113 #define ID_BROWSER_INSERT_ROW               (SID_SBA_START + 46) // insert row
114 #define ID_QUERY_ZOOM_IN                    SID_ZOOM_IN
115 #define ID_QUERY_ZOOM_OUT                   SID_ZOOM_OUT
116 
117 
118 #endif // DBACCESS_UI_BROWSER_ID_HXX
119