sync master with lastest vba changes
[ooovba.git] / reportdesign / source / core / inc / ReportHelperImpl.hxx
bloba2e56ada88c2034c4c2e616b84b46e90a64089a4
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ReportHelperImpl.hxx,v $
10 * $Revision: 1.6 $
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) \
35 { \
36 ::osl::MutexGuard aGuard(m_aMutex); \
37 return (arg).m_sName; \
38 } \
39 void SAL_CALL clazz::setName( const ::rtl::OUString& _name ) throw (uno::RuntimeException,beans::PropertyVetoException) \
40 { \
41 set(PROPERTY_NAME,_name,(arg).m_sName); \
42 } \
43 ::sal_Int32 SAL_CALL clazz::getHeight() throw (uno::RuntimeException) \
44 { \
45 return getSize().Height; \
46 } \
47 void SAL_CALL clazz::setHeight( ::sal_Int32 _height ) throw (uno::RuntimeException) \
48 { \
49 awt::Size aSize = getSize(); \
50 aSize.Height = _height; \
51 setSize(aSize); \
52 } \
53 ::sal_Int32 SAL_CALL clazz::getPositionX() throw (uno::RuntimeException) \
54 { \
55 return getPosition().X; \
56 } \
57 void SAL_CALL clazz::setPositionX( ::sal_Int32 _positionx ) throw (uno::RuntimeException) \
58 { \
59 awt::Point aPos = getPosition(); \
60 aPos.X = _positionx; \
61 setPosition(aPos); \
62 } \
63 ::sal_Int32 SAL_CALL clazz::getPositionY() throw (uno::RuntimeException) \
64 { \
65 return getPosition().Y; \
66 } \
67 void SAL_CALL clazz::setPositionY( ::sal_Int32 _positiony ) throw (uno::RuntimeException) \
68 { \
69 awt::Point aPos = getPosition(); \
70 aPos.Y = _positiony; \
71 setPosition(aPos); \
72 } \
73 ::sal_Int32 SAL_CALL clazz::getWidth() throw (uno::RuntimeException) \
74 { \
75 return getSize().Width; \
76 } \
77 void SAL_CALL clazz::setWidth( ::sal_Int32 _width ) throw (uno::RuntimeException) \
78 { \
79 awt::Size aSize = getSize(); \
80 aSize.Width = _width; \
81 setSize(aSize); \
82 } \
83 uno::Reference< report::XSection > SAL_CALL clazz::getSection() throw (uno::RuntimeException) \
84 { \
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) \
93 { \
94 ::osl::MutexGuard aGuard(m_aMutex); \
95 return (arg).m_bPrintRepeatedValues; \
96 } \
97 void SAL_CALL clazz::setPrintRepeatedValues( ::sal_Bool _printrepeatedvalues ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
98 { \
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 short SAL_CALL clazz::getParaVertAlignment() throw (uno::RuntimeException) \
325 ::osl::MutexGuard aGuard(m_aMutex); \
326 return varName.aVerticalAlignment; \
329 void SAL_CALL clazz::setParaVertAlignment( short _verticalalign ) throw (lang::IllegalArgumentException,uno::RuntimeException) \
331 if ( _verticalalign < text::ParagraphVertAlign::AUTOMATIC || _verticalalign > text::ParagraphVertAlign::BOTTOM ) \
332 throw lang::IllegalArgumentException(); \
333 set(PROPERTY_VERTICALALIGN,_verticalalign,varName.aVerticalAlignment); \
336 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException) \
338 return getControlTextEmphasis(); \
341 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 _charemphasis ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
343 set(PROPERTY_CHAREMPHASIS,_charemphasis,varName.nFontEmphasisMark); \
346 ::rtl::OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException) \
348 ::osl::MutexGuard aGuard(m_aMutex); \
349 return varName.aFontDescriptor.Name; \
352 void SAL_CALL clazz::setCharFontName( const ::rtl::OUString& _charfontname ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
354 set(PROPERTY_CHARFONTNAME,_charfontname,varName.aFontDescriptor.Name); \
357 ::rtl::OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException) \
359 ::osl::MutexGuard aGuard(m_aMutex); \
360 return varName.aFontDescriptor.StyleName; \
363 void SAL_CALL clazz::setCharFontStyleName( const ::rtl::OUString& _charfontstylename ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
365 set(PROPERTY_CHARFONTSTYLENAME,_charfontstylename,varName.aFontDescriptor.StyleName); \
368 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException) \
370 ::osl::MutexGuard aGuard(m_aMutex); \
371 return varName.aFontDescriptor.Family; \
374 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 _charfontfamily ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
376 set(PROPERTY_CHARFONTFAMILY,_charfontfamily,varName.aFontDescriptor.Family); \
379 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException) \
381 ::osl::MutexGuard aGuard(m_aMutex); \
382 return varName.aFontDescriptor.CharSet; \
385 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 _charfontcharset ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
387 set(PROPERTY_CHARFONTCHARSET,_charfontcharset,varName.aFontDescriptor.CharSet); \
390 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException) \
392 ::osl::MutexGuard aGuard(m_aMutex); \
393 return varName.aFontDescriptor.Pitch; \
396 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 _charfontpitch ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
398 set(PROPERTY_CHARFONTPITCH,_charfontpitch,varName.aFontDescriptor.Pitch); \
401 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException) \
403 ::osl::MutexGuard aGuard(m_aMutex); \
404 return varName.aFontDescriptor.Height; \
407 void SAL_CALL clazz::setCharHeight( float _charheight ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
409 set(PROPERTY_CHARHEIGHT,static_cast<sal_Int16>(_charheight),varName.aFontDescriptor.Height); \
412 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException) \
414 ::osl::MutexGuard aGuard(m_aMutex); \
415 return varName.aFontDescriptor.Underline; \
418 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 _charunderline ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
420 set(PROPERTY_CHARUNDERLINE,_charunderline,varName.aFontDescriptor.Underline); \
423 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException) \
425 ::osl::MutexGuard aGuard(m_aMutex); \
426 return varName.aFontDescriptor.Weight; \
429 void SAL_CALL clazz::setCharWeight( float _charweight ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
431 set(PROPERTY_CHARWEIGHT,_charweight,varName.aFontDescriptor.Weight); \
434 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException) \
436 ::osl::MutexGuard aGuard(m_aMutex); \
437 return varName.aFontDescriptor.Slant; \
440 void SAL_CALL clazz::setCharPosture( awt::FontSlant _charposture ) throw (beans::UnknownPropertyException, uno::RuntimeException) \
442 set(PROPERTY_CHARPOSTURE,_charposture,varName.aFontDescriptor.Slant); \
444 ::sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException)\
446 ::osl::MutexGuard aGuard(m_aMutex); \
447 return varName.bCharFlash; \
449 void SAL_CALL clazz::setCharFlash(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
451 set(PROPERTY_CHARFLASH,the_value,varName.bCharFlash); \
453 ::sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
455 ::osl::MutexGuard aGuard(m_aMutex); \
456 return varName.bCharAutoKerning; \
458 void SAL_CALL clazz::setCharAutoKerning(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
460 set(PROPERTY_CHARAUTOKERNING,the_value,varName.bCharAutoKerning); \
462 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException) \
464 ::osl::MutexGuard aGuard(m_aMutex); \
465 return varName.nCharEscapementHeight; \
467 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
469 set(PROPERTY_CHARESCAPEMENTHEIGHT,the_value,varName.nCharEscapementHeight); \
471 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException) \
473 ::osl::MutexGuard aGuard(m_aMutex); \
474 return varName.aCharLocale; \
476 void SAL_CALL clazz::setCharLocale(const lang::Locale & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
478 BoundListeners l; \
480 ::osl::MutexGuard aGuard(m_aMutex); \
481 if ( varName.aCharLocale.Language != the_value.Language \
482 || varName.aCharLocale.Country != the_value.Country \
483 || varName.aCharLocale.Variant != the_value.Variant ) \
485 prepareSet(PROPERTY_CHARLOCALE, ::com::sun::star::uno::makeAny(varName.aCharLocale), ::com::sun::star::uno::makeAny(the_value), &l); \
486 varName.aCharLocale = the_value; \
489 l.notify(); \
491 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException) \
493 ::osl::MutexGuard aGuard(m_aMutex); \
494 return varName.nCharEscapement; \
496 void SAL_CALL clazz::setCharEscapement(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
498 set(PROPERTY_CHARESCAPEMENT,the_value,varName.nCharEscapement); \
500 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException) \
502 ::osl::MutexGuard aGuard(m_aMutex); \
503 return varName.nCharCaseMap; \
505 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
507 set(PROPERTY_CHARCASEMAP,the_value,varName.nCharCaseMap); \
509 ::sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException) \
511 ::osl::MutexGuard aGuard(m_aMutex); \
512 return varName.bCharCombineIsOn; \
514 void SAL_CALL clazz::setCharCombineIsOn(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
516 set(PROPERTY_CHARCOMBINEISON,the_value,varName.bCharCombineIsOn); \
518 ::rtl::OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
520 ::osl::MutexGuard aGuard(m_aMutex); \
521 return varName.sCharCombinePrefix; \
523 void SAL_CALL clazz::setCharCombinePrefix(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
525 set(PROPERTY_CHARCOMBINEPREFIX,the_value,varName.sCharCombinePrefix); \
527 ::rtl::OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
529 ::osl::MutexGuard aGuard(m_aMutex); \
530 return varName.sCharCombineSuffix; \
532 void SAL_CALL clazz::setCharCombineSuffix(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
534 set(PROPERTY_CHARCOMBINESUFFIX,the_value,varName.sCharCombineSuffix); \
536 ::sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException) \
538 ::osl::MutexGuard aGuard(m_aMutex); \
539 return varName.bCharHidden; \
541 void SAL_CALL clazz::setCharHidden(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
543 set(PROPERTY_CHARHIDDEN,the_value,varName.bCharHidden); \
545 ::sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException) \
547 ::osl::MutexGuard aGuard(m_aMutex); \
548 return varName.bCharShadowed; \
550 void SAL_CALL clazz::setCharShadowed(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
552 set(PROPERTY_CHARSHADOWED,the_value,varName.bCharShadowed); \
554 ::sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException) \
556 ::osl::MutexGuard aGuard(m_aMutex); \
557 return varName.bCharContoured; \
559 void SAL_CALL clazz::setCharContoured(::sal_Bool the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
561 set(PROPERTY_CHARCONTOURED,the_value,varName.bCharContoured); \
563 ::rtl::OUString SAL_CALL clazz::getHyperLinkURL() throw (uno::RuntimeException, beans::UnknownPropertyException) \
565 ::osl::MutexGuard aGuard(m_aMutex); \
566 return varName.sHyperLinkURL; \
568 void SAL_CALL clazz::setHyperLinkURL(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
570 set(PROPERTY_HYPERLINKURL,the_value,varName.sHyperLinkURL); \
572 ::rtl::OUString SAL_CALL clazz::getHyperLinkTarget() throw (uno::RuntimeException, beans::UnknownPropertyException) \
574 ::osl::MutexGuard aGuard(m_aMutex); \
575 return varName.sHyperLinkTarget; \
577 void SAL_CALL clazz::setHyperLinkTarget(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
579 set(PROPERTY_HYPERLINKTARGET,the_value,varName.sHyperLinkTarget); \
581 ::rtl::OUString SAL_CALL clazz::getHyperLinkName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
583 ::osl::MutexGuard aGuard(m_aMutex); \
584 return varName.sHyperLinkName; \
586 void SAL_CALL clazz::setHyperLinkName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
588 set(PROPERTY_HYPERLINKNAME,the_value,varName.sHyperLinkName); \
590 ::rtl::OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
592 ::osl::MutexGuard aGuard(m_aMutex); \
593 return varName.sVisitedCharStyleName; \
595 void SAL_CALL clazz::setVisitedCharStyleName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
597 set(PROPERTY_VISITEDCHARSTYLENAME,the_value,varName.sVisitedCharStyleName); \
599 ::rtl::OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
601 ::osl::MutexGuard aGuard(m_aMutex); \
602 return varName.sUnvisitedCharStyleName; \
604 void SAL_CALL clazz::setUnvisitedCharStyleName(const ::rtl::OUString & the_value) throw (uno::RuntimeException, beans::UnknownPropertyException) \
606 set(PROPERTY_UNVISITEDCHARSTYLENAME,the_value,varName.sUnvisitedCharStyleName); \
608 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
610 ::osl::MutexGuard aGuard(m_aMutex); \
611 return varName.nCharKerning; \
613 void SAL_CALL clazz::setCharKerning(::sal_Int16 the_value) throw (uno::RuntimeException, beans::UnknownPropertyException)\
615 set(PROPERTY_CHARKERNING,the_value,varName.nCharKerning); \
617 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
619 ::osl::MutexGuard aGuard(m_aMutex); \
620 return varName.aAsianFontDescriptor.Height; \
622 void SAL_CALL clazz::setCharHeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
624 set(PROPERTY_CHARHEIGHTASIAN,static_cast<sal_Int16>(the_value),varName.aAsianFontDescriptor.Height); \
626 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
628 ::osl::MutexGuard aGuard(m_aMutex); \
629 return varName.aAsianFontDescriptor.Weight; \
631 void SAL_CALL clazz::setCharWeightAsian( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
633 set(PROPERTY_CHARWEIGHTASIAN,the_value,varName.aAsianFontDescriptor.Weight); \
635 ::rtl::OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
637 ::osl::MutexGuard aGuard(m_aMutex); \
638 return varName.aAsianFontDescriptor.Name; \
640 void SAL_CALL clazz::setCharFontNameAsian( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
642 set(PROPERTY_CHARFONTNAMEASIAN,the_value,varName.aAsianFontDescriptor.Name); \
644 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
646 ::osl::MutexGuard aGuard(m_aMutex); \
647 return varName.aAsianFontDescriptor.StyleName; \
649 void SAL_CALL clazz::setCharFontStyleNameAsian( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
651 set(PROPERTY_CHARFONTSTYLENAMEASIAN,the_value,varName.aAsianFontDescriptor.StyleName); \
653 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
655 ::osl::MutexGuard aGuard(m_aMutex); \
656 return varName.aAsianFontDescriptor.Family; \
658 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
660 set(PROPERTY_CHARFONTFAMILYASIAN,the_value,varName.aAsianFontDescriptor.Family); \
662 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
664 ::osl::MutexGuard aGuard(m_aMutex); \
665 return varName.aAsianFontDescriptor.CharSet; \
667 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
669 set(PROPERTY_CHARFONTCHARSETASIAN,the_value,varName.aAsianFontDescriptor.CharSet); \
671 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
673 ::osl::MutexGuard aGuard(m_aMutex); \
674 return varName.aAsianFontDescriptor.Pitch; \
676 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
678 set(PROPERTY_CHARFONTPITCHASIAN,the_value,varName.aAsianFontDescriptor.Pitch); \
680 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
682 ::osl::MutexGuard aGuard(m_aMutex); \
683 return varName.aAsianFontDescriptor.Slant; \
685 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
687 set(PROPERTY_CHARPOSTUREASIAN,the_value,varName.aAsianFontDescriptor.Slant); \
689 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
691 ::osl::MutexGuard aGuard(m_aMutex); \
692 return varName.aCharLocaleAsian; \
694 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 BoundListeners l; \
698 ::osl::MutexGuard aGuard(m_aMutex); \
699 if ( varName.aCharLocaleAsian.Language != the_value.Language \
700 || varName.aCharLocaleAsian.Country != the_value.Country \
701 || varName.aCharLocaleAsian.Variant != the_value.Variant ) \
703 prepareSet(PROPERTY_CHARLOCALEASIAN, ::com::sun::star::uno::makeAny(varName.aCharLocaleAsian), ::com::sun::star::uno::makeAny(the_value), &l); \
704 varName.aCharLocaleAsian = the_value; \
707 l.notify(); \
709 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
711 ::osl::MutexGuard aGuard(m_aMutex); \
712 return varName.aComplexFontDescriptor.Height; \
714 void SAL_CALL clazz::setCharHeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
716 set(PROPERTY_CHARHEIGHTCOMPLEX,static_cast<sal_Int16>(the_value),varName.aComplexFontDescriptor.Height); \
718 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
720 ::osl::MutexGuard aGuard(m_aMutex); \
721 return varName.aComplexFontDescriptor.Weight; \
723 void SAL_CALL clazz::setCharWeightComplex( float the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
725 set(PROPERTY_CHARWEIGHTCOMPLEX,the_value,varName.aComplexFontDescriptor.Weight); \
727 ::rtl::OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
729 ::osl::MutexGuard aGuard(m_aMutex); \
730 return varName.aComplexFontDescriptor.Name; \
732 void SAL_CALL clazz::setCharFontNameComplex( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
734 set(PROPERTY_CHARFONTNAMECOMPLEX,the_value,varName.aComplexFontDescriptor.Name); \
736 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
738 ::osl::MutexGuard aGuard(m_aMutex); \
739 return varName.aComplexFontDescriptor.StyleName; \
741 void SAL_CALL clazz::setCharFontStyleNameComplex( const ::rtl::OUString& the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
743 set(PROPERTY_CHARFONTSTYLENAMECOMPLEX,the_value,varName.aComplexFontDescriptor.StyleName); \
745 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
747 ::osl::MutexGuard aGuard(m_aMutex); \
748 return varName.aComplexFontDescriptor.Family; \
750 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
752 set(PROPERTY_CHARFONTFAMILYCOMPLEX,the_value,varName.aComplexFontDescriptor.Family); \
754 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
756 ::osl::MutexGuard aGuard(m_aMutex); \
757 return varName.aComplexFontDescriptor.CharSet; \
759 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
761 set(PROPERTY_CHARFONTCHARSETCOMPLEX,the_value,varName.aComplexFontDescriptor.CharSet); \
763 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
765 ::osl::MutexGuard aGuard(m_aMutex); \
766 return varName.aComplexFontDescriptor.Pitch; \
768 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
770 set(PROPERTY_CHARFONTPITCHCOMPLEX,the_value,varName.aComplexFontDescriptor.Pitch); \
772 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
774 ::osl::MutexGuard aGuard(m_aMutex); \
775 return varName.aComplexFontDescriptor.Slant; \
777 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant the_value ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
779 set(PROPERTY_CHARPOSTURECOMPLEX,the_value,varName.aComplexFontDescriptor.Slant); \
781 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
783 ::osl::MutexGuard aGuard(m_aMutex); \
784 return varName.aCharLocaleComplex; \
786 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 BoundListeners l; \
790 ::osl::MutexGuard aGuard(m_aMutex); \
791 if ( varName.aCharLocaleComplex.Language != the_value.Language \
792 || varName.aCharLocaleComplex.Country != the_value.Country \
793 || varName.aCharLocaleComplex.Variant != the_value.Variant ) \
795 prepareSet(PROPERTY_CHARLOCALECOMPLEX, ::com::sun::star::uno::makeAny(varName.aCharLocaleComplex), ::com::sun::star::uno::makeAny(the_value), &l); \
796 varName.aCharLocaleComplex = the_value; \
799 l.notify(); \
803 #define NO_REPORTCONTROLFORMAT_IMPL(clazz) \
804 ::sal_Int16 SAL_CALL clazz::getParaAdjust() throw (uno::RuntimeException, beans::UnknownPropertyException)\
806 throw beans::UnknownPropertyException();\
808 void SAL_CALL clazz::setParaAdjust(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
810 throw beans::UnknownPropertyException();\
812 ::sal_Int16 SAL_CALL clazz::getCharStrikeout() throw (uno::RuntimeException, beans::UnknownPropertyException)\
814 throw beans::UnknownPropertyException();\
816 void SAL_CALL clazz::setCharStrikeout(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
818 throw beans::UnknownPropertyException();\
820 ::sal_Bool SAL_CALL clazz::getCharWordMode() throw (uno::RuntimeException, beans::UnknownPropertyException)\
822 throw beans::UnknownPropertyException();\
824 void SAL_CALL clazz::setCharWordMode(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
826 throw beans::UnknownPropertyException();\
828 ::sal_Int16 SAL_CALL clazz::getCharRotation() throw (uno::RuntimeException, beans::UnknownPropertyException)\
830 throw beans::UnknownPropertyException();\
832 void SAL_CALL clazz::setCharRotation(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
834 throw beans::UnknownPropertyException();\
836 ::sal_Int16 SAL_CALL clazz::getCharScaleWidth() throw (uno::RuntimeException, beans::UnknownPropertyException)\
838 throw beans::UnknownPropertyException();\
840 void SAL_CALL clazz::setCharScaleWidth(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
842 throw beans::UnknownPropertyException();\
844 ::sal_Bool SAL_CALL clazz::getCharFlash() throw (uno::RuntimeException, beans::UnknownPropertyException)\
846 throw beans::UnknownPropertyException();\
848 void SAL_CALL clazz::setCharFlash(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
850 throw beans::UnknownPropertyException();\
852 ::sal_Bool SAL_CALL clazz::getCharAutoKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
854 throw beans::UnknownPropertyException();\
856 void SAL_CALL clazz::setCharAutoKerning(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
858 throw beans::UnknownPropertyException();\
860 ::sal_Int8 SAL_CALL clazz::getCharEscapementHeight() throw (uno::RuntimeException, beans::UnknownPropertyException) \
862 throw beans::UnknownPropertyException();\
864 void SAL_CALL clazz::setCharEscapementHeight(::sal_Int8 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
866 throw beans::UnknownPropertyException();\
868 lang::Locale SAL_CALL clazz::getCharLocale() throw (uno::RuntimeException, beans::UnknownPropertyException) \
870 throw beans::UnknownPropertyException();\
872 void SAL_CALL clazz::setCharLocale(const lang::Locale & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
874 throw beans::UnknownPropertyException();\
876 ::sal_Int16 SAL_CALL clazz::getCharEscapement() throw (uno::RuntimeException, beans::UnknownPropertyException) \
878 throw beans::UnknownPropertyException();\
880 void SAL_CALL clazz::setCharEscapement(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
882 throw beans::UnknownPropertyException();\
884 ::sal_Int16 SAL_CALL clazz::getCharCaseMap() throw (uno::RuntimeException, beans::UnknownPropertyException) \
886 throw beans::UnknownPropertyException();\
888 void SAL_CALL clazz::setCharCaseMap(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
890 throw beans::UnknownPropertyException();\
892 ::sal_Bool SAL_CALL clazz::getCharCombineIsOn() throw (uno::RuntimeException, beans::UnknownPropertyException) \
894 throw beans::UnknownPropertyException();\
896 void SAL_CALL clazz::setCharCombineIsOn(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
898 throw beans::UnknownPropertyException();\
900 ::rtl::OUString SAL_CALL clazz::getCharCombinePrefix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
902 throw beans::UnknownPropertyException();\
904 void SAL_CALL clazz::setCharCombinePrefix(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
906 throw beans::UnknownPropertyException();\
908 ::rtl::OUString SAL_CALL clazz::getCharCombineSuffix() throw (uno::RuntimeException, beans::UnknownPropertyException) \
910 throw beans::UnknownPropertyException();\
912 void SAL_CALL clazz::setCharCombineSuffix(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
914 throw beans::UnknownPropertyException();\
916 ::sal_Bool SAL_CALL clazz::getCharHidden() throw (uno::RuntimeException, beans::UnknownPropertyException) \
918 throw beans::UnknownPropertyException();\
920 void SAL_CALL clazz::setCharHidden(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
922 throw beans::UnknownPropertyException();\
924 ::sal_Bool SAL_CALL clazz::getCharShadowed() throw (uno::RuntimeException, beans::UnknownPropertyException) \
926 throw beans::UnknownPropertyException();\
928 void SAL_CALL clazz::setCharShadowed(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
930 throw beans::UnknownPropertyException();\
932 ::sal_Bool SAL_CALL clazz::getCharContoured() throw (uno::RuntimeException, beans::UnknownPropertyException) \
934 throw beans::UnknownPropertyException();\
936 void SAL_CALL clazz::setCharContoured(::sal_Bool /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
938 throw beans::UnknownPropertyException();\
940 ::rtl::OUString SAL_CALL clazz::getVisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
942 throw beans::UnknownPropertyException();\
944 void SAL_CALL clazz::setVisitedCharStyleName(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
946 throw beans::UnknownPropertyException();\
948 ::rtl::OUString SAL_CALL clazz::getUnvisitedCharStyleName() throw (uno::RuntimeException, beans::UnknownPropertyException) \
950 throw beans::UnknownPropertyException();\
952 void SAL_CALL clazz::setUnvisitedCharStyleName(const ::rtl::OUString & /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException) \
954 throw beans::UnknownPropertyException();\
956 ::sal_Int16 SAL_CALL clazz::getCharKerning() throw (uno::RuntimeException, beans::UnknownPropertyException)\
958 throw beans::UnknownPropertyException();\
960 void SAL_CALL clazz::setCharKerning(::sal_Int16 /*the_value*/) throw (uno::RuntimeException, beans::UnknownPropertyException)\
962 throw beans::UnknownPropertyException();\
965 awt::FontDescriptor SAL_CALL clazz::getFontDescriptor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
967 throw beans::UnknownPropertyException();\
970 void SAL_CALL clazz::setFontDescriptor( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
972 throw beans::UnknownPropertyException();\
974 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorAsian() throw (beans::UnknownPropertyException,uno::RuntimeException)\
976 throw beans::UnknownPropertyException();\
979 void SAL_CALL clazz::setFontDescriptorAsian( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
981 throw beans::UnknownPropertyException();\
983 awt::FontDescriptor SAL_CALL clazz::getFontDescriptorComplex() throw (beans::UnknownPropertyException,uno::RuntimeException)\
985 throw beans::UnknownPropertyException();\
988 void SAL_CALL clazz::setFontDescriptorComplex( const awt::FontDescriptor& /*_fontdescriptor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
990 throw beans::UnknownPropertyException();\
993 ::sal_Int16 SAL_CALL clazz::getControlTextEmphasis() throw (beans::UnknownPropertyException,uno::RuntimeException)\
995 throw beans::UnknownPropertyException();\
998 void SAL_CALL clazz::setControlTextEmphasis( ::sal_Int16 /*_fontemphasismark*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1000 throw beans::UnknownPropertyException();\
1003 ::sal_Int16 SAL_CALL clazz::getCharRelief() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1005 throw beans::UnknownPropertyException();\
1008 void SAL_CALL clazz::setCharRelief( ::sal_Int16 /*_fontrelief*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1010 throw beans::UnknownPropertyException();\
1013 ::sal_Int32 SAL_CALL clazz::getCharColor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1015 throw beans::UnknownPropertyException();\
1018 void SAL_CALL clazz::setCharColor( ::sal_Int32 /*_textcolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1020 throw beans::UnknownPropertyException();\
1023 ::sal_Int32 SAL_CALL clazz::getCharUnderlineColor() throw (beans::UnknownPropertyException,uno::RuntimeException)\
1025 throw beans::UnknownPropertyException();\
1028 void SAL_CALL clazz::setCharUnderlineColor( ::sal_Int32 /*_textlinecolor*/ ) throw (beans::UnknownPropertyException,uno::RuntimeException)\
1030 throw beans::UnknownPropertyException();\
1033 short SAL_CALL clazz::getParaVertAlignment() throw (uno::RuntimeException)\
1035 ::osl::MutexGuard aGuard(m_aMutex);\
1036 return m_aProps.aFormatProperties.aVerticalAlignment;\
1039 void SAL_CALL clazz::setParaVertAlignment( short _verticalalign ) throw (lang::IllegalArgumentException,uno::RuntimeException)\
1041 if ( _verticalalign < text::ParagraphVertAlign::AUTOMATIC || _verticalalign > text::ParagraphVertAlign::BOTTOM )\
1042 throw lang::IllegalArgumentException();\
1043 set(PROPERTY_VERTICALALIGN,_verticalalign,m_aProps.aFormatProperties.aVerticalAlignment);\
1046 ::sal_Int16 SAL_CALL clazz::getCharEmphasis() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1048 throw beans::UnknownPropertyException();\
1051 void SAL_CALL clazz::setCharEmphasis( ::sal_Int16 /*_charemphasis*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1053 throw beans::UnknownPropertyException();\
1056 ::rtl::OUString SAL_CALL clazz::getCharFontName() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1058 throw beans::UnknownPropertyException();\
1061 void SAL_CALL clazz::setCharFontName( const ::rtl::OUString& /*_charfontname*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1063 throw beans::UnknownPropertyException();\
1066 ::rtl::OUString SAL_CALL clazz::getCharFontStyleName() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1068 throw beans::UnknownPropertyException();\
1071 void SAL_CALL clazz::setCharFontStyleName( const ::rtl::OUString& /*_charfontstylename*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1073 throw beans::UnknownPropertyException();\
1076 ::sal_Int16 SAL_CALL clazz::getCharFontFamily() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1078 throw beans::UnknownPropertyException();\
1081 void SAL_CALL clazz::setCharFontFamily( ::sal_Int16 /*_charfontfamily*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1083 throw beans::UnknownPropertyException();\
1086 ::sal_Int16 SAL_CALL clazz::getCharFontCharSet() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1088 throw beans::UnknownPropertyException();\
1091 void SAL_CALL clazz::setCharFontCharSet( ::sal_Int16 /*_charfontcharset*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1093 throw beans::UnknownPropertyException();\
1096 ::sal_Int16 SAL_CALL clazz::getCharFontPitch() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1098 throw beans::UnknownPropertyException();\
1101 void SAL_CALL clazz::setCharFontPitch( ::sal_Int16 /*_charfontpitch*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1103 throw beans::UnknownPropertyException();\
1106 float SAL_CALL clazz::getCharHeight() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1108 throw beans::UnknownPropertyException();\
1111 void SAL_CALL clazz::setCharHeight( float /*_charheight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1113 throw beans::UnknownPropertyException();\
1116 ::sal_Int16 SAL_CALL clazz::getCharUnderline() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1118 throw beans::UnknownPropertyException();\
1121 void SAL_CALL clazz::setCharUnderline( ::sal_Int16 /*_charunderline*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1123 throw beans::UnknownPropertyException();\
1126 float SAL_CALL clazz::getCharWeight() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1128 throw beans::UnknownPropertyException();\
1131 void SAL_CALL clazz::setCharWeight( float /*_charweight*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1133 throw beans::UnknownPropertyException();\
1136 awt::FontSlant SAL_CALL clazz::getCharPosture() throw (beans::UnknownPropertyException, uno::RuntimeException)\
1138 throw beans::UnknownPropertyException();\
1141 void SAL_CALL clazz::setCharPosture( awt::FontSlant /*_charposture*/ ) throw (beans::UnknownPropertyException, uno::RuntimeException)\
1143 throw beans::UnknownPropertyException();\
1145 float SAL_CALL clazz::getCharHeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1147 throw beans::UnknownPropertyException();\
1149 void SAL_CALL clazz::setCharHeightAsian( float ) throw (beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1151 throw beans::UnknownPropertyException();\
1153 float SAL_CALL clazz::getCharWeightAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1155 throw beans::UnknownPropertyException();\
1157 void SAL_CALL clazz::setCharWeightAsian( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1159 throw beans::UnknownPropertyException();\
1161 ::rtl::OUString SAL_CALL clazz::getCharFontNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1163 throw beans::UnknownPropertyException();\
1165 void SAL_CALL clazz::setCharFontNameAsian( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1167 throw beans::UnknownPropertyException();\
1169 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1171 throw beans::UnknownPropertyException();\
1173 void SAL_CALL clazz::setCharFontStyleNameAsian( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1175 throw beans::UnknownPropertyException();\
1177 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1179 throw beans::UnknownPropertyException();\
1181 void SAL_CALL clazz::setCharFontFamilyAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1183 throw beans::UnknownPropertyException();\
1185 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1187 throw beans::UnknownPropertyException();\
1189 void SAL_CALL clazz::setCharFontCharSetAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1191 throw beans::UnknownPropertyException();\
1193 ::sal_Int16 SAL_CALL clazz::getCharFontPitchAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1195 throw beans::UnknownPropertyException();\
1197 void SAL_CALL clazz::setCharFontPitchAsian( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1199 throw beans::UnknownPropertyException();\
1201 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1203 throw beans::UnknownPropertyException();\
1205 void SAL_CALL clazz::setCharPostureAsian( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1207 throw beans::UnknownPropertyException();\
1209 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleAsian() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1211 throw beans::UnknownPropertyException();\
1213 void SAL_CALL clazz::setCharLocaleAsian( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1215 throw beans::UnknownPropertyException();\
1217 float SAL_CALL clazz::getCharHeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1219 throw beans::UnknownPropertyException();\
1221 void SAL_CALL clazz::setCharHeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1223 throw beans::UnknownPropertyException();\
1225 float SAL_CALL clazz::getCharWeightComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1227 throw beans::UnknownPropertyException();\
1229 void SAL_CALL clazz::setCharWeightComplex( float ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1231 throw beans::UnknownPropertyException();\
1233 ::rtl::OUString SAL_CALL clazz::getCharFontNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1235 throw beans::UnknownPropertyException();\
1237 void SAL_CALL clazz::setCharFontNameComplex( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1239 throw beans::UnknownPropertyException();\
1241 ::rtl::OUString SAL_CALL clazz::getCharFontStyleNameComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1243 throw beans::UnknownPropertyException();\
1245 void SAL_CALL clazz::setCharFontStyleNameComplex( const ::rtl::OUString& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1247 throw beans::UnknownPropertyException();\
1249 ::sal_Int16 SAL_CALL clazz::getCharFontFamilyComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1251 throw beans::UnknownPropertyException();\
1253 void SAL_CALL clazz::setCharFontFamilyComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1255 throw beans::UnknownPropertyException();\
1257 ::sal_Int16 SAL_CALL clazz::getCharFontCharSetComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1259 throw beans::UnknownPropertyException();\
1261 void SAL_CALL clazz::setCharFontCharSetComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1263 throw beans::UnknownPropertyException();\
1265 ::sal_Int16 SAL_CALL clazz::getCharFontPitchComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1267 throw beans::UnknownPropertyException();\
1269 void SAL_CALL clazz::setCharFontPitchComplex( ::sal_Int16 ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1271 throw beans::UnknownPropertyException();\
1273 ::com::sun::star::awt::FontSlant SAL_CALL clazz::getCharPostureComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1275 throw beans::UnknownPropertyException();\
1277 void SAL_CALL clazz::setCharPostureComplex( ::com::sun::star::awt::FontSlant ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1279 throw beans::UnknownPropertyException();\
1281 ::com::sun::star::lang::Locale SAL_CALL clazz::getCharLocaleComplex() throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1283 throw beans::UnknownPropertyException();\
1285 void SAL_CALL clazz::setCharLocaleComplex( const ::com::sun::star::lang::Locale& ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)\
1287 throw beans::UnknownPropertyException();\
1291 // ::com::sun::star::report::XReportControlFormat:
1292 #define REPORTCONTROLFORMAT_IMPL(clazz,varName) \
1293 REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
1294 REPORTCONTROLFORMAT_IMPL2(clazz,varName)
1297 #endif //INCLUDED_REPORTHELPERIMPL_HXX