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
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{
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	{
44		ToolBoxItem
45		{
46			Identifier = TBC_FT_SOURCE ;
47			Text [ en-US ] = "Table" ;
48		};
49		ToolBoxItem
50		{
51			Identifier = TBC_LB_SOURCE ;
52			HelpID = HID_BIB_TBX_TABLE ;
53			Command = ".uno:Bib/source" ;
54		};
55		ToolBoxItem
56		{
57			Type = TOOLBOXITEM_SEPARATOR ;
58		};
59
60		ToolBoxItem
61		{
62			Identifier = TBC_FT_QUERY ;
63			Text [ en-US ] = "Search Key" ;
64		};
65		ToolBoxItem
66		{
67			Identifier = TBC_ED_QUERY ;
68			HelpID = HID_BIB_TBX_SEARCH ;
69			Command = ".uno:Bib/query" ;
70		};
71		ToolBoxItem
72		{
73			Type = TOOLBOXITEM_SEPARATOR ;
74		};
75
76		ToolBoxItem
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" ;
84		};
85
86		ToolBoxItem
87		{
88			Identifier = TBC_BT_FILTERCRIT ;
89//			ItemBitmap = Bitmap {File = "sc10715.png" ;} ;
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.png" ;} ;
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.png" ;} ;
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.png" ;} ;
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// ********************************************************************** EOF
157