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