LibreOffice Module reportdesign (master) 1
ReportHelperImpl.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
21// css::report::XReportComponent:
22#define REPORTCOMPONENT_IMPL3(clazz,arg) \
23OUString SAL_CALL clazz::getName() \
24{ \
25 ::osl::MutexGuard aGuard(m_aMutex); \
26 return (arg).m_sName; \
27} \
28void SAL_CALL clazz::setName( const OUString& _name ) \
29{ \
30 set(PROPERTY_NAME,_name,(arg).m_sName); \
31} \
32::sal_Int32 SAL_CALL clazz::getHeight() \
33{ \
34 return getSize().Height; \
35} \
36void SAL_CALL clazz::setHeight( ::sal_Int32 _height ) \
37{ \
38 awt::Size aSize = getSize(); \
39 aSize.Height = _height; \
40 setSize(aSize); \
41} \
42::sal_Int32 SAL_CALL clazz::getPositionX() \
43{ \
44 return getPosition().X; \
45} \
46void SAL_CALL clazz::setPositionX( ::sal_Int32 _positionx ) \
47{ \
48 awt::Point aPos = getPosition(); \
49 aPos.X = _positionx; \
50 setPosition(aPos); \
51} \
52::sal_Int32 SAL_CALL clazz::getPositionY() \
53{ \
54 return getPosition().Y; \
55} \
56void SAL_CALL clazz::setPositionY( ::sal_Int32 _positiony ) \
57{ \
58 awt::Point aPos = getPosition(); \
59 aPos.Y = _positiony; \
60 setPosition(aPos); \
61} \
62::sal_Int32 SAL_CALL clazz::getWidth() \
63{ \
64 return getSize().Width; \
65} \
66void SAL_CALL clazz::setWidth( ::sal_Int32 _width ) \
67{ \
68 awt::Size aSize = getSize(); \
69 aSize.Width = _width; \
70 setSize(aSize); \
71} \
72uno::Reference< report::XSection > SAL_CALL clazz::getSection() \
73{ \
74 ::osl::MutexGuard aGuard(m_aMutex); \
75 uno::Reference< container::XChild > xParent(getParent( ),uno::UNO_QUERY); \
76 return lcl_getSection(xParent); \
77} \
78sal_Bool SAL_CALL clazz::getAutoGrow() \
79{ \
80 ::osl::MutexGuard aGuard(m_aMutex); \
81 return (arg).m_bAutoGrow; \
82} \
83void SAL_CALL clazz::setAutoGrow(sal_Bool _autogrow) \
84{ \
85 set(PROPERTY_AUTOGROW,static_cast<bool>(_autogrow),(arg).m_bAutoGrow); \
86}
87
88#define REPORTCOMPONENT_IMPL(clazz,arg) \
89REPORTCOMPONENT_IMPL3(clazz,arg)\
90sal_Bool SAL_CALL clazz::getPrintRepeatedValues() \
91{ \
92 ::osl::MutexGuard aGuard(m_aMutex); \
93 return (arg).m_bPrintRepeatedValues; \
94} \
95void SAL_CALL clazz::setPrintRepeatedValues( sal_Bool _printrepeatedvalues ) \
96{ \
97 set(PROPERTY_PRINTREPEATEDVALUES,_printrepeatedvalues,(arg).m_bPrintRepeatedValues); \
98}
99
100#define REPORTCOMPONENT_IMPL2(clazz,arg) \
101::sal_Int16 SAL_CALL clazz::getControlBorder() \
102{ \
103 ::osl::MutexGuard aGuard(m_aMutex); \
104 return (arg).m_nBorder; \
105} \
106void SAL_CALL clazz::setControlBorder( ::sal_Int16 _border )\
107{ \
108 set(PROPERTY_CONTROLBORDER,_border,(arg).m_nBorder); \
109} \
110::sal_Int32 SAL_CALL clazz::getControlBorderColor() \
111{ \
112 ::osl::MutexGuard aGuard(m_aMutex); \
113 return (arg).m_nBorderColor; \
114} \
115void SAL_CALL clazz::setControlBorderColor( ::sal_Int32 _bordercolor ) \
116{ \
117 set(PROPERTY_CONTROLBORDERCOLOR,_bordercolor,(arg).m_nBorderColor); \
118}
119
120#define REPORTCOMPONENT_MASTERDETAIL(clazz,arg) \
121css::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() \
122{ \
123 ::osl::MutexGuard aGuard(m_aMutex); \
124 return (arg).m_aMasterFields; \
125} \
126void SAL_CALL clazz::setMasterFields( const css::uno::Sequence< OUString >& _masterfields )\
127{ \
128 ::osl::MutexGuard aGuard(m_aMutex); \
129 set(PROPERTY_MASTERFIELDS,_masterfields,(arg).m_aMasterFields); \
130} \
131css::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields()\
132{ \
133 ::osl::MutexGuard aGuard(m_aMutex); \
134 return (arg).m_aDetailFields; \
135} \
136void SAL_CALL clazz::setDetailFields( const css::uno::Sequence< OUString >& _detailfields )\
137{ \
138 ::osl::MutexGuard aGuard(m_aMutex); \
139 set(PROPERTY_DETAILFIELDS,_detailfields,(arg).m_aDetailFields); \
140}
141
142#define REPORTCOMPONENT_NOMASTERDETAIL(clazz) \
143css::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() \
144{ \
145 throw css::beans::UnknownPropertyException();\
146} \
147void SAL_CALL clazz::setMasterFields( const css::uno::Sequence< OUString >& )\
148{ \
149 throw css::beans::UnknownPropertyException();\
150} \
151css::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields()\
152{ \
153 throw css::beans::UnknownPropertyException();\
154} \
155void SAL_CALL clazz::setDetailFields( const css::uno::Sequence< OUString >& )\
156{ \
157 throw css::beans::UnknownPropertyException();\
158}
159
160// css::report::XReportControlFormat:
161#define REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
162::sal_Int32 SAL_CALL clazz::getControlBackground() \
163{ \
164 ::osl::MutexGuard aGuard(m_aMutex); \
165 return varName.m_bBackgroundTransparent ? sal_Int32(COL_TRANSPARENT) : varName.nBackgroundColor; \
166} \
167 \
168void SAL_CALL clazz::setControlBackground( ::sal_Int32 _backgroundcolor )\
169{ \
170 bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);\
171 setControlBackgroundTransparent(bTransparent);\
172 if ( !bTransparent )\
173 set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,varName.nBackgroundColor);\
174} \
175 \
176sal_Bool SAL_CALL clazz::getControlBackgroundTransparent() \
177{ \
178 ::osl::MutexGuard aGuard(m_aMutex); \
179 return varName.m_bBackgroundTransparent; \
180} \
181 \
182void SAL_CALL clazz::setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent ) \
183{ \
184 set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,varName.m_bBackgroundTransparent);\
185 if ( _controlbackgroundtransparent )\
186 set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),varName.nBackgroundColor);\
187}
188
189#define REPORTCONTROLFORMAT_IMPL2(clazz,varName) \
190::sal_Int16 SAL_CALL clazz::getCharStrikeout() \
191{ \
192 ::osl::MutexGuard aGuard(m_aMutex); \
193 return varName.aFontDescriptor.Strikeout; \
194} \
195 \
196void SAL_CALL clazz::setCharStrikeout(::sal_Int16 the_value) \
197{ \
198 set(PROPERTY_CHARSTRIKEOUT,the_value,varName.aFontDescriptor.Strikeout); \
199} \
200 \
201sal_Bool SAL_CALL clazz::getCharWordMode() \
202{ \
203 ::osl::MutexGuard aGuard(m_aMutex); \
204 return varName.aFontDescriptor.WordLineMode; \
205} \
206 \
207void SAL_CALL clazz::setCharWordMode(sal_Bool the_value) \
208{ \
209 set(PROPERTY_CHARWORDMODE,the_value,varName.aFontDescriptor.WordLineMode); \
210} \
211 \
212::sal_Int16 SAL_CALL clazz::getCharRotation() \
213{ \
214 ::osl::MutexGuard aGuard(m_aMutex); \
215 return static_cast<sal_Int16>(varName.aFontDescriptor.Orientation); \
216} \
217 \
218void SAL_CALL clazz::setCharRotation(::sal_Int16 the_value) \
219{ \
220 float newValue = the_value; \
221 set(PROPERTY_CHARROTATION,newValue,varName.aFontDescriptor.Orientation); \
222} \
223 \
224::sal_Int16 SAL_CALL clazz::getCharScaleWidth() \
225{ \
226 ::osl::MutexGuard aGuard(m_aMutex); \
227 return static_cast<sal_Int16>(varName.aFontDescriptor.CharacterWidth); \
228} \
229 \
230void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 the_value) \
231{ \
232 float newValue = the_value; \
233 set(PROPERTY_CHARSCALEWIDTH,newValue,varName.aFontDescriptor.CharacterWidth); \
234} \
235sal_Int16 SAL_CALL clazz::getParaAdjust() \
236{ \
237 ::osl::MutexGuard aGuard(m_aMutex); \
238 return static_cast<sal_Int16>(varName.nAlign); \
239} \
240 \
241void SAL_CALL clazz::setParaAdjust( sal_Int16 _align ) \
242{ \
243 set(PROPERTY_PARAADJUST,_align,varName.nAlign); \
244} \
245 \
246awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() \
247{ \
248 ::osl::MutexGuard aGuard(m_aMutex); \
249 return varName.aFontDescriptor; \
250} \
251 \
252void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& _fontdescriptor ) \
253{ \
254 set(PROPERTY_FONTDESCRIPTOR,_fontdescriptor,varName.aFontDescriptor); \
255} \
256awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() \
257{ \
258 ::osl::MutexGuard aGuard(m_aMutex); \
259 return varName.aAsianFontDescriptor; \
260} \
261 \
262void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& _fontdescriptor ) \
263{ \
264 set(PROPERTY_FONTDESCRIPTORASIAN,_fontdescriptor,varName.aAsianFontDescriptor); \
265} \
266awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() \
267{ \
268 ::osl::MutexGuard aGuard(m_aMutex); \
269 return varName.aComplexFontDescriptor; \
270} \
271 \
272void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& _fontdescriptor ) \
273{ \
274 set(PROPERTY_FONTDESCRIPTORCOMPLEX,_fontdescriptor,varName.aComplexFontDescriptor); \
275} \
276 \
277::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() \
278{ \
279 ::osl::MutexGuard aGuard(m_aMutex); \
280 return varName.nFontEmphasisMark; \
281} \
282 \
283void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 _fontemphasismark ) \
284{ \
285 set(PROPERTY_CONTROLTEXTEMPHASISMARK,_fontemphasismark,varName.nFontEmphasisMark); \
286} \
287 \
288::sal_Int16 SAL_CALL clazz::getCharRelief() \
289{ \
290 ::osl::MutexGuard aGuard(m_aMutex); \
291 return varName.nFontRelief; \
292} \
293 \
294void SAL_CALL clazz::setCharRelief( ::sal_Int16 _fontrelief ) \
295{ \
296 set(PROPERTY_CHARRELIEF,_fontrelief,varName.nFontRelief); \
297} \
298 \
299::sal_Int32 SAL_CALL clazz::getCharColor() \
300{ \
301 ::osl::MutexGuard aGuard(m_aMutex); \
302 return varName.nTextColor; \
303} \
304 \
305void SAL_CALL clazz::setCharColor( ::sal_Int32 _textcolor ) \
306{ \
307 set(PROPERTY_CHARCOLOR,_textcolor,varName.nTextColor); \
308} \
309 \
310::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() \
311{ \
312 ::osl::MutexGuard aGuard(m_aMutex); \
313 return varName.nTextLineColor; \
314} \
315 \
316void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 _textlinecolor ) \
317{ \
318 set(PROPERTY_CHARUNDERLINECOLOR,_textlinecolor,varName.nTextLineColor); \
319} \
320 \
321style::VerticalAlignment SAL_CALL clazz::getVerticalAlign() \
322{ \
323 ::osl::MutexGuard aGuard(m_aMutex); \
324 return varName.aVerticalAlignment; \
325} \
326 \
327void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign ) \
328{ \
329 set(PROPERTY_VERTICALALIGN,_verticalalign,varName.aVerticalAlignment); \
330} \
331 \
332::sal_Int16 SAL_CALL clazz::getCharEmphasis() \
333{ \
334 return getControlTextEmphasis(); \
335} \
336 \
337void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 _charemphasis ) \
338{ \
339 set(PROPERTY_CHAREMPHASIS,_charemphasis,varName.nFontEmphasisMark); \
340} \
341 \
342OUString SAL_CALL clazz::getCharFontName() \
343{ \
344 ::osl::MutexGuard aGuard(m_aMutex); \
345 return varName.aFontDescriptor.Name; \
346} \
347 \
348void SAL_CALL clazz::setCharFontName( const OUString& _charfontname ) \
349{ \
350 set(PROPERTY_CHARFONTNAME,_charfontname,varName.aFontDescriptor.Name); \
351} \
352 \
353OUString SAL_CALL clazz::getCharFontStyleName() \
354{ \
355 ::osl::MutexGuard aGuard(m_aMutex); \
356 return varName.aFontDescriptor.StyleName; \
357} \
358 \
359void SAL_CALL clazz::setCharFontStyleName( const OUString& _charfontstylename ) \
360{ \
361 set(PROPERTY_CHARFONTSTYLENAME,_charfontstylename,varName.aFontDescriptor.StyleName); \
362} \
363 \
364::sal_Int16 SAL_CALL clazz::getCharFontFamily() \
365{ \
366 ::osl::MutexGuard aGuard(m_aMutex); \
367 return varName.aFontDescriptor.Family; \
368} \
369 \
370void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 _charfontfamily ) \
371{ \
372 set(PROPERTY_CHARFONTFAMILY,_charfontfamily,varName.aFontDescriptor.Family); \
373} \
374 \
375::sal_Int16 SAL_CALL clazz::getCharFontCharSet() \
376{ \
377 ::osl::MutexGuard aGuard(m_aMutex); \
378 return varName.aFontDescriptor.CharSet; \
379} \
380 \
381void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 _charfontcharset ) \
382{ \
383 set(PROPERTY_CHARFONTCHARSET,_charfontcharset,varName.aFontDescriptor.CharSet); \
384} \
385 \
386::sal_Int16 SAL_CALL clazz::getCharFontPitch() \
387{ \
388 ::osl::MutexGuard aGuard(m_aMutex); \
389 return varName.aFontDescriptor.Pitch; \
390} \
391 \
392void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 _charfontpitch ) \
393{ \
394 set(PROPERTY_CHARFONTPITCH,_charfontpitch,varName.aFontDescriptor.Pitch); \
395} \
396 \
397float SAL_CALL clazz::getCharHeight() \
398{ \
399 ::osl::MutexGuard aGuard(m_aMutex); \
400 return varName.aFontDescriptor.Height; \
401} \
402 \
403void SAL_CALL clazz::setCharHeight( float _charheight ) \
404{ \
405 set(PROPERTY_CHARHEIGHT,static_cast<sal_Int16>(_charheight),varName.aFontDescriptor.Height); \
406} \
407 \
408::sal_Int16 SAL_CALL clazz::getCharUnderline() \
409{ \
410 ::osl::MutexGuard aGuard(m_aMutex); \
411 return varName.aFontDescriptor.Underline; \
412} \
413 \
414void SAL_CALL clazz::setCharUnderline( ::sal_Int16 _charunderline ) \
415{ \
416 set(PROPERTY_CHARUNDERLINE,_charunderline,varName.aFontDescriptor.Underline); \
417} \
418 \
419float SAL_CALL clazz::getCharWeight() \
420{ \
421 ::osl::MutexGuard aGuard(m_aMutex); \
422 return varName.aFontDescriptor.Weight; \
423} \
424 \
425void SAL_CALL clazz::setCharWeight( float _charweight ) \
426{ \
427 set(PROPERTY_CHARWEIGHT,_charweight,varName.aFontDescriptor.Weight); \
428} \
429 \
430awt::FontSlant SAL_CALL clazz::getCharPosture() \
431{ \
432 ::osl::MutexGuard aGuard(m_aMutex); \
433 return varName.aFontDescriptor.Slant; \
434} \
435 \
436void SAL_CALL clazz::setCharPosture( awt::FontSlant _charposture ) \
437{ \
438 set(PROPERTY_CHARPOSTURE,_charposture,varName.aFontDescriptor.Slant); \
439}\
440sal_Bool SAL_CALL clazz::getCharFlash()\
441{ \
442 ::osl::MutexGuard aGuard(m_aMutex); \
443 return varName.bCharFlash; \
444} \
445void SAL_CALL clazz::setCharFlash(sal_Bool the_value)\
446{ \
447 set(PROPERTY_CHARFLASH,the_value,varName.bCharFlash); \
448}\
449sal_Bool SAL_CALL clazz::getCharAutoKerning()\
450{ \
451 ::osl::MutexGuard aGuard(m_aMutex); \
452 return varName.bCharAutoKerning; \
453} \
454void SAL_CALL clazz::setCharAutoKerning(sal_Bool the_value)\
455{ \
456 set(PROPERTY_CHARAUTOKERNING,the_value,varName.bCharAutoKerning); \
457}\
458::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() \
459{ \
460 ::osl::MutexGuard aGuard(m_aMutex); \
461 return varName.nCharEscapementHeight; \
462} \
463void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 the_value) \
464{ \
465 set(PROPERTY_CHARESCAPEMENTHEIGHT,the_value,varName.nCharEscapementHeight); \
466}\
467lang::Locale SAL_CALL clazz::getCharLocale() \
468{ \
469 ::osl::MutexGuard aGuard(m_aMutex); \
470 return varName.aCharLocale; \
471} \
472void SAL_CALL clazz::setCharLocale(const lang::Locale & the_value) \
473{ \
474 BoundListeners l; \
475 { \
476 ::osl::MutexGuard aGuard(m_aMutex); \
477 if ( varName.aCharLocale.Language != the_value.Language \
478 || varName.aCharLocale.Country != the_value.Country \
479 || varName.aCharLocale.Variant != the_value.Variant ) \
480 { \
481 prepareSet(PROPERTY_CHARLOCALE, css::uno::Any(varName.aCharLocale), css::uno::Any(the_value), &l); \
482 varName.aCharLocale = the_value; \
483 } \
484 } \
485 l.notify(); \
486}\
487::sal_Int16 SAL_CALL clazz::getCharEscapement() \
488{ \
489 ::osl::MutexGuard aGuard(m_aMutex); \
490 return varName.nCharEscapement; \
491} \
492void SAL_CALL clazz::setCharEscapement(::sal_Int16 the_value) \
493{ \
494 set(PROPERTY_CHARESCAPEMENT,the_value,varName.nCharEscapement); \
495}\
496::sal_Int16 SAL_CALL clazz::getCharCaseMap() \
497{ \
498 ::osl::MutexGuard aGuard(m_aMutex); \
499 return varName.nCharCaseMap; \
500} \
501void SAL_CALL clazz::setCharCaseMap(::sal_Int16 the_value) \
502{ \
503 set(PROPERTY_CHARCASEMAP,the_value,varName.nCharCaseMap); \
504}\
505sal_Bool SAL_CALL clazz::getCharCombineIsOn() \
506{ \
507 ::osl::MutexGuard aGuard(m_aMutex); \
508 return varName.bCharCombineIsOn; \
509} \
510void SAL_CALL clazz::setCharCombineIsOn(sal_Bool the_value) \
511{ \
512 set(PROPERTY_CHARCOMBINEISON,the_value,varName.bCharCombineIsOn); \
513}\
514OUString SAL_CALL clazz::getCharCombinePrefix() \
515{ \
516 ::osl::MutexGuard aGuard(m_aMutex); \
517 return varName.sCharCombinePrefix; \
518} \
519void SAL_CALL clazz::setCharCombinePrefix(const OUString & the_value) \
520{ \
521 set(PROPERTY_CHARCOMBINEPREFIX,the_value,varName.sCharCombinePrefix); \
522}\
523OUString SAL_CALL clazz::getCharCombineSuffix() \
524{ \
525 ::osl::MutexGuard aGuard(m_aMutex); \
526 return varName.sCharCombineSuffix; \
527} \
528void SAL_CALL clazz::setCharCombineSuffix(const OUString & the_value) \
529{ \
530 set(PROPERTY_CHARCOMBINESUFFIX,the_value,varName.sCharCombineSuffix); \
531}\
532sal_Bool SAL_CALL clazz::getCharHidden() \
533{ \
534 ::osl::MutexGuard aGuard(m_aMutex); \
535 return varName.bCharHidden; \
536} \
537void SAL_CALL clazz::setCharHidden(sal_Bool the_value) \
538{ \
539 set(PROPERTY_CHARHIDDEN,the_value,varName.bCharHidden); \
540}\
541sal_Bool SAL_CALL clazz::getCharShadowed() \
542{ \
543 ::osl::MutexGuard aGuard(m_aMutex); \
544 return varName.bCharShadowed; \
545} \
546void SAL_CALL clazz::setCharShadowed(sal_Bool the_value) \
547{ \
548 set(PROPERTY_CHARSHADOWED,the_value,varName.bCharShadowed); \
549}\
550sal_Bool SAL_CALL clazz::getCharContoured() \
551{ \
552 ::osl::MutexGuard aGuard(m_aMutex); \
553 return varName.bCharContoured; \
554} \
555void SAL_CALL clazz::setCharContoured(sal_Bool the_value) \
556{ \
557 set(PROPERTY_CHARCONTOURED,the_value,varName.bCharContoured); \
558}\
559OUString SAL_CALL clazz::getHyperLinkURL() \
560{ \
561 ::osl::MutexGuard aGuard(m_aMutex); \
562 return varName.sHyperLinkURL; \
563} \
564void SAL_CALL clazz::setHyperLinkURL(const OUString & the_value) \
565{ \
566 set(PROPERTY_HYPERLINKURL,the_value,varName.sHyperLinkURL); \
567}\
568OUString SAL_CALL clazz::getHyperLinkTarget() \
569{ \
570 ::osl::MutexGuard aGuard(m_aMutex); \
571 return varName.sHyperLinkTarget; \
572} \
573void SAL_CALL clazz::setHyperLinkTarget(const OUString & the_value) \
574{ \
575 set(PROPERTY_HYPERLINKTARGET,the_value,varName.sHyperLinkTarget); \
576}\
577OUString SAL_CALL clazz::getHyperLinkName() \
578{ \
579 ::osl::MutexGuard aGuard(m_aMutex); \
580 return varName.sHyperLinkName; \
581} \
582void SAL_CALL clazz::setHyperLinkName(const OUString & the_value) \
583{ \
584 set(PROPERTY_HYPERLINKNAME,the_value,varName.sHyperLinkName); \
585}\
586OUString SAL_CALL clazz::getVisitedCharStyleName() \
587{ \
588 ::osl::MutexGuard aGuard(m_aMutex); \
589 return varName.sVisitedCharStyleName; \
590} \
591void SAL_CALL clazz::setVisitedCharStyleName(const OUString & the_value) \
592{ \
593 set(PROPERTY_VISITEDCHARSTYLENAME,the_value,varName.sVisitedCharStyleName); \
594}\
595OUString SAL_CALL clazz::getUnvisitedCharStyleName() \
596{ \
597 ::osl::MutexGuard aGuard(m_aMutex); \
598 return varName.sUnvisitedCharStyleName; \
599} \
600void SAL_CALL clazz::setUnvisitedCharStyleName(const OUString & the_value) \
601{ \
602 set(PROPERTY_UNVISITEDCHARSTYLENAME,the_value,varName.sUnvisitedCharStyleName); \
603}\
604::sal_Int16 SAL_CALL clazz::getCharKerning()\
605{ \
606 ::osl::MutexGuard aGuard(m_aMutex); \
607 return varName.nCharKerning; \
608}\
609void SAL_CALL clazz::setCharKerning(::sal_Int16 the_value)\
610{ \
611 set(PROPERTY_CHARKERNING,the_value,varName.nCharKerning); \
612}\
613float SAL_CALL clazz::getCharHeightAsian()\
614 { \
615 ::osl::MutexGuard aGuard(m_aMutex); \
616 return varName.aAsianFontDescriptor.Height; \
617}\
618void SAL_CALL clazz::setCharHeightAsian( float the_value )\
619{ \
620 set(PROPERTY_CHARHEIGHTASIAN,static_cast<sal_Int16>(the_value),varName.aAsianFontDescriptor.Height); \
621}\
622float SAL_CALL clazz::getCharWeightAsian()\
623 { \
624 ::osl::MutexGuard aGuard(m_aMutex); \
625 return varName.aAsianFontDescriptor.Weight; \
626}\
627void SAL_CALL clazz::setCharWeightAsian( float the_value )\
628{ \
629 set(PROPERTY_CHARWEIGHTASIAN,the_value,varName.aAsianFontDescriptor.Weight); \
630}\
631OUString SAL_CALL clazz::getCharFontNameAsian()\
632{ \
633 ::osl::MutexGuard aGuard(m_aMutex); \
634 return varName.aAsianFontDescriptor.Name; \
635}\
636void SAL_CALL clazz::setCharFontNameAsian( const OUString& the_value )\
637{ \
638 set(PROPERTY_CHARFONTNAMEASIAN,the_value,varName.aAsianFontDescriptor.Name); \
639}\
640OUString SAL_CALL clazz::getCharFontStyleNameAsian()\
641{ \
642 ::osl::MutexGuard aGuard(m_aMutex); \
643 return varName.aAsianFontDescriptor.StyleName; \
644}\
645void SAL_CALL clazz::setCharFontStyleNameAsian( const OUString& the_value )\
646{ \
647 set(PROPERTY_CHARFONTSTYLENAMEASIAN,the_value,varName.aAsianFontDescriptor.StyleName); \
648}\
649::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian()\
650{ \
651 ::osl::MutexGuard aGuard(m_aMutex); \
652 return varName.aAsianFontDescriptor.Family; \
653}\
654void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 the_value )\
655{ \
656 set(PROPERTY_CHARFONTFAMILYASIAN,the_value,varName.aAsianFontDescriptor.Family); \
657}\
658::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian()\
659{ \
660 ::osl::MutexGuard aGuard(m_aMutex); \
661 return varName.aAsianFontDescriptor.CharSet; \
662}\
663void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 the_value )\
664{ \
665 set(PROPERTY_CHARFONTCHARSETASIAN,the_value,varName.aAsianFontDescriptor.CharSet); \
666}\
667::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian()\
668{ \
669 ::osl::MutexGuard aGuard(m_aMutex); \
670 return varName.aAsianFontDescriptor.Pitch; \
671}\
672void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 the_value )\
673{ \
674 set(PROPERTY_CHARFONTPITCHASIAN,the_value,varName.aAsianFontDescriptor.Pitch); \
675}\
676css::awt::FontSlant SAL_CALL clazz::getCharPostureAsian()\
677{ \
678 ::osl::MutexGuard aGuard(m_aMutex); \
679 return varName.aAsianFontDescriptor.Slant; \
680}\
681void SAL_CALL clazz::setCharPostureAsian( css::awt::FontSlant the_value )\
682{ \
683 set(PROPERTY_CHARPOSTUREASIAN,the_value,varName.aAsianFontDescriptor.Slant); \
684}\
685css::lang::Locale SAL_CALL clazz::getCharLocaleAsian()\
686{ \
687 ::osl::MutexGuard aGuard(m_aMutex); \
688 return varName.aCharLocaleAsian; \
689}\
690void SAL_CALL clazz::setCharLocaleAsian( const css::lang::Locale& the_value )\
691{ \
692 BoundListeners l; \
693 { \
694 ::osl::MutexGuard aGuard(m_aMutex); \
695 if ( varName.aCharLocaleAsian.Language != the_value.Language \
696 || varName.aCharLocaleAsian.Country != the_value.Country \
697 || varName.aCharLocaleAsian.Variant != the_value.Variant ) \
698 { \
699 prepareSet(PROPERTY_CHARLOCALEASIAN, css::uno::Any(varName.aCharLocaleAsian), css::uno::Any(the_value), &l); \
700 varName.aCharLocaleAsian = the_value; \
701 } \
702 } \
703 l.notify(); \
704}\
705float SAL_CALL clazz::getCharHeightComplex()\
706{ \
707 ::osl::MutexGuard aGuard(m_aMutex); \
708 return varName.aComplexFontDescriptor.Height; \
709}\
710void SAL_CALL clazz::setCharHeightComplex( float the_value )\
711{ \
712 set(PROPERTY_CHARHEIGHTCOMPLEX,static_cast<sal_Int16>(the_value),varName.aComplexFontDescriptor.Height); \
713}\
714float SAL_CALL clazz::getCharWeightComplex()\
715{ \
716 ::osl::MutexGuard aGuard(m_aMutex); \
717 return varName.aComplexFontDescriptor.Weight; \
718}\
719void SAL_CALL clazz::setCharWeightComplex( float the_value )\
720{ \
721 set(PROPERTY_CHARWEIGHTCOMPLEX,the_value,varName.aComplexFontDescriptor.Weight); \
722}\
723OUString SAL_CALL clazz::getCharFontNameComplex()\
724{ \
725 ::osl::MutexGuard aGuard(m_aMutex); \
726 return varName.aComplexFontDescriptor.Name; \
727}\
728void SAL_CALL clazz::setCharFontNameComplex( const OUString& the_value )\
729{ \
730 set(PROPERTY_CHARFONTNAMECOMPLEX,the_value,varName.aComplexFontDescriptor.Name); \
731}\
732OUString SAL_CALL clazz::getCharFontStyleNameComplex()\
733{ \
734 ::osl::MutexGuard aGuard(m_aMutex); \
735 return varName.aComplexFontDescriptor.StyleName; \
736}\
737void SAL_CALL clazz::setCharFontStyleNameComplex( const OUString& the_value )\
738{ \
739 set(PROPERTY_CHARFONTSTYLENAMECOMPLEX,the_value,varName.aComplexFontDescriptor.StyleName); \
740}\
741::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex()\
742{ \
743 ::osl::MutexGuard aGuard(m_aMutex); \
744 return varName.aComplexFontDescriptor.Family; \
745}\
746void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 the_value )\
747{ \
748 set(PROPERTY_CHARFONTFAMILYCOMPLEX,the_value,varName.aComplexFontDescriptor.Family); \
749}\
750::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex()\
751{ \
752 ::osl::MutexGuard aGuard(m_aMutex); \
753 return varName.aComplexFontDescriptor.CharSet; \
754}\
755void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 the_value )\
756{ \
757 set(PROPERTY_CHARFONTCHARSETCOMPLEX,the_value,varName.aComplexFontDescriptor.CharSet); \
758}\
759::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex()\
760{ \
761 ::osl::MutexGuard aGuard(m_aMutex); \
762 return varName.aComplexFontDescriptor.Pitch; \
763}\
764void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 the_value )\
765{ \
766 set(PROPERTY_CHARFONTPITCHCOMPLEX,the_value,varName.aComplexFontDescriptor.Pitch); \
767}\
768css::awt::FontSlant SAL_CALL clazz::getCharPostureComplex()\
769{ \
770 ::osl::MutexGuard aGuard(m_aMutex); \
771 return varName.aComplexFontDescriptor.Slant; \
772}\
773void SAL_CALL clazz::setCharPostureComplex( css::awt::FontSlant the_value )\
774{ \
775 set(PROPERTY_CHARPOSTURECOMPLEX,the_value,varName.aComplexFontDescriptor.Slant); \
776}\
777css::lang::Locale SAL_CALL clazz::getCharLocaleComplex()\
778{ \
779 ::osl::MutexGuard aGuard(m_aMutex); \
780 return varName.aCharLocaleComplex; \
781}\
782void SAL_CALL clazz::setCharLocaleComplex( const css::lang::Locale& the_value )\
783{ \
784 BoundListeners l; \
785 { \
786 ::osl::MutexGuard aGuard(m_aMutex); \
787 if ( varName.aCharLocaleComplex.Language != the_value.Language \
788 || varName.aCharLocaleComplex.Country != the_value.Country \
789 || varName.aCharLocaleComplex.Variant != the_value.Variant ) \
790 { \
791 prepareSet(PROPERTY_CHARLOCALECOMPLEX, css::uno::Any(varName.aCharLocaleComplex), css::uno::Any(the_value), &l); \
792 varName.aCharLocaleComplex = the_value; \
793 } \
794 } \
795 l.notify(); \
796}\
797
798
799#define NO_REPORTCONTROLFORMAT_IMPL(clazz) \
800sal_Int16 SAL_CALL clazz::getParaAdjust()\
801{\
802 throw beans::UnknownPropertyException();\
803}\
804void SAL_CALL clazz::setParaAdjust(sal_Int16 /*the_value*/)\
805{\
806 throw beans::UnknownPropertyException();\
807}\
808::sal_Int16 SAL_CALL clazz::getCharStrikeout()\
809{\
810 throw beans::UnknownPropertyException();\
811}\
812void SAL_CALL clazz::setCharStrikeout(::sal_Int16 /*the_value*/)\
813{\
814 throw beans::UnknownPropertyException();\
815}\
816sal_Bool SAL_CALL clazz::getCharWordMode()\
817{\
818 throw beans::UnknownPropertyException();\
819}\
820void SAL_CALL clazz::setCharWordMode(sal_Bool /*the_value*/)\
821{\
822 throw beans::UnknownPropertyException();\
823}\
824::sal_Int16 SAL_CALL clazz::getCharRotation()\
825{\
826 throw beans::UnknownPropertyException();\
827}\
828void SAL_CALL clazz::setCharRotation(::sal_Int16 /*the_value*/)\
829{\
830 throw beans::UnknownPropertyException();\
831}\
832::sal_Int16 SAL_CALL clazz::getCharScaleWidth()\
833{\
834 throw beans::UnknownPropertyException();\
835}\
836void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 /*the_value*/)\
837{\
838 throw beans::UnknownPropertyException();\
839}\
840sal_Bool SAL_CALL clazz::getCharFlash()\
841{ \
842 throw beans::UnknownPropertyException();\
843} \
844void SAL_CALL clazz::setCharFlash(sal_Bool /*the_value*/)\
845{ \
846 throw beans::UnknownPropertyException();\
847}\
848sal_Bool SAL_CALL clazz::getCharAutoKerning()\
849{ \
850 throw beans::UnknownPropertyException();\
851} \
852void SAL_CALL clazz::setCharAutoKerning(sal_Bool /*the_value*/)\
853{ \
854 throw beans::UnknownPropertyException();\
855}\
856::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() \
857{ \
858 throw beans::UnknownPropertyException();\
859} \
860void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 /*the_value*/) \
861{ \
862 throw beans::UnknownPropertyException();\
863}\
864lang::Locale SAL_CALL clazz::getCharLocale() \
865{ \
866 throw beans::UnknownPropertyException();\
867} \
868void SAL_CALL clazz::setCharLocale(const lang::Locale & /*the_value*/) \
869{ \
870 throw beans::UnknownPropertyException();\
871}\
872::sal_Int16 SAL_CALL clazz::getCharEscapement() \
873{ \
874 throw beans::UnknownPropertyException();\
875} \
876void SAL_CALL clazz::setCharEscapement(::sal_Int16 /*the_value*/) \
877{ \
878 throw beans::UnknownPropertyException();\
879}\
880::sal_Int16 SAL_CALL clazz::getCharCaseMap() \
881{ \
882 throw beans::UnknownPropertyException();\
883} \
884void SAL_CALL clazz::setCharCaseMap(::sal_Int16 /*the_value*/) \
885{ \
886 throw beans::UnknownPropertyException();\
887}\
888sal_Bool SAL_CALL clazz::getCharCombineIsOn() \
889{ \
890 throw beans::UnknownPropertyException();\
891} \
892void SAL_CALL clazz::setCharCombineIsOn(sal_Bool /*the_value*/) \
893{ \
894 throw beans::UnknownPropertyException();\
895}\
896OUString SAL_CALL clazz::getCharCombinePrefix() \
897{ \
898 throw beans::UnknownPropertyException();\
899} \
900void SAL_CALL clazz::setCharCombinePrefix(const OUString & /*the_value*/) \
901{ \
902 throw beans::UnknownPropertyException();\
903}\
904OUString SAL_CALL clazz::getCharCombineSuffix() \
905{ \
906 throw beans::UnknownPropertyException();\
907} \
908void SAL_CALL clazz::setCharCombineSuffix(const OUString & /*the_value*/) \
909{ \
910 throw beans::UnknownPropertyException();\
911}\
912sal_Bool SAL_CALL clazz::getCharHidden() \
913{ \
914 throw beans::UnknownPropertyException();\
915} \
916void SAL_CALL clazz::setCharHidden(sal_Bool /*the_value*/) \
917{ \
918 throw beans::UnknownPropertyException();\
919}\
920sal_Bool SAL_CALL clazz::getCharShadowed() \
921{ \
922 throw beans::UnknownPropertyException();\
923} \
924void SAL_CALL clazz::setCharShadowed(sal_Bool /*the_value*/) \
925{ \
926 throw beans::UnknownPropertyException();\
927}\
928sal_Bool SAL_CALL clazz::getCharContoured() \
929{ \
930 throw beans::UnknownPropertyException();\
931} \
932void SAL_CALL clazz::setCharContoured(sal_Bool /*the_value*/) \
933{ \
934 throw beans::UnknownPropertyException();\
935}\
936OUString SAL_CALL clazz::getVisitedCharStyleName() \
937{ \
938 throw beans::UnknownPropertyException();\
939} \
940void SAL_CALL clazz::setVisitedCharStyleName(const OUString & /*the_value*/) \
941{ \
942 throw beans::UnknownPropertyException();\
943}\
944OUString SAL_CALL clazz::getUnvisitedCharStyleName() \
945{ \
946 throw beans::UnknownPropertyException();\
947} \
948void SAL_CALL clazz::setUnvisitedCharStyleName(const OUString & /*the_value*/) \
949{ \
950 throw beans::UnknownPropertyException();\
951}\
952::sal_Int16 SAL_CALL clazz::getCharKerning()\
953{ \
954 throw beans::UnknownPropertyException();\
955}\
956void SAL_CALL clazz::setCharKerning(::sal_Int16 /*the_value*/)\
957{ \
958 throw beans::UnknownPropertyException();\
959}\
960\
961awt::FontDescriptor SAL_CALL clazz::getFontDescriptor()\
962{\
963 throw beans::UnknownPropertyException();\
964}\
965\
966void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& /*_fontdescriptor*/ )\
967{\
968 throw beans::UnknownPropertyException();\
969}\
970awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian()\
971{\
972 throw beans::UnknownPropertyException();\
973}\
974\
975void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& /*_fontdescriptor*/ )\
976{\
977 throw beans::UnknownPropertyException();\
978}\
979awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex()\
980{\
981throw beans::UnknownPropertyException();\
982}\
983\
984void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& /*_fontdescriptor*/ )\
985{\
986throw beans::UnknownPropertyException();\
987}\
988\
989::sal_Int16 SAL_CALL clazz::getControlTextEmphasis()\
990{\
991 throw beans::UnknownPropertyException();\
992}\
993\
994void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 /*_fontemphasismark*/ )\
995{\
996 throw beans::UnknownPropertyException();\
997}\
998\
999::sal_Int16 SAL_CALL clazz::getCharRelief()\
1000{\
1001 throw beans::UnknownPropertyException();\
1002}\
1003\
1004void SAL_CALL clazz::setCharRelief( ::sal_Int16 /*_fontrelief*/ )\
1005{\
1006 throw beans::UnknownPropertyException();\
1007}\
1008\
1009::sal_Int32 SAL_CALL clazz::getCharColor()\
1010{\
1011 throw beans::UnknownPropertyException();\
1012}\
1013\
1014void SAL_CALL clazz::setCharColor( ::sal_Int32 /*_textcolor*/ )\
1015{\
1016 throw beans::UnknownPropertyException();\
1017}\
1018\
1019::sal_Int32 SAL_CALL clazz::getCharUnderlineColor()\
1020{\
1021 throw beans::UnknownPropertyException();\
1022}\
1023\
1024void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 /*_textlinecolor*/ )\
1025{\
1026 throw beans::UnknownPropertyException();\
1027}\
1028\
1029style::VerticalAlignment SAL_CALL clazz::getVerticalAlign()\
1030{\
1031 ::osl::MutexGuard aGuard(m_aMutex);\
1032 return m_aProps.aFormatProperties.aVerticalAlignment;\
1033}\
1034\
1035void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign )\
1036{\
1037 set(PROPERTY_VERTICALALIGN,_verticalalign,m_aProps.aFormatProperties.aVerticalAlignment);\
1038}\
1039\
1040::sal_Int16 SAL_CALL clazz::getCharEmphasis()\
1041{\
1042 throw beans::UnknownPropertyException();\
1043}\
1044\
1045void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 /*_charemphasis*/ )\
1046{\
1047 throw beans::UnknownPropertyException();\
1048}\
1049\
1050OUString SAL_CALL clazz::getCharFontName()\
1051{\
1052 throw beans::UnknownPropertyException();\
1053}\
1054\
1055void SAL_CALL clazz::setCharFontName( const OUString& /*_charfontname*/ )\
1056{\
1057 throw beans::UnknownPropertyException();\
1058}\
1059\
1060OUString SAL_CALL clazz::getCharFontStyleName()\
1061{\
1062 throw beans::UnknownPropertyException();\
1063}\
1064\
1065void SAL_CALL clazz::setCharFontStyleName( const OUString& /*_charfontstylename*/ )\
1066{\
1067 throw beans::UnknownPropertyException();\
1068}\
1069\
1070::sal_Int16 SAL_CALL clazz::getCharFontFamily()\
1071{\
1072 throw beans::UnknownPropertyException();\
1073}\
1074\
1075void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 /*_charfontfamily*/ )\
1076{\
1077 throw beans::UnknownPropertyException();\
1078}\
1079\
1080::sal_Int16 SAL_CALL clazz::getCharFontCharSet()\
1081{\
1082 throw beans::UnknownPropertyException();\
1083}\
1084\
1085void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 /*_charfontcharset*/ )\
1086{\
1087 throw beans::UnknownPropertyException();\
1088}\
1089\
1090::sal_Int16 SAL_CALL clazz::getCharFontPitch()\
1091{\
1092 throw beans::UnknownPropertyException();\
1093}\
1094\
1095void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 /*_charfontpitch*/ )\
1096{\
1097 throw beans::UnknownPropertyException();\
1098}\
1099\
1100float SAL_CALL clazz::getCharHeight()\
1101{\
1102 throw beans::UnknownPropertyException();\
1103}\
1104\
1105void SAL_CALL clazz::setCharHeight( float /*_charheight*/ )\
1106{\
1107 throw beans::UnknownPropertyException();\
1108}\
1109\
1110::sal_Int16 SAL_CALL clazz::getCharUnderline()\
1111{\
1112 throw beans::UnknownPropertyException();\
1113}\
1114\
1115void SAL_CALL clazz::setCharUnderline( ::sal_Int16 /*_charunderline*/ )\
1116{\
1117 throw beans::UnknownPropertyException();\
1118}\
1119\
1120float SAL_CALL clazz::getCharWeight()\
1121{\
1122 throw beans::UnknownPropertyException();\
1123}\
1124\
1125void SAL_CALL clazz::setCharWeight( float /*_charweight*/ )\
1126{\
1127 throw beans::UnknownPropertyException();\
1128}\
1129\
1130awt::FontSlant SAL_CALL clazz::getCharPosture()\
1131{\
1132 throw beans::UnknownPropertyException();\
1133}\
1134\
1135void SAL_CALL clazz::setCharPosture( awt::FontSlant /*_charposture*/ )\
1136{\
1137 throw beans::UnknownPropertyException();\
1138}\
1139 float SAL_CALL clazz::getCharHeightAsian()\
1140 {\
1141 throw beans::UnknownPropertyException();\
1142}\
1143 void SAL_CALL clazz::setCharHeightAsian( float )\
1144 {\
1145 throw beans::UnknownPropertyException();\
1146}\
1147 float SAL_CALL clazz::getCharWeightAsian()\
1148 {\
1149 throw beans::UnknownPropertyException();\
1150}\
1151 void SAL_CALL clazz::setCharWeightAsian( float )\
1152 {\
1153 throw beans::UnknownPropertyException();\
1154}\
1155 OUString SAL_CALL clazz::getCharFontNameAsian()\
1156 {\
1157 throw beans::UnknownPropertyException();\
1158}\
1159 void SAL_CALL clazz::setCharFontNameAsian( const OUString& )\
1160 {\
1161 throw beans::UnknownPropertyException();\
1162}\
1163 OUString SAL_CALL clazz::getCharFontStyleNameAsian()\
1164 {\
1165 throw beans::UnknownPropertyException();\
1166}\
1167 void SAL_CALL clazz::setCharFontStyleNameAsian( const OUString& )\
1168 {\
1169 throw beans::UnknownPropertyException();\
1170}\
1171 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian()\
1172 {\
1173 throw beans::UnknownPropertyException();\
1174}\
1175 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 )\
1176 {\
1177 throw beans::UnknownPropertyException();\
1178}\
1179 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian()\
1180 {\
1181 throw beans::UnknownPropertyException();\
1182}\
1183 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 )\
1184 {\
1185 throw beans::UnknownPropertyException();\
1186}\
1187 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian()\
1188 {\
1189 throw beans::UnknownPropertyException();\
1190}\
1191 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 )\
1192 {\
1193 throw beans::UnknownPropertyException();\
1194}\
1195 css::awt::FontSlant SAL_CALL clazz::getCharPostureAsian()\
1196 {\
1197 throw beans::UnknownPropertyException();\
1198}\
1199 void SAL_CALL clazz::setCharPostureAsian( css::awt::FontSlant )\
1200 {\
1201 throw beans::UnknownPropertyException();\
1202}\
1203 css::lang::Locale SAL_CALL clazz::getCharLocaleAsian()\
1204 {\
1205 throw beans::UnknownPropertyException();\
1206}\
1207 void SAL_CALL clazz::setCharLocaleAsian( const css::lang::Locale& )\
1208 {\
1209 throw beans::UnknownPropertyException();\
1210}\
1211 float SAL_CALL clazz::getCharHeightComplex()\
1212 {\
1213 throw beans::UnknownPropertyException();\
1214}\
1215 void SAL_CALL clazz::setCharHeightComplex( float )\
1216 {\
1217 throw beans::UnknownPropertyException();\
1218}\
1219 float SAL_CALL clazz::getCharWeightComplex()\
1220 {\
1221 throw beans::UnknownPropertyException();\
1222}\
1223 void SAL_CALL clazz::setCharWeightComplex( float )\
1224 {\
1225 throw beans::UnknownPropertyException();\
1226}\
1227 OUString SAL_CALL clazz::getCharFontNameComplex()\
1228 {\
1229 throw beans::UnknownPropertyException();\
1230}\
1231 void SAL_CALL clazz::setCharFontNameComplex( const OUString& )\
1232 {\
1233 throw beans::UnknownPropertyException();\
1234}\
1235 OUString SAL_CALL clazz::getCharFontStyleNameComplex()\
1236 {\
1237 throw beans::UnknownPropertyException();\
1238}\
1239 void SAL_CALL clazz::setCharFontStyleNameComplex( const OUString& )\
1240 {\
1241 throw beans::UnknownPropertyException();\
1242}\
1243 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex()\
1244 {\
1245 throw beans::UnknownPropertyException();\
1246}\
1247 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 )\
1248 {\
1249 throw beans::UnknownPropertyException();\
1250}\
1251 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex()\
1252 {\
1253 throw beans::UnknownPropertyException();\
1254}\
1255 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 )\
1256 {\
1257 throw beans::UnknownPropertyException();\
1258}\
1259 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex()\
1260 {\
1261 throw beans::UnknownPropertyException();\
1262}\
1263 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 )\
1264 {\
1265 throw beans::UnknownPropertyException();\
1266}\
1267 css::awt::FontSlant SAL_CALL clazz::getCharPostureComplex()\
1268 {\
1269 throw beans::UnknownPropertyException();\
1270}\
1271 void SAL_CALL clazz::setCharPostureComplex( css::awt::FontSlant )\
1272 {\
1273 throw beans::UnknownPropertyException();\
1274}\
1275 css::lang::Locale SAL_CALL clazz::getCharLocaleComplex()\
1276 {\
1277 throw beans::UnknownPropertyException();\
1278}\
1279 void SAL_CALL clazz::setCharLocaleComplex( const css::lang::Locale& )\
1280 {\
1281 throw beans::UnknownPropertyException();\
1282}
1283
1284
1285// css::report::XReportControlFormat:
1286#define REPORTCONTROLFORMAT_IMPL(clazz,varName) \
1287 REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
1288 REPORTCONTROLFORMAT_IMPL2(clazz,varName)
1289
1290
1291#endif // INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
1292
1293/* vim:set shiftwidth=4 softtabstop=4 expandtab: */