xref: /trunk/main/svx/source/dialog/contdlg.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include "helpid.hrc"
29#include "contdlg.hrc"
30
31#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
32
33 // RID_SVXDLG_CONTOUR ----------------------------------------------------
34FloatingWindow RID_SVXDLG_CONTOUR
35{
36    HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR";
37    OutputSize = TRUE ;
38    Hide = TRUE ;
39    SVLook = TRUE ;
40    Pos = MAP_APPFONT ( 0 , 0 ) ;
41    Size = MAP_APPFONT ( 270 , 213 ) ;
42    Text [ en-US ] = "Contour Editor" ;
43    Sizeable = TRUE ;
44    Moveable = TRUE ;
45    Closeable = TRUE ;
46    Zoomable = TRUE ;
47    ToolBox TBX1
48    {
49        SVLook = TRUE ;
50        Pos = MAP_APPFONT ( 6 , 6 ) ;
51        HelpId = HID_CONTDLG_TOOLBOX ;
52        ItemList =
53        {
54            ToolBoxItem
55            {
56                Identifier = TBI_APPLY ;
57                HelpId = HID_CONTDLG_APPLY ;
58                Text [ en-US ] = "Apply" ;
59            };
60            ToolBoxItem
61            {
62                Type = TOOLBOXITEM_SEPARATOR ;
63            };
64            ToolBoxItem
65            {
66                Identifier = TBI_WORKPLACE ;
67                HelpId = HID_CONTDLG_WORKPLACE ;
68                Text [ en-US ] = "Workspace" ;
69                AutoCheck = TRUE ;
70            };
71            ToolBoxItem
72            {
73                Type = TOOLBOXITEM_SEPARATOR ;
74            };
75            ToolBoxItem
76            {
77                Identifier = TBI_SELECT ;
78                HelpId = HID_CONTDLG_SELECT ;
79                RadioCheck = TRUE ;
80                AutoCheck = TRUE ;
81                Text [ en-US ] = "Select" ;
82            };
83            ToolBoxItem
84            {
85                Identifier = TBI_RECT ;
86                HelpId = HID_CONTDLG_RECT ;
87                RadioCheck = TRUE ;
88                AutoCheck = TRUE ;
89                Text [ en-US ] = "Rectangle" ;
90            };
91            ToolBoxItem
92            {
93                Identifier = TBI_CIRCLE ;
94                HelpId = HID_CONTDLG_CIRCLE ;
95                RadioCheck = TRUE ;
96                AutoCheck = TRUE ;
97                Text [ en-US ] = "Ellipse" ;
98            };
99            ToolBoxItem
100            {
101                Identifier = TBI_POLY ;
102                HelpId = HID_CONTDLG_POLY ;
103                RadioCheck = TRUE ;
104                AutoCheck = TRUE ;
105                Text [ en-US ] = "Polygon" ;
106            };
107            ToolBoxItem
108            {
109                Type = TOOLBOXITEM_SEPARATOR ;
110            };
111            ToolBoxItem
112            {
113                Identifier = TBI_POLYEDIT ;
114                HelpId = HID_CONTDLG_POLYEDIT ;
115                Text [ en-US ] = "Edit Points" ;
116                AutoCheck = TRUE ;
117            };
118            ToolBoxItem
119            {
120                Identifier = TBI_POLYMOVE ;
121                HelpId = HID_CONTDLG_POLYMOVE ;
122                Text [ en-US ] = "Move Points" ;
123                RadioCheck = TRUE ;
124                AutoCheck = TRUE ;
125            };
126            ToolBoxItem
127            {
128                Identifier = TBI_POLYINSERT ;
129                HelpId = HID_CONTDLG_POLYINSERT ;
130                Text [ en-US ] = "Insert Points" ;
131                RadioCheck = TRUE ;
132                AutoCheck = TRUE ;
133            };
134            ToolBoxItem
135            {
136                Identifier = TBI_POLYDELETE ;
137                HelpId = HID_CONTDLG_POLYDELETE ;
138                Text [ en-US ] = "Delete Points" ;
139            };
140            ToolBoxItem
141            {
142                Type = TOOLBOXITEM_SEPARATOR ;
143            };
144            ToolBoxItem
145            {
146                Identifier = TBI_AUTOCONTOUR ;
147                HelpId = HID_CONTDLG_AUTOCONTOUR ;
148                Text [ en-US ] = "AutoContour" ;
149            };
150            ToolBoxItem
151            {
152                Type = TOOLBOXITEM_SEPARATOR ;
153            };
154            ToolBoxItem
155            {
156                Identifier = TBI_UNDO ;
157                HelpId = HID_CONTDLG_UNDO ;
158
159                Text [ en-US ] = "Undo " ;
160            };
161            ToolBoxItem
162            {
163                Identifier = TBI_REDO ;
164                HelpId = HID_CONTDLG_REDO ;
165
166
167                Text [ en-US ] = "Redo " ;
168            };
169            ToolBoxItem
170            {
171                Identifier = TBI_PIPETTE ;
172                HelpId = HID_CONTDLG_PIPETTE ;
173                Text [ en-US ] = "Pipette" ;
174                AutoCheck = TRUE ;
175            };
176        };
177    };
178    MetricField MTF_TOLERANCE
179    {
180        HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE";
181        Border = TRUE ;
182        Pos = MAP_APPFONT ( 0 , 0 ) ;
183        Size = MAP_APPFONT ( 28 , 12 ) ;
184        TabStop = TRUE ;
185        Repeat = TRUE ;
186        Spin = TRUE ;
187        Maximum = 99 ;
188        Last = 99 ;
189        SpinSize = 1 ;
190        Unit = FUNIT_CUSTOM ;
191        QuickHelpText [ en-US ] = "Color Tolerance" ;
192        CustomUnitText [ en-US ] = "%" ;
193    };
194    Control CTL_CONTOUR
195    {
196        Border = TRUE ;
197        SVLook = TRUE ;
198        Pos = MAP_APPFONT ( 6 , 24 ) ;
199        HelpId = HID_CONTDLG_GRAPHWND ;
200    };
201
202#define CONTOURDLG_IDLIST \
203        IdList =            \
204        {                   \
205            TBI_APPLY ; \
206            TBI_WORKPLACE ; \
207            TBI_SELECT ;    \
208            TBI_RECT ;  \
209            TBI_CIRCLE ;    \
210            TBI_POLY ;  \
211            TBI_POLYEDIT ;  \
212            TBI_POLYMOVE ;  \
213            TBI_POLYINSERT ; \
214            TBI_POLYDELETE ;    \
215            TBI_AUTOCONTOUR ;   \
216            TBI_UNDO ;  \
217            TBI_REDO ;  \
218            TBI_PIPETTE ; \
219        }; \
220        IdCount = { 14 ; };
221
222    ImageList CD_IMAPDLG
223    {
224        Prefix = "cd";
225        MASKCOLOR
226        CONTOURDLG_IDLIST
227    };
228    ImageList CDH_IMAPDLG
229    {
230        Prefix = "cdh";
231        MASKCOLOR
232        CONTOURDLG_IDLIST
233    };
234};
235/******************************************************************************/
236String STR_CONTOURDLG_MODIFY
237{
238    Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ;
239};
240String STR_CONTOURDLG_NEWPIPETTE
241{
242    Text [ en-US ] = "Do you want to create a new contour?" ;
243};
244String STR_CONTOURDLG_WORKPLACE
245{
246    Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ;
247};
248String STR_CONTOURDLG_LINKED
249{
250    Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ;
251};
252/******************************************************************************/
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291