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