1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ReportHelperImpl.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef INCLUDED_REPORTHELPERIMPL_HXX
31 #define INCLUDED_REPORTHELPERIMPL_HXX
32 // ::com::sun::star::report::XReportComponent:
33 #define REPORTCOMPONENT_IMPL3(clazz,arg) \
34 ::rtl::OUString SAL_CALL clazz::getName() throw (uno::RuntimeException) \
36 ::osl::MutexGuard aGuard(m_aMutex); \
37 return (arg).m_sName; \
39 void SAL_CALL clazz::setName( const ::rtl::OUString& _name ) throw (uno::RuntimeException,beans::PropertyVetoException) \
41 set(PROPERTY_NAME,_name,(arg).m_sName); \
43 ::sal_Int32 SAL_CALL clazz::getHeight() throw (uno::RuntimeException) \
45 return getSize().Height; \
47 void SAL_CALL clazz::setHeight( ::sal_Int32 _height ) throw (uno::RuntimeException) \
49 awt::Size aSize = getSize(); \
50 aSize.Height = _height; \
53 ::sal_Int32 SAL_CALL clazz::getPositionX() throw (uno::RuntimeException) \
55 return getPosition().X; \
57 void SAL_CALL clazz::setPositionX( ::sal_Int32 _positionx ) throw (uno::RuntimeException) \
59 awt::Point aPos = getPosition(); \
60 aPos.X = _positionx; \
63 ::sal_Int32 SAL_CALL clazz::getPositionY() throw (uno::RuntimeException) \
65 return getPosition().Y; \
67 void SAL_CALL clazz::setPositionY( ::sal_Int32 _positiony ) throw (uno::RuntimeException) \
69 awt::Point aPos = getPosition(); \
70 aPos.Y = _positiony; \
73 ::sal_Int32 SAL_CALL clazz::getWidth() throw (uno::RuntimeException) \
75 return getSize().Width; \
77 void SAL_CALL clazz::setWidth( ::sal_Int32 _width ) throw (uno::RuntimeException) \
79 awt::Size aSize = getSize(); \
80 aSize.Width = _width; \
83 uno::Reference< report::XSection > SAL_CALL clazz::getSection() throw (uno::RuntimeException) \
85 ::osl::MutexGuard aGuard(m_aMutex); \
86 uno::Reference< container::XChild > xParent(getParent( ),uno::UNO_QUERY); \
87 return lcl_getSection(xParent); \
90 #define REPORTCOMPONENT_IMPL(clazz,arg) \
91 REPORTCOMPONENT_IMPL3(clazz,arg)\
92 ::sal_Bool SAL_CALL clazz::getPrintRepeatedValues() throw (beans::UnknownPropertyException, uno::RuntimeException) \
94 ::osl::MutexGuard aGuard(m_aMutex); \
95 return (arg).m_bPrintRepeatedValues; \
97 void SAL_CALL clazz::setPrintRepeatedValues( ::sal_Bool _printrepeatedvalues ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
99 set(PROPERTY_PRINTREPEATEDVALUES,_printrepeatedvalues,(arg).m_bPrintRepeatedValues); \
102 #define REPORTCOMPONENT_IMPL2(clazz,arg) \
103 ::sal_Int16 SAL_CALL clazz::getControlBorder() throw (beans::UnknownPropertyException, uno::RuntimeException) \
105 ::osl::MutexGuard aGuard(m_aMutex); \
106 return (arg).m_nBorder; \
108 void SAL_CALL clazz::setControlBorder( ::sal_Int16 _border ) throw (uno::RuntimeException,lang::IllegalArgumentException,beans::UnknownPropertyException)\
110 set(PROPERTY_CONTROLBORDER,_border,(arg).m_nBorder); \
112 ::sal_Int32 SAL_CALL clazz::getControlBorderColor() throw (beans::UnknownPropertyException,uno::RuntimeException) \
114 ::osl::MutexGuard aGuard(m_aMutex); \
115 return (arg).m_nBorderColor; \
117 void SAL_CALL clazz::setControlBorderColor( ::sal_Int32 _bordercolor ) throw (uno::RuntimeException, lang::IllegalArgumentException, beans::UnknownPropertyException) \
119 set(PROPERTY_CONTROLBORDERCOLOR,_bordercolor,(arg).m_nBorderColor); \
122 #define REPORTCOMPONENT_MASTERDETAIL(clazz,arg) \
123 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL clazz::getMasterFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) \
125 ::osl::MutexGuard aGuard(m_aMutex); \
126 return (arg).m_aMasterFields; \
128 void SAL_CALL clazz::setMasterFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _masterfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
130 ::osl::MutexGuard aGuard(m_aMutex); \
131 set(PROPERTY_MASTERFIELDS,_masterfields,(arg).m_aMasterFields); \
133 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL clazz::getDetailFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
135 ::osl::MutexGuard aGuard(m_aMutex); \
136 return (arg).m_aDetailFields; \
138 void SAL_CALL clazz::setDetailFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& _detailfields ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
140 ::osl::MutexGuard aGuard(m_aMutex); \
141 set(PROPERTY_DETAILFIELDS,_detailfields,(arg).m_aDetailFields); \
144 #define REPORTCOMPONENT_NOMASTERDETAIL(clazz) \
145 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL clazz::getMasterFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException) \
147 throw ::com::sun::star::beans::UnknownPropertyException();\
149 void SAL_CALL clazz::setMasterFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
151 throw ::com::sun::star::beans::UnknownPropertyException();\
153 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL clazz::getDetailFields() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
155 throw ::com::sun::star::beans::UnknownPropertyException();\
157 void SAL_CALL clazz::setDetailFields( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
159 throw ::com::sun::star::beans::UnknownPropertyException();\
162 // ::com::sun::star::report::XReportControlFormat:
163 #define REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
164 ::sal_Int32 SAL_CALL clazz::getControlBackground() throw (::com::sun::star::beans::UnknownPropertyException, uno::RuntimeException) \
166 ::osl::MutexGuard aGuard(m_aMutex); \
167 return varName.m_bBackgroundTransparent ? COL_TRANSPARENT : varName.nBackgroundColor; \
170 void SAL_CALL clazz::setControlBackground( ::sal_Int32 _backgroundcolor ) throw (uno::RuntimeException, beans::UnknownPropertyException)\
172 sal_Bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);\
173 setControlBackgroundTransparent(bTransparent);\
174 if ( !bTransparent )\
175 set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,varName.nBackgroundColor);\
178 ::sal_Bool SAL_CALL clazz::getControlBackgroundTransparent() throw (beans::UnknownPropertyException, uno::RuntimeException) \
180 ::osl::MutexGuard aGuard(m_aMutex); \
181 return varName.m_bBackgroundTransparent; \
184 void SAL_CALL clazz::setControlBackgroundTransparent( ::sal_Bool _controlbackgroundtransparent ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
186 set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,varName.m_bBackgroundTransparent);\
187 if ( _controlbackgroundtransparent )\
188 set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),varName.nBackgroundColor);\
191 #define REPORTCONTROLFORMAT_IMPL2(clazz,varName) \
192 ::sal_Int16 SAL_CALL clazz::getCharStrikeout() throw (uno::RuntimeException, beans::UnknownPropertyException) \
194 ::osl::MutexGuard aGuard(m_aMutex); \
195 return varName.aFontDescriptor.Strikeout; \
198 void SAL_CALL clazz::setCharStrikeout(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
200 set(PROPERTY_CHARSTRIKEOUT,the_value,varName.aFontDescriptor.Strikeout); \
203 ::sal_Bool SAL_CALL clazz::getCharWordMode() throw (uno::RuntimeException, beans::UnknownPropertyException) \
205 ::osl::MutexGuard aGuard(m_aMutex); \
206 return varName.aFontDescriptor.WordLineMode; \
209 void SAL_CALL clazz::setCharWordMode(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
211 set(PROPERTY_CHARWORDMODE,the_value,varName.aFontDescriptor.WordLineMode); \
214 ::sal_Int16 SAL_CALL clazz::getCharRotation() throw (uno::RuntimeException, beans::UnknownPropertyException) \
216 ::osl::MutexGuard aGuard(m_aMutex); \
217 return static_cast<sal_Int16>(varName.aFontDescriptor.Orientation); \
220 void SAL_CALL clazz::setCharRotation(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
222 float newValue = the_value; \
223 set(PROPERTY_CHARROTATION,newValue,varName.aFontDescriptor.Orientation); \
226 ::sal_Int16 SAL_CALL clazz::getCharScaleWidth() throw (uno::RuntimeException, beans::UnknownPropertyException) \
228 ::osl::MutexGuard aGuard(m_aMutex); \
229 return static_cast<sal_Int16>(varName.aFontDescriptor.CharacterWidth); \
232 void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
234 float newValue = the_value; \
235 set(PROPERTY_CHARSCALEWIDTH,newValue,varName.aFontDescriptor.CharacterWidth); \
237 sal_Int16 SAL_CALL clazz::getParaAdjust() throw (beans::UnknownPropertyException,uno::RuntimeException) \
239 ::osl::MutexGuard aGuard(m_aMutex); \
240 return varName.nAlign; \
243 void SAL_CALL clazz::setParaAdjust( sal_Int16 _align ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
245 set(PROPERTY_PARAADJUST,_align,varName.nAlign); \
248 awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() throw (beans::UnknownPropertyException,uno::RuntimeException) \
250 ::osl::MutexGuard aGuard(m_aMutex); \
251 return varName.aFontDescriptor; \
254 void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
256 set(PROPERTY_FONTDESCRIPTOR,_fontdescriptor,varName.aFontDescriptor); \
258 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() throw (beans::UnknownPropertyException,uno::RuntimeException) \
260 ::osl::MutexGuard aGuard(m_aMutex); \
261 return varName.aAsianFontDescriptor; \
264 void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
266 set(PROPERTY_FONTDESCRIPTORASIAN,_fontdescriptor,varName.aAsianFontDescriptor); \
268 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() throw (beans::UnknownPropertyException,uno::RuntimeException) \
270 ::osl::MutexGuard aGuard(m_aMutex); \
271 return varName.aComplexFontDescriptor; \
274 void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& _fontdescriptor ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
276 set(PROPERTY_FONTDESCRIPTORCOMPLEX,_fontdescriptor,varName.aComplexFontDescriptor); \
279 ::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() throw (beans::UnknownPropertyException,uno::RuntimeException) \
281 ::osl::MutexGuard aGuard(m_aMutex); \
282 return varName.nFontEmphasisMark; \
285 void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 _fontemphasismark ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
287 set(PROPERTY_CONTROLTEXTEMPHASISMARK,_fontemphasismark,varName.nFontEmphasisMark); \
290 ::sal_Int16 SAL_CALL clazz::getCharRelief() throw (beans::UnknownPropertyException,uno::RuntimeException) \
292 ::osl::MutexGuard aGuard(m_aMutex); \
293 return varName.nFontRelief; \
296 void SAL_CALL clazz::setCharRelief( ::sal_Int16 _fontrelief ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
298 set(PROPERTY_CHARRELIEF,_fontrelief,varName.nFontRelief); \
301 ::sal_Int32 SAL_CALL clazz::getCharColor() throw (beans::UnknownPropertyException,uno::RuntimeException) \
303 ::osl::MutexGuard aGuard(m_aMutex); \
304 return varName.nTextColor; \
307 void SAL_CALL clazz::setCharColor( ::sal_Int32 _textcolor ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
309 set(PROPERTY_CHARCOLOR,_textcolor,varName.nTextColor); \
312 ::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() throw (beans::UnknownPropertyException,uno::RuntimeException) \
314 ::osl::MutexGuard aGuard(m_aMutex); \
315 return varName.nTextLineColor; \
318 void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 _textlinecolor ) throw (beans::UnknownPropertyException,uno::RuntimeException) \
320 set(PROPERTY_CHARUNDERLINECOLOR,_textlinecolor,varName.nTextLineColor); \
323 style::VerticalAlignment SAL_CALL clazz::getVerticalAlign() throw (beans::UnknownPropertyException,uno::RuntimeException) \
325 ::osl::MutexGuard aGuard(m_aMutex); \
326 return varName.aVerticalAlignment; \
329 void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign ) throw (lang::IllegalArgumentException,beans::UnknownPropertyException,uno::RuntimeException) \
331 set(PROPERTY_VERTICALALIGN,_verticalalign,varName.aVerticalAlignment); \
334 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException) \
336 return getControlTextEmphasis(); \
339 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 _charemphasis ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
341 set(PROPERTY_CHAREMPHASIS,_charemphasis,varName.nFontEmphasisMark); \
344 ::rtl::OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException) \
346 ::osl::MutexGuard aGuard(m_aMutex); \
347 return varName.aFontDescriptor.Name; \
350 void SAL_CALL clazz::setCharFontName( const ::rtl::OUString& _charfontname ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
352 set(PROPERTY_CHARFONTNAME,_charfontname,varName.aFontDescriptor.Name); \
355 ::rtl::OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException) \
357 ::osl::MutexGuard aGuard(m_aMutex); \
358 return varName.aFontDescriptor.StyleName; \
361 void SAL_CALL clazz::setCharFontStyleName( const ::rtl::OUString& _charfontstylename ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
363 set(PROPERTY_CHARFONTSTYLENAME,_charfontstylename,varName.aFontDescriptor.StyleName); \
366 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException) \
368 ::osl::MutexGuard aGuard(m_aMutex); \
369 return varName.aFontDescriptor.Family; \
372 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 _charfontfamily ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
374 set(PROPERTY_CHARFONTFAMILY,_charfontfamily,varName.aFontDescriptor.Family); \
377 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException) \
379 ::osl::MutexGuard aGuard(m_aMutex); \
380 return varName.aFontDescriptor.CharSet; \
383 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 _charfontcharset ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
385 set(PROPERTY_CHARFONTCHARSET,_charfontcharset,varName.aFontDescriptor.CharSet); \
388 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException) \
390 ::osl::MutexGuard aGuard(m_aMutex); \
391 return varName.aFontDescriptor.Pitch; \
394 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 _charfontpitch ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
396 set(PROPERTY_CHARFONTPITCH,_charfontpitch,varName.aFontDescriptor.Pitch); \
399 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException) \
401 ::osl::MutexGuard aGuard(m_aMutex); \
402 return varName.aFontDescriptor.Height; \
405 void SAL_CALL clazz::setCharHeight( float _charheight ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
407 set(PROPERTY_CHARHEIGHT,static_cast<sal_Int16>(_charheight),varName.aFontDescriptor.Height); \
410 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException) \
412 ::osl::MutexGuard aGuard(m_aMutex); \
413 return varName.aFontDescriptor.Underline; \
416 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 _charunderline ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
418 set(PROPERTY_CHARUNDERLINE,_charunderline,varName.aFontDescriptor.Underline); \
421 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException) \
423 ::osl::MutexGuard aGuard(m_aMutex); \
424 return varName.aFontDescriptor.Weight; \
427 void SAL_CALL clazz::setCharWeight( float _charweight ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
429 set(PROPERTY_CHARWEIGHT,_charweight,varName.aFontDescriptor.Weight); \
432 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException) \
434 ::osl::MutexGuard aGuard(m_aMutex); \
435 return varName.aFontDescriptor.Slant; \
438 void SAL_CALL clazz::setCharPosture( awt::FontSlant _charposture ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
440 set(PROPERTY_CHARPOSTURE,_charposture,varName.aFontDescriptor.Slant); \
442 ::sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException)\
444 ::osl::MutexGuard aGuard(m_aMutex); \
445 return varName.bCharFlash; \
447 void SAL_CALL clazz::setCharFlash(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
449 set(PROPERTY_CHARFLASH,the_value,varName.bCharFlash); \
451 ::sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
453 ::osl::MutexGuard aGuard(m_aMutex); \
454 return varName.bCharAutoKerning; \
456 void SAL_CALL clazz::setCharAutoKerning(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
458 set(PROPERTY_CHARAUTOKERNING,the_value,varName.bCharAutoKerning); \
460 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException) \
462 ::osl::MutexGuard aGuard(m_aMutex); \
463 return varName.nCharEscapementHeight; \
465 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
467 set(PROPERTY_CHARESCAPEMENTHEIGHT,the_value,varName.nCharEscapementHeight); \
469 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException) \
471 ::osl::MutexGuard aGuard(m_aMutex); \
472 return varName.aCharLocale; \
474 void SAL_CALL clazz::setCharLocale(const lang::Locale & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
478 ::osl::MutexGuard aGuard(m_aMutex); \
479 if ( varName.aCharLocale.Language != the_value.Language \
480 || varName.aCharLocale.Country != the_value.Country \
481 || varName.aCharLocale.Variant != the_value.Variant ) \
483 prepareSet(PROPERTY_CHARLOCALE, ::com::sun::star::uno::makeAny(varName.aCharLocale), ::com::sun::star::uno::makeAny(the_value), &l); \
484 varName.aCharLocale = the_value; \
489 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException) \
491 ::osl::MutexGuard aGuard(m_aMutex); \
492 return varName.nCharEscapement; \
494 void SAL_CALL clazz::setCharEscapement(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
496 set(PROPERTY_CHARESCAPEMENT,the_value,varName.nCharEscapement); \
498 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException) \
500 ::osl::MutexGuard aGuard(m_aMutex); \
501 return varName.nCharCaseMap; \
503 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
505 set(PROPERTY_CHARCASEMAP,the_value,varName.nCharCaseMap); \
507 ::sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException) \
509 ::osl::MutexGuard aGuard(m_aMutex); \
510 return varName.bCharCombineIsOn; \
512 void SAL_CALL clazz::setCharCombineIsOn(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
514 set(PROPERTY_CHARCOMBINEISON,the_value,varName.bCharCombineIsOn); \
516 ::rtl::OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
518 ::osl::MutexGuard aGuard(m_aMutex); \
519 return varName.sCharCombinePrefix; \
521 void SAL_CALL clazz::setCharCombinePrefix(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
523 set(PROPERTY_CHARCOMBINEPREFIX,the_value,varName.sCharCombinePrefix); \
525 ::rtl::OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
527 ::osl::MutexGuard aGuard(m_aMutex); \
528 return varName.sCharCombineSuffix; \
530 void SAL_CALL clazz::setCharCombineSuffix(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
532 set(PROPERTY_CHARCOMBINESUFFIX,the_value,varName.sCharCombineSuffix); \
534 ::sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException) \
536 ::osl::MutexGuard aGuard(m_aMutex); \
537 return varName.bCharHidden; \
539 void SAL_CALL clazz::setCharHidden(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
541 set(PROPERTY_CHARHIDDEN,the_value,varName.bCharHidden); \
543 ::sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException) \
545 ::osl::MutexGuard aGuard(m_aMutex); \
546 return varName.bCharShadowed; \
548 void SAL_CALL clazz::setCharShadowed(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
550 set(PROPERTY_CHARSHADOWED,the_value,varName.bCharShadowed); \
552 ::sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException) \
554 ::osl::MutexGuard aGuard(m_aMutex); \
555 return varName.bCharContoured; \
557 void SAL_CALL clazz::setCharContoured(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
559 set(PROPERTY_CHARCONTOURED,the_value,varName.bCharContoured); \
561 ::rtl::OUString SAL_CALL clazz::getHyperLinkURL() throw (uno::RuntimeException, beans::UnknownPropertyException) \
563 ::osl::MutexGuard aGuard(m_aMutex); \
564 return varName.sHyperLinkURL; \
566 void SAL_CALL clazz::setHyperLinkURL(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
568 set(PROPERTY_HYPERLINKURL,the_value,varName.sHyperLinkURL); \
570 ::rtl::OUString SAL_CALL clazz::getHyperLinkTarget() throw (uno::RuntimeException, beans::UnknownPropertyException) \
572 ::osl::MutexGuard aGuard(m_aMutex); \
573 return varName.sHyperLinkTarget; \
575 void SAL_CALL clazz::setHyperLinkTarget(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
577 set(PROPERTY_HYPERLINKTARGET,the_value,varName.sHyperLinkTarget); \
579 ::rtl::OUString SAL_CALL clazz::getHyperLinkName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
581 ::osl::MutexGuard aGuard(m_aMutex); \
582 return varName.sHyperLinkName; \
584 void SAL_CALL clazz::setHyperLinkName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
586 set(PROPERTY_HYPERLINKNAME,the_value,varName.sHyperLinkName); \
588 ::rtl::OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
590 ::osl::MutexGuard aGuard(m_aMutex); \
591 return varName.sVisitedCharStyleName; \
593 void SAL_CALL clazz::setVisitedCharStyleName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
595 set(PROPERTY_VISITEDCHARSTYLENAME,the_value,varName.sVisitedCharStyleName); \
597 ::rtl::OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
599 ::osl::MutexGuard aGuard(m_aMutex); \
600 return varName.sUnvisitedCharStyleName; \
602 void SAL_CALL clazz::setUnvisitedCharStyleName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
604 set(PROPERTY_UNVISITEDCHARSTYLENAME,the_value,varName.sUnvisitedCharStyleName); \
606 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
608 ::osl::MutexGuard aGuard(m_aMutex); \
609 return varName.nCharKerning; \
611 void SAL_CALL clazz::setCharKerning(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
613 set(PROPERTY_CHARKERNING,the_value,varName.nCharKerning); \
615 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
617 ::osl::MutexGuard aGuard(m_aMutex); \
618 return varName.aAsianFontDescriptor.Height; \
620 void SAL_CALL clazz::setCharHeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
622 set(PROPERTY_CHARHEIGHTASIAN,static_cast<sal_Int16>(the_value),varName.aAsianFontDescriptor.Height); \
624 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
626 ::osl::MutexGuard aGuard(m_aMutex); \
627 return varName.aAsianFontDescriptor.Weight; \
629 void SAL_CALL clazz::setCharWeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
631 set(PROPERTY_CHARWEIGHTASIAN,the_value,varName.aAsianFontDescriptor.Weight); \
633 ::rtl::OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
635 ::osl::MutexGuard aGuard(m_aMutex); \
636 return varName.aAsianFontDescriptor.Name; \
638 void SAL_CALL clazz::setCharFontNameAsian( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
640 set(PROPERTY_CHARFONTNAMEASIAN,the_value,varName.aAsianFontDescriptor.Name); \
642 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
644 ::osl::MutexGuard aGuard(m_aMutex); \
645 return varName.aAsianFontDescriptor.StyleName; \
647 void SAL_CALL clazz::setCharFontStyleNameAsian( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
649 set(PROPERTY_CHARFONTSTYLENAMEASIAN,the_value,varName.aAsianFontDescriptor.StyleName); \
651 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
653 ::osl::MutexGuard aGuard(m_aMutex); \
654 return varName.aAsianFontDescriptor.Family; \
656 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
658 set(PROPERTY_CHARFONTFAMILYASIAN,the_value,varName.aAsianFontDescriptor.Family); \
660 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
662 ::osl::MutexGuard aGuard(m_aMutex); \
663 return varName.aAsianFontDescriptor.CharSet; \
665 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
667 set(PROPERTY_CHARFONTCHARSETASIAN,the_value,varName.aAsianFontDescriptor.CharSet); \
669 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
671 ::osl::MutexGuard aGuard(m_aMutex); \
672 return varName.aAsianFontDescriptor.Pitch; \
674 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
676 set(PROPERTY_CHARFONTPITCHASIAN,the_value,varName.aAsianFontDescriptor.Pitch); \
678 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
680 ::osl::MutexGuard aGuard(m_aMutex); \
681 return varName.aAsianFontDescriptor.Slant; \
683 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
685 set(PROPERTY_CHARPOSTUREASIAN,the_value,varName.aAsianFontDescriptor.Slant); \
687 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
689 ::osl::MutexGuard aGuard(m_aMutex); \
690 return varName.aCharLocaleAsian; \
692 void SAL_CALL clazz::setCharLocaleAsian( const ::com::sun::star::lang::Locale& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
696 ::osl::MutexGuard aGuard(m_aMutex); \
697 if ( varName.aCharLocaleAsian.Language != the_value.Language \
698 || varName.aCharLocaleAsian.Country != the_value.Country \
699 || varName.aCharLocaleAsian.Variant != the_value.Variant ) \
701 prepareSet(PROPERTY_CHARLOCALEASIAN, ::com::sun::star::uno::makeAny(varName.aCharLocaleAsian), ::com::sun::star::uno::makeAny(the_value), &l); \
702 varName.aCharLocaleAsian = the_value; \
707 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
709 ::osl::MutexGuard aGuard(m_aMutex); \
710 return varName.aComplexFontDescriptor.Height; \
712 void SAL_CALL clazz::setCharHeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
714 set(PROPERTY_CHARHEIGHTCOMPLEX,static_cast<sal_Int16>(the_value),varName.aComplexFontDescriptor.Height); \
716 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
718 ::osl::MutexGuard aGuard(m_aMutex); \
719 return varName.aComplexFontDescriptor.Weight; \
721 void SAL_CALL clazz::setCharWeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
723 set(PROPERTY_CHARWEIGHTCOMPLEX,the_value,varName.aComplexFontDescriptor.Weight); \
725 ::rtl::OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
727 ::osl::MutexGuard aGuard(m_aMutex); \
728 return varName.aComplexFontDescriptor.Name; \
730 void SAL_CALL clazz::setCharFontNameComplex( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
732 set(PROPERTY_CHARFONTNAMECOMPLEX,the_value,varName.aComplexFontDescriptor.Name); \
734 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
736 ::osl::MutexGuard aGuard(m_aMutex); \
737 return varName.aComplexFontDescriptor.StyleName; \
739 void SAL_CALL clazz::setCharFontStyleNameComplex( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
741 set(PROPERTY_CHARFONTSTYLENAMECOMPLEX,the_value,varName.aComplexFontDescriptor.StyleName); \
743 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
745 ::osl::MutexGuard aGuard(m_aMutex); \
746 return varName.aComplexFontDescriptor.Family; \
748 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
750 set(PROPERTY_CHARFONTFAMILYCOMPLEX,the_value,varName.aComplexFontDescriptor.Family); \
752 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
754 ::osl::MutexGuard aGuard(m_aMutex); \
755 return varName.aComplexFontDescriptor.CharSet; \
757 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
759 set(PROPERTY_CHARFONTCHARSETCOMPLEX,the_value,varName.aComplexFontDescriptor.CharSet); \
761 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
763 ::osl::MutexGuard aGuard(m_aMutex); \
764 return varName.aComplexFontDescriptor.Pitch; \
766 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
768 set(PROPERTY_CHARFONTPITCHCOMPLEX,the_value,varName.aComplexFontDescriptor.Pitch); \
770 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
772 ::osl::MutexGuard aGuard(m_aMutex); \
773 return varName.aComplexFontDescriptor.Slant; \
775 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
777 set(PROPERTY_CHARPOSTURECOMPLEX,the_value,varName.aComplexFontDescriptor.Slant); \
779 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
781 ::osl::MutexGuard aGuard(m_aMutex); \
782 return varName.aCharLocaleComplex; \
784 void SAL_CALL clazz::setCharLocaleComplex( const ::com::sun::star::lang::Locale& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
788 ::osl::MutexGuard aGuard(m_aMutex); \
789 if ( varName.aCharLocaleComplex.Language != the_value.Language \
790 || varName.aCharLocaleComplex.Country != the_value.Country \
791 || varName.aCharLocaleComplex.Variant != the_value.Variant ) \
793 prepareSet(PROPERTY_CHARLOCALECOMPLEX, ::com::sun::star::uno::makeAny(varName.aCharLocaleComplex), ::com::sun::star::uno::makeAny(the_value), &l); \
794 varName.aCharLocaleComplex = the_value; \
801 #define NO_REPORTCONTROLFORMAT_IMPL(clazz) \
802 sal_Int16 SAL_CALL clazz::getParaAdjust() throw (uno::RuntimeException, beans::UnknownPropertyException)\
804 throw beans::UnknownPropertyException();\
806 void SAL_CALL clazz::setParaAdjust(sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
808 throw beans::UnknownPropertyException();\
810 ::sal_Int16 SAL_CALL clazz::getCharStrikeout() throw (uno::RuntimeException, beans::UnknownPropertyException)\
812 throw beans::UnknownPropertyException();\
814 void SAL_CALL clazz::setCharStrikeout(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
816 throw beans::UnknownPropertyException();\
818 ::sal_Bool SAL_CALL clazz::getCharWordMode() throw (uno::RuntimeException, beans::UnknownPropertyException)\
820 throw beans::UnknownPropertyException();\
822 void SAL_CALL clazz::setCharWordMode(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
824 throw beans::UnknownPropertyException();\
826 ::sal_Int16 SAL_CALL clazz::getCharRotation() throw (uno::RuntimeException, beans::UnknownPropertyException)\
828 throw beans::UnknownPropertyException();\
830 void SAL_CALL clazz::setCharRotation(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
832 throw beans::UnknownPropertyException();\
834 ::sal_Int16 SAL_CALL clazz::getCharScaleWidth() throw (uno::RuntimeException, beans::UnknownPropertyException)\
836 throw beans::UnknownPropertyException();\
838 void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
840 throw beans::UnknownPropertyException();\
842 ::sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException)\
844 throw beans::UnknownPropertyException();\
846 void SAL_CALL clazz::setCharFlash(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
848 throw beans::UnknownPropertyException();\
850 ::sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
852 throw beans::UnknownPropertyException();\
854 void SAL_CALL clazz::setCharAutoKerning(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
856 throw beans::UnknownPropertyException();\
858 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException) \
860 throw beans::UnknownPropertyException();\
862 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
864 throw beans::UnknownPropertyException();\
866 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException) \
868 throw beans::UnknownPropertyException();\
870 void SAL_CALL clazz::setCharLocale(const lang::Locale & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
872 throw beans::UnknownPropertyException();\
874 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException) \
876 throw beans::UnknownPropertyException();\
878 void SAL_CALL clazz::setCharEscapement(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
880 throw beans::UnknownPropertyException();\
882 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException) \
884 throw beans::UnknownPropertyException();\
886 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
888 throw beans::UnknownPropertyException();\
890 ::sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException) \
892 throw beans::UnknownPropertyException();\
894 void SAL_CALL clazz::setCharCombineIsOn(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
896 throw beans::UnknownPropertyException();\
898 ::rtl::OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
900 throw beans::UnknownPropertyException();\
902 void SAL_CALL clazz::setCharCombinePrefix(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
904 throw beans::UnknownPropertyException();\
906 ::rtl::OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
908 throw beans::UnknownPropertyException();\
910 void SAL_CALL clazz::setCharCombineSuffix(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
912 throw beans::UnknownPropertyException();\
914 ::sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException) \
916 throw beans::UnknownPropertyException();\
918 void SAL_CALL clazz::setCharHidden(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
920 throw beans::UnknownPropertyException();\
922 ::sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException) \
924 throw beans::UnknownPropertyException();\
926 void SAL_CALL clazz::setCharShadowed(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
928 throw beans::UnknownPropertyException();\
930 ::sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException) \
932 throw beans::UnknownPropertyException();\
934 void SAL_CALL clazz::setCharContoured(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
936 throw beans::UnknownPropertyException();\
938 ::rtl::OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
940 throw beans::UnknownPropertyException();\
942 void SAL_CALL clazz::setVisitedCharStyleName(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
944 throw beans::UnknownPropertyException();\
946 ::rtl::OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
948 throw beans::UnknownPropertyException();\
950 void SAL_CALL clazz::setUnvisitedCharStyleName(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
952 throw beans::UnknownPropertyException();\
954 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
956 throw beans::UnknownPropertyException();\
958 void SAL_CALL clazz::setCharKerning(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
960 throw beans::UnknownPropertyException();\
963 awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
965 throw beans::UnknownPropertyException();\
968 void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
970 throw beans::UnknownPropertyException();\
972 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() throw (beans::UnknownPropertyException,uno::RuntimeException)\
974 throw beans::UnknownPropertyException();\
977 void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
979 throw beans::UnknownPropertyException();\
981 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() throw (beans::UnknownPropertyException,uno::RuntimeException)\
983 throw beans::UnknownPropertyException();\
986 void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
988 throw beans::UnknownPropertyException();\
991 ::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() throw (beans::UnknownPropertyException,uno::RuntimeException)\
993 throw beans::UnknownPropertyException();\
996 void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 /*_fontemphasismark*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
998 throw beans::UnknownPropertyException();\
1001 ::sal_Int16 SAL_CALL clazz::getCharRelief() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1003 throw beans::UnknownPropertyException();\
1006 void SAL_CALL clazz::setCharRelief( ::sal_Int16 /*_fontrelief*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1008 throw beans::UnknownPropertyException();\
1011 ::sal_Int32 SAL_CALL clazz::getCharColor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1013 throw beans::UnknownPropertyException();\
1016 void SAL_CALL clazz::setCharColor( ::sal_Int32 /*_textcolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1018 throw beans::UnknownPropertyException();\
1021 ::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1023 throw beans::UnknownPropertyException();\
1026 void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 /*_textlinecolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1028 throw beans::UnknownPropertyException();\
1031 style::VerticalAlignment SAL_CALL clazz::getVerticalAlign() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1033 ::osl::MutexGuard aGuard(m_aMutex);\
1034 return m_aProps.aFormatProperties.aVerticalAlignment;\
1037 void SAL_CALL clazz::setVerticalAlign( style::VerticalAlignment _verticalalign ) throw (lang::IllegalArgumentException,beans::UnknownPropertyException,uno::RuntimeException)\
1039 set(PROPERTY_VERTICALALIGN,_verticalalign,m_aProps.aFormatProperties.aVerticalAlignment);\
1042 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1044 throw beans::UnknownPropertyException();\
1047 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 /*_charemphasis*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1049 throw beans::UnknownPropertyException();\
1052 ::rtl::OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1054 throw beans::UnknownPropertyException();\
1057 void SAL_CALL clazz::setCharFontName( const ::rtl::OUString& /*_charfontname*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1059 throw beans::UnknownPropertyException();\
1062 ::rtl::OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1064 throw beans::UnknownPropertyException();\
1067 void SAL_CALL clazz::setCharFontStyleName( const ::rtl::OUString& /*_charfontstylename*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1069 throw beans::UnknownPropertyException();\
1072 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1074 throw beans::UnknownPropertyException();\
1077 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 /*_charfontfamily*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1079 throw beans::UnknownPropertyException();\
1082 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1084 throw beans::UnknownPropertyException();\
1087 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 /*_charfontcharset*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1089 throw beans::UnknownPropertyException();\
1092 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1094 throw beans::UnknownPropertyException();\
1097 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 /*_charfontpitch*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1099 throw beans::UnknownPropertyException();\
1102 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1104 throw beans::UnknownPropertyException();\
1107 void SAL_CALL clazz::setCharHeight( float /*_charheight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1109 throw beans::UnknownPropertyException();\
1112 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1114 throw beans::UnknownPropertyException();\
1117 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 /*_charunderline*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1119 throw beans::UnknownPropertyException();\
1122 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1124 throw beans::UnknownPropertyException();\
1127 void SAL_CALL clazz::setCharWeight( float /*_charweight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1129 throw beans::UnknownPropertyException();\
1132 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1134 throw beans::UnknownPropertyException();\
1137 void SAL_CALL clazz::setCharPosture( awt::FontSlant /*_charposture*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1139 throw beans::UnknownPropertyException();\
1141 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1143 throw beans::UnknownPropertyException();\
1145 void SAL_CALL clazz::setCharHeightAsian( float ) throw (beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1147 throw beans::UnknownPropertyException();\
1149 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1151 throw beans::UnknownPropertyException();\
1153 void SAL_CALL clazz::setCharWeightAsian( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1155 throw beans::UnknownPropertyException();\
1157 ::rtl::OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1159 throw beans::UnknownPropertyException();\
1161 void SAL_CALL clazz::setCharFontNameAsian( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1163 throw beans::UnknownPropertyException();\
1165 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1167 throw beans::UnknownPropertyException();\
1169 void SAL_CALL clazz::setCharFontStyleNameAsian( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1171 throw beans::UnknownPropertyException();\
1173 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1175 throw beans::UnknownPropertyException();\
1177 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1179 throw beans::UnknownPropertyException();\
1181 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1183 throw beans::UnknownPropertyException();\
1185 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1187 throw beans::UnknownPropertyException();\
1189 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1191 throw beans::UnknownPropertyException();\
1193 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1195 throw beans::UnknownPropertyException();\
1197 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1199 throw beans::UnknownPropertyException();\
1201 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1203 throw beans::UnknownPropertyException();\
1205 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1207 throw beans::UnknownPropertyException();\
1209 void SAL_CALL clazz::setCharLocaleAsian( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1211 throw beans::UnknownPropertyException();\
1213 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1215 throw beans::UnknownPropertyException();\
1217 void SAL_CALL clazz::setCharHeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1219 throw beans::UnknownPropertyException();\
1221 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1223 throw beans::UnknownPropertyException();\
1225 void SAL_CALL clazz::setCharWeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1227 throw beans::UnknownPropertyException();\
1229 ::rtl::OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1231 throw beans::UnknownPropertyException();\
1233 void SAL_CALL clazz::setCharFontNameComplex( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1235 throw beans::UnknownPropertyException();\
1237 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1239 throw beans::UnknownPropertyException();\
1241 void SAL_CALL clazz::setCharFontStyleNameComplex( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1243 throw beans::UnknownPropertyException();\
1245 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1247 throw beans::UnknownPropertyException();\
1249 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1251 throw beans::UnknownPropertyException();\
1253 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1255 throw beans::UnknownPropertyException();\
1257 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1259 throw beans::UnknownPropertyException();\
1261 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1263 throw beans::UnknownPropertyException();\
1265 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1267 throw beans::UnknownPropertyException();\
1269 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1271 throw beans::UnknownPropertyException();\
1273 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1275 throw beans::UnknownPropertyException();\
1277 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1279 throw beans::UnknownPropertyException();\
1281 void SAL_CALL clazz::setCharLocaleComplex( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1283 throw beans::UnknownPropertyException();\
1287 // ::com::sun::star::report::XReportControlFormat:
1288 #define REPORTCONTROLFORMAT_IMPL(clazz,varName) \
1289 REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
1290 REPORTCONTROLFORMAT_IMPL2(clazz,varName)
1293 #endif //INCLUDED_REPORTHELPERIMPL_HXX