Lines 25-30
Link Here
|
25 |
#include "precompiled_sdext.hxx" |
25 |
#include "precompiled_sdext.hxx" |
26 |
|
26 |
|
27 |
#include "optimizerdialog.hxx" |
27 |
#include "optimizerdialog.hxx" |
|
|
28 |
#include "minimizer.hrc" |
29 |
#include "helpid.hrc" |
28 |
|
30 |
|
29 |
// ------------------- |
31 |
// ------------------- |
30 |
// - OptimizerDialog - |
32 |
// - OptimizerDialog - |
Lines 41-47
Link Here
|
41 |
#endif |
43 |
#endif |
42 |
#include <rtl/ustrbuf.hxx> |
44 |
#include <rtl/ustrbuf.hxx> |
43 |
|
45 |
|
44 |
using namespace ::rtl; |
|
|
45 |
using namespace ::com::sun::star::awt; |
46 |
using namespace ::com::sun::star::awt; |
46 |
using namespace ::com::sun::star::uno; |
47 |
using namespace ::com::sun::star::uno; |
47 |
using namespace ::com::sun::star::util; |
48 |
using namespace ::com::sun::star::util; |
Lines 53-74
using namespace ::com::sun::star::drawing;
Link Here
|
53 |
using namespace ::com::sun::star::container; |
54 |
using namespace ::com::sun::star::container; |
54 |
using namespace ::com::sun::star::presentation; |
55 |
using namespace ::com::sun::star::presentation; |
55 |
|
56 |
|
|
|
57 |
using ::rtl::OUString; |
58 |
using ::rtl::OUStringBuffer; |
56 |
// ----------------------------------------------------------------------------- |
59 |
// ----------------------------------------------------------------------------- |
57 |
|
60 |
|
58 |
void SetBold( OptimizerDialog& rOptimizerDialog, const rtl::OUString& rControl ) |
61 |
void OptimizerDialog::ImplSetBold( const rtl::OUString& rControl ) |
59 |
{ |
62 |
{ |
60 |
FontDescriptor aFontDescriptor; |
63 |
FontDescriptor aFontDescriptor; |
61 |
if ( rOptimizerDialog.getControlProperty( rControl, TKGet( TK_FontDescriptor ) ) >>= aFontDescriptor ) |
64 |
if ( getControlProperty( rControl, TKGet( TK_FontDescriptor ) ) >>= aFontDescriptor ) |
62 |
{ |
65 |
{ |
63 |
aFontDescriptor.Weight = FontWeight::BOLD; |
66 |
aFontDescriptor.Weight = FontWeight::BOLD; |
64 |
rOptimizerDialog.setControlProperty( rControl, TKGet( TK_FontDescriptor ), Any( aFontDescriptor ) ); |
67 |
setControlProperty( rControl, TKGet( TK_FontDescriptor ), Any( aFontDescriptor ) ); |
65 |
} |
68 |
} |
66 |
} |
69 |
} |
67 |
|
70 |
|
68 |
// ----------------------------------------------------------------------------- |
71 |
// ----------------------------------------------------------------------------- |
69 |
|
72 |
|
70 |
rtl::OUString InsertSeparator( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, sal_Int32 nOrientation, |
73 |
rtl::OUString OptimizerDialog::ImplInsertSeparator( |
71 |
sal_Int32 nPosX, sal_Int32 nPosY, sal_Int32 nWidth, sal_Int32 nHeight ) |
74 |
const OUString& rControlName, |
|
|
75 |
sal_Int32 nOrientation, |
76 |
sal_Int32 nPosX, |
77 |
sal_Int32 nPosY, |
78 |
sal_Int32 nWidth, |
79 |
sal_Int32 nHeight ) |
72 |
{ |
80 |
{ |
73 |
OUString pNames[] = { |
81 |
OUString pNames[] = { |
74 |
TKGet( TK_Height ), |
82 |
TKGet( TK_Height ), |
Lines 91-109
rtl::OUString InsertSeparator( OptimizerDialog& rOptimizerDialog, const OUString
Link Here
|
91 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
99 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
92 |
Sequence< Any > aValues( pValues, nCount ); |
100 |
Sequence< Any > aValues( pValues, nCount ); |
93 |
|
101 |
|
94 |
rOptimizerDialog.insertControlModel( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlFixedLineModel" ) ), |
102 |
insertControlModel( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlFixedLineModel" ) ), |
95 |
rControlName, aNames, aValues ); |
103 |
rControlName, aNames, aValues ); |
96 |
return rControlName; |
104 |
return rControlName; |
97 |
} |
105 |
} |
98 |
|
106 |
|
99 |
// ----------------------------------------------------------------------------- |
107 |
// ----------------------------------------------------------------------------- |
100 |
|
108 |
|
101 |
rtl::OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, Reference< XActionListener >& xActionListener, |
109 |
rtl::OUString OptimizerDialog::ImplInsertButton( |
102 |
sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex, sal_Bool bEnabled, PPPOptimizerTokenEnum nResID, sal_Int16 nPushButtonType ) |
110 |
const OUString& rControlName, |
|
|
111 |
const rtl::OUString& rHelpURL, |
112 |
sal_Int32 nXPos, |
113 |
sal_Int32 nYPos, |
114 |
sal_Int32 nWidth, |
115 |
sal_Int32 nHeight, |
116 |
sal_Int16 nTabIndex, |
117 |
sal_Bool bEnabled, |
118 |
sal_Int32 nResID, |
119 |
sal_Int16 nPushButtonType ) |
103 |
{ |
120 |
{ |
104 |
OUString pNames[] = { |
121 |
OUString pNames[] = { |
105 |
TKGet( TK_Enabled ), |
122 |
TKGet( TK_Enabled ), |
106 |
TKGet( TK_Height ), |
123 |
TKGet( TK_Height ), |
|
|
124 |
TKGet( TK_HelpURL ), |
107 |
TKGet( TK_Label ), |
125 |
TKGet( TK_Label ), |
108 |
TKGet( TK_PositionX ), |
126 |
TKGet( TK_PositionX ), |
109 |
TKGet( TK_PositionY ), |
127 |
TKGet( TK_PositionY ), |
Lines 115-121
rtl::OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& r
Link Here
|
115 |
Any pValues[] = { |
133 |
Any pValues[] = { |
116 |
Any( bEnabled ), |
134 |
Any( bEnabled ), |
117 |
Any( nHeight ), |
135 |
Any( nHeight ), |
118 |
Any( rOptimizerDialog.getString( nResID ) ), |
136 |
Any( rHelpURL ), |
|
|
137 |
Any( getString( nResID ) ), |
119 |
Any( nXPos ), |
138 |
Any( nXPos ), |
120 |
Any( nYPos ), |
139 |
Any( nYPos ), |
121 |
Any( nPushButtonType ), |
140 |
Any( nPushButtonType ), |
Lines 129-142
rtl::OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& r
Link Here
|
129 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
148 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
130 |
Sequence< Any > aValues( pValues, nCount ); |
149 |
Sequence< Any > aValues( pValues, nCount ); |
131 |
|
150 |
|
132 |
rOptimizerDialog.insertButton( rControlName, xActionListener, aNames, aValues ); |
151 |
insertButton( rControlName, this, aNames, aValues ); |
133 |
return rControlName; |
152 |
return rControlName; |
134 |
} |
153 |
} |
135 |
|
154 |
|
136 |
// ----------------------------------------------------------------------------- |
155 |
// ----------------------------------------------------------------------------- |
137 |
|
156 |
|
138 |
rtl::OUString InsertFixedText( OptimizerDialog& rOptimizerDialog, const rtl::OUString& rControlName, const OUString& rLabel, |
157 |
rtl::OUString OptimizerDialog::ImplInsertFixedText( |
139 |
sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Bool bMultiLine, sal_Bool bBold, sal_Int16 nTabIndex ) |
158 |
const rtl::OUString& rControlName, |
|
|
159 |
const OUString& rLabel, |
160 |
sal_Int32 nXPos, |
161 |
sal_Int32 nYPos, |
162 |
sal_Int32 nWidth, |
163 |
sal_Int32 nHeight, |
164 |
sal_Bool bMultiLine, |
165 |
sal_Bool bBold, |
166 |
sal_Int16 nTabIndex ) |
140 |
{ |
167 |
{ |
141 |
OUString pNames[] = { |
168 |
OUString pNames[] = { |
142 |
TKGet( TK_Height ), |
169 |
TKGet( TK_Height ), |
Lines 163-183
rtl::OUString InsertFixedText( OptimizerDialog& rOptimizerDialog, const rtl::OUS
Link Here
|
163 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
190 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
164 |
Sequence< Any > aValues( pValues, nCount ); |
191 |
Sequence< Any > aValues( pValues, nCount ); |
165 |
|
192 |
|
166 |
rOptimizerDialog.insertFixedText( rControlName, aNames, aValues ); |
193 |
insertFixedText( rControlName, aNames, aValues ); |
167 |
if ( bBold ) |
194 |
if ( bBold ) |
168 |
SetBold( rOptimizerDialog, rControlName ); |
195 |
ImplSetBold( rControlName ); |
169 |
return rControlName; |
196 |
return rControlName; |
170 |
} |
197 |
} |
171 |
|
198 |
|
172 |
// ----------------------------------------------------------------------------- |
199 |
// ----------------------------------------------------------------------------- |
173 |
|
200 |
|
174 |
rtl::OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, |
201 |
rtl::OUString OptimizerDialog::ImplInsertCheckBox( |
175 |
const Reference< XItemListener > xItemListener, const OUString& rLabel, |
202 |
const OUString& rControlName, |
176 |
sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) |
203 |
const OUString& rLabel, |
|
|
204 |
const rtl::OUString& rHelpURL, |
205 |
sal_Int32 nXPos, |
206 |
sal_Int32 nYPos, |
207 |
sal_Int32 nWidth, |
208 |
sal_Int32 nHeight, |
209 |
sal_Int16 nTabIndex ) |
177 |
{ |
210 |
{ |
178 |
OUString pNames[] = { |
211 |
OUString pNames[] = { |
179 |
TKGet( TK_Enabled ), |
212 |
TKGet( TK_Enabled ), |
180 |
TKGet( TK_Height ), |
213 |
TKGet( TK_Height ), |
|
|
214 |
TKGet( TK_HelpURL ), |
181 |
TKGet( TK_Label ), |
215 |
TKGet( TK_Label ), |
182 |
TKGet( TK_PositionX ), |
216 |
TKGet( TK_PositionX ), |
183 |
TKGet( TK_PositionY ), |
217 |
TKGet( TK_PositionY ), |
Lines 188-193
rtl::OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
188 |
Any pValues[] = { |
222 |
Any pValues[] = { |
189 |
Any( sal_True ), |
223 |
Any( sal_True ), |
190 |
Any( nHeight ), |
224 |
Any( nHeight ), |
|
|
225 |
Any( rHelpURL ), |
191 |
Any( rLabel ), |
226 |
Any( rLabel ), |
192 |
Any( nXPos ), |
227 |
Any( nXPos ), |
193 |
Any( nYPos ), |
228 |
Any( nYPos ), |
Lines 200-222
rtl::OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
200 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
235 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
201 |
Sequence< Any > aValues( pValues, nCount ); |
236 |
Sequence< Any > aValues( pValues, nCount ); |
202 |
|
237 |
|
203 |
Reference< XCheckBox > xCheckBox( rOptimizerDialog.insertCheckBox( rControlName, aNames, aValues ) ); |
238 |
Reference< XCheckBox > xCheckBox( insertCheckBox( rControlName, aNames, aValues ) ); |
204 |
if ( xItemListener.is() ) |
239 |
xCheckBox->addItemListener( this ); |
205 |
xCheckBox->addItemListener( xItemListener ); |
|
|
206 |
return rControlName; |
240 |
return rControlName; |
207 |
} |
241 |
} |
208 |
|
242 |
|
209 |
// ----------------------------------------------------------------------------- |
243 |
// ----------------------------------------------------------------------------- |
210 |
|
244 |
|
211 |
rtl::OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, |
245 |
rtl::OUString OptimizerDialog::ImplInsertFormattedField( |
212 |
const Reference< XTextListener > xTextListener, const Reference< XSpinListener > xSpinListener, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, |
246 |
const OUString& rControlName, |
213 |
double fEffectiveMin, double fEffectiveMax, sal_Int16 nTabIndex ) |
247 |
const rtl::OUString& rHelpURL, |
|
|
248 |
sal_Int32 nXPos, |
249 |
sal_Int32 nYPos, |
250 |
sal_Int32 nWidth, |
251 |
double fEffectiveMin, |
252 |
double fEffectiveMax, |
253 |
sal_Int16 nTabIndex ) |
214 |
{ |
254 |
{ |
215 |
OUString pNames[] = { |
255 |
OUString pNames[] = { |
216 |
TKGet( TK_EffectiveMax ), |
256 |
TKGet( TK_EffectiveMax ), |
217 |
TKGet( TK_EffectiveMin ), |
257 |
TKGet( TK_EffectiveMin ), |
218 |
TKGet( TK_Enabled ), |
258 |
TKGet( TK_Enabled ), |
219 |
TKGet( TK_Height ), |
259 |
TKGet( TK_Height ), |
|
|
260 |
TKGet( TK_HelpURL ), |
220 |
TKGet( TK_PositionX ), |
261 |
TKGet( TK_PositionX ), |
221 |
TKGet( TK_PositionY ), |
262 |
TKGet( TK_PositionY ), |
222 |
TKGet( TK_Repeat ), |
263 |
TKGet( TK_Repeat ), |
Lines 230-235
rtl::OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUS
Link Here
|
230 |
Any( fEffectiveMin ), |
271 |
Any( fEffectiveMin ), |
231 |
Any( sal_True ), |
272 |
Any( sal_True ), |
232 |
Any( (sal_Int32)12 ), |
273 |
Any( (sal_Int32)12 ), |
|
|
274 |
Any( rHelpURL ), |
233 |
Any( nXPos ), |
275 |
Any( nXPos ), |
234 |
Any( nYPos ), |
276 |
Any( nYPos ), |
235 |
Any( (sal_Bool)sal_True ), |
277 |
Any( (sal_Bool)sal_True ), |
Lines 243-269
rtl::OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUS
Link Here
|
243 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
285 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
244 |
Sequence< Any > aValues( pValues, nCount ); |
286 |
Sequence< Any > aValues( pValues, nCount ); |
245 |
|
287 |
|
246 |
Reference< XTextComponent > xTextComponent( rOptimizerDialog.insertFormattedField( rControlName, aNames, aValues ), UNO_QUERY_THROW ); |
288 |
Reference< XTextComponent > xTextComponent( insertFormattedField( rControlName, aNames, aValues ), UNO_QUERY_THROW ); |
247 |
if ( xTextListener.is() ) |
289 |
xTextComponent->addTextListener( this ); |
248 |
xTextComponent->addTextListener( xTextListener ); |
290 |
Reference< XSpinField > xSpinField( xTextComponent, UNO_QUERY_THROW ); |
249 |
if ( xSpinListener.is() ) |
291 |
xSpinField->addSpinListener( this ); |
250 |
{ |
292 |
|
251 |
Reference< XSpinField > xSpinField( xTextComponent, UNO_QUERY_THROW ); |
|
|
252 |
xSpinField->addSpinListener( xSpinListener ); |
253 |
} |
254 |
return rControlName; |
293 |
return rControlName; |
255 |
} |
294 |
} |
256 |
|
295 |
|
257 |
// ----------------------------------------------------------------------------- |
296 |
// ----------------------------------------------------------------------------- |
258 |
|
297 |
|
259 |
rtl::OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, |
298 |
rtl::OUString OptimizerDialog::ImplInsertComboBox( |
260 |
const Reference< XTextListener > xTextListener, const sal_Bool bEnabled, const Sequence< OUString >& rItemList, |
299 |
const OUString& rControlName, |
261 |
sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) |
300 |
const rtl::OUString& rHelpURL, |
|
|
301 |
const sal_Bool bEnabled, |
302 |
const Sequence< OUString >& rItemList, |
303 |
sal_Int32 nXPos, |
304 |
sal_Int32 nYPos, |
305 |
sal_Int32 nWidth, |
306 |
sal_Int32 nHeight, |
307 |
sal_Int16 nTabIndex, |
308 |
bool bListen ) |
262 |
{ |
309 |
{ |
263 |
OUString pNames[] = { |
310 |
OUString pNames[] = { |
264 |
TKGet( TK_Dropdown ), |
311 |
TKGet( TK_Dropdown ), |
265 |
TKGet( TK_Enabled ), |
312 |
TKGet( TK_Enabled ), |
266 |
TKGet( TK_Height ), |
313 |
TKGet( TK_Height ), |
|
|
314 |
TKGet( TK_HelpURL ), |
267 |
TKGet( TK_LineCount ), |
315 |
TKGet( TK_LineCount ), |
268 |
TKGet( TK_PositionX ), |
316 |
TKGet( TK_PositionX ), |
269 |
TKGet( TK_PositionY ), |
317 |
TKGet( TK_PositionY ), |
Lines 276-281
rtl::OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
276 |
Any( sal_True ), |
324 |
Any( sal_True ), |
277 |
Any( bEnabled ), |
325 |
Any( bEnabled ), |
278 |
Any( nHeight ), |
326 |
Any( nHeight ), |
|
|
327 |
Any( rHelpURL ), |
279 |
Any( (sal_Int16)8), |
328 |
Any( (sal_Int16)8), |
280 |
Any( nXPos ), |
329 |
Any( nXPos ), |
281 |
Any( nYPos ), |
330 |
Any( nYPos ), |
Lines 289-307
rtl::OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
289 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
338 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
290 |
Sequence< Any > aValues( pValues, nCount ); |
339 |
Sequence< Any > aValues( pValues, nCount ); |
291 |
|
340 |
|
292 |
Reference< XTextComponent > xTextComponent( rOptimizerDialog.insertComboBox( rControlName, aNames, aValues ), UNO_QUERY_THROW ); |
341 |
Reference< XTextComponent > xTextComponent( insertComboBox( rControlName, aNames, aValues ), UNO_QUERY_THROW ); |
293 |
if ( xTextListener.is() ) |
342 |
if ( bListen ) |
294 |
xTextComponent->addTextListener( xTextListener ); |
343 |
xTextComponent->addTextListener( this ); |
295 |
return rControlName; |
344 |
return rControlName; |
296 |
} |
345 |
} |
297 |
|
346 |
|
298 |
// ----------------------------------------------------------------------------- |
347 |
// ----------------------------------------------------------------------------- |
299 |
|
348 |
|
300 |
rtl::OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const rtl::OUString& rControlName, const Reference< XItemListener > xItemListener, |
349 |
rtl::OUString OptimizerDialog::ImplInsertRadioButton( |
301 |
const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Bool bMultiLine, sal_Int16 nTabIndex ) |
350 |
const rtl::OUString& rControlName, |
|
|
351 |
const OUString& rLabel, |
352 |
const rtl::OUString& rHelpURL, |
353 |
sal_Int32 nXPos, |
354 |
sal_Int32 nYPos, |
355 |
sal_Int32 nWidth, |
356 |
sal_Int32 nHeight, |
357 |
sal_Bool bMultiLine, |
358 |
sal_Int16 nTabIndex ) |
302 |
{ |
359 |
{ |
303 |
OUString pNames[] = { |
360 |
OUString pNames[] = { |
304 |
TKGet( TK_Height ), |
361 |
TKGet( TK_Height ), |
|
|
362 |
TKGet( TK_HelpURL ), |
305 |
TKGet( TK_Label ), |
363 |
TKGet( TK_Label ), |
306 |
TKGet( TK_MultiLine ), |
364 |
TKGet( TK_MultiLine ), |
307 |
TKGet( TK_PositionX ), |
365 |
TKGet( TK_PositionX ), |
Lines 312-317
rtl::OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const rtl::O
Link Here
|
312 |
|
370 |
|
313 |
Any pValues[] = { |
371 |
Any pValues[] = { |
314 |
Any( nHeight ), |
372 |
Any( nHeight ), |
|
|
373 |
Any( rHelpURL ), |
315 |
Any( rLabel ), |
374 |
Any( rLabel ), |
316 |
Any( bMultiLine ), |
375 |
Any( bMultiLine ), |
317 |
Any( nXPos ), |
376 |
Any( nXPos ), |
Lines 325-346
rtl::OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const rtl::O
Link Here
|
325 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
384 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
326 |
Sequence< Any > aValues( pValues, nCount ); |
385 |
Sequence< Any > aValues( pValues, nCount ); |
327 |
|
386 |
|
328 |
Reference< XRadioButton > xRadioButton( rOptimizerDialog.insertRadioButton( rControlName, aNames, aValues ) ); |
387 |
Reference< XRadioButton > xRadioButton( insertRadioButton( rControlName, aNames, aValues ) ); |
329 |
if ( xItemListener.is() ) |
388 |
xRadioButton->addItemListener( this ); |
330 |
xRadioButton->addItemListener( xItemListener ); |
|
|
331 |
return rControlName; |
389 |
return rControlName; |
332 |
} |
390 |
} |
333 |
|
391 |
|
334 |
// ----------------------------------------------------------------------------- |
392 |
// ----------------------------------------------------------------------------- |
335 |
|
393 |
|
336 |
rtl::OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, |
394 |
rtl::OUString OptimizerDialog::ImplInsertListBox( |
337 |
const Reference< XActionListener > xActionListener, const sal_Bool bEnabled, const Sequence< OUString >& rItemList, |
395 |
const OUString& rControlName, |
338 |
sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) |
396 |
const rtl::OUString& rHelpURL, |
|
|
397 |
const sal_Bool bEnabled, |
398 |
const Sequence< OUString >& rItemList, |
399 |
sal_Int32 nXPos, |
400 |
sal_Int32 nYPos, |
401 |
sal_Int32 nWidth, |
402 |
sal_Int32 nHeight, |
403 |
sal_Int16 nTabIndex ) |
339 |
{ |
404 |
{ |
340 |
OUString pNames[] = { |
405 |
OUString pNames[] = { |
341 |
TKGet( TK_Dropdown ), |
406 |
TKGet( TK_Dropdown ), |
342 |
TKGet( TK_Enabled ), |
407 |
TKGet( TK_Enabled ), |
343 |
TKGet( TK_Height ), |
408 |
TKGet( TK_Height ), |
|
|
409 |
TKGet( TK_HelpURL ), |
344 |
TKGet( TK_LineCount ), |
410 |
TKGet( TK_LineCount ), |
345 |
TKGet( TK_MultiSelection ), |
411 |
TKGet( TK_MultiSelection ), |
346 |
TKGet( TK_PositionX ), |
412 |
TKGet( TK_PositionX ), |
Lines 354-359
rtl::OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
354 |
Any( sal_True ), |
420 |
Any( sal_True ), |
355 |
Any( bEnabled ), |
421 |
Any( bEnabled ), |
356 |
Any( nHeight ), |
422 |
Any( nHeight ), |
|
|
423 |
Any( rHelpURL ), |
357 |
Any( (sal_Int16)8), |
424 |
Any( (sal_Int16)8), |
358 |
Any( sal_False ), |
425 |
Any( sal_False ), |
359 |
Any( nXPos ), |
426 |
Any( nXPos ), |
Lines 368-376
rtl::OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString&
Link Here
|
368 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
435 |
Sequence< rtl::OUString > aNames( pNames, nCount ); |
369 |
Sequence< Any > aValues( pValues, nCount ); |
436 |
Sequence< Any > aValues( pValues, nCount ); |
370 |
|
437 |
|
371 |
Reference< XListBox > xListBox( rOptimizerDialog.insertListBox( rControlName, aNames, aValues ) ); |
438 |
Reference< XListBox > xListBox( insertListBox( rControlName, aNames, aValues ) ); |
372 |
if ( xListBox.is() ) |
439 |
xListBox->addActionListener( this ); |
373 |
xListBox->addActionListener( xActionListener ); |
|
|
374 |
return rControlName; |
440 |
return rControlName; |
375 |
} |
441 |
} |
376 |
|
442 |
|
Lines 383-396
void OptimizerDialog::InitNavigationBar()
Link Here
|
383 |
sal_Int32 nNextPosX = nFinishPosX - 6 - BUTTON_WIDTH; |
449 |
sal_Int32 nNextPosX = nFinishPosX - 6 - BUTTON_WIDTH; |
384 |
sal_Int32 nBackPosX = nNextPosX - 3 - BUTTON_WIDTH; |
450 |
sal_Int32 nBackPosX = nNextPosX - 3 - BUTTON_WIDTH; |
385 |
|
451 |
|
386 |
InsertSeparator( *this, TKGet( TK_lnNavSep1 ), 0, 0, DIALOG_HEIGHT - 26, OD_DIALOG_WIDTH, 1 ); |
452 |
ImplInsertSeparator( TKGet( TK_lnNavSep1 ), 0, 0, DIALOG_HEIGHT - 26, OD_DIALOG_WIDTH, 1 ); |
387 |
InsertSeparator( *this, TKGet( TK_lnNavSep2 ), 1, 85, 0, 1, BUTTON_POS_Y - 6 ); |
453 |
ImplInsertSeparator( TKGet( TK_lnNavSep2 ), 1, 85, 0, 1, BUTTON_POS_Y - 6 ); |
388 |
|
454 |
|
389 |
InsertButton( *this, TKGet( TK_btnNavHelp ), mxActionListener, 8, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_HELP, PushButtonType_STANDARD ); |
455 |
ImplInsertButton( TKGet( TK_btnNavHelp ), HID( HID_SDEXT_MINIMIZER_WIZ_PB_HELP ), 8, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_HELP, PushButtonType_HELP ); |
390 |
InsertButton( *this, TKGet( TK_btnNavBack ), mxActionListener, nBackPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_False, STR_BACK, PushButtonType_STANDARD ); |
456 |
ImplInsertButton( TKGet( TK_btnNavBack ), HID( HID_SDEXT_MINIMIZER_WIZ_PB_BACK ), nBackPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_False, STR_BACK, PushButtonType_STANDARD ); |
391 |
InsertButton( *this, TKGet( TK_btnNavNext ), mxActionListener, nNextPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_NEXT, PushButtonType_STANDARD ); |
457 |
ImplInsertButton( TKGet( TK_btnNavNext ), HID( HID_SDEXT_MINIMIZER_WIZ_PB_NEXT ), nNextPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_NEXT, PushButtonType_STANDARD ); |
392 |
InsertButton( *this, TKGet( TK_btnNavFinish ), mxActionListener, nFinishPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_FINISH, PushButtonType_STANDARD ); |
458 |
ImplInsertButton( TKGet( TK_btnNavFinish ), HID( HID_SDEXT_MINIMIZER_WIZ_PB_FINISH ), nFinishPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_FINISH, PushButtonType_STANDARD ); |
393 |
InsertButton( *this, TKGet( TK_btnNavCancel ), mxActionListener, nCancelPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_CANCEL, PushButtonType_STANDARD ); |
459 |
ImplInsertButton( TKGet( TK_btnNavCancel ), HID( HID_SDEXT_MINIMIZER_WIZ_PB_CANCEL ), nCancelPosX, BUTTON_POS_Y, BUTTON_WIDTH, BUTTON_HEIGHT, mnTabIndex++, sal_True, STR_CANCEL, PushButtonType_STANDARD ); |
394 |
|
460 |
|
395 |
setControlProperty( TKGet( TK_btnNavNext ), TKGet( TK_DefaultButton ), Any( sal_True ) ); |
461 |
setControlProperty( TKGet( TK_btnNavNext ), TKGet( TK_DefaultButton ), Any( sal_True ) ); |
396 |
} |
462 |
} |
Lines 433-444
void OptimizerDialog::InitPage0()
Link Here
|
433 |
{ |
499 |
{ |
434 |
Sequence< OUString > aItemList; |
500 |
Sequence< OUString > aItemList; |
435 |
std::vector< rtl::OUString > aControlList; |
501 |
std::vector< rtl::OUString > aControlList; |
436 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText0Pg0 ), getString( STR_INTRODUCTION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
502 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText0Pg0 ), getString( STR_INTRODUCTION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
437 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText1Pg0 ), getString( STR_INTRODUCTION_T ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 100, sal_True, sal_False, mnTabIndex++ ) ); |
503 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText1Pg0 ), getString( STR_INTRODUCTION_T ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 100, sal_True, sal_False, mnTabIndex++ ) ); |
438 |
aControlList.push_back( InsertSeparator( *this, TKGet( TK_Separator1Pg0 ), 0, PAGE_POS_X + 6, DIALOG_HEIGHT - 66, PAGE_WIDTH - 12, 1 ) ); |
504 |
aControlList.push_back( ImplInsertSeparator( TKGet( TK_Separator1Pg0 ), 0, PAGE_POS_X + 6, DIALOG_HEIGHT - 66, PAGE_WIDTH - 12, 1 ) ); |
439 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText2Pg0 ), getString( STR_CHOSE_SETTINGS ), PAGE_POS_X + 6, DIALOG_HEIGHT - 60, PAGE_WIDTH - 12, 8, sal_True, sal_False, mnTabIndex++ ) ); |
505 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText2Pg0 ), getString( STR_CHOSE_SETTINGS ), PAGE_POS_X + 6, DIALOG_HEIGHT - 60, PAGE_WIDTH - 12, 8, sal_True, sal_False, mnTabIndex++ ) ); |
440 |
aControlList.push_back( InsertListBox( *this, TKGet( TK_ListBox0Pg0 ), mxActionListenerListBox0Pg0, sal_True, aItemList, PAGE_POS_X + 6, DIALOG_HEIGHT - 48, ( OD_DIALOG_WIDTH - 50 ) - ( PAGE_POS_X + 6 ), 12, mnTabIndex++ ) ); |
506 |
aControlList.push_back( ImplInsertListBox( TKGet( TK_ListBox0Pg0 ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP1_LB_SETTINGS),sal_True, aItemList, PAGE_POS_X + 6, DIALOG_HEIGHT - 48, ( OD_DIALOG_WIDTH - 50 ) - ( PAGE_POS_X + 6 ), 12, mnTabIndex++ ) ); |
441 |
aControlList.push_back( InsertButton( *this, TKGet( TK_Button0Pg0 ), mxActionListener, OD_DIALOG_WIDTH - 46, DIALOG_HEIGHT - 49, 40, 14, mnTabIndex++, sal_True, STR_REMOVE, PushButtonType_STANDARD ) ); |
507 |
aControlList.push_back( ImplInsertButton( TKGet( TK_Button0Pg0 ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP1_PB_DELSETTS ),OD_DIALOG_WIDTH - 46, DIALOG_HEIGHT - 49, 40, 14, mnTabIndex++, sal_True, STR_REMOVE, PushButtonType_STANDARD ) ); |
442 |
maControlPages.push_back( aControlList ); |
508 |
maControlPages.push_back( aControlList ); |
443 |
DeactivatePage( 0 ); |
509 |
DeactivatePage( 0 ); |
444 |
UpdateControlStatesPage0(); |
510 |
UpdateControlStatesPage0(); |
Lines 459-465
void OptimizerDialog::UpdateControlStatesPage1()
Link Here
|
459 |
void OptimizerDialog::InitPage1() |
525 |
void OptimizerDialog::InitPage1() |
460 |
{ |
526 |
{ |
461 |
Sequence< OUString > aCustomShowList; |
527 |
Sequence< OUString > aCustomShowList; |
462 |
Reference< XModel > xModel( mxController->getModel() ); |
528 |
Reference< XModel > xModel( mxModel ); |
463 |
if ( xModel.is() ) |
529 |
if ( xModel.is() ) |
464 |
{ |
530 |
{ |
465 |
Reference< XCustomPresentationSupplier > aXCPSup( xModel, UNO_QUERY_THROW ); |
531 |
Reference< XCustomPresentationSupplier > aXCPSup( xModel, UNO_QUERY_THROW ); |
Lines 468-479
void OptimizerDialog::InitPage1()
Link Here
|
468 |
aCustomShowList = aXCont->getElementNames(); |
534 |
aCustomShowList = aXCont->getElementNames(); |
469 |
} |
535 |
} |
470 |
std::vector< rtl::OUString > aControlList; |
536 |
std::vector< rtl::OUString > aControlList; |
471 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText0Pg3 ), getString( STR_CHOOSE_SLIDES ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
537 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText0Pg3 ), getString( STR_CHOOSE_SLIDES ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
472 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox0Pg3 ), mxItemListener, getString( STR_DELETE_MASTER_PAGES ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
538 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox0Pg3 ), getString( STR_DELETE_MASTER_PAGES ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP2_CB_MASTERPAGES ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
473 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox2Pg3 ), mxItemListener, getString( STR_DELETE_HIDDEN_SLIDES ), PAGE_POS_X + 6, PAGE_POS_Y + 28, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
539 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox2Pg3 ), getString( STR_DELETE_HIDDEN_SLIDES ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP2_CB_HIDDENSLIDES ), PAGE_POS_X + 6, PAGE_POS_Y + 28, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
474 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox3Pg3 ), mxItemListener, getString( STR_CUSTOM_SHOW ), PAGE_POS_X + 6, PAGE_POS_Y + 42, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
540 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox3Pg3 ), getString( STR_CUSTOM_SHOW ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP2_CB_CUSTOMSHOW ), PAGE_POS_X + 6, PAGE_POS_Y + 42, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
475 |
aControlList.push_back( InsertListBox( *this, TKGet( TK_ListBox0Pg3 ), mxActionListener, sal_True, aCustomShowList, PAGE_POS_X + 14, PAGE_POS_Y + 54, 150, 12, mnTabIndex++ ) ); |
541 |
aControlList.push_back( ImplInsertListBox( TKGet( TK_ListBox0Pg3 ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP2_LB_CUSTOMSHOW),sal_True, aCustomShowList, PAGE_POS_X + 14, PAGE_POS_Y + 54, 150, 12, mnTabIndex++ ) ); |
476 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox1Pg3 ), mxItemListener, getString( STR_DELETE_NOTES_PAGES ), PAGE_POS_X + 6, PAGE_POS_Y + 70, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
542 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox1Pg3 ), getString( STR_DELETE_NOTES_PAGES ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP2_CB_NOTES ), PAGE_POS_X + 6, PAGE_POS_Y + 70, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
477 |
maControlPages.push_back( aControlList ); |
543 |
maControlPages.push_back( aControlList ); |
478 |
DeactivatePage( 1 ); |
544 |
DeactivatePage( 1 ); |
479 |
|
545 |
|
Lines 535-549
void OptimizerDialog::InitPage2()
Link Here
|
535 |
aResolutionItemList[ 3 ] = getString( STR_IMAGE_RESOLUTION_3 ).getToken( 1, ';', nI3 ); |
601 |
aResolutionItemList[ 3 ] = getString( STR_IMAGE_RESOLUTION_3 ).getToken( 1, ';', nI3 ); |
536 |
|
602 |
|
537 |
std::vector< rtl::OUString > aControlList; |
603 |
std::vector< rtl::OUString > aControlList; |
538 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText0Pg1 ), getString( STR_GRAPHIC_OPTIMIZATION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
604 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText0Pg1 ), getString( STR_GRAPHIC_OPTIMIZATION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
539 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton0Pg1 ), mxItemListener, getString( STR_LOSSLESS_COMPRESSION ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
605 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton0Pg1 ), getString( STR_LOSSLESS_COMPRESSION ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_RB_LOSSLESS ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
540 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton1Pg1 ), mxItemListener, getString( STR_JPEG_COMPRESSION ), PAGE_POS_X + 6, PAGE_POS_Y + 28, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
606 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton1Pg1 ), getString( STR_JPEG_COMPRESSION ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_RB_JPEG ), PAGE_POS_X + 6, PAGE_POS_Y + 28, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
541 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText1Pg1 ), getString( STR_QUALITY ), PAGE_POS_X + 20, PAGE_POS_Y + 40, 72, 8, sal_False, sal_False, mnTabIndex++ ) ); |
607 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText1Pg1 ), getString( STR_QUALITY ), PAGE_POS_X + 20, PAGE_POS_Y + 40, 72, 8, sal_False, sal_False, mnTabIndex++ ) ); |
542 |
aControlList.push_back( InsertFormattedField( *this, TKGet( TK_FormattedField0Pg1 ), mxTextListenerFormattedField0Pg1, mxSpinListenerFormattedField0Pg1, PAGE_POS_X + 106, PAGE_POS_Y + 38, 50, 0, 100, mnTabIndex++ ) ); |
608 |
aControlList.push_back( ImplInsertFormattedField( TKGet( TK_FormattedField0Pg1 ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_MF_QUALITY ), PAGE_POS_X + 106, PAGE_POS_Y + 38, 50, 0, 100, mnTabIndex++ ) ); |
543 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText2Pg1 ), getString( STR_IMAGE_RESOLUTION ), PAGE_POS_X + 6, PAGE_POS_Y + 54, 94, 8, sal_False, sal_False, mnTabIndex++ ) ); |
609 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText2Pg1 ), getString( STR_IMAGE_RESOLUTION ), PAGE_POS_X + 6, PAGE_POS_Y + 54, 94, 8, sal_False, sal_False, mnTabIndex++ ) ); |
544 |
aControlList.push_back( InsertComboBox( *this, TKGet( TK_ComboBox0Pg1 ), mxTextListenerComboBox0Pg1, sal_True, aResolutionItemList, PAGE_POS_X + 106, PAGE_POS_Y + 52, 100, 12, mnTabIndex++ ) ); |
610 |
aControlList.push_back( ImplInsertComboBox( TKGet( TK_ComboBox0Pg1 ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_LB_DPI ), sal_True, aResolutionItemList, PAGE_POS_X + 106, PAGE_POS_Y + 52, 100, 12, mnTabIndex++ ) ); |
545 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox1Pg1 ), mxItemListener, getString( STR_REMOVE_CROP_AREA ), PAGE_POS_X + 6, PAGE_POS_Y + 68, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
611 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox1Pg1 ), getString( STR_REMOVE_CROP_AREA ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_CB_CROP ), PAGE_POS_X + 6, PAGE_POS_Y + 68, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
546 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox2Pg1 ), mxItemListener, getString( STR_EMBED_LINKED_GRAPHICS ), PAGE_POS_X + 6, PAGE_POS_Y + 82, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
612 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox2Pg1 ), getString( STR_EMBED_LINKED_GRAPHICS ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP3_CB_LINKS ), PAGE_POS_X + 6, PAGE_POS_Y + 82, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
547 |
maControlPages.push_back( aControlList ); |
613 |
maControlPages.push_back( aControlList ); |
548 |
DeactivatePage( 2 ); |
614 |
DeactivatePage( 2 ); |
549 |
UpdateControlStatesPage2(); |
615 |
UpdateControlStatesPage2(); |
Lines 565-571
void OptimizerDialog::UpdateControlStatesPage3()
Link Here
|
565 |
void OptimizerDialog::InitPage3() |
631 |
void OptimizerDialog::InitPage3() |
566 |
{ |
632 |
{ |
567 |
int nOLECount = 0; |
633 |
int nOLECount = 0; |
568 |
Reference< XModel > xModel( mxController->getModel() ); |
634 |
Reference< XModel > xModel( mxModel ); |
569 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( xModel, UNO_QUERY_THROW ); |
635 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( xModel, UNO_QUERY_THROW ); |
570 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
636 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
571 |
for ( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
637 |
for ( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
Lines 581-591
void OptimizerDialog::InitPage3()
Link Here
|
581 |
} |
647 |
} |
582 |
|
648 |
|
583 |
std::vector< rtl::OUString > aControlList; |
649 |
std::vector< rtl::OUString > aControlList; |
584 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText0Pg2 ), getString( STR_OLE_OPTIMIZATION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
650 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText0Pg2 ), getString( STR_OLE_OPTIMIZATION ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
585 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox0Pg2 ), mxItemListener, getString( STR_OLE_REPLACE ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
651 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox0Pg2 ), getString( STR_OLE_REPLACE ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP4_CB_OLE ), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, mnTabIndex++ ) ); |
586 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton0Pg2 ), mxItemListener, getString( STR_ALL_OLE_OBJECTS ), PAGE_POS_X + 14, PAGE_POS_Y + 28, PAGE_WIDTH - 22, 8, sal_False, mnTabIndex++ ) ); |
652 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton0Pg2 ), getString( STR_ALL_OLE_OBJECTS ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP4_RB_ALLOLE), PAGE_POS_X + 14, PAGE_POS_Y + 28, PAGE_WIDTH - 22, 8, sal_False, mnTabIndex++ ) ); |
587 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton1Pg2 ), mxItemListener, getString( STR_ALIEN_OLE_OBJECTS_ONLY ), PAGE_POS_X + 14, PAGE_POS_Y + 40, PAGE_WIDTH - 22, 8, sal_False, mnTabIndex++ ) ); |
653 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton1Pg2 ), getString( STR_ALIEN_OLE_OBJECTS_ONLY ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP4_RB_NOTODF),PAGE_POS_X + 14, PAGE_POS_Y + 40, PAGE_WIDTH - 22, 8, sal_False, mnTabIndex++ ) ); |
588 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText1Pg2 ), nOLECount ? getString( STR_OLE_OBJECTS_DESC ) : getString( STR_NO_OLE_OBJECTS_DESC ), PAGE_POS_X + 6, PAGE_POS_Y + 64, PAGE_WIDTH - 22, 50, sal_True, sal_False, mnTabIndex++ ) ); |
654 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText1Pg2 ), nOLECount ? getString( STR_OLE_OBJECTS_DESC ) : getString( STR_NO_OLE_OBJECTS_DESC ), PAGE_POS_X + 6, PAGE_POS_Y + 64, PAGE_WIDTH - 22, 50, sal_True, sal_False, mnTabIndex++ ) ); |
589 |
maControlPages.push_back( aControlList ); |
655 |
maControlPages.push_back( aControlList ); |
590 |
DeactivatePage( 3 ); |
656 |
DeactivatePage( 3 ); |
591 |
UpdateControlStatesPage3(); |
657 |
UpdateControlStatesPage3(); |
Lines 683-689
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
683 |
if ( aCustomShowName.getLength() ) |
749 |
if ( aCustomShowName.getLength() ) |
684 |
{ |
750 |
{ |
685 |
std::vector< Reference< XDrawPage > > vNonUsedPageList; |
751 |
std::vector< Reference< XDrawPage > > vNonUsedPageList; |
686 |
PageCollector::CollectNonCustomShowPages( mxController->getModel(), aCustomShowName, vNonUsedPageList ); |
752 |
PageCollector::CollectNonCustomShowPages( mxModel, aCustomShowName, vNonUsedPageList ); |
687 |
nDeletedSlides += vNonUsedPageList.size(); |
753 |
nDeletedSlides += vNonUsedPageList.size(); |
688 |
} |
754 |
} |
689 |
if ( GetConfigProperty( TK_DeleteHiddenSlides, sal_False ) ) |
755 |
if ( GetConfigProperty( TK_DeleteHiddenSlides, sal_False ) ) |
Lines 691-697
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
691 |
if ( aCustomShowName.getLength() ) |
757 |
if ( aCustomShowName.getLength() ) |
692 |
{ |
758 |
{ |
693 |
std::vector< Reference< XDrawPage > > vUsedPageList; |
759 |
std::vector< Reference< XDrawPage > > vUsedPageList; |
694 |
PageCollector::CollectCustomShowPages( mxController->getModel(), aCustomShowName, vUsedPageList ); |
760 |
PageCollector::CollectCustomShowPages( mxModel, aCustomShowName, vUsedPageList ); |
695 |
std::vector< Reference< XDrawPage > >::iterator aIter( vUsedPageList.begin() ); |
761 |
std::vector< Reference< XDrawPage > >::iterator aIter( vUsedPageList.begin() ); |
696 |
while( aIter != vUsedPageList.end() ) |
762 |
while( aIter != vUsedPageList.end() ) |
697 |
{ |
763 |
{ |
Lines 708-714
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
708 |
} |
774 |
} |
709 |
else |
775 |
else |
710 |
{ |
776 |
{ |
711 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( mxController->getModel(), UNO_QUERY_THROW ); |
777 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( mxModel, UNO_QUERY_THROW ); |
712 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
778 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
713 |
for( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
779 |
for( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
714 |
{ |
780 |
{ |
Lines 728-735
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
728 |
if ( GetConfigProperty( TK_DeleteUnusedMasterPages, sal_False ) ) |
794 |
if ( GetConfigProperty( TK_DeleteUnusedMasterPages, sal_False ) ) |
729 |
{ |
795 |
{ |
730 |
std::vector< PageCollector::MasterPageEntity > aMasterPageList; |
796 |
std::vector< PageCollector::MasterPageEntity > aMasterPageList; |
731 |
PageCollector::CollectMasterPages( mxController->getModel(), aMasterPageList ); |
797 |
PageCollector::CollectMasterPages( mxModel, aMasterPageList ); |
732 |
Reference< XMasterPagesSupplier > xMasterPagesSupplier( mxController->getModel(), UNO_QUERY_THROW ); |
798 |
Reference< XMasterPagesSupplier > xMasterPagesSupplier( mxModel, UNO_QUERY_THROW ); |
733 |
Reference< XDrawPages > xMasterPages( xMasterPagesSupplier->getMasterPages(), UNO_QUERY_THROW ); |
799 |
Reference< XDrawPages > xMasterPages( xMasterPagesSupplier->getMasterPages(), UNO_QUERY_THROW ); |
734 |
std::vector< PageCollector::MasterPageEntity >::iterator aIter( aMasterPageList.begin() ); |
800 |
std::vector< PageCollector::MasterPageEntity >::iterator aIter( aMasterPageList.begin() ); |
735 |
while( aIter != aMasterPageList.end() ) |
801 |
while( aIter != aMasterPageList.end() ) |
Lines 756-762
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
756 |
sal_Int32 nImageResolution( GetConfigProperty( TK_ImageResolution, (sal_Int32)0 ) ); |
822 |
sal_Int32 nImageResolution( GetConfigProperty( TK_ImageResolution, (sal_Int32)0 ) ); |
757 |
GraphicSettings aGraphicSettings( bJPEGCompression, nJPEGQuality, GetConfigProperty( TK_RemoveCropArea, sal_False ), |
823 |
GraphicSettings aGraphicSettings( bJPEGCompression, nJPEGQuality, GetConfigProperty( TK_RemoveCropArea, sal_False ), |
758 |
nImageResolution, GetConfigProperty( TK_EmbedLinkedGraphics, sal_True ) ); |
824 |
nImageResolution, GetConfigProperty( TK_EmbedLinkedGraphics, sal_True ) ); |
759 |
GraphicCollector::CountGraphics( mxMSF, mxController->getModel(), aGraphicSettings, nGraphics ); |
825 |
GraphicCollector::CountGraphics( mxContext, mxModel, aGraphicSettings, nGraphics ); |
760 |
if ( nGraphics > 1 ) |
826 |
if ( nGraphics > 1 ) |
761 |
{ |
827 |
{ |
762 |
OUString aStr( getString( STR_OPTIMIZE_IMAGES ) ); |
828 |
OUString aStr( getString( STR_OPTIMIZE_IMAGES ) ); |
Lines 781-787
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
781 |
if ( GetConfigProperty( TK_OLEOptimization, sal_False ) ) |
847 |
if ( GetConfigProperty( TK_OLEOptimization, sal_False ) ) |
782 |
{ |
848 |
{ |
783 |
sal_Int32 nOLEReplacements = 0; |
849 |
sal_Int32 nOLEReplacements = 0; |
784 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( mxController->getModel(), UNO_QUERY_THROW ); |
850 |
Reference< XDrawPagesSupplier > xDrawPagesSupplier( mxModel, UNO_QUERY_THROW ); |
785 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
851 |
Reference< XDrawPages > xDrawPages( xDrawPagesSupplier->getDrawPages(), UNO_QUERY_THROW ); |
786 |
for ( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
852 |
for ( sal_Int32 i = 0; i < xDrawPages->getCount(); i++ ) |
787 |
{ |
853 |
{ |
Lines 812-818
void OptimizerDialog::UpdateControlStatesPage4()
Link Here
|
812 |
|
878 |
|
813 |
sal_Int64 nCurrentFileSize = 0; |
879 |
sal_Int64 nCurrentFileSize = 0; |
814 |
sal_Int64 nEstimatedFileSize = 0; |
880 |
sal_Int64 nEstimatedFileSize = 0; |
815 |
Reference< XStorable > xStorable( mxController->getModel(), UNO_QUERY ); |
881 |
Reference< XStorable > xStorable( mxModel, UNO_QUERY ); |
816 |
if ( xStorable.is() && xStorable->hasLocation() ) |
882 |
if ( xStorable.is() && xStorable->hasLocation() ) |
817 |
nCurrentFileSize = PPPOptimizer::GetFileSize( xStorable->getLocation() ); |
883 |
nCurrentFileSize = PPPOptimizer::GetFileSize( xStorable->getLocation() ); |
818 |
|
884 |
|
Lines 856-862
void OptimizerDialog::InitPage4()
Link Here
|
856 |
|
922 |
|
857 |
Any pValues[] = { |
923 |
Any pValues[] = { |
858 |
Any( (sal_Int32)12 ), |
924 |
Any( (sal_Int32)12 ), |
859 |
Any( TKGet( STR_SAVE_AS ) ), |
925 |
Any( OUString( RTL_CONSTASCII_USTRINGPARAM("STR_SAVE_AS") ) ),//TODO |
860 |
Any( (sal_Int32)( PAGE_POS_X + 6 ) ), |
926 |
Any( (sal_Int32)( PAGE_POS_X + 6 ) ), |
861 |
Any( (sal_Int32)( DIALOG_HEIGHT - 75 ) ), |
927 |
Any( (sal_Int32)( DIALOG_HEIGHT - 75 ) ), |
862 |
Any( (sal_Int32)( 0 ) ), |
928 |
Any( (sal_Int32)( 0 ) ), |
Lines 872-901
void OptimizerDialog::InitPage4()
Link Here
|
872 |
Reference< XMultiPropertySet > xMultiPropertySet( insertControlModel( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlProgressBarModel" ) ), |
938 |
Reference< XMultiPropertySet > xMultiPropertySet( insertControlModel( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlProgressBarModel" ) ), |
873 |
TKGet( TK_Progress ), aNames, aValues ), UNO_QUERY ); |
939 |
TKGet( TK_Progress ), aNames, aValues ), UNO_QUERY ); |
874 |
} |
940 |
} |
875 |
Reference< XTextListener > xTextListener; |
941 |
|
876 |
Sequence< OUString > aItemList; |
942 |
Sequence< OUString > aItemList; |
877 |
std::vector< rtl::OUString > aControlList; |
943 |
std::vector< rtl::OUString > aControlList; |
878 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText0Pg4 ), getString( STR_SUMMARY_TITLE ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
944 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText0Pg4 ), getString( STR_SUMMARY_TITLE ), PAGE_POS_X, PAGE_POS_Y, PAGE_WIDTH, 8, sal_False, sal_True, mnTabIndex++ ) ); |
879 |
// aControlList.push_back( InsertSeparator( *this, TKGet( TK_Separator0Pg4 ), 0, PAGE_POS_X + 6, PAGE_POS_Y + 90, PAGE_WIDTH - 12, 1 ) ); |
945 |
// aControlList.push_back( ImplInsertSeparator( TKGet( TK_Separator0Pg4 ), 0, PAGE_POS_X + 6, PAGE_POS_Y + 90, PAGE_WIDTH - 12, 1 ) ); |
880 |
|
946 |
|
881 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText4Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
947 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText4Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 14, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
882 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText5Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 22, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
948 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText5Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 22, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
883 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText6Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 30, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
949 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText6Pg4 ), OUString(), PAGE_POS_X + 6, PAGE_POS_Y + 30, PAGE_WIDTH - 12, 8, sal_False, sal_False, mnTabIndex++ ) ); |
884 |
|
950 |
|
885 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText2Pg4 ), getString( STR_CURRENT_FILESIZE ), PAGE_POS_X + 6, PAGE_POS_Y + 50, 88, 8, sal_False, sal_False, mnTabIndex++ ) ); |
951 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText2Pg4 ), getString( STR_CURRENT_FILESIZE ), PAGE_POS_X + 6, PAGE_POS_Y + 50, 88, 8, sal_False, sal_False, mnTabIndex++ ) ); |
886 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText7Pg4 ), OUString(), PAGE_POS_X + 100, PAGE_POS_Y + 50, 30, 8, sal_False, sal_False, mnTabIndex++ ) ); |
952 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText7Pg4 ), OUString(), PAGE_POS_X + 100, PAGE_POS_Y + 50, 30, 8, sal_False, sal_False, mnTabIndex++ ) ); |
887 |
setControlProperty( TKGet( TK_FixedText7Pg4 ), TKGet( TK_Align ), Any( static_cast< short >( 2 ) ) ); |
953 |
setControlProperty( TKGet( TK_FixedText7Pg4 ), TKGet( TK_Align ), Any( static_cast< short >( 2 ) ) ); |
888 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText3Pg4 ), getString( STR_ESTIMATED_FILESIZE ), PAGE_POS_X + 6, PAGE_POS_Y + 58, 88, 8, sal_False, sal_False, mnTabIndex++ ) ); |
954 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText3Pg4 ), getString( STR_ESTIMATED_FILESIZE ), PAGE_POS_X + 6, PAGE_POS_Y + 58, 88, 8, sal_False, sal_False, mnTabIndex++ ) ); |
889 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText8Pg4 ), OUString(), PAGE_POS_X + 100, PAGE_POS_Y + 58, 30, 8, sal_False, sal_False, mnTabIndex++ ) ); |
955 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText8Pg4 ), OUString(), PAGE_POS_X + 100, PAGE_POS_Y + 58, 30, 8, sal_False, sal_False, mnTabIndex++ ) ); |
890 |
setControlProperty( TKGet( TK_FixedText8Pg4 ), TKGet( TK_Align ), Any( static_cast< short >( 2 ) ) ); |
956 |
setControlProperty( TKGet( TK_FixedText8Pg4 ), TKGet( TK_Align ), Any( static_cast< short >( 2 ) ) ); |
891 |
|
957 |
|
892 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton0Pg4 ), mxItemListener, getString( STR_APPLY_TO_CURRENT ), PAGE_POS_X + 6, PAGE_POS_Y + 78, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
958 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton0Pg4 ), getString( STR_APPLY_TO_CURRENT ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP5_RB_CURDOC),PAGE_POS_X + 6, PAGE_POS_Y + 78, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
893 |
aControlList.push_back( InsertRadioButton( *this, TKGet( TK_RadioButton1Pg4 ), mxItemListener, getString( STR_SAVE_AS ), PAGE_POS_X + 6, PAGE_POS_Y + 90, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
959 |
aControlList.push_back( ImplInsertRadioButton( TKGet( TK_RadioButton1Pg4 ), getString( STR_SAVE_AS ), HID(HID_SDEXT_MINIMIZER_WIZ_STEP5_RB_NEWDOC),PAGE_POS_X + 6, PAGE_POS_Y + 90, PAGE_WIDTH - 12, 8, sal_False, mnTabIndex++ ) ); |
894 |
aControlList.push_back( InsertFixedText( *this, TKGet( TK_FixedText1Pg4 ), OUString(), PAGE_POS_X + 6, DIALOG_HEIGHT - 87, PAGE_WIDTH - 12, 8, sal_True, sal_False, mnTabIndex++ ) ); |
960 |
aControlList.push_back( ImplInsertFixedText( TKGet( TK_FixedText1Pg4 ), OUString(), PAGE_POS_X + 6, DIALOG_HEIGHT - 87, PAGE_WIDTH - 12, 8, sal_True, sal_False, mnTabIndex++ ) ); |
895 |
aControlList.push_back( TKGet( TK_Progress ) ); |
961 |
aControlList.push_back( TKGet( TK_Progress ) ); |
896 |
aControlList.push_back( InsertSeparator( *this, TKGet( TK_Separator1Pg4 ), 0, PAGE_POS_X + 6, DIALOG_HEIGHT - 58, PAGE_WIDTH - 12, 1 ) ); |
962 |
aControlList.push_back( ImplInsertSeparator( TKGet( TK_Separator1Pg4 ), 0, PAGE_POS_X + 6, DIALOG_HEIGHT - 58, PAGE_WIDTH - 12, 1 ) ); |
897 |
aControlList.push_back( InsertCheckBox( *this, TKGet( TK_CheckBox1Pg4 ), mxItemListener, getString( STR_SAVE_SETTINGS ), PAGE_POS_X + 6, DIALOG_HEIGHT - 47, 100, 8, mnTabIndex++ ) ); |
963 |
aControlList.push_back( ImplInsertCheckBox( TKGet( TK_CheckBox1Pg4 ), getString( STR_SAVE_SETTINGS ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP5_CB_SAVESETTINGS ), PAGE_POS_X + 6, DIALOG_HEIGHT - 47, 100, 8, mnTabIndex++ ) ); |
898 |
aControlList.push_back( InsertComboBox( *this, TKGet( TK_ComboBox0Pg4 ), xTextListener, sal_True, aItemList, PAGE_POS_X + 106, DIALOG_HEIGHT - 48, 100, 12, mnTabIndex++ ) ); |
964 |
// don't listen to this |
|
|
965 |
aControlList.push_back( |
966 |
ImplInsertComboBox( |
967 |
TKGet( TK_ComboBox0Pg4 ), HID( HID_SDEXT_MINIMIZER_WIZ_STEP5_LB_SETTINGSNAME ),sal_True, aItemList, |
968 |
PAGE_POS_X + 106, DIALOG_HEIGHT - 48, 100, 12, mnTabIndex++ , |
969 |
false) ); |
899 |
maControlPages.push_back( aControlList ); |
970 |
maControlPages.push_back( aControlList ); |
900 |
DeactivatePage( 4 ); |
971 |
DeactivatePage( 4 ); |
901 |
|
972 |
|