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