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