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// Text [ de ] = "Standard Filter" ; 91 Command = ".uno:Bib/standardFilter" ; 92 Text [ en-US ] = "Standard Filter" ; 93 }; 94 95 ToolBoxItem 96 { 97 Identifier = TBC_BT_REMOVEFILTER ; 98// ItemBitmap = Bitmap {File = "sc10711.png" ;} ; 99 Command = ".uno:Bib/removeFilter" ; 100 Text [ en-US ] = "Remove Filter" ; 101 }; 102 ToolBoxItem 103 { 104 Identifier = TBC_BT_COL_ASSIGN ; 105 HelpId = HID_BIB_MAPPINGDLG ; 106// Command = ".uno:Bib/Mapping" ; 107// ItemBitmap = Bitmap {File = "sc10711.png" ;} ; 108 Text [ en-US ] = "Column Arrangement" ; 109 }; 110 ToolBoxItem 111 { 112 Identifier = TBC_BT_CHANGESOURCE ; 113 HelpId = HID_BIB_CHANGESOURCE; 114 Command = ".uno:Bib/sdbsource" ; 115// ItemBitmap = Bitmap {File = "sc10711.png" ;} ; 116 Checkable=TRUE; 117 Text [ en-US ] = "Data Source" ; 118 }; 119 }; 120 Scroll = TRUE ; 121}; 122#define BIB_IMAGES \ 123 IdList = \ 124 { \ 125 SID_FM_AUTOFILTER; /*10716*/ \ 126 SID_FM_FILTERCRIT; /*10715*/ \ 127 SID_FM_REMOVE_FILTER_SORT; /*10711*/ \ 128 }; \ 129 IdCount = { 3; }; 130 131ImageList RID_TOOLBAR_IMGLIST 132{ 133 Prefix = "sc" ; 134 MASKCOLOR 135 BIB_IMAGES 136}; 137ImageList RID_TOOLBAR_IMGLIST_HC 138{ 139 Prefix = "sch" ; 140 MASKCOLOR 141 BIB_IMAGES 142}; 143 144ImageList RID_TOOLBAR_BIGIMGLIST 145{ 146 Prefix = "lc" ; 147 MASKCOLOR 148 BIB_IMAGES 149}; 150ImageList RID_TOOLBAR_BIGIMGLIST_HC 151{ 152 Prefix = "lch" ; 153 MASKCOLOR 154 BIB_IMAGES 155}; 156 157// ********************************************************************** EOF 158