1*2f531595SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*2f531595SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2f531595SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2f531595SAndrew Rist * distributed with this work for additional information 6*2f531595SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2f531595SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2f531595SAndrew Rist * "License"); you may not use this file except in compliance 9*2f531595SAndrew Rist * with the License. You may obtain a copy of the License at 10*2f531595SAndrew Rist * 11*2f531595SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*2f531595SAndrew Rist * 13*2f531595SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2f531595SAndrew Rist * software distributed under the License is distributed on an 15*2f531595SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2f531595SAndrew Rist * KIND, either express or implied. See the License for the 17*2f531595SAndrew Rist * specific language governing permissions and limitations 18*2f531595SAndrew Rist * under the License. 19*2f531595SAndrew Rist * 20*2f531595SAndrew Rist *************************************************************/ 21*2f531595SAndrew Rist 22*2f531595SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "dlg_DataEditor.hrc" 25cdf0e10cSrcweir#include "SchSlotIds.hxx" 26cdf0e10cSrcweir#include "HelpIds.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweir// Mask Color for standard images 29cdf0e10cSrcweir#define IMAGE_BUTTON_STD_MASK_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 30cdf0e10cSrcweir// Mask Color for high-contrast images 31cdf0e10cSrcweir#define IMAGE_BUTTON_HC_MASK_COLOR IMAGE_BUTTON_STD_MASK_COLOR 32cdf0e10cSrcweir 33cdf0e10cSrcweir#define ADDITIONAL_SPACE_ABOVE_TABLE 17 34cdf0e10cSrcweir 35cdf0e10cSrcweirModalDialog DLG_DIAGRAM_DATA 36cdf0e10cSrcweir{ 37cdf0e10cSrcweir HelpID = HID_DIAGRAM_DATA ; 38cdf0e10cSrcweir OutputSize = TRUE ; 39cdf0e10cSrcweir Hide = TRUE ; 40cdf0e10cSrcweir SVLook = TRUE ; 41cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 42cdf0e10cSrcweir Size = MAP_APPFONT ( 244 , 152 ) ; 43cdf0e10cSrcweir 44cdf0e10cSrcweir Text [ en-US ] = "Data Table"; 45cdf0e10cSrcweir 46cdf0e10cSrcweir Moveable = TRUE ; 47cdf0e10cSrcweir Closeable = TRUE ; 48cdf0e10cSrcweir Sizeable = TRUE ; 49cdf0e10cSrcweir Control CTL_DATA 50cdf0e10cSrcweir { 51cdf0e10cSrcweir HelpID = HID_SCH_CTL_DATA ; 52cdf0e10cSrcweir Border = TRUE ; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 24 + ADDITIONAL_SPACE_ABOVE_TABLE ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 232 , 121 - ADDITIONAL_SPACE_ABOVE_TABLE ) ; 55cdf0e10cSrcweir TabStop = TRUE ; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir ToolBox TBX_DATA 58cdf0e10cSrcweir { 59cdf0e10cSrcweir HelpID = HID_SCH_TBX_DATA ; 60cdf0e10cSrcweir SVLook = TRUE ; 61cdf0e10cSrcweir TabStop = TRUE ; 62cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 2 ) ; 63cdf0e10cSrcweir ItemList = 64cdf0e10cSrcweir { 65cdf0e10cSrcweir ToolBoxItem 66cdf0e10cSrcweir { 67cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_INSERT_ROW ; 68cdf0e10cSrcweir Identifier = TBI_DATA_INSERT_ROW ; 69cdf0e10cSrcweir Text [ en-US ] = "Insert Row" ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir ToolBoxItem 72cdf0e10cSrcweir { 73cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_INSERT_COL ; 74cdf0e10cSrcweir Identifier = TBI_DATA_INSERT_COL ; 75cdf0e10cSrcweir Text [ en-US ] = "Insert Series" ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir ToolBoxItem 78cdf0e10cSrcweir { 79cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_INSERT_TEXT_COL ; 80cdf0e10cSrcweir Identifier = TBI_DATA_INSERT_TEXT_COL ; 81cdf0e10cSrcweir Text [ en-US ] = "Insert Text Column" ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir ToolBoxItem 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_DELETE_ROW ; 86cdf0e10cSrcweir Identifier = TBI_DATA_DELETE_ROW ; 87cdf0e10cSrcweir Text [ en-US ] = "Delete Row" ; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir ToolBoxItem 90cdf0e10cSrcweir { 91cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_DELETE_COL ; 92cdf0e10cSrcweir Identifier = TBI_DATA_DELETE_COL ; 93cdf0e10cSrcweir Text [ en-US ] = "Delete Series" ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir ToolBoxItem 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir ToolBoxItem 100cdf0e10cSrcweir { 101cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_SWAP_COL ; 102cdf0e10cSrcweir Identifier = TBI_DATA_SWAP_COL ; 103cdf0e10cSrcweir Text [ en-US ] = "Move Series Right" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir ToolBoxItem 106cdf0e10cSrcweir { 107cdf0e10cSrcweir HelpID = HID_SCH_TBI_DATA_SWAP_ROW ; 108cdf0e10cSrcweir Identifier = TBI_DATA_SWAP_ROW ; 109cdf0e10cSrcweir Text [ en-US ] = "Move Row Down" ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir ToolBoxItem 112cdf0e10cSrcweir { 113cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir }; 117cdf0e10cSrcweir 118cdf0e10cSrcweir#define IMAGE_ID_LIST \ 119cdf0e10cSrcweir IdList = \ 120cdf0e10cSrcweir { \ 121cdf0e10cSrcweir TBI_DATA_INSERT_ROW; \ 122cdf0e10cSrcweir TBI_DATA_INSERT_COL; \ 123cdf0e10cSrcweir TBI_DATA_INSERT_TEXT_COL; \ 124cdf0e10cSrcweir TBI_DATA_DELETE_ROW; \ 125cdf0e10cSrcweir TBI_DATA_DELETE_COL; \ 126cdf0e10cSrcweir TBI_DATA_SWAP_COL; \ 127cdf0e10cSrcweir TBI_DATA_SWAP_ROW; \ 128cdf0e10cSrcweir }; \ 129cdf0e10cSrcweir IdCount = { 7; } 130cdf0e10cSrcweir 131cdf0e10cSrcweir ImageList IL_DIAGRAM_DATA 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Prefix = "dataeditor_icon"; 134cdf0e10cSrcweir MaskColor = IMAGE_BUTTON_STD_MASK_COLOR; 135cdf0e10cSrcweir IMAGE_ID_LIST; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir 138cdf0e10cSrcweir ImageList IL_HC_DIAGRAM_DATA 139cdf0e10cSrcweir { 140cdf0e10cSrcweir Prefix = "dataeditor_icon_h"; 141cdf0e10cSrcweir MaskColor = IMAGE_BUTTON_HC_MASK_COLOR; 142cdf0e10cSrcweir IMAGE_ID_LIST; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir}; 145