xref: /trunk/main/sd/source/ui/dlg/vectdlg.src (revision 36a981aef5024e2d3590132f716f67ef73eafba1)
166220049SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
466220049SAndrew Rist * or more contributor license agreements.  See the NOTICE file
566220049SAndrew Rist * distributed with this work for additional information
666220049SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the
866220049SAndrew Rist * "License"); you may not use this file except in compliance
966220049SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
1166220049SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing,
1466220049SAndrew Rist * software distributed under the License is distributed on an
1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1666220049SAndrew Rist * KIND, either express or implied.  See the License for the
1766220049SAndrew Rist * specific language governing permissions and limitations
1866220049SAndrew Rist * under the License.
19cdf0e10cSrcweir *
2066220049SAndrew Rist *************************************************************/
2166220049SAndrew Rist
2266220049SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "app.hrc"
25cdf0e10cSrcweir#include "vectdlg.hrc"
26cdf0e10cSrcweir#include "helpids.h"
27cdf0e10cSrcweir
28cdf0e10cSrcweirModalDialog DLG_VECTORIZE
29cdf0e10cSrcweir{
30cdf0e10cSrcweir    HelpID = HID_VECTORIZE_DLG ;
31cdf0e10cSrcweir    OutputSize = TRUE ;
32cdf0e10cSrcweir    SVLook = TRUE ;
33cdf0e10cSrcweir    Size = MAP_APPFONT ( 200, 237 ) ;
34cdf0e10cSrcweir    Moveable = TRUE ;
35cdf0e10cSrcweir    Closeable = TRUE ;
36cdf0e10cSrcweir
37cdf0e10cSrcweir    Text [ en-US ] = "Convert to Polygon" ;
38cdf0e10cSrcweir
39cdf0e10cSrcweir    OKButton BTN_OK
40cdf0e10cSrcweir    {
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144, 6 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
43cdf0e10cSrcweir        TabStop = TRUE ;
44cdf0e10cSrcweir        DefButton = TRUE ;
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir
47cdf0e10cSrcweir    CancelButton BTN_CANCEL
48cdf0e10cSrcweir    {
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144, 23 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
51cdf0e10cSrcweir        TabStop = TRUE ;
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir
54cdf0e10cSrcweir    HelpButton BTN_HELP
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144, 43 ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
58cdf0e10cSrcweir        TabStop = TRUE ;
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir
61cdf0e10cSrcweir    PushButton BTN_PREVIEW
62cdf0e10cSrcweir    {
63cdf0e10cSrcweir        HelpID = "sd:PushButton:DLG_VECTORIZE:BTN_PREVIEW" ;
64cdf0e10cSrcweir        Pos = MAP_APPFONT ( 144, 63 ) ;
65cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
66cdf0e10cSrcweir        TabStop = TRUE ;
67cdf0e10cSrcweir        Text [ en-US ] = "Preview" ;
68cdf0e10cSrcweir    };
69cdf0e10cSrcweir
70cdf0e10cSrcweir    FixedLine GRP_SETTINGS
71cdf0e10cSrcweir    {
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 132, 8 ) ;
74cdf0e10cSrcweir        Text [ en-US ] = "Settings" ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir
77cdf0e10cSrcweir    FixedText FT_LAYERS
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 14 ) ;
80cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 12 ) ;
81cdf0e10cSrcweir        Text [ en-US ] = "Number of colors:" ;
82cdf0e10cSrcweir    };
83cdf0e10cSrcweir
84cdf0e10cSrcweir    NumericField NM_LAYERS
85cdf0e10cSrcweir    {
86cdf0e10cSrcweir        HelpID = "sd:NumericField:DLG_VECTORIZE:NM_LAYERS" ;
87cdf0e10cSrcweir        Border = TRUE ;
88cdf0e10cSrcweir        Pos = MAP_APPFONT ( 92, 14 ) ;
89cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
90cdf0e10cSrcweir        TabStop = TRUE ;
91cdf0e10cSrcweir        Repeat = TRUE ;
92cdf0e10cSrcweir        Spin = TRUE ;
93cdf0e10cSrcweir        Minimum = 8 ;
94cdf0e10cSrcweir        Maximum = 32 ;
95cdf0e10cSrcweir        StrictFormat = TRUE ;
96cdf0e10cSrcweir        First = 8 ;
97cdf0e10cSrcweir        Last = 32 ;
98cdf0e10cSrcweir        SpinSize = 1 ;
99cdf0e10cSrcweir    };
100cdf0e10cSrcweir
101cdf0e10cSrcweir    FixedText FT_REDUCE
102cdf0e10cSrcweir    {
103cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 29 ) ;
104cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 12 ) ;
105cdf0e10cSrcweir        Text [ en-US ] = "Point reduction:" ;
106cdf0e10cSrcweir    };
107cdf0e10cSrcweir
108cdf0e10cSrcweir    MetricField MT_REDUCE
109cdf0e10cSrcweir    {
110cdf0e10cSrcweir        HelpID = "sd:MetricField:DLG_VECTORIZE:MT_REDUCE" ;
111cdf0e10cSrcweir        Border = TRUE ;
112cdf0e10cSrcweir        Pos = MAP_APPFONT ( 92, 29 ) ;
113cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
114cdf0e10cSrcweir        TabStop = TRUE ;
115cdf0e10cSrcweir        Repeat = TRUE ;
116cdf0e10cSrcweir        Spin = TRUE ;
117cdf0e10cSrcweir        Minimum = 0 ;
118cdf0e10cSrcweir        Maximum = 32 ;
119cdf0e10cSrcweir        StrictFormat = TRUE ;
120cdf0e10cSrcweir        First = 0 ;
121cdf0e10cSrcweir        Last = 32 ;
122cdf0e10cSrcweir        SpinSize = 1 ;
123cdf0e10cSrcweir        Unit = FUNIT_CUSTOM ;
124cdf0e10cSrcweir        CustomUnitText = " Pixel" ;
125cdf0e10cSrcweir    };
126cdf0e10cSrcweir
127cdf0e10cSrcweir    CheckBox CB_FILLHOLES
128cdf0e10cSrcweir    {
129cdf0e10cSrcweir        HelpID = "sd:CheckBox:DLG_VECTORIZE:CB_FILLHOLES" ;
130cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 44 ) ;
131cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 12 ) ;
132cdf0e10cSrcweir        TabStop = TRUE ;
133cdf0e10cSrcweir        Text [ en-US ] = "~Fill holes:" ;
134cdf0e10cSrcweir    };
135cdf0e10cSrcweir
136cdf0e10cSrcweir    FixedText FT_FILLHOLES
137cdf0e10cSrcweir    {
138cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 59 ) ;
139cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 12 ) ;
140cdf0e10cSrcweir        Text [ en-US ] = "Tile size:" ;
141cdf0e10cSrcweir    };
142cdf0e10cSrcweir
143cdf0e10cSrcweir    MetricField MT_FILLHOLES
144cdf0e10cSrcweir    {
145cdf0e10cSrcweir        HelpID = "sd:MetricField:DLG_VECTORIZE:MT_FILLHOLES" ;
146cdf0e10cSrcweir        Border = TRUE ;
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 92, 59 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
149cdf0e10cSrcweir        TabStop = TRUE ;
150cdf0e10cSrcweir        Repeat = TRUE ;
151cdf0e10cSrcweir        Spin = TRUE ;
152cdf0e10cSrcweir        Minimum = 8 ;
153cdf0e10cSrcweir        Maximum = 128 ;
154cdf0e10cSrcweir        StrictFormat = TRUE ;
155cdf0e10cSrcweir        First = 8 ;
156cdf0e10cSrcweir        Last = 128 ;
157cdf0e10cSrcweir        SpinSize = 1 ;
158cdf0e10cSrcweir        Unit = FUNIT_CUSTOM ;
159cdf0e10cSrcweir        CustomUnitText = " Pixel" ;
160cdf0e10cSrcweir    };
161cdf0e10cSrcweir
162cdf0e10cSrcweir    FixedText FT_ORIGINAL
163cdf0e10cSrcweir    {
164cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 87 ) ;
165cdf0e10cSrcweir        Size = MAP_APPFONT ( 92, 12 ) ;
166cdf0e10cSrcweir        Text [ en-US ] = "Source picture:" ;
167cdf0e10cSrcweir    };
168cdf0e10cSrcweir
169cdf0e10cSrcweir    Control CTL_BMP
170cdf0e10cSrcweir    {
171cdf0e10cSrcweir        Border = TRUE ;
172cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 98 ) ;
173cdf0e10cSrcweir        Size = MAP_APPFONT ( 92, 100 ) ;
174cdf0e10cSrcweir        Text [ en-US ] = "Source picture" ;
175cdf0e10cSrcweir    };
176cdf0e10cSrcweir
177cdf0e10cSrcweir    FixedText FT_VECTORIZED
178cdf0e10cSrcweir    {
179cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 87 ) ;
180cdf0e10cSrcweir        Size = MAP_APPFONT ( 92, 12 ) ;
181cdf0e10cSrcweir        Text [ en-US ] = "Vectorized image:" ;
182cdf0e10cSrcweir    };
183cdf0e10cSrcweir
184cdf0e10cSrcweir    Control CTL_WMF
185cdf0e10cSrcweir    {
186cdf0e10cSrcweir        Border = TRUE ;
187cdf0e10cSrcweir        Pos = MAP_APPFONT ( 101, 98 ) ;
188cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 100 ) ;
189cdf0e10cSrcweir        Text [ en-US ] = "Vectorized image" ;
190cdf0e10cSrcweir    };
191cdf0e10cSrcweir
192cdf0e10cSrcweir    FixedText GRP_PRGS
193cdf0e10cSrcweir    {
194cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 204 ) ;
195cdf0e10cSrcweir        Size = MAP_APPFONT ( 188, 8 ) ;
196cdf0e10cSrcweir        Text [ en-US ] = "Progress" ;
197cdf0e10cSrcweir    };
198cdf0e10cSrcweir
199cdf0e10cSrcweir    Window WND_PRGS
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        Border = TRUE ;
202cdf0e10cSrcweir        SVLook = TRUE ;
203cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 215 ) ;
204cdf0e10cSrcweir        Size = MAP_APPFONT ( 188, 10 ) ;
205cdf0e10cSrcweir        Text [ en-US ] = "Progress" ;
206cdf0e10cSrcweir    };
207cdf0e10cSrcweir};
208cdf0e10cSrcweir
209*36a981aeSmseidel// ********************************************************************** EOF
210