180fe9c7bSAndrew Rist/**************************************************************
2*76ab84b8Smseidel *
380fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
480fe9c7bSAndrew Rist * or more contributor license agreements.  See the NOTICE file
580fe9c7bSAndrew Rist * distributed with this work for additional information
680fe9c7bSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
780fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the
880fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance
980fe9c7bSAndrew Rist * with the License.  You may obtain a copy of the License at
10*76ab84b8Smseidel *
1180fe9c7bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*76ab84b8Smseidel *
1380fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing,
1480fe9c7bSAndrew Rist * software distributed under the License is distributed on an
1580fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1680fe9c7bSAndrew Rist * KIND, either express or implied.  See the License for the
1780fe9c7bSAndrew Rist * specific language governing permissions and limitations
1880fe9c7bSAndrew Rist * under the License.
19*76ab84b8Smseidel *
2080fe9c7bSAndrew Rist *************************************************************/
2180fe9c7bSAndrew Rist
2280fe9c7bSAndrew Rist
23*76ab84b8Smseidel
24cdf0e10cSrcweir#include <svx/svxids.hrc>
25cdf0e10cSrcweir#include "bibliography.hrc"
26cdf0e10cSrcweir#include "toolbar.hrc"
27cdf0e10cSrcweir#include "svx/svxcommands.h"
28cdf0e10cSrcweir
29cdf0e10cSrcweir#define MASKCOLOR	MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
30cdf0e10cSrcweir
31cdf0e10cSrcweirToolBox RID_BIB_TOOLBAR
32cdf0e10cSrcweir{
33*76ab84b8Smseidel	HelpId = HID_BIB_DB_TBX ;
34*76ab84b8Smseidel	Sizeable = TRUE ;
35*76ab84b8Smseidel	HideWhenDeactivate = TRUE ;
36*76ab84b8Smseidel	LineSpacing = TRUE ;
37*76ab84b8Smseidel	Border = TRUE ;
38*76ab84b8Smseidel	SVLook = TRUE ;
39*76ab84b8Smseidel	Pos = MAP_APPFONT ( 0, 0 ) ;
40*76ab84b8Smseidel	Size = MAP_APPFONT ( 200, 16 ) ;
41*76ab84b8Smseidel	ButtonType = BUTTON_SYMBOL ;
42*76ab84b8Smseidel	ItemList =
43*76ab84b8Smseidel	{
44cdf0e10cSrcweir		ToolBoxItem
45*76ab84b8Smseidel		{
46*76ab84b8Smseidel			Identifier = TBC_FT_SOURCE ;
47*76ab84b8Smseidel			Text [ en-US ] = "Table" ;
48cdf0e10cSrcweir		};
49cdf0e10cSrcweir		ToolBoxItem
50*76ab84b8Smseidel		{
51*76ab84b8Smseidel			Identifier = TBC_LB_SOURCE ;
52*76ab84b8Smseidel			HelpID = HID_BIB_TBX_TABLE ;
53*76ab84b8Smseidel			Command = ".uno:Bib/source" ;
54*76ab84b8Smseidel		};
55cdf0e10cSrcweir		ToolBoxItem
56*76ab84b8Smseidel		{
57*76ab84b8Smseidel			Type = TOOLBOXITEM_SEPARATOR ;
58*76ab84b8Smseidel		};
59cdf0e10cSrcweir
60cdf0e10cSrcweir		ToolBoxItem
61*76ab84b8Smseidel		{
62*76ab84b8Smseidel			Identifier = TBC_FT_QUERY ;
63*76ab84b8Smseidel			Text [ en-US ] = "Search Key" ;
64cdf0e10cSrcweir		};
65cdf0e10cSrcweir		ToolBoxItem
66*76ab84b8Smseidel		{
67*76ab84b8Smseidel			Identifier = TBC_ED_QUERY ;
68*76ab84b8Smseidel			HelpID = HID_BIB_TBX_SEARCH ;
69*76ab84b8Smseidel			Command = ".uno:Bib/query" ;
70*76ab84b8Smseidel		};
71cdf0e10cSrcweir		ToolBoxItem
72*76ab84b8Smseidel		{
73*76ab84b8Smseidel			Type = TOOLBOXITEM_SEPARATOR ;
74*76ab84b8Smseidel		};
75cdf0e10cSrcweir
76cdf0e10cSrcweir		ToolBoxItem
77*76ab84b8Smseidel		{
78*76ab84b8Smseidel			Identifier = TBC_BT_AUTOFILTER ;
79*76ab84b8Smseidel			HelpID = HID_BIB_TBX_AUTOFILTER ;
80*76ab84b8Smseidel//			ItemBitmap = Bitmap {File = "sc10716.png" ;} ;
81*76ab84b8Smseidel			DropDown = TRUE ;
82*76ab84b8Smseidel			Command = ".uno:Bib/autoFilter" ;
83*76ab84b8Smseidel			Text [ en-US ] = "AutoFilter" ;
84cdf0e10cSrcweir		};
85cdf0e10cSrcweir
86cdf0e10cSrcweir		ToolBoxItem
87*76ab84b8Smseidel		{
88*76ab84b8Smseidel			Identifier = TBC_BT_FILTERCRIT ;
89*76ab84b8Smseidel//			ItemBitmap = Bitmap {File = "sc10715.png" ;} ;
90*76ab84b8Smseidel//			Text [ de ] = "Standard Filter" ;
91cdf0e10cSrcweir			Command = ".uno:Bib/standardFilter" ;
92*76ab84b8Smseidel			Text [ en-US ] = "Standard Filter" ;
93cdf0e10cSrcweir		};
94cdf0e10cSrcweir
95cdf0e10cSrcweir		ToolBoxItem
96*76ab84b8Smseidel		{
97*76ab84b8Smseidel			Identifier = TBC_BT_REMOVEFILTER ;
98*76ab84b8Smseidel//			ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
99cdf0e10cSrcweir			Command = ".uno:Bib/removeFilter" ;
100*76ab84b8Smseidel			Text [ en-US ] = "Remove Filter" ;
101cdf0e10cSrcweir		};
102cdf0e10cSrcweir		ToolBoxItem
103cdf0e10cSrcweir		{
104*76ab84b8Smseidel			Identifier = TBC_BT_COL_ASSIGN ;
105*76ab84b8Smseidel			HelpId = HID_BIB_MAPPINGDLG ;
106cdf0e10cSrcweir//			Command = ".uno:Bib/Mapping" ;
107*76ab84b8Smseidel//			ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
108*76ab84b8Smseidel			Text [ en-US ] = "Column Arrangement" ;
109cdf0e10cSrcweir		};
110cdf0e10cSrcweir		ToolBoxItem
111cdf0e10cSrcweir		{
112*76ab84b8Smseidel			Identifier = TBC_BT_CHANGESOURCE ;
113cdf0e10cSrcweir			HelpId = HID_BIB_CHANGESOURCE;
114*76ab84b8Smseidel			Command = ".uno:Bib/sdbsource" ;
115*76ab84b8Smseidel//			ItemBitmap = Bitmap {File = "sc10711.png" ;} ;
116cdf0e10cSrcweir			Checkable=TRUE;
117*76ab84b8Smseidel			Text [ en-US ] = "Data Source" ;
118cdf0e10cSrcweir		};
119*76ab84b8Smseidel	};
120*76ab84b8Smseidel	Scroll = TRUE ;
121cdf0e10cSrcweir};
122cdf0e10cSrcweir#define BIB_IMAGES \
123*76ab84b8Smseidel	IdList =									\
124*76ab84b8Smseidel	{											\
125*76ab84b8Smseidel		SID_FM_AUTOFILTER; /*10716*/			\
126*76ab84b8Smseidel		SID_FM_FILTERCRIT; /*10715*/			\
127*76ab84b8Smseidel		SID_FM_REMOVE_FILTER_SORT; /*10711*/	\
128*76ab84b8Smseidel	};											\
129*76ab84b8Smseidel	IdCount = { 3; };
130cdf0e10cSrcweir
131cdf0e10cSrcweirImageList RID_TOOLBAR_IMGLIST
132cdf0e10cSrcweir{
133*76ab84b8Smseidel	Prefix = "sc" ;
134*76ab84b8Smseidel	MASKCOLOR
135*76ab84b8Smseidel	BIB_IMAGES
136cdf0e10cSrcweir};
137cdf0e10cSrcweirImageList RID_TOOLBAR_IMGLIST_HC
138cdf0e10cSrcweir{
139*76ab84b8Smseidel	Prefix = "sch" ;
140*76ab84b8Smseidel	MASKCOLOR
141*76ab84b8Smseidel	BIB_IMAGES
142cdf0e10cSrcweir};
143cdf0e10cSrcweir
144cdf0e10cSrcweirImageList RID_TOOLBAR_BIGIMGLIST
145cdf0e10cSrcweir{
146*76ab84b8Smseidel	Prefix = "lc" ;
147*76ab84b8Smseidel	MASKCOLOR
148*76ab84b8Smseidel	BIB_IMAGES
149cdf0e10cSrcweir};
150cdf0e10cSrcweirImageList RID_TOOLBAR_BIGIMGLIST_HC
151cdf0e10cSrcweir{
152*76ab84b8Smseidel	Prefix = "lch" ;
153*76ab84b8Smseidel	MASKCOLOR
154*76ab84b8Smseidel	BIB_IMAGES
155cdf0e10cSrcweir};
156cdf0e10cSrcweir
157*76ab84b8Smseidel// ********************************************************************** EOF
158