xref: /aoo42x/main/sd/source/ui/dlg/dlgsnap.src (revision e3349227)
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 "app.hrc"
25#include "res_bmp.hrc"
26#include "dlgsnap.hrc"
27#include "helpids.h"
28
29ModalDialog DLG_SNAPLINE
30{
31	HelpID = CMD_SID_CAPTUREPOINT ;
32	OutputSize = TRUE ;
33	SVLook = TRUE ;
34	Size = MAP_APPFONT ( 140 , 125 ) ;
35	Text [ en-US ] = "New Snap Object" ;
36	Moveable = TRUE ;
37	OKButton BTN_OK
38	{
39		Pos = MAP_APPFONT ( 88 , 6  ) ;
40		Size = MAP_APPFONT ( 46 , 14 ) ;
41		TabStop = TRUE ;
42		DefButton = TRUE ;
43	};
44	CancelButton BTN_CANCEL
45	{
46		Pos = MAP_APPFONT ( 88 , 23  ) ;
47		Size = MAP_APPFONT ( 46 , 14 ) ;
48		TabStop = TRUE ;
49	};
50	HelpButton BTN_HELP
51	{
52		Pos = MAP_APPFONT ( 88 , 43  ) ;
53		Size = MAP_APPFONT ( 46 , 14 ) ;
54		TabStop = TRUE ;
55	};
56	PushButton BTN_DELETE
57	{
58	    HelpID = "sd:PushButton:DLG_SNAPLINE:BTN_DELETE";
59		Pos = MAP_APPFONT ( 88 , 63  ) ;
60		Size = MAP_APPFONT ( 46 , 14 ) ;
61		/* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */
62		Text [ en-US ] = "~Delete" ;
63		TabStop = TRUE ;
64	};
65	FixedLine FL_POSITION
66	{
67		Pos = MAP_APPFONT ( 6 , 3  ) ;
68		Size = MAP_APPFONT ( 76 , 8 ) ;
69		Text [ en-US ] = "Position" ;
70	};
71	FixedText FT_X
72	{
73		Pos = MAP_APPFONT ( 12 , 16  ) ;
74		Size = MAP_APPFONT ( 7 , 10 ) ;
75		Text = "~X" ;
76	};
77	MetricField MTR_FLD_X
78	{
79	    HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_X";
80		Border = TRUE ;
81		Pos = MAP_APPFONT ( 22 , 14  ) ;
82		Size = MAP_APPFONT ( 54 , 12 ) ;
83		TabStop = TRUE ;
84		Repeat = TRUE ;
85		Spin = TRUE ;
86		Minimum = -5000000 ;
87		Maximum = 5000000 ;
88		StrictFormat = TRUE ;
89		DecimalDigits = 2 ;
90		Unit = FUNIT_MM ;
91		First = -5000000 ;
92		Last = 5000000 ;
93		SpinSize = 50 ;
94	};
95	FixedText FT_Y
96	{
97		Pos = MAP_APPFONT ( 12 , 32 ) ;
98		Size = MAP_APPFONT ( 7 , 10 ) ;
99		Text = "~Y" ;
100	};
101	MetricField MTR_FLD_Y
102	{
103	    HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_Y";
104		Border = TRUE ;
105		Pos = MAP_APPFONT ( 22 , 30  ) ;
106		Size = MAP_APPFONT ( 54 , 12 ) ;
107		TabStop = TRUE ;
108		Repeat = TRUE ;
109		Spin = TRUE ;
110		Minimum = -5000000 ;
111		Maximum = 5000000 ;
112		StrictFormat = TRUE ;
113		DecimalDigits = 2 ;
114		Unit = FUNIT_MM ;
115		First = -5000000 ;
116		Last = 5000000 ;
117		SpinSize = 50 ;
118	};
119	FixedLine FL_DIRECTION
120	{
121		Pos = MAP_APPFONT ( 6 , 50  ) ;
122		Size = MAP_APPFONT ( 76 , 8 ) ;
123		Text [ en-US ] = "Type" ;
124	};
125	ImageRadioButton RB_POINT
126	{
127	    HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_POINT";
128		Pos = MAP_APPFONT ( 12 , 61  ) ;
129		Size = MAP_APPFONT ( 64 , 16 ) ;
130		Text [ en-US ] = "~Point" ;
131		TabStop = TRUE ;
132		RadioButtonImage = Image
133		{
134			MaskColor = IMAGE_MASK_STDCOLOR;
135			ImageBitmap = Bitmap { File = "hlppoint.bmp" ; };
136		};
137	};
138	ImageRadioButton RB_VERTICAL
139	{
140	    HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_VERTICAL";
141		Pos = MAP_APPFONT ( 12 , 81  ) ;
142		Size = MAP_APPFONT ( 64 , 16 ) ;
143		Text [ en-US ] = "~Vertical" ;
144		TabStop = TRUE ;
145		RadioButtonImage = Image
146		{
147			MaskColor = IMAGE_MASK_STDCOLOR;
148			ImageBitmap = Bitmap { File = "hlplvert.bmp" ; };
149		};
150	};
151	ImageRadioButton RB_HORIZONTAL
152	{
153	    HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_HORIZONTAL";
154		Pos = MAP_APPFONT ( 12 , 101  ) ;
155		Size = MAP_APPFONT ( 65 , 16 ) ;
156		Text [ en-US ] = "Hori~zontal" ;
157		TabStop = TRUE ;
158		RadioButtonImage = Image
159		{
160			MaskColor = IMAGE_MASK_STDCOLOR;
161			ImageBitmap = Bitmap { File = "hlplhorz.bmp" ; };
162		};
163	};
164
165	Image BMP_POINT_H
166	{
167		MaskColor = IMAGE_MASK_STDCOLOR_HC;
168		ImageBitmap = Bitmap { File = "hlppoint_h.bmp" ; };
169	};
170
171	Image BMP_VERTICAL_H
172	{
173		MaskColor = IMAGE_MASK_STDCOLOR_HC;
174		ImageBitmap = Bitmap { File = "hlplvert_h.bmp" ; };
175	};
176
177	Image BMP_HORIZONTAL_H
178	{
179		MaskColor = IMAGE_MASK_STDCOLOR_HC;
180		ImageBitmap = Bitmap { File = "hlplhorz_h.bmp" ; };
181	};
182};
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211