1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#include <svx/svxids.hrc>
28#include "bibliography.hrc"
29#include "toolbar.hrc"
30#include "svx/svxcommands.h"
31
32#define MASKCOLOR	MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
33
34ToolBox RID_BIB_TOOLBAR
35{
36    HelpId = HID_BIB_DB_TBX;
37    Sizeable = TRUE ;
38    HideWhenDeactivate = TRUE ;
39    LineSpacing = TRUE ;
40    Border = TRUE ;
41    SVLook = TRUE ;
42    Pos = MAP_APPFONT ( 0 , 0 ) ;
43    Size = MAP_APPFONT ( 200 , 16 ) ;
44    ButtonType = BUTTON_SYMBOL ;
45    ItemList =
46    {
47		ToolBoxItem
48        {
49			Identifier = TBC_FT_SOURCE;
50			Text [ en-US ] = "Table";
51		};
52		ToolBoxItem
53        {
54			Identifier = TBC_LB_SOURCE;
55            HelpID = HID_BIB_TBX_TABLE;
56            Command = ".uno:Bib/source" ;
57        };
58		ToolBoxItem
59        {
60            Type = TOOLBOXITEM_SEPARATOR ;
61        };
62
63		ToolBoxItem
64        {
65			Identifier = TBC_FT_QUERY;
66        	Text [ en-US ] = "Search Key";
67		};
68		ToolBoxItem
69        {
70			Identifier = TBC_ED_QUERY;
71            HelpID = HID_BIB_TBX_SEARCH;
72            Command = ".uno:Bib/query" ;
73        };
74		ToolBoxItem
75        {
76            Type = TOOLBOXITEM_SEPARATOR ;
77        };
78
79		ToolBoxItem
80        {
81            Identifier = TBC_BT_AUTOFILTER ;
82            HelpID = HID_BIB_TBX_AUTOFILTER;
83//            ItemBitmap = Bitmap { File = "sc10716.bmp" ; };
84            DropDown = TRUE ;
85            Command = ".uno:Bib/autoFilter" ;
86			Text [ en-US ] = "AutoFilter";
87		};
88
89		ToolBoxItem
90        {
91            Identifier = TBC_BT_FILTERCRIT ;
92//            ItemBitmap = Bitmap { File = "sc10715.bmp" ; };
93//            Text [ de ] = "Standard Filter" ;
94			Command = ".uno:Bib/standardFilter" ;
95			Text [ en-US ] = "Standard Filter";
96		};
97
98		ToolBoxItem
99        {
100            Identifier = TBC_BT_REMOVEFILTER ;
101//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
102			Command = ".uno:Bib/removeFilter" ;
103			Text [ en-US ] = "Remove Filter";
104		};
105		ToolBoxItem
106		{
107            Identifier = TBC_BT_COL_ASSIGN ;
108			HelpId = HID_BIB_MAPPINGDLG;
109//			Command = ".uno:Bib/Mapping" ;
110//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
111			Text [ en-US ] = "Column Arrangement";
112		};
113		ToolBoxItem
114		{
115            Identifier = TBC_BT_CHANGESOURCE ;
116			HelpId = HID_BIB_CHANGESOURCE;
117            Command = ".uno:Bib/sdbsource" ;
118//            ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
119			Checkable=TRUE;
120			Text [ en-US ] = "Data Source";
121		};
122    };
123    Scroll = TRUE ;
124};
125#define BIB_IMAGES \
126    IdList =                                \
127    {                                       \
128        SID_FM_AUTOFILTER;      /*10716*/     \
129        SID_FM_FILTERCRIT;      /*10715*/     \
130        SID_FM_REMOVE_FILTER_SORT ; /*10711*/ \
131    };                                     \
132    IdCount = { 3; };
133
134ImageList RID_TOOLBAR_IMGLIST
135{
136    Prefix = "sc";
137    MASKCOLOR
138    BIB_IMAGES
139};
140ImageList RID_TOOLBAR_IMGLIST_HC
141{
142    Prefix = "sch";
143    MASKCOLOR
144    BIB_IMAGES
145};
146
147ImageList RID_TOOLBAR_BIGIMGLIST
148{
149    Prefix = "lc";
150    MASKCOLOR
151    BIB_IMAGES
152};
153ImageList RID_TOOLBAR_BIGIMGLIST_HC
154{
155    Prefix = "lch";
156    MASKCOLOR
157    BIB_IMAGES
158};
159
160
161
162
163
164
165
166
167