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