109a1d057SAndrew Rist/************************************************************** 2*1e790e4dSmseidel * 309a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 409a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 509a1d057SAndrew Rist * distributed with this work for additional information 609a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 709a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 809a1d057SAndrew Rist * "License"); you may not use this file except in compliance 909a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 10*1e790e4dSmseidel * 1109a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*1e790e4dSmseidel * 1309a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 1409a1d057SAndrew Rist * software distributed under the License is distributed on an 1509a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1609a1d057SAndrew Rist * KIND, either express or implied. See the License for the 1709a1d057SAndrew Rist * specific language governing permissions and limitations 1809a1d057SAndrew Rist * under the License. 19*1e790e4dSmseidel * 2009a1d057SAndrew Rist *************************************************************/ 2109a1d057SAndrew Rist 2209a1d057SAndrew Rist 23*1e790e4dSmseidel 24*1e790e4dSmseidel// include --------------------------------------------------------------- 25cdf0e10cSrcweir#include "helpid.hrc" 26cdf0e10cSrcweir#include "contdlg.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ; 29cdf0e10cSrcweir 30*1e790e4dSmseidel// RID_SVXDLG_CONTOUR ---------------------------------------------------- 31cdf0e10cSrcweirFloatingWindow RID_SVXDLG_CONTOUR 32cdf0e10cSrcweir{ 33*1e790e4dSmseidel HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR" ; 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir Hide = TRUE ; 36cdf0e10cSrcweir SVLook = TRUE ; 37*1e790e4dSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 38*1e790e4dSmseidel Size = MAP_APPFONT ( 270, 213 ) ; 39cdf0e10cSrcweir Text [ en-US ] = "Contour Editor" ; 40cdf0e10cSrcweir Sizeable = TRUE ; 41cdf0e10cSrcweir Moveable = TRUE ; 42cdf0e10cSrcweir Closeable = TRUE ; 43cdf0e10cSrcweir Zoomable = TRUE ; 44cdf0e10cSrcweir ToolBox TBX1 45cdf0e10cSrcweir { 46cdf0e10cSrcweir SVLook = TRUE ; 47*1e790e4dSmseidel Pos = MAP_APPFONT ( 6, 6 ) ; 48cdf0e10cSrcweir HelpId = HID_CONTDLG_TOOLBOX ; 49cdf0e10cSrcweir ItemList = 50cdf0e10cSrcweir { 51cdf0e10cSrcweir ToolBoxItem 52cdf0e10cSrcweir { 53cdf0e10cSrcweir Identifier = TBI_APPLY ; 54cdf0e10cSrcweir HelpId = HID_CONTDLG_APPLY ; 55cdf0e10cSrcweir Text [ en-US ] = "Apply" ; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir ToolBoxItem 58cdf0e10cSrcweir { 59cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir ToolBoxItem 62cdf0e10cSrcweir { 63cdf0e10cSrcweir Identifier = TBI_WORKPLACE ; 64cdf0e10cSrcweir HelpId = HID_CONTDLG_WORKPLACE ; 65cdf0e10cSrcweir Text [ en-US ] = "Workspace" ; 66cdf0e10cSrcweir AutoCheck = TRUE ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir ToolBoxItem 69cdf0e10cSrcweir { 70cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir ToolBoxItem 73cdf0e10cSrcweir { 74cdf0e10cSrcweir Identifier = TBI_SELECT ; 75cdf0e10cSrcweir HelpId = HID_CONTDLG_SELECT ; 76cdf0e10cSrcweir RadioCheck = TRUE ; 77cdf0e10cSrcweir AutoCheck = TRUE ; 78cdf0e10cSrcweir Text [ en-US ] = "Select" ; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir ToolBoxItem 81cdf0e10cSrcweir { 82cdf0e10cSrcweir Identifier = TBI_RECT ; 83cdf0e10cSrcweir HelpId = HID_CONTDLG_RECT ; 84cdf0e10cSrcweir RadioCheck = TRUE ; 85cdf0e10cSrcweir AutoCheck = TRUE ; 86cdf0e10cSrcweir Text [ en-US ] = "Rectangle" ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir ToolBoxItem 89cdf0e10cSrcweir { 90cdf0e10cSrcweir Identifier = TBI_CIRCLE ; 91cdf0e10cSrcweir HelpId = HID_CONTDLG_CIRCLE ; 92cdf0e10cSrcweir RadioCheck = TRUE ; 93cdf0e10cSrcweir AutoCheck = TRUE ; 94cdf0e10cSrcweir Text [ en-US ] = "Ellipse" ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir ToolBoxItem 97cdf0e10cSrcweir { 98cdf0e10cSrcweir Identifier = TBI_POLY ; 99cdf0e10cSrcweir HelpId = HID_CONTDLG_POLY ; 100cdf0e10cSrcweir RadioCheck = TRUE ; 101cdf0e10cSrcweir AutoCheck = TRUE ; 102cdf0e10cSrcweir Text [ en-US ] = "Polygon" ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir ToolBoxItem 105cdf0e10cSrcweir { 106cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 107cdf0e10cSrcweir }; 108cdf0e10cSrcweir ToolBoxItem 109cdf0e10cSrcweir { 110cdf0e10cSrcweir Identifier = TBI_POLYEDIT ; 111cdf0e10cSrcweir HelpId = HID_CONTDLG_POLYEDIT ; 112cdf0e10cSrcweir Text [ en-US ] = "Edit Points" ; 113cdf0e10cSrcweir AutoCheck = TRUE ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir ToolBoxItem 116cdf0e10cSrcweir { 117cdf0e10cSrcweir Identifier = TBI_POLYMOVE ; 118cdf0e10cSrcweir HelpId = HID_CONTDLG_POLYMOVE ; 119cdf0e10cSrcweir Text [ en-US ] = "Move Points" ; 120cdf0e10cSrcweir RadioCheck = TRUE ; 121cdf0e10cSrcweir AutoCheck = TRUE ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir ToolBoxItem 124cdf0e10cSrcweir { 125cdf0e10cSrcweir Identifier = TBI_POLYINSERT ; 126cdf0e10cSrcweir HelpId = HID_CONTDLG_POLYINSERT ; 127cdf0e10cSrcweir Text [ en-US ] = "Insert Points" ; 128cdf0e10cSrcweir RadioCheck = TRUE ; 129cdf0e10cSrcweir AutoCheck = TRUE ; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir ToolBoxItem 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Identifier = TBI_POLYDELETE ; 134cdf0e10cSrcweir HelpId = HID_CONTDLG_POLYDELETE ; 135cdf0e10cSrcweir Text [ en-US ] = "Delete Points" ; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir ToolBoxItem 138cdf0e10cSrcweir { 139cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 140cdf0e10cSrcweir }; 141cdf0e10cSrcweir ToolBoxItem 142cdf0e10cSrcweir { 143cdf0e10cSrcweir Identifier = TBI_AUTOCONTOUR ; 144cdf0e10cSrcweir HelpId = HID_CONTDLG_AUTOCONTOUR ; 145cdf0e10cSrcweir Text [ en-US ] = "AutoContour" ; 146cdf0e10cSrcweir }; 147cdf0e10cSrcweir ToolBoxItem 148cdf0e10cSrcweir { 149cdf0e10cSrcweir Type = TOOLBOXITEM_SEPARATOR ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir ToolBoxItem 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Identifier = TBI_UNDO ; 154cdf0e10cSrcweir HelpId = HID_CONTDLG_UNDO ; 155cdf0e10cSrcweir 156cdf0e10cSrcweir Text [ en-US ] = "Undo " ; 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir ToolBoxItem 159cdf0e10cSrcweir { 160cdf0e10cSrcweir Identifier = TBI_REDO ; 161cdf0e10cSrcweir HelpId = HID_CONTDLG_REDO ; 162cdf0e10cSrcweir 163cdf0e10cSrcweir 164cdf0e10cSrcweir Text [ en-US ] = "Redo " ; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir ToolBoxItem 167cdf0e10cSrcweir { 168cdf0e10cSrcweir Identifier = TBI_PIPETTE ; 169cdf0e10cSrcweir HelpId = HID_CONTDLG_PIPETTE ; 170cdf0e10cSrcweir Text [ en-US ] = "Pipette" ; 171cdf0e10cSrcweir AutoCheck = TRUE ; 172cdf0e10cSrcweir }; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir MetricField MTF_TOLERANCE 176cdf0e10cSrcweir { 177*1e790e4dSmseidel HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE" ; 178cdf0e10cSrcweir Border = TRUE ; 179*1e790e4dSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 180*1e790e4dSmseidel Size = MAP_APPFONT ( 28, 12 ) ; 181cdf0e10cSrcweir TabStop = TRUE ; 182cdf0e10cSrcweir Repeat = TRUE ; 183cdf0e10cSrcweir Spin = TRUE ; 184cdf0e10cSrcweir Maximum = 99 ; 185cdf0e10cSrcweir Last = 99 ; 186cdf0e10cSrcweir SpinSize = 1 ; 1877ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 188cdf0e10cSrcweir QuickHelpText [ en-US ] = "Color Tolerance" ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir Control CTL_CONTOUR 191cdf0e10cSrcweir { 192cdf0e10cSrcweir Border = TRUE ; 193cdf0e10cSrcweir SVLook = TRUE ; 194*1e790e4dSmseidel Pos = MAP_APPFONT ( 6, 24 ) ; 195cdf0e10cSrcweir HelpId = HID_CONTDLG_GRAPHWND ; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir 198*1e790e4dSmseidel#define CONTOURDLG_IDLIST \ 199*1e790e4dSmseidel IdList = \ 200*1e790e4dSmseidel { \ 201*1e790e4dSmseidel TBI_APPLY ; \ 202*1e790e4dSmseidel TBI_WORKPLACE ; \ 203*1e790e4dSmseidel TBI_SELECT ; \ 204*1e790e4dSmseidel TBI_RECT ; \ 205*1e790e4dSmseidel TBI_CIRCLE ; \ 206*1e790e4dSmseidel TBI_POLY ; \ 207*1e790e4dSmseidel TBI_POLYEDIT ; \ 208*1e790e4dSmseidel TBI_POLYMOVE ; \ 209*1e790e4dSmseidel TBI_POLYINSERT ; \ 210cdf0e10cSrcweir TBI_POLYDELETE ; \ 211cdf0e10cSrcweir TBI_AUTOCONTOUR ; \ 212*1e790e4dSmseidel TBI_UNDO ; \ 213*1e790e4dSmseidel TBI_REDO ; \ 214*1e790e4dSmseidel TBI_PIPETTE ; \ 215*1e790e4dSmseidel }; \ 216*1e790e4dSmseidel IdCount = { 14 ; }; 217cdf0e10cSrcweir 218cdf0e10cSrcweir ImageList CD_IMAPDLG 219cdf0e10cSrcweir { 220*1e790e4dSmseidel Prefix = "cd" ; 221cdf0e10cSrcweir MASKCOLOR 222*1e790e4dSmseidel CONTOURDLG_IDLIST 223*1e790e4dSmseidel }; 224*1e790e4dSmseidel ImageList CDH_IMAPDLG 225cdf0e10cSrcweir { 226*1e790e4dSmseidel Prefix = "cdh" ; 227cdf0e10cSrcweir MASKCOLOR 228*1e790e4dSmseidel CONTOURDLG_IDLIST 229*1e790e4dSmseidel }; 230cdf0e10cSrcweir}; 231cdf0e10cSrcweir/******************************************************************************/ 232cdf0e10cSrcweirString STR_CONTOURDLG_MODIFY 233cdf0e10cSrcweir{ 234cdf0e10cSrcweir Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ; 235cdf0e10cSrcweir}; 236cdf0e10cSrcweirString STR_CONTOURDLG_NEWPIPETTE 237cdf0e10cSrcweir{ 238cdf0e10cSrcweir Text [ en-US ] = "Do you want to create a new contour?" ; 239cdf0e10cSrcweir}; 240cdf0e10cSrcweirString STR_CONTOURDLG_WORKPLACE 241cdf0e10cSrcweir{ 242cdf0e10cSrcweir Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ; 243cdf0e10cSrcweir}; 244cdf0e10cSrcweirString STR_CONTOURDLG_LINKED 245cdf0e10cSrcweir{ 246cdf0e10cSrcweir Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ; 247cdf0e10cSrcweir}; 248cdf0e10cSrcweir 249*1e790e4dSmseidel// ********************************************************************** EOF 250