toolbar.src (80fe9c7b) toolbar.src (2c4c1185)
1/**************************************************************
1/**************************************************************
2 *
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
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 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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.
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 *
19 *
20 *************************************************************/
21
22
20 *************************************************************/
21
22
23
23#include <svx/svxids.hrc>
24#include "bibliography.hrc"
25#include "toolbar.hrc"
26#include "svx/svxcommands.h"
27
28#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
29
30ToolBox RID_BIB_TOOLBAR
31{
24#include <svx/svxids.hrc>
25#include "bibliography.hrc"
26#include "toolbar.hrc"
27#include "svx/svxcommands.h"
28
29#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
30
31ToolBox RID_BIB_TOOLBAR
32{
32 HelpId = HID_BIB_DB_TBX;
33 Sizeable = TRUE ;
34 HideWhenDeactivate = TRUE ;
35 LineSpacing = TRUE ;
36 Border = TRUE ;
37 SVLook = TRUE ;
38 Pos = MAP_APPFONT ( 0 , 0 ) ;
39 Size = MAP_APPFONT ( 200 , 16 ) ;
40 ButtonType = BUTTON_SYMBOL ;
41 ItemList =
42 {
33 HelpId = HID_BIB_DB_TBX ;
34 Sizeable = TRUE ;
35 HideWhenDeactivate = TRUE ;
36 LineSpacing = TRUE ;
37 Border = TRUE ;
38 SVLook = TRUE ;
39 Pos = MAP_APPFONT ( 0, 0 ) ;
40 Size = MAP_APPFONT ( 200, 16 ) ;
41 ButtonType = BUTTON_SYMBOL ;
42 ItemList =
43 {
43 ToolBoxItem
44 ToolBoxItem
44 {
45 Identifier = TBC_FT_SOURCE;
46 Text [ en-US ] = "Table";
45 {
46 Identifier = TBC_FT_SOURCE ;
47 Text [ en-US ] = "Table" ;
47 };
48 ToolBoxItem
48 };
49 ToolBoxItem
49 {
50 Identifier = TBC_LB_SOURCE;
51 HelpID = HID_BIB_TBX_TABLE;
52 Command = ".uno:Bib/source" ;
53 };
50 {
51 Identifier = TBC_LB_SOURCE ;
52 HelpID = HID_BIB_TBX_TABLE ;
53 Command = ".uno:Bib/source" ;
54 };
54 ToolBoxItem
55 ToolBoxItem
55 {
56 Type = TOOLBOXITEM_SEPARATOR ;
57 };
56 {
57 Type = TOOLBOXITEM_SEPARATOR ;
58 };
58
59 ToolBoxItem
59
60 ToolBoxItem
60 {
61 Identifier = TBC_FT_QUERY;
62 Text [ en-US ] = "Search Key";
61 {
62 Identifier = TBC_FT_QUERY ;
63 Text [ en-US ] = "Search Key" ;
63 };
64 ToolBoxItem
64 };
65 ToolBoxItem
65 {
66 Identifier = TBC_ED_QUERY;
67 HelpID = HID_BIB_TBX_SEARCH;
68 Command = ".uno:Bib/query" ;
69 };
66 {
67 Identifier = TBC_ED_QUERY ;
68 HelpID = HID_BIB_TBX_SEARCH ;
69 Command = ".uno:Bib/query" ;
70 };
70 ToolBoxItem
71 ToolBoxItem
71 {
72 Type = TOOLBOXITEM_SEPARATOR ;
73 };
72 {
73 Type = TOOLBOXITEM_SEPARATOR ;
74 };
74
75 ToolBoxItem
75
76 ToolBoxItem
76 {
77 Identifier = TBC_BT_AUTOFILTER ;
78 HelpID = HID_BIB_TBX_AUTOFILTER;
79// ItemBitmap = Bitmap { File = "sc10716.bmp" ; };
80 DropDown = TRUE ;
81 Command = ".uno:Bib/autoFilter" ;
82 Text [ en-US ] = "AutoFilter";
77 {
78 Identifier = TBC_BT_AUTOFILTER ;
79 HelpID = HID_BIB_TBX_AUTOFILTER ;
80// ItemBitmap = Bitmap {File = "sc10716.png" ;} ;
81 DropDown = TRUE ;
82 Command = ".uno:Bib/autoFilter" ;
83 Text [ en-US ] = "AutoFilter" ;
83 };
84
85 ToolBoxItem
84 };
85
86 ToolBoxItem
86 {
87 Identifier = TBC_BT_FILTERCRIT ;
88// ItemBitmap = Bitmap { File = "sc10715.bmp" ; };
89// Text [ de ] = "Standard Filter" ;
87 {
88 Identifier = TBC_BT_FILTERCRIT ;
89// ItemBitmap = Bitmap {File = "sc10715.png" ;} ;
90// Text [ de ] = "Standard Filter" ;
90 Command = ".uno:Bib/standardFilter" ;
91 Command = ".uno:Bib/standardFilter" ;
91 Text [ en-US ] = "Standard Filter";
92 Text [ en-US ] = "Standard Filter" ;
92 };
93
94 ToolBoxItem
93 };
94
95 ToolBoxItem
95 {
96 Identifier = TBC_BT_REMOVEFILTER ;
97// ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
96 {
97 Identifier = TBC_BT_REMOVEFILTER ;
98// ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
98 Command = ".uno:Bib/removeFilter" ;
99 Command = ".uno:Bib/removeFilter" ;
99 Text [ en-US ] = "Remove Filter";
100 Text [ en-US ] = "Remove Filter" ;
100 };
101 ToolBoxItem
102 {
101 };
102 ToolBoxItem
103 {
103 Identifier = TBC_BT_COL_ASSIGN ;
104 HelpId = HID_BIB_MAPPINGDLG;
104 Identifier = TBC_BT_COL_ASSIGN ;
105 HelpId = HID_BIB_MAPPINGDLG ;
105// Command = ".uno:Bib/Mapping" ;
106// Command = ".uno:Bib/Mapping" ;
106// ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
107 Text [ en-US ] = "Column Arrangement";
107// ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
108 Text [ en-US ] = "Column Arrangement" ;
108 };
109 ToolBoxItem
110 {
109 };
110 ToolBoxItem
111 {
111 Identifier = TBC_BT_CHANGESOURCE ;
112 Identifier = TBC_BT_CHANGESOURCE ;
112 HelpId = HID_BIB_CHANGESOURCE;
113 HelpId = HID_BIB_CHANGESOURCE;
113 Command = ".uno:Bib/sdbsource" ;
114// ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
114 Command = ".uno:Bib/sdbsource" ;
115// ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
115 Checkable=TRUE;
116 Checkable=TRUE;
116 Text [ en-US ] = "Data Source";
117 Text [ en-US ] = "Data Source" ;
117 };
118 };
118 };
119 Scroll = TRUE ;
119 };
120 Scroll = TRUE ;
120};
121#define BIB_IMAGES \
121};
122#define BIB_IMAGES \
122 IdList = \
123 { \
124 SID_FM_AUTOFILTER; /*10716*/ \
125 SID_FM_FILTERCRIT; /*10715*/ \
126 SID_FM_REMOVE_FILTER_SORT ; /*10711*/ \
127 }; \
128 IdCount = { 3; };
123 IdList = \
124 { \
125 SID_FM_AUTOFILTER; /*10716*/ \
126 SID_FM_FILTERCRIT; /*10715*/ \
127 SID_FM_REMOVE_FILTER_SORT; /*10711*/ \
128 }; \
129 IdCount = { 3; };
129
130ImageList RID_TOOLBAR_IMGLIST
131{
130
131ImageList RID_TOOLBAR_IMGLIST
132{
132 Prefix = "sc";
133 MASKCOLOR
134 BIB_IMAGES
133 Prefix = "sc" ;
134 MASKCOLOR
135 BIB_IMAGES
135};
136ImageList RID_TOOLBAR_IMGLIST_HC
137{
136};
137ImageList RID_TOOLBAR_IMGLIST_HC
138{
138 Prefix = "sch";
139 MASKCOLOR
140 BIB_IMAGES
139 Prefix = "sch" ;
140 MASKCOLOR
141 BIB_IMAGES
141};
142
143ImageList RID_TOOLBAR_BIGIMGLIST
144{
142};
143
144ImageList RID_TOOLBAR_BIGIMGLIST
145{
145 Prefix = "lc";
146 MASKCOLOR
147 BIB_IMAGES
146 Prefix = "lc" ;
147 MASKCOLOR
148 BIB_IMAGES
148};
149ImageList RID_TOOLBAR_BIGIMGLIST_HC
150{
149};
150ImageList RID_TOOLBAR_BIGIMGLIST_HC
151{
151 Prefix = "lch";
152 MASKCOLOR
153 BIB_IMAGES
152 Prefix = "lch" ;
153 MASKCOLOR
154 BIB_IMAGES
154};
155
155};
156
156
157
158
159
160
161
162
157// ********************************************************************** EOF