/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ // include --------------------------------------------------------------- #include "helpid.hrc" #include "contdlg.hrc" #define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ; // RID_SVXDLG_CONTOUR ---------------------------------------------------- FloatingWindow RID_SVXDLG_CONTOUR { HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR"; OutputSize = TRUE ; Hide = TRUE ; SVLook = TRUE ; Pos = MAP_APPFONT ( 0 , 0 ) ; Size = MAP_APPFONT ( 270 , 213 ) ; Text [ en-US ] = "Contour Editor" ; Sizeable = TRUE ; Moveable = TRUE ; Closeable = TRUE ; Zoomable = TRUE ; ToolBox TBX1 { SVLook = TRUE ; Pos = MAP_APPFONT ( 6 , 6 ) ; HelpId = HID_CONTDLG_TOOLBOX ; ItemList = { ToolBoxItem { Identifier = TBI_APPLY ; HelpId = HID_CONTDLG_APPLY ; Text [ en-US ] = "Apply" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_WORKPLACE ; HelpId = HID_CONTDLG_WORKPLACE ; Text [ en-US ] = "Workspace" ; AutoCheck = TRUE ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_SELECT ; HelpId = HID_CONTDLG_SELECT ; RadioCheck = TRUE ; AutoCheck = TRUE ; Text [ en-US ] = "Select" ; }; ToolBoxItem { Identifier = TBI_RECT ; HelpId = HID_CONTDLG_RECT ; RadioCheck = TRUE ; AutoCheck = TRUE ; Text [ en-US ] = "Rectangle" ; }; ToolBoxItem { Identifier = TBI_CIRCLE ; HelpId = HID_CONTDLG_CIRCLE ; RadioCheck = TRUE ; AutoCheck = TRUE ; Text [ en-US ] = "Ellipse" ; }; ToolBoxItem { Identifier = TBI_POLY ; HelpId = HID_CONTDLG_POLY ; RadioCheck = TRUE ; AutoCheck = TRUE ; Text [ en-US ] = "Polygon" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_POLYEDIT ; HelpId = HID_CONTDLG_POLYEDIT ; Text [ en-US ] = "Edit Points" ; AutoCheck = TRUE ; }; ToolBoxItem { Identifier = TBI_POLYMOVE ; HelpId = HID_CONTDLG_POLYMOVE ; Text [ en-US ] = "Move Points" ; RadioCheck = TRUE ; AutoCheck = TRUE ; }; ToolBoxItem { Identifier = TBI_POLYINSERT ; HelpId = HID_CONTDLG_POLYINSERT ; Text [ en-US ] = "Insert Points" ; RadioCheck = TRUE ; AutoCheck = TRUE ; }; ToolBoxItem { Identifier = TBI_POLYDELETE ; HelpId = HID_CONTDLG_POLYDELETE ; Text [ en-US ] = "Delete Points" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_AUTOCONTOUR ; HelpId = HID_CONTDLG_AUTOCONTOUR ; Text [ en-US ] = "AutoContour" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_UNDO ; HelpId = HID_CONTDLG_UNDO ; Text [ en-US ] = "Undo " ; }; ToolBoxItem { Identifier = TBI_REDO ; HelpId = HID_CONTDLG_REDO ; Text [ en-US ] = "Redo " ; }; ToolBoxItem { Identifier = TBI_PIPETTE ; HelpId = HID_CONTDLG_PIPETTE ; Text [ en-US ] = "Pipette" ; AutoCheck = TRUE ; }; }; }; MetricField MTF_TOLERANCE { HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE"; Border = TRUE ; Pos = MAP_APPFONT ( 0 , 0 ) ; Size = MAP_APPFONT ( 28 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = 99 ; Last = 99 ; SpinSize = 1 ; Unit = FUNIT_PERCENT ; QuickHelpText [ en-US ] = "Color Tolerance" ; }; Control CTL_CONTOUR { Border = TRUE ; SVLook = TRUE ; Pos = MAP_APPFONT ( 6 , 24 ) ; HelpId = HID_CONTDLG_GRAPHWND ; }; #define CONTOURDLG_IDLIST \ IdList = \ { \ TBI_APPLY ; \ TBI_WORKPLACE ; \ TBI_SELECT ; \ TBI_RECT ; \ TBI_CIRCLE ; \ TBI_POLY ; \ TBI_POLYEDIT ; \ TBI_POLYMOVE ; \ TBI_POLYINSERT ; \ TBI_POLYDELETE ; \ TBI_AUTOCONTOUR ; \ TBI_UNDO ; \ TBI_REDO ; \ TBI_PIPETTE ; \ }; \ IdCount = { 14 ; }; ImageList CD_IMAPDLG { Prefix = "cd"; MASKCOLOR CONTOURDLG_IDLIST }; ImageList CDH_IMAPDLG { Prefix = "cdh"; MASKCOLOR CONTOURDLG_IDLIST }; }; /******************************************************************************/ String STR_CONTOURDLG_MODIFY { Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ; }; String STR_CONTOURDLG_NEWPIPETTE { Text [ en-US ] = "Do you want to create a new contour?" ; }; String STR_CONTOURDLG_WORKPLACE { Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ; }; String STR_CONTOURDLG_LINKED { Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ; }; /******************************************************************************/