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