1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_BROWSERIDS_HXX
20 #define INCLUDED_DBACCESS_SOURCE_UI_INC_BROWSERIDS_HXX
21 
22 #include <svx/svxids.hrc>
23 #include <dbaccess_slotid.hrc>
24 
25 #define ID_BROWSER_COPY                     SID_COPY
26 #define ID_BROWSER_CUT                      SID_CUT
27 #define ID_BROWSER_EDITDOC                  SID_EDITDOC
28 #define ID_BROWSER_UNDORECORD               SID_FM_RECORD_UNDO
29 #define ID_BROWSER_SAVERECORD               SID_FM_RECORD_SAVE
30 #define ID_BROWSER_PASTE                    SID_PASTE
31 #define ID_BROWSER_CLIPBOARD_FORMAT_ITEMS   SID_CLIPBOARD_FORMAT_ITEMS
32 #define ID_BROWSER_REDO                     SID_REDO
33 #define ID_BROWSER_SAVEDOC                  SID_SAVEDOC
34 #define ID_BROWSER_SAVEASDOC                SID_SAVEASDOC
35 #define ID_BROWSER_TITLE                    SID_DOCINFO_TITLE
36 #define ID_BROWSER_UNDO                     SID_UNDO
37 #define ID_BROWSER_INSERTCOLUMNS            SID_SBA_BRW_INSERT
38 #define ID_BROWSER_FORMLETTER               SID_SBA_BRW_MERGE
39 #define ID_BROWSER_INSERTCONTENT            SID_SBA_BRW_UPDATE
40 
41 #define ID_BROWSER_SEARCH                   SID_FM_SEARCH
42 #define ID_BROWSER_SORTUP                   SID_FM_SORTUP
43 #define ID_BROWSER_SORTDOWN                 SID_FM_SORTDOWN
44 #define ID_BROWSER_AUTOFILTER               SID_FM_AUTOFILTER
45 #define ID_BROWSER_FILTERCRIT               SID_FM_FILTERCRIT
46 #define ID_BROWSER_ORDERCRIT                SID_FM_ORDERCRIT
47 #define ID_BROWSER_REMOVEFILTER             SID_FM_REMOVE_FILTER_SORT
48 #define ID_BROWSER_FILTERED                 SID_FM_FORM_FILTERED
49 #define ID_BROWSER_REFRESH                  SID_FM_REFRESH
50 #define ID_BROWSER_COLATTRSET               10020  // column formatting
51 #define ID_BROWSER_COLWIDTH                 10021  // column width
52 #define ID_BROWSER_TABLEATTR                10022  // table format attributes
53 #define ID_BROWSER_ROWHEIGHT                10023  // row height
54 #define ID_BROWSER_COLUMNINFO               10024  // copies the column description to insert it into the table design
55 #define ID_BROWSER_ADDTABLE                 SID_FM_ADDTABLE
56 #define ID_BROWSER_EXPLORER                 SID_DSBROWSER_EXPLORER
57 #define ID_BROWSER_DOCUMENT_DATASOURCE      SID_DOCUMENT_DATA_SOURCE
58 
59 // The following ids are local to special components (e.g. menus), so they don't need to be unique
60 // overall. Please have this in mind when changing anything
61 #define ID_TREE_EDIT_DATABASE                1
62 #define ID_TREE_CLOSE_CONN                   2
63     // FREE
64 #define ID_TREE_ADMINISTRATE                 4
65 
66 #define ID_REPORT_NEW_TEXT                  14
67 #define ID_FORM_NEW_TEXT                    15
68 #define ID_FORM_NEW_CALC                    16
69 #define ID_FORM_NEW_IMPRESS                 17
70 #define ID_NEW_QUERY_DESIGN                 20
71 #define ID_EDIT_QUERY_DESIGN                21
72 #define ID_NEW_QUERY_SQL                    22
73 #define ID_EDIT_QUERY_SQL                   23
74 #define ID_NEW_TABLE_DESIGN                 25
75 #define ID_NEW_VIEW_DESIGN                  28
76 #define ID_DIRECT_SQL                       32
77 #define ID_BROWSER_REFRESH_REBUILD          34
78 #define ID_INDEX_NEW                        36
79 #define ID_INDEX_DROP                       37
80 #define ID_INDEX_RENAME                     38
81 #define ID_INDEX_SAVE                       39
82 #define ID_INDEX_RESET                      40
83 #define ID_DOCUMENT_CREATE_REPWIZ           41
84 #define ID_BROWSER_SQL                      42
85 
86 #define ID_APP_NEW_QUERY_AUTO_PILOT         44
87 #define ID_NEW_TABLE_DESIGN_AUTO_PILOT      45
88 #define ID_NEW_VIEW_DESIGN_AUTO_PILOT       46
89 
90 
91 // other
92 #define ID_BROWSER_QUERY_EXECUTE            SID_FM_EXECUTE
93 
94 #define ID_BROWSER_CLOSE                    SID_CLOSEWIN
95 #define ID_BROWSER_ESCAPEPROCESSING         SID_FM_NATIVESQL
96 
97 #define ID_BROWSER_INSERT_ROW               (SID_SBA_START + 46) // insert row
98 
99 
100 #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_BROWSERIDS_HXX
101 
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
103