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 #pragma once
20 
21 #include <svx/svxids.hrc>
22 #include <dbaccess_slotid.hrc>
23 
24 #define ID_BROWSER_COPY                     SID_COPY
25 #define ID_BROWSER_CUT                      SID_CUT
26 #define ID_BROWSER_EDITDOC                  SID_EDITDOC
27 #define ID_BROWSER_UNDORECORD               SID_FM_RECORD_UNDO
28 #define ID_BROWSER_SAVERECORD               SID_FM_RECORD_SAVE
29 #define ID_BROWSER_PASTE                    SID_PASTE
30 #define ID_BROWSER_CLIPBOARD_FORMAT_ITEMS   SID_CLIPBOARD_FORMAT_ITEMS
31 #define ID_BROWSER_REDO                     SID_REDO
32 #define ID_BROWSER_SAVEDOC                  SID_SAVEDOC
33 #define ID_BROWSER_SAVEASDOC                SID_SAVEASDOC
34 #define ID_BROWSER_TITLE                    SID_DOCINFO_TITLE
35 #define ID_BROWSER_UNDO                     SID_UNDO
36 #define ID_BROWSER_INSERTCOLUMNS            SID_SBA_BRW_INSERT
37 #define ID_BROWSER_FORMLETTER               SID_SBA_BRW_MERGE
38 #define ID_BROWSER_INSERTCONTENT            SID_SBA_BRW_UPDATE
39 
40 #define ID_BROWSER_SEARCH                   SID_FM_SEARCH
41 #define ID_BROWSER_SORTUP                   SID_FM_SORTUP
42 #define ID_BROWSER_SORTDOWN                 SID_FM_SORTDOWN
43 #define ID_BROWSER_AUTOFILTER               SID_FM_AUTOFILTER
44 #define ID_BROWSER_FILTERCRIT               SID_FM_FILTERCRIT
45 #define ID_BROWSER_ORDERCRIT                SID_FM_ORDERCRIT
46 #define ID_BROWSER_REMOVEFILTER             SID_FM_REMOVE_FILTER_SORT
47 #define ID_BROWSER_FILTERED                 SID_FM_FORM_FILTERED
48 #define ID_BROWSER_REFRESH                  SID_FM_REFRESH
49 #define ID_BROWSER_COLATTRSET               10020  // column formatting
50 #define ID_BROWSER_COLWIDTH                 10021  // column width
51 #define ID_BROWSER_TABLEATTR                10022  // table format attributes
52 #define ID_BROWSER_ROWHEIGHT                10023  // row height
53 #define ID_BROWSER_ADDTABLE                 SID_FM_ADDTABLE
54 #define ID_BROWSER_EXPLORER                 SID_DSBROWSER_EXPLORER
55 #define ID_BROWSER_DOCUMENT_DATASOURCE      SID_DOCUMENT_DATA_SOURCE
56 
57 // The following ids are local to special components (e.g. menus), so they don't need to be unique
58 // overall. Please have this in mind when changing anything
59 #define ID_TREE_EDIT_DATABASE                1
60 #define ID_TREE_CLOSE_CONN                   2
61     // FREE
62 #define ID_TREE_ADMINISTRATE                 4
63 
64 #define ID_REPORT_NEW_TEXT                  14
65 #define ID_FORM_NEW_TEXT                    15
66 #define ID_FORM_NEW_CALC                    16
67 #define ID_FORM_NEW_IMPRESS                 17
68 #define ID_NEW_QUERY_DESIGN                 20
69 #define ID_EDIT_QUERY_DESIGN                21
70 #define ID_NEW_QUERY_SQL                    22
71 #define ID_EDIT_QUERY_SQL                   23
72 #define ID_NEW_TABLE_DESIGN                 25
73 #define ID_NEW_VIEW_DESIGN                  28
74 #define ID_DIRECT_SQL                       32
75 #define ID_BROWSER_REFRESH_REBUILD          34
76 #define ID_INDEX_NEW                        36
77 #define ID_INDEX_DROP                       37
78 #define ID_INDEX_RENAME                     38
79 #define ID_INDEX_SAVE                       39
80 #define ID_INDEX_RESET                      40
81 #define ID_DOCUMENT_CREATE_REPWIZ           41
82 #define ID_BROWSER_SQL                      42
83 
84 #define ID_APP_NEW_QUERY_AUTO_PILOT         44
85 #define ID_NEW_TABLE_DESIGN_AUTO_PILOT      45
86 #define ID_NEW_VIEW_DESIGN_AUTO_PILOT       46
87 
88 
89 // other
90 #define ID_BROWSER_QUERY_EXECUTE            SID_FM_EXECUTE
91 
92 #define ID_BROWSER_CLOSE                    SID_CLOSEWIN
93 #define ID_BROWSER_ESCAPEPROCESSING         SID_FM_NATIVESQL
94 
95 #define ID_BROWSER_INSERT_ROW               (SID_SBA_START + 46) // insert row
96 
97 
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
99