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#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{
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    {
43		ToolBoxItem
44        {
45			Identifier = TBC_FT_SOURCE;
46			Text [ en-US ] = "Table";
47		};
48		ToolBoxItem
49        {
50			Identifier = TBC_LB_SOURCE;
51            HelpID = HID_BIB_TBX_TABLE;
52            Command = ".uno:Bib/source" ;
53        };
54		ToolBoxItem
55        {
56            Type = TOOLBOXITEM_SEPARATOR ;
57        };
58
59		ToolBoxItem
60        {
61			Identifier = TBC_FT_QUERY;
62        	Text [ en-US ] = "Search Key";
63		};
64		ToolBoxItem
65        {
66			Identifier = TBC_ED_QUERY;
67            HelpID = HID_BIB_TBX_SEARCH;
68            Command = ".uno:Bib/query" ;
69        };
70		ToolBoxItem
71        {
72            Type = TOOLBOXITEM_SEPARATOR ;
73        };
74
75		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";
83		};
84
85		ToolBoxItem
86        {
87            Identifier = TBC_BT_FILTERCRIT ;
88//            ItemBitmap = Bitmap { File = "sc10715.bmp" ; };
89//            Text [ de ] = "Standard Filter" ;
90			Command = ".uno:Bib/standardFilter" ;
91			Text [ en-US ] = "Standard Filter";
92		};
93
94		ToolBoxItem
95        {
96            Identifier = TBC_BT_REMOVEFILTER ;
97//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
98			Command = ".uno:Bib/removeFilter" ;
99			Text [ en-US ] = "Remove Filter";
100		};
101		ToolBoxItem
102		{
103            Identifier = TBC_BT_COL_ASSIGN ;
104			HelpId = HID_BIB_MAPPINGDLG;
105//			Command = ".uno:Bib/Mapping" ;
106//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
107			Text [ en-US ] = "Column Arrangement";
108		};
109		ToolBoxItem
110		{
111            Identifier = TBC_BT_CHANGESOURCE ;
112			HelpId = HID_BIB_CHANGESOURCE;
113            Command = ".uno:Bib/sdbsource" ;
114//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
115			Checkable=TRUE;
116			Text [ en-US ] = "Data Source";
117		};
118    };
119    Scroll = TRUE ;
120};
121#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; };
129
130ImageList RID_TOOLBAR_IMGLIST
131{
132    Prefix = "sc";
133    MASKCOLOR
134    BIB_IMAGES
135};
136ImageList RID_TOOLBAR_IMGLIST_HC
137{
138    Prefix = "sch";
139    MASKCOLOR
140    BIB_IMAGES
141};
142
143ImageList RID_TOOLBAR_BIGIMGLIST
144{
145    Prefix = "lc";
146    MASKCOLOR
147    BIB_IMAGES
148};
149ImageList RID_TOOLBAR_BIGIMGLIST_HC
150{
151    Prefix = "lch";
152    MASKCOLOR
153    BIB_IMAGES
154};
155
156
157
158
159
160
161
162
163