xref: /trunk/main/sd/source/ui/dlg/vectdlg.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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
29#include "app.hrc"
30#include "vectdlg.hrc"
31#include "helpids.h"
32
33/******************************************************************************
34|*
35|*
36|*
37\******************************************************************************/
38
39ModalDialog DLG_VECTORIZE
40{
41    HelpID = HID_VECTORIZE_DLG;
42    OutputSize = TRUE ;
43    SVLook = TRUE ;
44    Size = MAP_APPFONT ( 200, 237 ) ;
45    Moveable = TRUE ;
46    Closeable = TRUE ;
47
48    Text [ en-US ] = "Convert to Polygon" ;
49
50    OKButton BTN_OK
51    {
52        Pos = MAP_APPFONT ( 144 , 6 );
53        Size = MAP_APPFONT ( 50 , 14 );
54        TabStop = TRUE ;
55        DefButton = TRUE ;
56    };
57
58    CancelButton BTN_CANCEL
59    {
60        Pos = MAP_APPFONT ( 144 , 23 );
61        Size = MAP_APPFONT ( 50 , 14 );
62        TabStop = TRUE ;
63    };
64
65    HelpButton BTN_HELP
66    {
67        Pos = MAP_APPFONT ( 144 , 43 );
68        Size = MAP_APPFONT ( 50 , 14 );
69        TabStop = TRUE ;
70    };
71
72    PushButton BTN_PREVIEW
73    {
74        HelpID = "sd:PushButton:DLG_VECTORIZE:BTN_PREVIEW";
75        Pos = MAP_APPFONT ( 144 , 63 ) ;
76        Size = MAP_APPFONT ( 50 , 14 ) ;
77        TabStop = TRUE ;
78        Text [ en-US ] = "Preview" ;
79    };
80
81    FixedLine GRP_SETTINGS
82    {
83        Pos = MAP_APPFONT ( 6 , 3 ) ;
84        Size = MAP_APPFONT ( 132 , 8 ) ;
85        Text [ en-US ] = "Settings" ;
86    };
87
88    FixedText FT_LAYERS
89    {
90        Pos = MAP_APPFONT ( 12 , 14 );
91        Size = MAP_APPFONT ( 79 , 12 );
92        Text [ en-US ] = "Number of colors:";
93    };
94
95    NumericField NM_LAYERS
96    {
97        HelpID = "sd:NumericField:DLG_VECTORIZE:NM_LAYERS";
98        Border = TRUE ;
99        Pos = MAP_APPFONT ( 92 , 14 ) ;
100        Size = MAP_APPFONT ( 40 , 12 ) ;
101        TabStop = TRUE ;
102        Repeat = TRUE ;
103        Spin = TRUE ;
104        Minimum = 8;
105        Maximum = 32 ;
106        StrictFormat = TRUE ;
107        First = 8;
108        Last = 32 ;
109        SpinSize = 1 ;
110    };
111
112    FixedText FT_REDUCE
113    {
114        Pos = MAP_APPFONT ( 12 , 29 );
115        Size = MAP_APPFONT ( 79 , 12 );
116        Text [ en-US ] = "Point reduction:";
117    };
118
119    MetricField MT_REDUCE
120    {
121        HelpID = "sd:MetricField:DLG_VECTORIZE:MT_REDUCE";
122        Border = TRUE ;
123        Pos = MAP_APPFONT ( 92 , 29 ) ;
124        Size = MAP_APPFONT ( 40 , 12 ) ;
125        TabStop = TRUE ;
126        Repeat = TRUE ;
127        Spin = TRUE ;
128        Minimum = 0;
129        Maximum = 32 ;
130        StrictFormat = TRUE ;
131        First = 0;
132        Last = 32 ;
133        SpinSize = 1 ;
134        Unit = FUNIT_CUSTOM ;
135        CustomUnitText = " Pixel" ;
136    };
137
138    CheckBox CB_FILLHOLES
139    {
140        HelpID = "sd:CheckBox:DLG_VECTORIZE:CB_FILLHOLES";
141        Pos = MAP_APPFONT ( 12 , 44 ) ;
142        Size = MAP_APPFONT ( 79 , 12 ) ;
143        TabStop = TRUE ;
144        Text [ en-US ] = "~Fill holes:";
145    };
146
147    FixedText FT_FILLHOLES
148    {
149        Pos = MAP_APPFONT ( 12 , 59 );
150        Size = MAP_APPFONT ( 79 , 12 );
151        Text [ en-US ] = "Tile size:";
152    };
153
154    MetricField MT_FILLHOLES
155    {
156        HelpID = "sd:MetricField:DLG_VECTORIZE:MT_FILLHOLES";
157        Border = TRUE ;
158        Pos = MAP_APPFONT ( 92 , 59 ) ;
159        Size = MAP_APPFONT ( 40 , 12 ) ;
160        TabStop = TRUE ;
161        Repeat = TRUE ;
162        Spin = TRUE ;
163        Minimum = 8;
164        Maximum = 128;
165        StrictFormat = TRUE ;
166        First = 8;
167        Last = 128;
168        SpinSize = 1;
169        Unit = FUNIT_CUSTOM ;
170        CustomUnitText = " Pixel" ;
171    };
172
173    FixedText FT_ORIGINAL
174    {
175        Pos = MAP_APPFONT ( 6 , 87 );
176        Size = MAP_APPFONT ( 92 , 12 );
177        Text [ en-US ] = "Source picture:";
178    };
179
180    Control CTL_BMP
181    {
182        Border = TRUE ;
183        Pos = MAP_APPFONT ( 6, 98 ) ;
184        Size = MAP_APPFONT ( 92, 100 ) ;
185        Text [ en-US ] = "Source picture" ;
186    };
187
188    FixedText FT_VECTORIZED
189    {
190        Pos = MAP_APPFONT ( 101 , 87 );
191        Size = MAP_APPFONT ( 92 , 12 );
192        Text [ en-US ] = "Vectorized image:";
193    };
194
195    Control CTL_WMF
196    {
197        Border = TRUE ;
198        Pos = MAP_APPFONT ( 101, 98 ) ;
199        Size = MAP_APPFONT ( 93, 100 ) ;
200        Text [ en-US ] = "Vectorized image" ;
201    };
202
203    FixedText GRP_PRGS
204    {
205        Pos = MAP_APPFONT ( 6, 204 );
206        Size = MAP_APPFONT( 188, 8 );
207        Text [ en-US ] = "Progress";
208    };
209
210    Window WND_PRGS
211    {
212        Border = TRUE ;
213        SVLook = TRUE ;
214        Pos = MAP_APPFONT ( 6, 215 ) ;
215        Size = MAP_APPFONT ( 188, 10 ) ;
216        Text [ en-US ] = "Progress" ;
217    };
218};
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255