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