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 SAL_CALL OImageControl::getImplementationName( )
165 {
166  return "com.sun.star.comp.report.OImageControl";
167 }
168 
169 uno::Sequence< OUString > SAL_CALL OImageControl::getSupportedServiceNames( )
170 {
171  return { SERVICE_IMAGECONTROL };
172 }
173 
174 sal_Bool SAL_CALL OImageControl::supportsService(const OUString& ServiceName)
175 {
176  return cppu::supportsService(this, ServiceName);
177 }
178 
179 // XReportComponent
180 REPORTCOMPONENT_IMPL(OImageControl,m_aProps.aComponent)
181 REPORTCOMPONENT_IMPL2(OImageControl,m_aProps.aComponent)
182 REPORTCOMPONENT_NOMASTERDETAIL(OImageControl)
183 NO_REPORTCONTROLFORMAT_IMPL(OImageControl)
184 OUString SAL_CALL OImageControl::getHyperLinkURL()
185 {
186  ::osl::MutexGuard aGuard(m_aMutex);
187  return m_aProps.aFormatProperties.sHyperLinkURL;
188 }
189 void SAL_CALL OImageControl::setHyperLinkURL(const OUString & the_value)
190 {
191  set(PROPERTY_HYPERLINKURL,the_value,m_aProps.aFormatProperties.sHyperLinkURL);
192 }
193 OUString SAL_CALL OImageControl::getHyperLinkTarget()
194 {
195  ::osl::MutexGuard aGuard(m_aMutex);
196  return m_aProps.aFormatProperties.sHyperLinkTarget;
197 }
198 void SAL_CALL OImageControl::setHyperLinkTarget(const OUString & the_value)
199 {
200  set(PROPERTY_HYPERLINKTARGET,the_value,m_aProps.aFormatProperties.sHyperLinkTarget);
201 }
202 OUString SAL_CALL OImageControl::getHyperLinkName()
203 {
204  ::osl::MutexGuard aGuard(m_aMutex);
205  return m_aProps.aFormatProperties.sHyperLinkName;
206 }
207 void SAL_CALL OImageControl::setHyperLinkName(const OUString & the_value)
208 {
209  set(PROPERTY_HYPERLINKNAME,the_value,m_aProps.aFormatProperties.sHyperLinkName);
210 }
211 
212 
213 ::sal_Int32 SAL_CALL OImageControl::getControlBackground()
214 {
215  ::osl::MutexGuard aGuard(m_aMutex);
216  return sal_Int32(m_aProps.aFormatProperties.m_bBackgroundTransparent ? COL_TRANSPARENT : m_aProps.aFormatProperties.nBackgroundColor);
217 }
218 
219 void SAL_CALL OImageControl::setControlBackground( ::sal_Int32 _backgroundcolor )
220 {
221  bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);
222  setControlBackgroundTransparent(bTransparent);
223  if ( !bTransparent )
224  set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,m_aProps.aFormatProperties.nBackgroundColor);
225 }
226 
227 sal_Bool SAL_CALL OImageControl::getControlBackgroundTransparent()
228 {
229  ::osl::MutexGuard aGuard(m_aMutex);
230  return m_aProps.aFormatProperties.m_bBackgroundTransparent;
231 }
232 
233 void SAL_CALL OImageControl::setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent )
234 {
235  set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,m_aProps.aFormatProperties.m_bBackgroundTransparent);
236  if ( _controlbackgroundtransparent )
237  set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),m_aProps.aFormatProperties.nBackgroundColor);
238 }
239 
240 
241 uno::Reference< beans::XPropertySetInfo > SAL_CALL OImageControl::getPropertySetInfo( )
242 {
243  return ImageControlPropertySet::getPropertySetInfo();
244 }
245 
246 void SAL_CALL OImageControl::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue )
247 {
248  ImageControlPropertySet::setPropertyValue( aPropertyName, aValue );
249 }
250 
251 uno::Any SAL_CALL OImageControl::getPropertyValue( const OUString& PropertyName )
252 {
253  return ImageControlPropertySet::getPropertyValue( PropertyName);
254 }
255 
256 void SAL_CALL OImageControl::addPropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& xListener )
257 {
258  ImageControlPropertySet::addPropertyChangeListener( aPropertyName, xListener );
259 }
260 
261 void SAL_CALL OImageControl::removePropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& aListener )
262 {
263  ImageControlPropertySet::removePropertyChangeListener( aPropertyName, aListener );
264 }
265 
266 void SAL_CALL OImageControl::addVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
267 {
268  ImageControlPropertySet::addVetoableChangeListener( PropertyName, aListener );
269 }
270 
271 void SAL_CALL OImageControl::removeVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
272 {
273  ImageControlPropertySet::removeVetoableChangeListener( PropertyName, aListener );
274 }
275 
276 // XReportControlModel
277 OUString SAL_CALL OImageControl::getDataField()
278 {
279  ::osl::MutexGuard aGuard(m_aMutex);
280  return m_aProps.aDataField;
281 }
282 
283 void SAL_CALL OImageControl::setDataField( const OUString& _datafield )
284 {
285  set(PROPERTY_DATAFIELD,_datafield,m_aProps.aDataField);
286 }
287 
288 
289 sal_Bool SAL_CALL OImageControl::getPrintWhenGroupChange()
290 {
291  ::osl::MutexGuard aGuard(m_aMutex);
292  return m_aProps.bPrintWhenGroupChange;
293 }
294 
295 void SAL_CALL OImageControl::setPrintWhenGroupChange( sal_Bool _printwhengroupchange )
296 {
297  set(PROPERTY_PRINTWHENGROUPCHANGE,_printwhengroupchange,m_aProps.bPrintWhenGroupChange);
298 }
299 
300 OUString SAL_CALL OImageControl::getConditionalPrintExpression()
301 {
302  ::osl::MutexGuard aGuard(m_aMutex);
303  return m_aProps.aConditionalPrintExpression;
304 }
305 
306 void SAL_CALL OImageControl::setConditionalPrintExpression( const OUString& _conditionalprintexpression )
307 {
308  set(PROPERTY_CONDITIONALPRINTEXPRESSION,_conditionalprintexpression,m_aProps.aConditionalPrintExpression);
309 }
310 
311 
312 // XCloneable
313 uno::Reference< util::XCloneable > SAL_CALL OImageControl::createClone( )
314 {
315  uno::Reference< report::XReportComponent> xSource = this;
316  uno::Reference< report::XImageControl> xSet(cloneObject(xSource,m_aProps.aComponent.m_xFactory,SERVICE_IMAGECONTROL),uno::UNO_QUERY_THROW);
317  return xSet.get();
318 }
319 
320 
321 // XImageControl
322 
323 OUString SAL_CALL OImageControl::getImageURL()
324 {
325  ::osl::MutexGuard aGuard(m_aMutex);
326  return m_aImageURL;
327 }
328 
329 void SAL_CALL OImageControl::setImageURL( const OUString& _imageurl )
330 {
331  set(PROPERTY_IMAGEURL,_imageurl,m_aImageURL);
332 }
333 
334 uno::Reference< awt::XImageProducer > SAL_CALL OImageControl::getImageProducer( )
335 {
336  return uno::Reference< awt::XImageProducer >();
337 }
338 
339 // XChild
340 uno::Reference< uno::XInterface > SAL_CALL OImageControl::getParent( )
341 {
342  return OShapeHelper::getParent(this);
343 }
344 
345 void SAL_CALL OImageControl::setParent( const uno::Reference< uno::XInterface >& Parent )
346 {
347  OShapeHelper::setParent(Parent,this);
348 }
349 uno::Reference< report::XFormatCondition > SAL_CALL OImageControl::createFormatCondition( )
350 {
351  return new OFormatCondition(m_aProps.aComponent.m_xContext);
352 }
353 
354 // XContainer
355 void SAL_CALL OImageControl::addContainerListener( const uno::Reference< container::XContainerListener >& xListener )
356 {
357  m_aProps.addContainerListener(xListener);
358 }
359 
360 void SAL_CALL OImageControl::removeContainerListener( const uno::Reference< container::XContainerListener >& xListener )
361 {
362  m_aProps.removeContainerListener(xListener);
363 }
364 
365 // XElementAccess
366 uno::Type SAL_CALL OImageControl::getElementType( )
367 {
369 }
370 
371 sal_Bool SAL_CALL OImageControl::hasElements( )
372 {
373  return m_aProps.hasElements();
374 }
375 
376 // XIndexContainer
377 void SAL_CALL OImageControl::insertByIndex( ::sal_Int32 Index, const uno::Any& Element )
378 {
379  m_aProps.insertByIndex(Index,Element);
380 }
381 
382 void SAL_CALL OImageControl::removeByIndex( ::sal_Int32 Index )
383 {
384  m_aProps.removeByIndex(Index);
385 }
386 
387 // XIndexReplace
388 void SAL_CALL OImageControl::replaceByIndex( ::sal_Int32 Index, const uno::Any& Element )
389 {
390  m_aProps.replaceByIndex(Index,Element);
391 }
392 
393 // XIndexAccess
394 ::sal_Int32 SAL_CALL OImageControl::getCount( )
395 {
396  return m_aProps.getCount();
397 }
398 
399 uno::Any SAL_CALL OImageControl::getByIndex( ::sal_Int32 Index )
400 {
401  return m_aProps.getByIndex( Index );
402 }
403 
404 
405 // XShape
406 awt::Point SAL_CALL OImageControl::getPosition( )
407 {
408  return OShapeHelper::getPosition(this);
409 }
410 
411 void SAL_CALL OImageControl::setPosition( const awt::Point& aPosition )
412 {
413  OShapeHelper::setPosition(aPosition,this);
414 }
415 
416 awt::Size SAL_CALL OImageControl::getSize( )
417 {
418  return OShapeHelper::getSize(this);
419 }
420 
421 void SAL_CALL OImageControl::setSize( const awt::Size& aSize )
422 {
423  OShapeHelper::setSize(aSize,this);
424 }
425 
426 
427 // XShapeDescriptor
428 OUString SAL_CALL OImageControl::getShapeType( )
429 {
430  ::osl::MutexGuard aGuard(m_aMutex);
431  if ( m_aProps.aComponent.m_xShape.is() )
432  return m_aProps.aComponent.m_xShape->getShapeType();
433  return "com.sun.star.drawing.ControlShape";
434 }
435 
436 ::sal_Int16 SAL_CALL OImageControl::getScaleMode()
437 {
438  ::osl::MutexGuard aGuard(m_aMutex);
439  return m_nScaleMode;
440 }
441 
442 void SAL_CALL OImageControl::setScaleMode( ::sal_Int16 _scalemode )
443 {
444  if ( _scalemode < awt::ImageScaleMode::NONE ||_scalemode > awt::ImageScaleMode::ANISOTROPIC )
445  throw lang::IllegalArgumentException();
446  set(PROPERTY_SCALEMODE,_scalemode,m_nScaleMode);
447 }
448 
449 sal_Bool SAL_CALL OImageControl::getPreserveIRI()
450 {
451  ::osl::MutexGuard aGuard(m_aMutex);
452  return m_bPreserveIRI;
453 }
454 
455 void SAL_CALL OImageControl::setPreserveIRI( sal_Bool _preserveiri )
456 {
457  set(PROPERTY_PRESERVEIRI,_preserveiri,m_bPreserveIRI);
458 }
459 
460 } // namespace reportdesign
461 
462 extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
464  css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&)
465 {
466  return cppu::acquire(new reportdesign::OImageControl(context));
467 }
468 
469 
470 /* 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
#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
#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
#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
#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
constexpr::Color COL_TRANSPARENT(0xFF, 0xFF, 0xFF, 0xFF)
#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()
OUString RptResId(const char *pId)
#define PROPERTY_PARAADJUST
Definition: strings.hxx:79
#define PROPERTY_IMAGEURL
Definition: strings.hxx:88
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OImageControl_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
#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
osl::Mutex m_aMutex
#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