xref: /trunk/main/svx/source/dialog/contdlg.src (revision 78190a370f7d7129fed9a7e70ca122eaae71ce1d)
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 ---------------------------------------------------------------
25#include "helpid.hrc"
26#include "contdlg.hrc"
27
28#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
29
30// RID_SVXDLG_CONTOUR ----------------------------------------------------
31FloatingWindow RID_SVXDLG_CONTOUR
32{
33    HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR" ;
34    OutputSize = TRUE ;
35    Hide = TRUE ;
36    SVLook = TRUE ;
37    Pos = MAP_APPFONT ( 0, 0 ) ;
38    Size = MAP_APPFONT ( 270, 213 ) ;
39    Text [ en-US ] = "Contour Editor" ;
40    Sizeable = TRUE ;
41    Moveable = TRUE ;
42    Closeable = TRUE ;
43    Zoomable = TRUE ;
44    ToolBox TBX1
45    {
46        SVLook = TRUE ;
47        Pos = MAP_APPFONT ( 6, 6 ) ;
48        HelpId = HID_CONTDLG_TOOLBOX ;
49        ItemList =
50        {
51            ToolBoxItem
52            {
53                Identifier = TBI_APPLY ;
54                HelpId = HID_CONTDLG_APPLY ;
55                Text [ en-US ] = "Apply" ;
56            };
57            ToolBoxItem
58            {
59                Type = TOOLBOXITEM_SEPARATOR ;
60            };
61            ToolBoxItem
62            {
63                Identifier = TBI_WORKPLACE ;
64                HelpId = HID_CONTDLG_WORKPLACE ;
65                Text [ en-US ] = "Workspace" ;
66                AutoCheck = TRUE ;
67            };
68            ToolBoxItem
69            {
70                Type = TOOLBOXITEM_SEPARATOR ;
71            };
72            ToolBoxItem
73            {
74                Identifier = TBI_SELECT ;
75                HelpId = HID_CONTDLG_SELECT ;
76                RadioCheck = TRUE ;
77                AutoCheck = TRUE ;
78                Text [ en-US ] = "Select" ;
79            };
80            ToolBoxItem
81            {
82                Identifier = TBI_RECT ;
83                HelpId = HID_CONTDLG_RECT ;
84                RadioCheck = TRUE ;
85                AutoCheck = TRUE ;
86                Text [ en-US ] = "Rectangle" ;
87            };
88            ToolBoxItem
89            {
90                Identifier = TBI_CIRCLE ;
91                HelpId = HID_CONTDLG_CIRCLE ;
92                RadioCheck = TRUE ;
93                AutoCheck = TRUE ;
94                Text [ en-US ] = "Ellipse" ;
95            };
96            ToolBoxItem
97            {
98                Identifier = TBI_POLY ;
99                HelpId = HID_CONTDLG_POLY ;
100                RadioCheck = TRUE ;
101                AutoCheck = TRUE ;
102                Text [ en-US ] = "Polygon" ;
103            };
104            ToolBoxItem
105            {
106                Type = TOOLBOXITEM_SEPARATOR ;
107            };
108            ToolBoxItem
109            {
110                Identifier = TBI_POLYEDIT ;
111                HelpId = HID_CONTDLG_POLYEDIT ;
112                Text [ en-US ] = "Edit Points" ;
113                AutoCheck = TRUE ;
114            };
115            ToolBoxItem
116            {
117                Identifier = TBI_POLYMOVE ;
118                HelpId = HID_CONTDLG_POLYMOVE ;
119                Text [ en-US ] = "Move Points" ;
120                RadioCheck = TRUE ;
121                AutoCheck = TRUE ;
122            };
123            ToolBoxItem
124            {
125                Identifier = TBI_POLYINSERT ;
126                HelpId = HID_CONTDLG_POLYINSERT ;
127                Text [ en-US ] = "Insert Points" ;
128                RadioCheck = TRUE ;
129                AutoCheck = TRUE ;
130            };
131            ToolBoxItem
132            {
133                Identifier = TBI_POLYDELETE ;
134                HelpId = HID_CONTDLG_POLYDELETE ;
135                Text [ en-US ] = "Delete Points" ;
136            };
137            ToolBoxItem
138            {
139                Type = TOOLBOXITEM_SEPARATOR ;
140            };
141            ToolBoxItem
142            {
143                Identifier = TBI_AUTOCONTOUR ;
144                HelpId = HID_CONTDLG_AUTOCONTOUR ;
145                Text [ en-US ] = "AutoContour" ;
146            };
147            ToolBoxItem
148            {
149                Type = TOOLBOXITEM_SEPARATOR ;
150            };
151            ToolBoxItem
152            {
153                Identifier = TBI_UNDO ;
154                HelpId = HID_CONTDLG_UNDO ;
155
156                Text [ en-US ] = "Undo " ;
157            };
158            ToolBoxItem
159            {
160                Identifier = TBI_REDO ;
161                HelpId = HID_CONTDLG_REDO ;
162
163
164                Text [ en-US ] = "Redo " ;
165            };
166            ToolBoxItem
167            {
168                Identifier = TBI_PIPETTE ;
169                HelpId = HID_CONTDLG_PIPETTE ;
170                Text [ en-US ] = "Pipette" ;
171                AutoCheck = TRUE ;
172            };
173        };
174    };
175    MetricField MTF_TOLERANCE
176    {
177        HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE" ;
178        Border = TRUE ;
179        Pos = MAP_APPFONT ( 0, 0 ) ;
180        Size = MAP_APPFONT ( 28, 12 ) ;
181        TabStop = TRUE ;
182        Repeat = TRUE ;
183        Spin = TRUE ;
184        Maximum = 99 ;
185        Last = 99 ;
186        SpinSize = 1 ;
187        Unit = FUNIT_PERCENT ;
188        QuickHelpText [ en-US ] = "Color Tolerance" ;
189    };
190    Control CTL_CONTOUR
191    {
192        Border = TRUE ;
193        SVLook = TRUE ;
194        Pos = MAP_APPFONT ( 6, 24 ) ;
195        HelpId = HID_CONTDLG_GRAPHWND ;
196    };
197
198#define CONTOURDLG_IDLIST       \
199        IdList =                \
200        {                       \
201            TBI_APPLY ;         \
202            TBI_WORKPLACE ;     \
203            TBI_SELECT ;        \
204            TBI_RECT ;          \
205            TBI_CIRCLE ;        \
206            TBI_POLY ;          \
207            TBI_POLYEDIT ;      \
208            TBI_POLYMOVE ;      \
209            TBI_POLYINSERT ;    \
210            TBI_POLYDELETE ;    \
211            TBI_AUTOCONTOUR ;   \
212            TBI_UNDO ;          \
213            TBI_REDO ;          \
214            TBI_PIPETTE ;       \
215        }; \
216        IdCount = { 14 ; };
217
218    ImageList CD_IMAPDLG
219    {
220        Prefix = "cd" ;
221        MASKCOLOR
222        CONTOURDLG_IDLIST
223    };
224    ImageList CDH_IMAPDLG
225    {
226        Prefix = "cdh" ;
227        MASKCOLOR
228        CONTOURDLG_IDLIST
229    };
230};
231/******************************************************************************/
232String STR_CONTOURDLG_MODIFY
233{
234    Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ;
235};
236String STR_CONTOURDLG_NEWPIPETTE
237{
238    Text [ en-US ] = "Do you want to create a new contour?" ;
239};
240String STR_CONTOURDLG_WORKPLACE
241{
242    Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ;
243};
244String STR_CONTOURDLG_LINKED
245{
246    Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ;
247};
248
249// ********************************************************************** EOF
250