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