bump product version to 5.0.4.1
[LibreOffice.git] / reportdesign / source / core / inc / ReportHelperImpl.hxx
blob269d9396aa23809f7efa86e38428dd4f9ae055fa
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
20 #define INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
21 // ::com::sun::star::report::XReportComponent:
22 #define REPORTCOMPONENT_IMPL3(clazz,arg) \
23 OUString SAL_CALL clazz::getName() throw (uno::RuntimeException, std::exception) \
24 { \
25 ::osl::MutexGuard aGuard(m_aMutex); \
26 return (arg).m_sName; \
27 } \
28 void SAL_CALL clazz::setName( const OUString& _name ) throw (uno::RuntimeException,beans::PropertyVetoException, std::exception) \
29 { \
30 set(PROPERTY_NAME,_name,(arg).m_sName); \
31 } \
32 ::sal_Int32 SAL_CALL clazz::getHeight() throw (uno::RuntimeException, std::exception) \
33 { \
34 return getSize().Height; \
35 } \
36 void SAL_CALL clazz::setHeight( ::sal_Int32 _height ) throw (uno::RuntimeException,beans::PropertyVetoException, std::exception) \
37 { \
38 awt::Size aSize = getSize(); \
39 aSize.Height = _height; \
40 setSize(aSize); \
41 } \
42 ::sal_Int32 SAL_CALL clazz::getPositionX() throw (uno::RuntimeException, std::exception) \
43 { \
44 return getPosition().X; \
45 } \
46 void SAL_CALL clazz::setPositionX( ::sal_Int32 _positionx ) throw (uno::RuntimeException, std::exception) \
47 { \
48 awt::Point aPos = getPosition(); \
49 aPos.X = _positionx; \
50 setPosition(aPos); \
51 } \
52 ::sal_Int32 SAL_CALL clazz::getPositionY() throw (uno::RuntimeException, std::exception) \
53 { \
54 return getPosition().Y; \
55 } \
56 void SAL_CALL clazz::setPositionY( ::sal_Int32 _positiony ) throw (uno::RuntimeException, std::exception) \
57 { \
58 awt::Point aPos = getPosition(); \
59 aPos.Y = _positiony; \
60 setPosition(aPos); \
61 } \
62 ::sal_Int32 SAL_CALL clazz::getWidth() throw (uno::RuntimeException, std::exception) \
63 { \
64 return getSize().Width; \
65 } \
66 void SAL_CALL clazz::setWidth( ::sal_Int32 _width ) throw (uno::RuntimeException,beans::PropertyVetoException, std::exception) \
67 { \
68 awt::Size aSize = getSize(); \
69 aSize.Width = _width; \
70 setSize(aSize); \
71 } \
72 uno::Reference< report::XSection > SAL_CALL clazz::getSection() throw (uno::RuntimeException, std::exception) \
73 { \
74 ::osl::MutexGuard aGuard(m_aMutex); \
75 uno::Reference< container::XChild > xParent(getParent( ),uno::UNO_QUERY); \
76 return lcl_getSection(xParent); \
79 #define REPORTCOMPONENT_IMPL(clazz,arg) \
80 REPORTCOMPONENT_IMPL3(clazz,arg)\
81 sal_Bool SAL_CALL clazz::getPrintRepeatedValues() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
82 { \
83 ::osl::MutexGuard aGuard(m_aMutex); \
84 return (arg).m_bPrintRepeatedValues; \
85 } \
86 void SAL_CALL clazz::setPrintRepeatedValues( sal_Bool _printrepeatedvalues ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
87 { \
88 set(PROPERTY_PRINTREPEATEDVALUES,_printrepeatedvalues,(arg).m_bPrintRepeatedValues); \
91 #define REPORTCOMPONENT_IMPL2(clazz,arg) \
92 ::sal_Int16 SAL_CALL clazz::getControlBorder() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
93 { \
94 ::osl::MutexGuard aGuard(m_aMutex); \
95 return (arg).m_nBorder; \
96 } \
97 void SAL_CALL clazz::setControlBorder( ::sal_Int16 _border ) throw (uno::RuntimeException,lang::IllegalArgumentException,beans::UnknownPropertyException, std::exception)\
98 { \
99 set(PROPERTY_CONTROLBORDER,_border,(arg).m_nBorder); \
101 ::sal_Int32 SAL_CALL clazz::getControlBorderColor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
103 ::osl::MutexGuard aGuard(m_aMutex); \
104 return (arg).m_nBorderColor; \
106 void SAL_CALL clazz::setControlBorderColor( ::sal_Int32 _bordercolor ) throw (uno::RuntimeException, lang::IllegalArgumentException, beans::UnknownPropertyException, std::exception) \
108 set(PROPERTY_CONTROLBORDERCOLOR,_bordercolor,(arg).m_nBorderColor); \
111 #define REPORTCOMPONENT_MASTERDETAIL(clazz,arg) \
112 ::com::sun::star::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception) \
114 ::osl::MutexGuard aGuard(m_aMutex); \
115 return (arg).m_aMasterFields; \
117 void SAL_CALL clazz::setMasterFields( const ::com::sun::star::uno::Sequence< OUString >& _masterfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
119 ::osl::MutexGuard aGuard(m_aMutex); \
120 set(PROPERTY_MASTERFIELDS,_masterfields,(arg).m_aMasterFields); \
122 ::com::sun::star::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
124 ::osl::MutexGuard aGuard(m_aMutex); \
125 return (arg).m_aDetailFields; \
127 void SAL_CALL clazz::setDetailFields( const ::com::sun::star::uno::Sequence< OUString >& _detailfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
129 ::osl::MutexGuard aGuard(m_aMutex); \
130 set(PROPERTY_DETAILFIELDS,_detailfields,(arg).m_aDetailFields); \
133 #define REPORTCOMPONENT_NOMASTERDETAIL(clazz) \
134 ::com::sun::star::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception) \
136 throw ::com::sun::star::beans::UnknownPropertyException();\
138 void SAL_CALL clazz::setMasterFields( const ::com::sun::star::uno::Sequence< OUString >& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
140 throw ::com::sun::star::beans::UnknownPropertyException();\
142 ::com::sun::star::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
144 throw ::com::sun::star::beans::UnknownPropertyException();\
146 void SAL_CALL clazz::setDetailFields( const ::com::sun::star::uno::Sequence< OUString >& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
148 throw ::com::sun::star::beans::UnknownPropertyException();\
151 // ::com::sun::star::report::XReportControlFormat:
152 #define REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
153 ::sal_Int32 SAL_CALL clazz::getControlBackground() throw (::com::sun::star::beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
155 ::osl::MutexGuard aGuard(m_aMutex); \
156 return varName.m_bBackgroundTransparent ? COL_TRANSPARENT : varName.nBackgroundColor; \
159 void SAL_CALL clazz::setControlBackground( ::sal_Int32 _backgroundcolor ) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
161 bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);\
162 setControlBackgroundTransparent(bTransparent);\
163 if ( !bTransparent )\
164 set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,varName.nBackgroundColor);\
167 sal_Bool SAL_CALL clazz::getControlBackgroundTransparent() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
169 ::osl::MutexGuard aGuard(m_aMutex); \
170 return varName.m_bBackgroundTransparent; \
173 void SAL_CALL clazz::setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
175 set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,varName.m_bBackgroundTransparent);\
176 if ( _controlbackgroundtransparent )\
177 set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),varName.nBackgroundColor);\
180 #define REPORTCONTROLFORMAT_IMPL2(clazz,varName) \
181 ::sal_Int16 SAL_CALL clazz::getCharStrikeout() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
183 ::osl::MutexGuard aGuard(m_aMutex); \
184 return varName.aFontDescriptor.Strikeout; \
187 void SAL_CALL clazz::setCharStrikeout(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
189 set(PROPERTY_CHARSTRIKEOUT,the_value,varName.aFontDescriptor.Strikeout); \
192 sal_Bool SAL_CALL clazz::getCharWordMode() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
194 ::osl::MutexGuard aGuard(m_aMutex); \
195 return varName.aFontDescriptor.WordLineMode; \
198 void SAL_CALL clazz::setCharWordMode(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
200 set(PROPERTY_CHARWORDMODE,the_value,varName.aFontDescriptor.WordLineMode); \
203 ::sal_Int16 SAL_CALL clazz::getCharRotation() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
205 ::osl::MutexGuard aGuard(m_aMutex); \
206 return static_cast<sal_Int16>(varName.aFontDescriptor.Orientation); \
209 void SAL_CALL clazz::setCharRotation(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
211 float newValue = the_value; \
212 set(PROPERTY_CHARROTATION,newValue,varName.aFontDescriptor.Orientation); \
215 ::sal_Int16 SAL_CALL clazz::getCharScaleWidth() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
217 ::osl::MutexGuard aGuard(m_aMutex); \
218 return static_cast<sal_Int16>(varName.aFontDescriptor.CharacterWidth); \
221 void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
223 float newValue = the_value; \
224 set(PROPERTY_CHARSCALEWIDTH,newValue,varName.aFontDescriptor.CharacterWidth); \
226 sal_Int16 SAL_CALL clazz::getParaAdjust() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
228 ::osl::MutexGuard aGuard(m_aMutex); \
229 return varName.nAlign; \
232 void SAL_CALL clazz::setParaAdjust( sal_Int16 _align ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
234 set(PROPERTY_PARAADJUST,_align,varName.nAlign); \
237 awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
239 ::osl::MutexGuard aGuard(m_aMutex); \
240 return varName.aFontDescriptor; \
243 void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
245 set(PROPERTY_FONTDESCRIPTOR,_fontdescriptor,varName.aFontDescriptor); \
247 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
249 ::osl::MutexGuard aGuard(m_aMutex); \
250 return varName.aAsianFontDescriptor; \
253 void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
255 set(PROPERTY_FONTDESCRIPTORASIAN,_fontdescriptor,varName.aAsianFontDescriptor); \
257 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
259 ::osl::MutexGuard aGuard(m_aMutex); \
260 return varName.aComplexFontDescriptor; \
263 void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
265 set(PROPERTY_FONTDESCRIPTORCOMPLEX,_fontdescriptor,varName.aComplexFontDescriptor); \
268 ::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
270 ::osl::MutexGuard aGuard(m_aMutex); \
271 return varName.nFontEmphasisMark; \
274 void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 _fontemphasismark ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
276 set(PROPERTY_CONTROLTEXTEMPHASISMARK,_fontemphasismark,varName.nFontEmphasisMark); \
279 ::sal_Int16 SAL_CALL clazz::getCharRelief() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
281 ::osl::MutexGuard aGuard(m_aMutex); \
282 return varName.nFontRelief; \
285 void SAL_CALL clazz::setCharRelief( ::sal_Int16 _fontrelief ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
287 set(PROPERTY_CHARRELIEF,_fontrelief,varName.nFontRelief); \
290 ::sal_Int32 SAL_CALL clazz::getCharColor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
292 ::osl::MutexGuard aGuard(m_aMutex); \
293 return varName.nTextColor; \
296 void SAL_CALL clazz::setCharColor( ::sal_Int32 _textcolor ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
298 set(PROPERTY_CHARCOLOR,_textcolor,varName.nTextColor); \
301 ::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
303 ::osl::MutexGuard aGuard(m_aMutex); \
304 return varName.nTextLineColor; \
307 void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 _textlinecolor ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
309 set(PROPERTY_CHARUNDERLINECOLOR,_textlinecolor,varName.nTextLineColor); \
312 style::VerticalAlignment SAL_CALL clazz::getVerticalAlign() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
314 ::osl::MutexGuard aGuard(m_aMutex); \
315 return varName.aVerticalAlignment; \
318 void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign ) throw (lang::IllegalArgumentException,beans::UnknownPropertyException,uno::RuntimeException, std::exception) \
320 set(PROPERTY_VERTICALALIGN,_verticalalign,varName.aVerticalAlignment); \
323 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
325 return getControlTextEmphasis(); \
328 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 _charemphasis ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
330 set(PROPERTY_CHAREMPHASIS,_charemphasis,varName.nFontEmphasisMark); \
333 OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
335 ::osl::MutexGuard aGuard(m_aMutex); \
336 return varName.aFontDescriptor.Name; \
339 void SAL_CALL clazz::setCharFontName( const OUString& _charfontname ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
341 set(PROPERTY_CHARFONTNAME,_charfontname,varName.aFontDescriptor.Name); \
344 OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
346 ::osl::MutexGuard aGuard(m_aMutex); \
347 return varName.aFontDescriptor.StyleName; \
350 void SAL_CALL clazz::setCharFontStyleName( const OUString& _charfontstylename ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
352 set(PROPERTY_CHARFONTSTYLENAME,_charfontstylename,varName.aFontDescriptor.StyleName); \
355 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
357 ::osl::MutexGuard aGuard(m_aMutex); \
358 return varName.aFontDescriptor.Family; \
361 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 _charfontfamily ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
363 set(PROPERTY_CHARFONTFAMILY,_charfontfamily,varName.aFontDescriptor.Family); \
366 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
368 ::osl::MutexGuard aGuard(m_aMutex); \
369 return varName.aFontDescriptor.CharSet; \
372 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 _charfontcharset ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
374 set(PROPERTY_CHARFONTCHARSET,_charfontcharset,varName.aFontDescriptor.CharSet); \
377 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
379 ::osl::MutexGuard aGuard(m_aMutex); \
380 return varName.aFontDescriptor.Pitch; \
383 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 _charfontpitch ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
385 set(PROPERTY_CHARFONTPITCH,_charfontpitch,varName.aFontDescriptor.Pitch); \
388 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
390 ::osl::MutexGuard aGuard(m_aMutex); \
391 return varName.aFontDescriptor.Height; \
394 void SAL_CALL clazz::setCharHeight( float _charheight ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
396 set(PROPERTY_CHARHEIGHT,static_cast<sal_Int16>(_charheight),varName.aFontDescriptor.Height); \
399 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
401 ::osl::MutexGuard aGuard(m_aMutex); \
402 return varName.aFontDescriptor.Underline; \
405 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 _charunderline ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
407 set(PROPERTY_CHARUNDERLINE,_charunderline,varName.aFontDescriptor.Underline); \
410 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
412 ::osl::MutexGuard aGuard(m_aMutex); \
413 return varName.aFontDescriptor.Weight; \
416 void SAL_CALL clazz::setCharWeight( float _charweight ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
418 set(PROPERTY_CHARWEIGHT,_charweight,varName.aFontDescriptor.Weight); \
421 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
423 ::osl::MutexGuard aGuard(m_aMutex); \
424 return varName.aFontDescriptor.Slant; \
427 void SAL_CALL clazz::setCharPosture( awt::FontSlant _charposture ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception) \
429 set(PROPERTY_CHARPOSTURE,_charposture,varName.aFontDescriptor.Slant); \
431 sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
433 ::osl::MutexGuard aGuard(m_aMutex); \
434 return varName.bCharFlash; \
436 void SAL_CALL clazz::setCharFlash(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
438 set(PROPERTY_CHARFLASH,the_value,varName.bCharFlash); \
440 sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
442 ::osl::MutexGuard aGuard(m_aMutex); \
443 return varName.bCharAutoKerning; \
445 void SAL_CALL clazz::setCharAutoKerning(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
447 set(PROPERTY_CHARAUTOKERNING,the_value,varName.bCharAutoKerning); \
449 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
451 ::osl::MutexGuard aGuard(m_aMutex); \
452 return varName.nCharEscapementHeight; \
454 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
456 set(PROPERTY_CHARESCAPEMENTHEIGHT,the_value,varName.nCharEscapementHeight); \
458 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
460 ::osl::MutexGuard aGuard(m_aMutex); \
461 return varName.aCharLocale; \
463 void SAL_CALL clazz::setCharLocale(const lang::Locale & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
465 BoundListeners l; \
467 ::osl::MutexGuard aGuard(m_aMutex); \
468 if ( varName.aCharLocale.Language != the_value.Language \
469 || varName.aCharLocale.Country != the_value.Country \
470 || varName.aCharLocale.Variant != the_value.Variant ) \
472 prepareSet(PROPERTY_CHARLOCALE, ::com::sun::star::uno::makeAny(varName.aCharLocale), ::com::sun::star::uno::makeAny(the_value), &l); \
473 varName.aCharLocale = the_value; \
476 l.notify(); \
478 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
480 ::osl::MutexGuard aGuard(m_aMutex); \
481 return varName.nCharEscapement; \
483 void SAL_CALL clazz::setCharEscapement(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
485 set(PROPERTY_CHARESCAPEMENT,the_value,varName.nCharEscapement); \
487 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
489 ::osl::MutexGuard aGuard(m_aMutex); \
490 return varName.nCharCaseMap; \
492 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
494 set(PROPERTY_CHARCASEMAP,the_value,varName.nCharCaseMap); \
496 sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
498 ::osl::MutexGuard aGuard(m_aMutex); \
499 return varName.bCharCombineIsOn; \
501 void SAL_CALL clazz::setCharCombineIsOn(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
503 set(PROPERTY_CHARCOMBINEISON,the_value,varName.bCharCombineIsOn); \
505 OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
507 ::osl::MutexGuard aGuard(m_aMutex); \
508 return varName.sCharCombinePrefix; \
510 void SAL_CALL clazz::setCharCombinePrefix(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
512 set(PROPERTY_CHARCOMBINEPREFIX,the_value,varName.sCharCombinePrefix); \
514 OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
516 ::osl::MutexGuard aGuard(m_aMutex); \
517 return varName.sCharCombineSuffix; \
519 void SAL_CALL clazz::setCharCombineSuffix(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
521 set(PROPERTY_CHARCOMBINESUFFIX,the_value,varName.sCharCombineSuffix); \
523 sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
525 ::osl::MutexGuard aGuard(m_aMutex); \
526 return varName.bCharHidden; \
528 void SAL_CALL clazz::setCharHidden(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
530 set(PROPERTY_CHARHIDDEN,the_value,varName.bCharHidden); \
532 sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
534 ::osl::MutexGuard aGuard(m_aMutex); \
535 return varName.bCharShadowed; \
537 void SAL_CALL clazz::setCharShadowed(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
539 set(PROPERTY_CHARSHADOWED,the_value,varName.bCharShadowed); \
541 sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
543 ::osl::MutexGuard aGuard(m_aMutex); \
544 return varName.bCharContoured; \
546 void SAL_CALL clazz::setCharContoured(sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
548 set(PROPERTY_CHARCONTOURED,the_value,varName.bCharContoured); \
550 OUString SAL_CALL clazz::getHyperLinkURL() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
552 ::osl::MutexGuard aGuard(m_aMutex); \
553 return varName.sHyperLinkURL; \
555 void SAL_CALL clazz::setHyperLinkURL(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
557 set(PROPERTY_HYPERLINKURL,the_value,varName.sHyperLinkURL); \
559 OUString SAL_CALL clazz::getHyperLinkTarget() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
561 ::osl::MutexGuard aGuard(m_aMutex); \
562 return varName.sHyperLinkTarget; \
564 void SAL_CALL clazz::setHyperLinkTarget(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
566 set(PROPERTY_HYPERLINKTARGET,the_value,varName.sHyperLinkTarget); \
568 OUString SAL_CALL clazz::getHyperLinkName() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
570 ::osl::MutexGuard aGuard(m_aMutex); \
571 return varName.sHyperLinkName; \
573 void SAL_CALL clazz::setHyperLinkName(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
575 set(PROPERTY_HYPERLINKNAME,the_value,varName.sHyperLinkName); \
577 OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
579 ::osl::MutexGuard aGuard(m_aMutex); \
580 return varName.sVisitedCharStyleName; \
582 void SAL_CALL clazz::setVisitedCharStyleName(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
584 set(PROPERTY_VISITEDCHARSTYLENAME,the_value,varName.sVisitedCharStyleName); \
586 OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
588 ::osl::MutexGuard aGuard(m_aMutex); \
589 return varName.sUnvisitedCharStyleName; \
591 void SAL_CALL clazz::setUnvisitedCharStyleName(const OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
593 set(PROPERTY_UNVISITEDCHARSTYLENAME,the_value,varName.sUnvisitedCharStyleName); \
595 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
597 ::osl::MutexGuard aGuard(m_aMutex); \
598 return varName.nCharKerning; \
600 void SAL_CALL clazz::setCharKerning(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
602 set(PROPERTY_CHARKERNING,the_value,varName.nCharKerning); \
604 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
606 ::osl::MutexGuard aGuard(m_aMutex); \
607 return varName.aAsianFontDescriptor.Height; \
609 void SAL_CALL clazz::setCharHeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
611 set(PROPERTY_CHARHEIGHTASIAN,static_cast<sal_Int16>(the_value),varName.aAsianFontDescriptor.Height); \
613 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
615 ::osl::MutexGuard aGuard(m_aMutex); \
616 return varName.aAsianFontDescriptor.Weight; \
618 void SAL_CALL clazz::setCharWeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
620 set(PROPERTY_CHARWEIGHTASIAN,the_value,varName.aAsianFontDescriptor.Weight); \
622 OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
624 ::osl::MutexGuard aGuard(m_aMutex); \
625 return varName.aAsianFontDescriptor.Name; \
627 void SAL_CALL clazz::setCharFontNameAsian( const OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
629 set(PROPERTY_CHARFONTNAMEASIAN,the_value,varName.aAsianFontDescriptor.Name); \
631 OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
633 ::osl::MutexGuard aGuard(m_aMutex); \
634 return varName.aAsianFontDescriptor.StyleName; \
636 void SAL_CALL clazz::setCharFontStyleNameAsian( const OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
638 set(PROPERTY_CHARFONTSTYLENAMEASIAN,the_value,varName.aAsianFontDescriptor.StyleName); \
640 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
642 ::osl::MutexGuard aGuard(m_aMutex); \
643 return varName.aAsianFontDescriptor.Family; \
645 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
647 set(PROPERTY_CHARFONTFAMILYASIAN,the_value,varName.aAsianFontDescriptor.Family); \
649 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
651 ::osl::MutexGuard aGuard(m_aMutex); \
652 return varName.aAsianFontDescriptor.CharSet; \
654 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
656 set(PROPERTY_CHARFONTCHARSETASIAN,the_value,varName.aAsianFontDescriptor.CharSet); \
658 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
660 ::osl::MutexGuard aGuard(m_aMutex); \
661 return varName.aAsianFontDescriptor.Pitch; \
663 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
665 set(PROPERTY_CHARFONTPITCHASIAN,the_value,varName.aAsianFontDescriptor.Pitch); \
667 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
669 ::osl::MutexGuard aGuard(m_aMutex); \
670 return varName.aAsianFontDescriptor.Slant; \
672 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
674 set(PROPERTY_CHARPOSTUREASIAN,the_value,varName.aAsianFontDescriptor.Slant); \
676 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
678 ::osl::MutexGuard aGuard(m_aMutex); \
679 return varName.aCharLocaleAsian; \
681 void SAL_CALL clazz::setCharLocaleAsian( const ::com::sun::star::lang::Locale& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
683 BoundListeners l; \
685 ::osl::MutexGuard aGuard(m_aMutex); \
686 if ( varName.aCharLocaleAsian.Language != the_value.Language \
687 || varName.aCharLocaleAsian.Country != the_value.Country \
688 || varName.aCharLocaleAsian.Variant != the_value.Variant ) \
690 prepareSet(PROPERTY_CHARLOCALEASIAN, ::com::sun::star::uno::makeAny(varName.aCharLocaleAsian), ::com::sun::star::uno::makeAny(the_value), &l); \
691 varName.aCharLocaleAsian = the_value; \
694 l.notify(); \
696 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
698 ::osl::MutexGuard aGuard(m_aMutex); \
699 return varName.aComplexFontDescriptor.Height; \
701 void SAL_CALL clazz::setCharHeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
703 set(PROPERTY_CHARHEIGHTCOMPLEX,static_cast<sal_Int16>(the_value),varName.aComplexFontDescriptor.Height); \
705 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
707 ::osl::MutexGuard aGuard(m_aMutex); \
708 return varName.aComplexFontDescriptor.Weight; \
710 void SAL_CALL clazz::setCharWeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
712 set(PROPERTY_CHARWEIGHTCOMPLEX,the_value,varName.aComplexFontDescriptor.Weight); \
714 OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
716 ::osl::MutexGuard aGuard(m_aMutex); \
717 return varName.aComplexFontDescriptor.Name; \
719 void SAL_CALL clazz::setCharFontNameComplex( const OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
721 set(PROPERTY_CHARFONTNAMECOMPLEX,the_value,varName.aComplexFontDescriptor.Name); \
723 OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
725 ::osl::MutexGuard aGuard(m_aMutex); \
726 return varName.aComplexFontDescriptor.StyleName; \
728 void SAL_CALL clazz::setCharFontStyleNameComplex( const OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
730 set(PROPERTY_CHARFONTSTYLENAMECOMPLEX,the_value,varName.aComplexFontDescriptor.StyleName); \
732 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
734 ::osl::MutexGuard aGuard(m_aMutex); \
735 return varName.aComplexFontDescriptor.Family; \
737 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
739 set(PROPERTY_CHARFONTFAMILYCOMPLEX,the_value,varName.aComplexFontDescriptor.Family); \
741 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
743 ::osl::MutexGuard aGuard(m_aMutex); \
744 return varName.aComplexFontDescriptor.CharSet; \
746 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
748 set(PROPERTY_CHARFONTCHARSETCOMPLEX,the_value,varName.aComplexFontDescriptor.CharSet); \
750 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
752 ::osl::MutexGuard aGuard(m_aMutex); \
753 return varName.aComplexFontDescriptor.Pitch; \
755 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
757 set(PROPERTY_CHARFONTPITCHCOMPLEX,the_value,varName.aComplexFontDescriptor.Pitch); \
759 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
761 ::osl::MutexGuard aGuard(m_aMutex); \
762 return varName.aComplexFontDescriptor.Slant; \
764 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
766 set(PROPERTY_CHARPOSTURECOMPLEX,the_value,varName.aComplexFontDescriptor.Slant); \
768 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
770 ::osl::MutexGuard aGuard(m_aMutex); \
771 return varName.aCharLocaleComplex; \
773 void SAL_CALL clazz::setCharLocaleComplex( const ::com::sun::star::lang::Locale& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
775 BoundListeners l; \
777 ::osl::MutexGuard aGuard(m_aMutex); \
778 if ( varName.aCharLocaleComplex.Language != the_value.Language \
779 || varName.aCharLocaleComplex.Country != the_value.Country \
780 || varName.aCharLocaleComplex.Variant != the_value.Variant ) \
782 prepareSet(PROPERTY_CHARLOCALECOMPLEX, ::com::sun::star::uno::makeAny(varName.aCharLocaleComplex), ::com::sun::star::uno::makeAny(the_value), &l); \
783 varName.aCharLocaleComplex = the_value; \
786 l.notify(); \
790 #define NO_REPORTCONTROLFORMAT_IMPL(clazz) \
791 sal_Int16 SAL_CALL clazz::getParaAdjust() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
793 throw beans::UnknownPropertyException();\
795 void SAL_CALL clazz::setParaAdjust(sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
797 throw beans::UnknownPropertyException();\
799 ::sal_Int16 SAL_CALL clazz::getCharStrikeout() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
801 throw beans::UnknownPropertyException();\
803 void SAL_CALL clazz::setCharStrikeout(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
805 throw beans::UnknownPropertyException();\
807 sal_Bool SAL_CALL clazz::getCharWordMode() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
809 throw beans::UnknownPropertyException();\
811 void SAL_CALL clazz::setCharWordMode(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
813 throw beans::UnknownPropertyException();\
815 ::sal_Int16 SAL_CALL clazz::getCharRotation() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
817 throw beans::UnknownPropertyException();\
819 void SAL_CALL clazz::setCharRotation(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
821 throw beans::UnknownPropertyException();\
823 ::sal_Int16 SAL_CALL clazz::getCharScaleWidth() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
825 throw beans::UnknownPropertyException();\
827 void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
829 throw beans::UnknownPropertyException();\
831 sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
833 throw beans::UnknownPropertyException();\
835 void SAL_CALL clazz::setCharFlash(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
837 throw beans::UnknownPropertyException();\
839 sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
841 throw beans::UnknownPropertyException();\
843 void SAL_CALL clazz::setCharAutoKerning(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
845 throw beans::UnknownPropertyException();\
847 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
849 throw beans::UnknownPropertyException();\
851 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
853 throw beans::UnknownPropertyException();\
855 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
857 throw beans::UnknownPropertyException();\
859 void SAL_CALL clazz::setCharLocale(const lang::Locale & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
861 throw beans::UnknownPropertyException();\
863 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
865 throw beans::UnknownPropertyException();\
867 void SAL_CALL clazz::setCharEscapement(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
869 throw beans::UnknownPropertyException();\
871 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
873 throw beans::UnknownPropertyException();\
875 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
877 throw beans::UnknownPropertyException();\
879 sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
881 throw beans::UnknownPropertyException();\
883 void SAL_CALL clazz::setCharCombineIsOn(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
885 throw beans::UnknownPropertyException();\
887 OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
889 throw beans::UnknownPropertyException();\
891 void SAL_CALL clazz::setCharCombinePrefix(const OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
893 throw beans::UnknownPropertyException();\
895 OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
897 throw beans::UnknownPropertyException();\
899 void SAL_CALL clazz::setCharCombineSuffix(const OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
901 throw beans::UnknownPropertyException();\
903 sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
905 throw beans::UnknownPropertyException();\
907 void SAL_CALL clazz::setCharHidden(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
909 throw beans::UnknownPropertyException();\
911 sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
913 throw beans::UnknownPropertyException();\
915 void SAL_CALL clazz::setCharShadowed(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
917 throw beans::UnknownPropertyException();\
919 sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
921 throw beans::UnknownPropertyException();\
923 void SAL_CALL clazz::setCharContoured(sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
925 throw beans::UnknownPropertyException();\
927 OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
929 throw beans::UnknownPropertyException();\
931 void SAL_CALL clazz::setVisitedCharStyleName(const OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
933 throw beans::UnknownPropertyException();\
935 OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
937 throw beans::UnknownPropertyException();\
939 void SAL_CALL clazz::setUnvisitedCharStyleName(const OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception) \
941 throw beans::UnknownPropertyException();\
943 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
945 throw beans::UnknownPropertyException();\
947 void SAL_CALL clazz::setCharKerning(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException, std::exception)\
949 throw beans::UnknownPropertyException();\
952 awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
954 throw beans::UnknownPropertyException();\
957 void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
959 throw beans::UnknownPropertyException();\
961 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
963 throw beans::UnknownPropertyException();\
966 void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
968 throw beans::UnknownPropertyException();\
970 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
972 throw beans::UnknownPropertyException();\
975 void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
977 throw beans::UnknownPropertyException();\
980 ::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
982 throw beans::UnknownPropertyException();\
985 void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 /*_fontemphasismark*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
987 throw beans::UnknownPropertyException();\
990 ::sal_Int16 SAL_CALL clazz::getCharRelief() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
992 throw beans::UnknownPropertyException();\
995 void SAL_CALL clazz::setCharRelief( ::sal_Int16 /*_fontrelief*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
997 throw beans::UnknownPropertyException();\
1000 ::sal_Int32 SAL_CALL clazz::getCharColor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1002 throw beans::UnknownPropertyException();\
1005 void SAL_CALL clazz::setCharColor( ::sal_Int32 /*_textcolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1007 throw beans::UnknownPropertyException();\
1010 ::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1012 throw beans::UnknownPropertyException();\
1015 void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 /*_textlinecolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1017 throw beans::UnknownPropertyException();\
1020 style::VerticalAlignment SAL_CALL clazz::getVerticalAlign() throw (beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1022 ::osl::MutexGuard aGuard(m_aMutex);\
1023 return m_aProps.aFormatProperties.aVerticalAlignment;\
1026 void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign ) throw (lang::IllegalArgumentException,beans::UnknownPropertyException,uno::RuntimeException, std::exception)\
1028 set(PROPERTY_VERTICALALIGN,_verticalalign,m_aProps.aFormatProperties.aVerticalAlignment);\
1031 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1033 throw beans::UnknownPropertyException();\
1036 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 /*_charemphasis*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1038 throw beans::UnknownPropertyException();\
1041 OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1043 throw beans::UnknownPropertyException();\
1046 void SAL_CALL clazz::setCharFontName( const OUString& /*_charfontname*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1048 throw beans::UnknownPropertyException();\
1051 OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1053 throw beans::UnknownPropertyException();\
1056 void SAL_CALL clazz::setCharFontStyleName( const OUString& /*_charfontstylename*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1058 throw beans::UnknownPropertyException();\
1061 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1063 throw beans::UnknownPropertyException();\
1066 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 /*_charfontfamily*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1068 throw beans::UnknownPropertyException();\
1071 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1073 throw beans::UnknownPropertyException();\
1076 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 /*_charfontcharset*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1078 throw beans::UnknownPropertyException();\
1081 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1083 throw beans::UnknownPropertyException();\
1086 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 /*_charfontpitch*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1088 throw beans::UnknownPropertyException();\
1091 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1093 throw beans::UnknownPropertyException();\
1096 void SAL_CALL clazz::setCharHeight( float /*_charheight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1098 throw beans::UnknownPropertyException();\
1101 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1103 throw beans::UnknownPropertyException();\
1106 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 /*_charunderline*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1108 throw beans::UnknownPropertyException();\
1111 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1113 throw beans::UnknownPropertyException();\
1116 void SAL_CALL clazz::setCharWeight( float /*_charweight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1118 throw beans::UnknownPropertyException();\
1121 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1123 throw beans::UnknownPropertyException();\
1126 void SAL_CALL clazz::setCharPosture( awt::FontSlant /*_charposture*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)\
1128 throw beans::UnknownPropertyException();\
1130 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1132 throw beans::UnknownPropertyException();\
1134 void SAL_CALL clazz::setCharHeightAsian( float ) throw (beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1136 throw beans::UnknownPropertyException();\
1138 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1140 throw beans::UnknownPropertyException();\
1142 void SAL_CALL clazz::setCharWeightAsian( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1144 throw beans::UnknownPropertyException();\
1146 OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1148 throw beans::UnknownPropertyException();\
1150 void SAL_CALL clazz::setCharFontNameAsian( const OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1152 throw beans::UnknownPropertyException();\
1154 OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1156 throw beans::UnknownPropertyException();\
1158 void SAL_CALL clazz::setCharFontStyleNameAsian( const OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1160 throw beans::UnknownPropertyException();\
1162 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1164 throw beans::UnknownPropertyException();\
1166 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1168 throw beans::UnknownPropertyException();\
1170 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1172 throw beans::UnknownPropertyException();\
1174 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1176 throw beans::UnknownPropertyException();\
1178 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1180 throw beans::UnknownPropertyException();\
1182 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1184 throw beans::UnknownPropertyException();\
1186 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1188 throw beans::UnknownPropertyException();\
1190 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1192 throw beans::UnknownPropertyException();\
1194 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1196 throw beans::UnknownPropertyException();\
1198 void SAL_CALL clazz::setCharLocaleAsian( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1200 throw beans::UnknownPropertyException();\
1202 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1204 throw beans::UnknownPropertyException();\
1206 void SAL_CALL clazz::setCharHeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1208 throw beans::UnknownPropertyException();\
1210 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1212 throw beans::UnknownPropertyException();\
1214 void SAL_CALL clazz::setCharWeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1216 throw beans::UnknownPropertyException();\
1218 OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1220 throw beans::UnknownPropertyException();\
1222 void SAL_CALL clazz::setCharFontNameComplex( const OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1224 throw beans::UnknownPropertyException();\
1226 OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1228 throw beans::UnknownPropertyException();\
1230 void SAL_CALL clazz::setCharFontStyleNameComplex( const OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1232 throw beans::UnknownPropertyException();\
1234 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1236 throw beans::UnknownPropertyException();\
1238 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1240 throw beans::UnknownPropertyException();\
1242 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1244 throw beans::UnknownPropertyException();\
1246 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1248 throw beans::UnknownPropertyException();\
1250 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1252 throw beans::UnknownPropertyException();\
1254 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1256 throw beans::UnknownPropertyException();\
1258 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1260 throw beans::UnknownPropertyException();\
1262 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1264 throw beans::UnknownPropertyException();\
1266 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1268 throw beans::UnknownPropertyException();\
1270 void SAL_CALL clazz::setCharLocaleComplex( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception)\
1272 throw beans::UnknownPropertyException();\
1276 // ::com::sun::star::report::XReportControlFormat:
1277 #define REPORTCONTROLFORMAT_IMPL(clazz,varName) \
1278 REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
1279 REPORTCONTROLFORMAT_IMPL2(clazz,varName)
1282 #endif // INCLUDED_REPORTDESIGN_SOURCE_CORE_INC_REPORTHELPERIMPL_HXX
1284 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */