LibreOffice Module reportdesign (master)  1
ImageControl.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #include <ImageControl.hxx>
20 #include <strings.hxx>
21 #include <strings.hrc>
22 #include <core_resource.hxx>
23 #include <Tools.hxx>
24 #include <tools/color.hxx>
26 #include <FormatCondition.hxx>
27 #include <com/sun/star/awt/ImageScaleMode.hpp>
28 #include <ReportHelperImpl.hxx>
29 
30 namespace reportdesign
31 {
32 
33  using namespace com::sun::star;
34 static uno::Sequence< OUString > lcl_getImageOptionals()
35 {
36  OUString pProps[] = {
37  OUString(PROPERTY_CHARCOLOR)
38  ,OUString(PROPERTY_CHAREMPHASIS)
39  ,OUString(PROPERTY_CHARFONTCHARSET)
40  ,OUString(PROPERTY_CHARFONTFAMILY)
41  ,OUString(PROPERTY_CHARFONTNAME)
42  ,OUString(PROPERTY_CHARFONTPITCH)
44  ,OUString(PROPERTY_CHARHEIGHT)
45  ,OUString(PROPERTY_CHARPOSTURE)
46  ,OUString(PROPERTY_CHARRELIEF)
47  ,OUString(PROPERTY_FONTDESCRIPTOR)
51  ,OUString(PROPERTY_CHARROTATION)
52  ,OUString(PROPERTY_CHARSCALEWIDTH)
53  ,OUString(PROPERTY_CHARSTRIKEOUT)
55  ,OUString(PROPERTY_CHARUNDERLINE)
56  ,OUString(PROPERTY_CHARWEIGHT)
57  ,OUString(PROPERTY_CHARWORDMODE)
58  ,OUString(PROPERTY_CHARFLASH)
59  ,OUString(PROPERTY_CHARAUTOKERNING)
61  ,OUString(PROPERTY_CHARLOCALE)
62  ,OUString(PROPERTY_CHARESCAPEMENT)
63  ,OUString(PROPERTY_CHARCASEMAP)
64  ,OUString(PROPERTY_CHARCOMBINEISON)
67  ,OUString(PROPERTY_CHARHIDDEN)
68  ,OUString(PROPERTY_CHARSHADOWED)
69  ,OUString(PROPERTY_CHARCONTOURED)
72  ,OUString(PROPERTY_CHARKERNING)
73  ,OUString(PROPERTY_MASTERFIELDS)
74  ,OUString(PROPERTY_DETAILFIELDS)
75  ,OUString(PROPERTY_PARAADJUST)
76  , OUString(PROPERTY_CHAREMPHASISASIAN)
77  , OUString(PROPERTY_CHARFONTNAMEASIAN)
81  , OUString(PROPERTY_CHARFONTPITCHASIAN)
82  , OUString(PROPERTY_CHARHEIGHTASIAN)
83  , OUString(PROPERTY_CHARUNDERLINEASIAN)
84  , OUString(PROPERTY_CHARWEIGHTASIAN)
85  , OUString(PROPERTY_CHARPOSTUREASIAN)
86  , OUString(PROPERTY_CHARWORDMODEASIAN)
87  , OUString(PROPERTY_CHARROTATIONASIAN)
89  , OUString(PROPERTY_CHARLOCALEASIAN)
96  , OUString(PROPERTY_CHARHEIGHTCOMPLEX)
98  , OUString(PROPERTY_CHARWEIGHTCOMPLEX)
99  , OUString(PROPERTY_CHARPOSTURECOMPLEX)
100  , OUString(PROPERTY_CHARWORDMODECOMPLEX)
101  , OUString(PROPERTY_CHARROTATIONCOMPLEX)
103  , OUString(PROPERTY_CHARLOCALECOMPLEX)
104 
105  };
106  return uno::Sequence< OUString >(pProps,SAL_N_ELEMENTS(pProps));
107 }
108 
109 
110 OImageControl::OImageControl(uno::Reference< uno::XComponentContext > const & _xContext)
112 ,ImageControlPropertySet(_xContext,IMPLEMENTS_PROPERTY_SET,lcl_getImageOptionals())
113 ,m_aProps(m_aMutex,static_cast< container::XContainer*>( this ),_xContext)
114 ,m_nScaleMode(awt::ImageScaleMode::NONE)
115 ,m_bPreserveIRI(true)
116 {
117  m_aProps.aComponent.m_sName = RptResId(RID_STR_IMAGECONTROL);
118 }
119 
120 OImageControl::OImageControl(uno::Reference< uno::XComponentContext > const & _xContext
121  ,const uno::Reference< lang::XMultiServiceFactory>& _xFactory
122  ,uno::Reference< drawing::XShape >& _xShape)
124 ,ImageControlPropertySet(_xContext,IMPLEMENTS_PROPERTY_SET,lcl_getImageOptionals())
125 ,m_aProps(m_aMutex,static_cast< container::XContainer*>( this ),_xContext)
126 ,m_nScaleMode(awt::ImageScaleMode::NONE)
127 ,m_bPreserveIRI(true)
128 {
129  m_aProps.aComponent.m_sName = RptResId(RID_STR_IMAGECONTROL);
130  m_aProps.aComponent.m_xFactory = _xFactory;
131  osl_atomic_increment( &m_refCount );
132  {
133  m_aProps.aComponent.setShape(_xShape,this,m_refCount);
134  }
135  osl_atomic_decrement( &m_refCount );
136 }
137 
138 OImageControl::~OImageControl()
139 {
140 }
141 
142 //IMPLEMENT_FORWARD_XINTERFACE2(OImageControl,ImageControlBase,ImageControlPropertySet)
144 
145 uno::Any SAL_CALL OImageControl::queryInterface( const uno::Type& _rType )
146 {
147  uno::Any aReturn = ImageControlBase::queryInterface(_rType);
148  if ( !aReturn.hasValue() )
149  aReturn = ImageControlPropertySet::queryInterface(_rType);
150 
151  if ( !aReturn.hasValue() && OReportControlModel::isInterfaceForbidden(_rType) )
152  return aReturn;
153 
154  return aReturn.hasValue() ? aReturn : (m_aProps.aComponent.m_xProxy.is() ? m_aProps.aComponent.m_xProxy->queryAggregation(_rType) : aReturn);
155 }
156 
157 
158 void SAL_CALL OImageControl::dispose()
159 {
160  ImageControlPropertySet::dispose();
161  cppu::WeakComponentImplHelperBase::dispose();
162 }
163 
164 OUString OImageControl::getImplementationName_Static( )
165 {
166  return "com.sun.star.comp.report.OImageControl";
167 }
168 
169 
170 OUString SAL_CALL OImageControl::getImplementationName( )
171 {
172  return getImplementationName_Static();
173 }
174 
175 uno::Sequence< OUString > OImageControl::getSupportedServiceNames_Static( )
176 {
177  uno::Sequence< OUString > aServices { SERVICE_IMAGECONTROL };
178 
179  return aServices;
180 }
181 
182 uno::Reference< uno::XInterface > OImageControl::create(uno::Reference< uno::XComponentContext > const & xContext)
183 {
184  return *(new OImageControl(xContext));
185 }
186 
187 
188 uno::Sequence< OUString > SAL_CALL OImageControl::getSupportedServiceNames( )
189 {
190  return getSupportedServiceNames_Static();
191 }
192 
193 sal_Bool SAL_CALL OImageControl::supportsService(const OUString& ServiceName)
194 {
195  return cppu::supportsService(this, ServiceName);
196 }
197 
198 // XReportComponent
200 REPORTCOMPONENT_IMPL2(OImageControl,m_aProps.aComponent)
201 REPORTCOMPONENT_NOMASTERDETAIL(OImageControl)
202 NO_REPORTCONTROLFORMAT_IMPL(OImageControl)
203 OUString SAL_CALL OImageControl::getHyperLinkURL()
204 {
205  ::osl::MutexGuard aGuard(m_aMutex);
206  return m_aProps.aFormatProperties.sHyperLinkURL;
207 }
208 void SAL_CALL OImageControl::setHyperLinkURL(const OUString & the_value)
209 {
210  set(PROPERTY_HYPERLINKURL,the_value,m_aProps.aFormatProperties.sHyperLinkURL);
211 }
212 OUString SAL_CALL OImageControl::getHyperLinkTarget()
213 {
214  ::osl::MutexGuard aGuard(m_aMutex);
215  return m_aProps.aFormatProperties.sHyperLinkTarget;
216 }
217 void SAL_CALL OImageControl::setHyperLinkTarget(const OUString & the_value)
218 {
219  set(PROPERTY_HYPERLINKTARGET,the_value,m_aProps.aFormatProperties.sHyperLinkTarget);
220 }
221 OUString SAL_CALL OImageControl::getHyperLinkName()
222 {
223  ::osl::MutexGuard aGuard(m_aMutex);
224  return m_aProps.aFormatProperties.sHyperLinkName;
225 }
226 void SAL_CALL OImageControl::setHyperLinkName(const OUString & the_value)
227 {
228  set(PROPERTY_HYPERLINKNAME,the_value,m_aProps.aFormatProperties.sHyperLinkName);
229 }
230 
231 
232 ::sal_Int32 SAL_CALL OImageControl::getControlBackground()
233 {
234  ::osl::MutexGuard aGuard(m_aMutex);
235  return m_aProps.aFormatProperties.m_bBackgroundTransparent ? static_cast<sal_Int32>(COL_TRANSPARENT) : m_aProps.aFormatProperties.nBackgroundColor;
236 }
237 
238 void SAL_CALL OImageControl::setControlBackground( ::sal_Int32 _backgroundcolor )
239 {
240  bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);
241  setControlBackgroundTransparent(bTransparent);
242  if ( !bTransparent )
243  set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,m_aProps.aFormatProperties.nBackgroundColor);
244 }
245 
246 sal_Bool SAL_CALL OImageControl::getControlBackgroundTransparent()
247 {
248  ::osl::MutexGuard aGuard(m_aMutex);
249  return m_aProps.aFormatProperties.m_bBackgroundTransparent;
250 }
251 
252 void SAL_CALL OImageControl::setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent )
253 {
254  set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,m_aProps.aFormatProperties.m_bBackgroundTransparent);
255  if ( _controlbackgroundtransparent )
256  set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),m_aProps.aFormatProperties.nBackgroundColor);
257 }
258 
259 
260 uno::Reference< beans::XPropertySetInfo > SAL_CALL OImageControl::getPropertySetInfo( )
261 {
262  return ImageControlPropertySet::getPropertySetInfo();
263 }
264 
265 void SAL_CALL OImageControl::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue )
266 {
267  ImageControlPropertySet::setPropertyValue( aPropertyName, aValue );
268 }
269 
270 uno::Any SAL_CALL OImageControl::getPropertyValue( const OUString& PropertyName )
271 {
272  return ImageControlPropertySet::getPropertyValue( PropertyName);
273 }
274 
275 void SAL_CALL OImageControl::addPropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& xListener )
276 {
277  ImageControlPropertySet::addPropertyChangeListener( aPropertyName, xListener );
278 }
279 
280 void SAL_CALL OImageControl::removePropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& aListener )
281 {
282  ImageControlPropertySet::removePropertyChangeListener( aPropertyName, aListener );
283 }
284 
285 void SAL_CALL OImageControl::addVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
286 {
287  ImageControlPropertySet::addVetoableChangeListener( PropertyName, aListener );
288 }
289 
290 void SAL_CALL OImageControl::removeVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
291 {
292  ImageControlPropertySet::removeVetoableChangeListener( PropertyName, aListener );
293 }
294 
295 // XReportControlModel
296 OUString SAL_CALL OImageControl::getDataField()
297 {
298  ::osl::MutexGuard aGuard(m_aMutex);
299  return m_aProps.aDataField;
300 }
301 
302 void SAL_CALL OImageControl::setDataField( const OUString& _datafield )
303 {
304  set(PROPERTY_DATAFIELD,_datafield,m_aProps.aDataField);
305 }
306 
307 
308 sal_Bool SAL_CALL OImageControl::getPrintWhenGroupChange()
309 {
310  ::osl::MutexGuard aGuard(m_aMutex);
311  return m_aProps.bPrintWhenGroupChange;
312 }
313 
314 void SAL_CALL OImageControl::setPrintWhenGroupChange( sal_Bool _printwhengroupchange )
315 {
316  set(PROPERTY_PRINTWHENGROUPCHANGE,_printwhengroupchange,m_aProps.bPrintWhenGroupChange);
317 }
318 
319 OUString SAL_CALL OImageControl::getConditionalPrintExpression()
320 {
321  ::osl::MutexGuard aGuard(m_aMutex);
322  return m_aProps.aConditionalPrintExpression;
323 }
324 
325 void SAL_CALL OImageControl::setConditionalPrintExpression( const OUString& _conditionalprintexpression )
326 {
327  set(PROPERTY_CONDITIONALPRINTEXPRESSION,_conditionalprintexpression,m_aProps.aConditionalPrintExpression);
328 }
329 
330 
331 // XCloneable
332 uno::Reference< util::XCloneable > SAL_CALL OImageControl::createClone( )
333 {
334  uno::Reference< report::XReportComponent> xSource = this;
335  uno::Reference< report::XImageControl> xSet(cloneObject(xSource,m_aProps.aComponent.m_xFactory,SERVICE_IMAGECONTROL),uno::UNO_QUERY_THROW);
336  return xSet;
337 }
338 
339 
340 // XImageControl
341 
342 OUString SAL_CALL OImageControl::getImageURL()
343 {
344  ::osl::MutexGuard aGuard(m_aMutex);
345  return m_aImageURL;
346 }
347 
348 void SAL_CALL OImageControl::setImageURL( const OUString& _imageurl )
349 {
350  set(PROPERTY_IMAGEURL,_imageurl,m_aImageURL);
351 }
352 
353 uno::Reference< awt::XImageProducer > SAL_CALL OImageControl::getImageProducer( )
354 {
355  return uno::Reference< awt::XImageProducer >();
356 }
357 
358 // XChild
359 uno::Reference< uno::XInterface > SAL_CALL OImageControl::getParent( )
360 {
361  return OShapeHelper::getParent(this);
362 }
363 
364 void SAL_CALL OImageControl::setParent( const uno::Reference< uno::XInterface >& Parent )
365 {
366  OShapeHelper::setParent(Parent,this);
367 }
368 uno::Reference< report::XFormatCondition > SAL_CALL OImageControl::createFormatCondition( )
369 {
370  return new OFormatCondition(m_aProps.aComponent.m_xContext);
371 }
372 
373 // XContainer
374 void SAL_CALL OImageControl::addContainerListener( const uno::Reference< container::XContainerListener >& xListener )
375 {
376  m_aProps.addContainerListener(xListener);
377 }
378 
379 void SAL_CALL OImageControl::removeContainerListener( const uno::Reference< container::XContainerListener >& xListener )
380 {
381  m_aProps.removeContainerListener(xListener);
382 }
383 
384 // XElementAccess
385 uno::Type SAL_CALL OImageControl::getElementType( )
386 {
388 }
389 
390 sal_Bool SAL_CALL OImageControl::hasElements( )
391 {
392  return m_aProps.hasElements();
393 }
394 
395 // XIndexContainer
396 void SAL_CALL OImageControl::insertByIndex( ::sal_Int32 Index, const uno::Any& Element )
397 {
398  m_aProps.insertByIndex(Index,Element);
399 }
400 
401 void SAL_CALL OImageControl::removeByIndex( ::sal_Int32 Index )
402 {
403  m_aProps.removeByIndex(Index);
404 }
405 
406 // XIndexReplace
407 void SAL_CALL OImageControl::replaceByIndex( ::sal_Int32 Index, const uno::Any& Element )
408 {
409  m_aProps.replaceByIndex(Index,Element);
410 }
411 
412 // XIndexAccess
413 ::sal_Int32 SAL_CALL OImageControl::getCount( )
414 {
415  return m_aProps.getCount();
416 }
417 
418 uno::Any SAL_CALL OImageControl::getByIndex( ::sal_Int32 Index )
419 {
420  return m_aProps.getByIndex( Index );
421 }
422 
423 
424 // XShape
425 awt::Point SAL_CALL OImageControl::getPosition( )
426 {
427  return OShapeHelper::getPosition(this);
428 }
429 
430 void SAL_CALL OImageControl::setPosition( const awt::Point& aPosition )
431 {
432  OShapeHelper::setPosition(aPosition,this);
433 }
434 
435 awt::Size SAL_CALL OImageControl::getSize( )
436 {
437  return OShapeHelper::getSize(this);
438 }
439 
440 void SAL_CALL OImageControl::setSize( const awt::Size& aSize )
441 {
442  OShapeHelper::setSize(aSize,this);
443 }
444 
445 
446 // XShapeDescriptor
447 OUString SAL_CALL OImageControl::getShapeType( )
448 {
449  ::osl::MutexGuard aGuard(m_aMutex);
450  if ( m_aProps.aComponent.m_xShape.is() )
451  return m_aProps.aComponent.m_xShape->getShapeType();
452  return "com.sun.star.drawing.ControlShape";
453 }
454 
455 ::sal_Int16 SAL_CALL OImageControl::getScaleMode()
456 {
457  ::osl::MutexGuard aGuard(m_aMutex);
458  return m_nScaleMode;
459 }
460 
461 void SAL_CALL OImageControl::setScaleMode( ::sal_Int16 _scalemode )
462 {
463  if ( _scalemode < awt::ImageScaleMode::NONE ||_scalemode > awt::ImageScaleMode::ANISOTROPIC )
464  throw lang::IllegalArgumentException();
465  set(PROPERTY_SCALEMODE,_scalemode,m_nScaleMode);
466 }
467 
468 sal_Bool SAL_CALL OImageControl::getPreserveIRI()
469 {
470  ::osl::MutexGuard aGuard(m_aMutex);
471  return m_bPreserveIRI;
472 }
473 
474 void SAL_CALL OImageControl::setPreserveIRI( sal_Bool _preserveiri )
475 {
476  set(PROPERTY_PRESERVEIRI,_preserveiri,m_bPreserveIRI);
477 }
478 
479 } // namespace reportdesign
480 
481 
482 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define PROPERTY_MASTERFIELDS
Definition: strings.hxx:56
#define PROPERTY_FONTDESCRIPTORCOMPLEX
Definition: strings.hxx:82
bool hasValue()
#define PROPERTY_CHARFONTCHARSETASIAN
Definition: strings.hxx:160
osl::Mutex m_aMutex
#define PROPERTY_DETAILFIELDS
Definition: strings.hxx:57
#define PROPERTY_CHARFONTPITCH
Definition: strings.hxx:146
#define PROPERTY_CHARWORDMODECOMPLEX
Definition: strings.hxx:182
static uno::Sequence< OUString > lcl_getImageOptionals()
#define PROPERTY_CHARSHADOWED
Definition: strings.hxx:237
uno::Sequence< beans::Property > m_aProps
#define SERVICE_IMAGECONTROL
Definition: strings.hxx:24
#define PROPERTY_VISITEDCHARSTYLENAME
Definition: strings.hxx:244
#define PROPERTY_CHARUNDERLINE
Definition: strings.hxx:148
#define PROPERTY_CHARCOMBINEPREFIX
Definition: strings.hxx:234
#define PROPERTY_PRESERVEIRI
Definition: strings.hxx:219
constexpr::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
#define PROPERTY_UNVISITEDCHARSTYLENAME
Definition: strings.hxx:245
#define PROPERTY_CHARESCAPEMENT
Definition: strings.hxx:231
#define PROPERTY_CHARROTATIONCOMPLEX
Definition: strings.hxx:183
#define PROPERTY_CHARCOMBINEISON
Definition: strings.hxx:233
#define PROPERTY_CHARWORDMODE
Definition: strings.hxx:151
OUString RptResId(std::string_view aId)
#define PROPERTY_CHARFONTFAMILYCOMPLEX
Definition: strings.hxx:175
#define PROPERTY_CHARFONTNAME
Definition: strings.hxx:142
#define PROPERTY_CHARROTATIONASIAN
Definition: strings.hxx:167
#define PROPERTY_CHARSCALEWIDTH
Definition: strings.hxx:153
#define PROPERTY_CHARHIDDEN
Definition: strings.hxx:236
#define PROPERTY_PRINTWHENGROUPCHANGE
Definition: strings.hxx:113
#define PROPERTY_CHARPOSTURECOMPLEX
Definition: strings.hxx:181
#define PROPERTY_CHARPOSTURE
Definition: strings.hxx:150
#define PROPERTY_CHARUNDERLINECOLOR
Definition: strings.hxx:89
#define PROPERTY_CHARCASEMAP
Definition: strings.hxx:232
NONE
#define PROPERTY_CHARSCALEWIDTHCOMPLEX
Definition: strings.hxx:184
#define PROPERTY_CHARWEIGHT
Definition: strings.hxx:149
#define PROPERTY_CHARWEIGHTCOMPLEX
Definition: strings.hxx:180
#define PROPERTY_DATAFIELD
Definition: strings.hxx:78
::cppu::PropertySetMixin< css::report::XImageControl > ImageControlPropertySet
#define PROPERTY_HYPERLINKNAME
Definition: strings.hxx:243
#define PROPERTY_CHARUNDERLINEASIAN
Definition: strings.hxx:163
OImageControl(const OImageControl &)=delete
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
#define PROPERTY_HYPERLINKTARGET
Definition: strings.hxx:242
#define REPORTCOMPONENT_NOMASTERDETAIL(clazz)
#define PROPERTY_CHAREMPHASISCOMPLEX
Definition: strings.hxx:172
#define PROPERTY_CONTROLBACKGROUNDTRANSPARENT
Definition: strings.hxx:41
#define PROPERTY_CHARUNDERLINECOMPLEX
Definition: strings.hxx:179
#define REPORTCOMPONENT_IMPL(clazz, arg)
#define PROPERTY_CHARCOLOR
Definition: strings.hxx:85
#define PROPERTY_CHARKERNING
Definition: strings.hxx:240
#define PROPERTY_CHAREMPHASISASIAN
Definition: strings.hxx:156
#define SAL_N_ELEMENTS(arr)
#define PROPERTY_CHARESCAPEMENTHEIGHT
Definition: strings.hxx:229
#define PROPERTY_CONTROLBACKGROUND
Definition: strings.hxx:40
#define PROPERTY_CHARROTATION
Definition: strings.hxx:152
implementation of a
#define PROPERTY_CHARRELIEF
Definition: strings.hxx:84
#define PROPERTY_CHARWEIGHTASIAN
Definition: strings.hxx:164
#define REPORTCOMPONENT_IMPL2(clazz, arg)
#define PROPERTY_CHARHEIGHTASIAN
Definition: strings.hxx:162
#define PROPERTY_CHARFONTSTYLENAMECOMPLEX
Definition: strings.hxx:174
#define PROPERTY_CHARFONTPITCHASIAN
Definition: strings.hxx:161
unsigned char sal_Bool
#define PROPERTY_CHARFONTSTYLENAME
Definition: strings.hxx:143
::cppu::WeakComponentImplHelper< css::report::XImageControl,css::lang::XServiceInfo > ImageControlBase
#define PROPERTY_CHARHEIGHT
Definition: strings.hxx:147
#define PROPERTY_CHARFONTFAMILY
Definition: strings.hxx:144
#define NO_REPORTCONTROLFORMAT_IMPL(clazz)
css::uno::Type const & get()
#define PROPERTY_PARAADJUST
Definition: strings.hxx:79
#define PROPERTY_IMAGEURL
Definition: strings.hxx:88
#define PROPERTY_CHARFONTCHARSETCOMPLEX
Definition: strings.hxx:176
#define PROPERTY_CHARCOMBINESUFFIX
Definition: strings.hxx:235
#define PROPERTY_CHARFONTNAMECOMPLEX
Definition: strings.hxx:173
#define IMPLEMENT_FORWARD_REFCOUNT(classname, refcountbase)
#define PROPERTY_CHARWORDMODEASIAN
Definition: strings.hxx:166
#define PROPERTY_CHARLOCALEASIAN
Definition: strings.hxx:169
#define PROPERTY_CHARLOCALECOMPLEX
Definition: strings.hxx:185
#define PROPERTY_FONTDESCRIPTORASIAN
Definition: strings.hxx:81
#define PROPERTY_CHARFONTNAMEASIAN
Definition: strings.hxx:157
#define PROPERTY_CHARSTRIKEOUT
Definition: strings.hxx:130
#define PROPERTY_CHARLOCALE
Definition: strings.hxx:230
#define PROPERTY_CHARCONTOURED
Definition: strings.hxx:238
#define PROPERTY_FONTDESCRIPTOR
Definition: strings.hxx:80
#define PROPERTY_CHARPOSTUREASIAN
Definition: strings.hxx:165
uno::Reference< util::XCloneable > cloneObject(const uno::Reference< report::XReportComponent > &_xReportComponent, const uno::Reference< lang::XMultiServiceFactory > &_xFactory, const OUString &_sServiceName)
Definition: Tools.cxx:53
#define PROPERTY_CHARFONTFAMILYASIAN
Definition: strings.hxx:159
#define PROPERTY_SCALEMODE
Definition: strings.hxx:220
#define PROPERTY_HYPERLINKURL
Definition: strings.hxx:241
#define PROPERTY_CHARAUTOKERNING
Definition: strings.hxx:239
#define PROPERTY_CHARSCALEWIDTHASIAN
Definition: strings.hxx:168
#define PROPERTY_CONTROLTEXTEMPHASISMARK
Definition: strings.hxx:83
#define PROPERTY_CHAREMPHASIS
Definition: strings.hxx:141
#define PROPERTY_CONDITIONALPRINTEXPRESSION
Definition: strings.hxx:110
#define PROPERTY_CHARFONTSTYLENAMEASIAN
Definition: strings.hxx:158
#define PROPERTY_CHARFONTCHARSET
Definition: strings.hxx:145
struct _ADOIndex Index
#define PROPERTY_CHARFONTPITCHCOMPLEX
Definition: strings.hxx:177
#define PROPERTY_CHARHEIGHTCOMPLEX
Definition: strings.hxx:178
void set(css::uno::UnoInterfaceReference const &value)
#define PROPERTY_CHARFLASH
Definition: strings.hxx:228