LibreOffice Module reportdesign (master)  1
FixedLine.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 <FixedLine.hxx>
20 #include <strings.hxx>
21 #include <strings.hrc>
22 #include <core_resource.hxx>
24 #include <tools/diagnose_ex.h>
25 #include <Tools.hxx>
26 #include <FormatCondition.hxx>
27 #include <ReportHelperImpl.hxx>
28 
29 #define MIN_WIDTH 80
30 #define MIN_HEIGHT 20
31 
32 namespace reportdesign
33 {
34 
35  using namespace com::sun::star;
36 static uno::Sequence< OUString > lcl_getLineOptionals()
37 {
38  OUString pProps[] = {
39  OUString(PROPERTY_DATAFIELD)
40  ,OUString(PROPERTY_DEFAULTCONTROL)
41  ,OUString(PROPERTY_CONTROLBORDER)
43  ,OUString(PROPERTY_CHARCOLOR)
44  ,OUString(PROPERTY_CHAREMPHASIS)
45  ,OUString(PROPERTY_CHARFONTCHARSET)
46  ,OUString(PROPERTY_CHARFONTFAMILY)
47  ,OUString(PROPERTY_CHARFONTNAME)
48  ,OUString(PROPERTY_CHARFONTPITCH)
50  ,OUString(PROPERTY_CHARHEIGHT)
51  ,OUString(PROPERTY_CHARPOSTURE)
52  ,OUString(PROPERTY_CHARRELIEF)
53  ,OUString(PROPERTY_FONTDESCRIPTOR)
57  ,OUString(PROPERTY_CHARROTATION)
58  ,OUString(PROPERTY_CHARSCALEWIDTH)
59  ,OUString(PROPERTY_CHARSTRIKEOUT)
61  ,OUString(PROPERTY_CHARUNDERLINE)
62  ,OUString(PROPERTY_CHARWEIGHT)
63  ,OUString(PROPERTY_CHARWORDMODE)
66  ,OUString(PROPERTY_CHARFLASH)
67  ,OUString(PROPERTY_CHARAUTOKERNING)
69  ,OUString(PROPERTY_CHARLOCALE)
70  ,OUString(PROPERTY_CHARESCAPEMENT)
71  ,OUString(PROPERTY_CHARCASEMAP)
72  ,OUString(PROPERTY_CHARCOMBINEISON)
75  ,OUString(PROPERTY_CHARHIDDEN)
76  ,OUString(PROPERTY_CHARSHADOWED)
77  ,OUString(PROPERTY_CHARCONTOURED)
78  ,OUString(PROPERTY_HYPERLINKURL)
79  ,OUString(PROPERTY_HYPERLINKTARGET)
80  ,OUString(PROPERTY_HYPERLINKNAME)
83  ,OUString(PROPERTY_CHARKERNING)
87  ,OUString(PROPERTY_MASTERFIELDS)
88  ,OUString(PROPERTY_DETAILFIELDS)
89  ,OUString(PROPERTY_PARAADJUST)
90 
91  , OUString(PROPERTY_CHAREMPHASISASIAN)
92  , OUString(PROPERTY_CHARFONTNAMEASIAN)
96  , OUString(PROPERTY_CHARFONTPITCHASIAN)
97  , OUString(PROPERTY_CHARHEIGHTASIAN)
98  , OUString(PROPERTY_CHARUNDERLINEASIAN)
99  , OUString(PROPERTY_CHARWEIGHTASIAN)
100  , OUString(PROPERTY_CHARPOSTUREASIAN)
101  , OUString(PROPERTY_CHARWORDMODEASIAN)
102  , OUString(PROPERTY_CHARROTATIONASIAN)
103  , OUString(PROPERTY_CHARSCALEWIDTHASIAN)
104  , OUString(PROPERTY_CHARLOCALEASIAN)
105  , OUString(PROPERTY_CHAREMPHASISCOMPLEX)
106  , OUString(PROPERTY_CHARFONTNAMECOMPLEX)
111  , OUString(PROPERTY_CHARHEIGHTCOMPLEX)
113  , OUString(PROPERTY_CHARWEIGHTCOMPLEX)
114  , OUString(PROPERTY_CHARPOSTURECOMPLEX)
115  , OUString(PROPERTY_CHARWORDMODECOMPLEX)
116  , OUString(PROPERTY_CHARROTATIONCOMPLEX)
118  , OUString(PROPERTY_CHARLOCALECOMPLEX)
119 
120 
121  };
122  return uno::Sequence< OUString >(pProps,SAL_N_ELEMENTS(pProps));
123 }
124 
125 OFixedLine::OFixedLine(uno::Reference< uno::XComponentContext > const & _xContext)
127 ,FixedLinePropertySet(_xContext,IMPLEMENTS_PROPERTY_SET,lcl_getLineOptionals())
128 ,m_aProps(m_aMutex,static_cast< container::XContainer*>( this ),_xContext)
129 ,m_LineStyle( drawing::LineStyle_NONE )
130 ,m_nOrientation(1)
131 ,m_LineColor(0)
132 ,m_LineTransparence(0)
133 ,m_LineWidth(0)
134 {
135  m_aProps.aComponent.m_sName = RptResId(RID_STR_FIXEDLINE);
136  m_aProps.aComponent.m_nWidth = MIN_WIDTH;
137 }
138 
139 OFixedLine::OFixedLine(uno::Reference< uno::XComponentContext > const & _xContext
140  ,const uno::Reference< lang::XMultiServiceFactory>& _xFactory
141  ,uno::Reference< drawing::XShape >& _xShape
142  ,sal_Int32 _nOrientation)
144 ,FixedLinePropertySet(_xContext,IMPLEMENTS_PROPERTY_SET,lcl_getLineOptionals())
145 ,m_aProps(m_aMutex,static_cast< container::XContainer*>( this ),_xContext)
146 ,m_LineStyle( drawing::LineStyle_NONE )
147 ,m_nOrientation(_nOrientation)
148 ,m_LineColor(0)
149 ,m_LineTransparence(0)
150 ,m_LineWidth(0)
151 {
152  m_aProps.aComponent.m_sName = RptResId(RID_STR_FIXEDLINE);
153  m_aProps.aComponent.m_xFactory = _xFactory;
154  osl_atomic_increment( &m_refCount );
155  try
156  {
157  awt::Size aSize = _xShape->getSize();
158  if ( m_nOrientation == 1 )
159  {
160  if ( aSize.Width < MIN_WIDTH )
161  {
162  aSize.Width = MIN_WIDTH;
163  _xShape->setSize(aSize);
164  }
165  }
166  else if ( MIN_HEIGHT > aSize.Height )
167  {
168  aSize.Height = MIN_HEIGHT;
169  _xShape->setSize(aSize);
170  }
171  m_aProps.aComponent.setShape(_xShape,this,m_refCount);
172  }
173  catch(uno::Exception&)
174  {
175  TOOLS_WARN_EXCEPTION( "reportdesign", "OFixedLine::OFixedLine");
176  }
177  osl_atomic_decrement( &m_refCount );
178 }
179 
180 OFixedLine::~OFixedLine()
181 {
182 }
183 
185 
186 uno::Any SAL_CALL OFixedLine::queryInterface( const uno::Type& _rType )
187 {
188  uno::Any aReturn = FixedLineBase::queryInterface(_rType);
189  if ( !aReturn.hasValue() )
190  aReturn = FixedLinePropertySet::queryInterface(_rType);
191  if ( !aReturn.hasValue() && OReportControlModel::isInterfaceForbidden(_rType) )
192  return aReturn;
193 
194  return aReturn.hasValue() ? aReturn : (m_aProps.aComponent.m_xProxy.is() ? m_aProps.aComponent.m_xProxy->queryAggregation(_rType) : aReturn);
195 }
196 
197 void SAL_CALL OFixedLine::dispose()
198 {
199  FixedLinePropertySet::dispose();
200  cppu::WeakComponentImplHelperBase::dispose();
201 }
202 
203 OUString SAL_CALL OFixedLine::getImplementationName( )
204 {
205  return "com.sun.star.comp.report.OFixedLine";
206 }
207 
208 uno::Sequence< OUString > SAL_CALL OFixedLine::getSupportedServiceNames( )
209 {
210  return { SERVICE_FIXEDLINE };
211 }
212 
213 sal_Bool SAL_CALL OFixedLine::supportsService(const OUString& ServiceName)
214 {
215  return cppu::supportsService(this, ServiceName);
216 }
217 
218 // XReportComponent
219 REPORTCOMPONENT_IMPL3(OFixedLine,m_aProps.aComponent)
221 
222 ::sal_Int16 SAL_CALL OFixedLine::getControlBorder( )
223 {
224  throw beans::UnknownPropertyException();
225 }
226 
227 void SAL_CALL OFixedLine::setControlBorder( ::sal_Int16 /*_border*/ )
228 {
229  throw beans::UnknownPropertyException();
230 }
231 
232 ::sal_Int32 SAL_CALL OFixedLine::getControlBorderColor()
233 {
234  throw beans::UnknownPropertyException();
235 }
236 
237 void SAL_CALL OFixedLine::setControlBorderColor( ::sal_Int32 /*_bordercolor*/ )
238 {
239  throw beans::UnknownPropertyException();
240 }
241 
242 uno::Reference< beans::XPropertySetInfo > SAL_CALL OFixedLine::getPropertySetInfo( )
243 {
244  return FixedLinePropertySet::getPropertySetInfo();
245 }
246 
247 void SAL_CALL OFixedLine::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue )
248 {
249  FixedLinePropertySet::setPropertyValue( aPropertyName, aValue );
250 }
251 
252 uno::Any SAL_CALL OFixedLine::getPropertyValue( const OUString& PropertyName )
253 {
254  return FixedLinePropertySet::getPropertyValue( PropertyName);
255 }
256 
257 void SAL_CALL OFixedLine::addPropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& xListener )
258 {
259  FixedLinePropertySet::addPropertyChangeListener( aPropertyName, xListener );
260 }
261 
262 void SAL_CALL OFixedLine::removePropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& aListener )
263 {
264  FixedLinePropertySet::removePropertyChangeListener( aPropertyName, aListener );
265 }
266 
267 void SAL_CALL OFixedLine::addVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
268 {
269  FixedLinePropertySet::addVetoableChangeListener( PropertyName, aListener );
270 }
271 
272 void SAL_CALL OFixedLine::removeVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
273 {
274  FixedLinePropertySet::removeVetoableChangeListener( PropertyName, aListener );
275 }
276 
277 // XReportControlModel
278 OUString SAL_CALL OFixedLine::getDataField()
279 {
280  throw beans::UnknownPropertyException();
281 }
282 
283 void SAL_CALL OFixedLine::setDataField( const OUString& /*_datafield*/ )
284 {
285  throw beans::UnknownPropertyException();
286 }
287 
288 ::sal_Int32 SAL_CALL OFixedLine::getControlBackground()
289 {
290  throw beans::UnknownPropertyException();
291 }
292 
293 void SAL_CALL OFixedLine::setControlBackground( ::sal_Int32 /*_backgroundcolor*/ )
294 {
295  throw beans::UnknownPropertyException();
296 }
297 
298 sal_Bool SAL_CALL OFixedLine::getControlBackgroundTransparent()
299 {
300  throw beans::UnknownPropertyException();
301 }
302 
303 void SAL_CALL OFixedLine::setControlBackgroundTransparent( sal_Bool /*_controlbackgroundtransparent*/ )
304 {
305  throw beans::UnknownPropertyException();
306 }
307 
308 sal_Bool SAL_CALL OFixedLine::getPrintWhenGroupChange()
309 {
310  throw beans::UnknownPropertyException();
311 }
312 
313 void SAL_CALL OFixedLine::setPrintWhenGroupChange( sal_Bool /*_printwhengroupchange*/ )
314 {
315  throw beans::UnknownPropertyException();
316 }
317 
318 OUString SAL_CALL OFixedLine::getConditionalPrintExpression()
319 {
320  throw beans::UnknownPropertyException();
321 }
322 
323 void SAL_CALL OFixedLine::setConditionalPrintExpression( const OUString& /*_conditionalprintexpression*/ )
324 {
325  throw beans::UnknownPropertyException();
326 }
327 
328 // XCloneable
329 uno::Reference< util::XCloneable > SAL_CALL OFixedLine::createClone( )
330 {
331  uno::Reference< report::XReportComponent> xSource = this;
332  uno::Reference< report::XFixedLine> xSet(cloneObject(xSource,m_aProps.aComponent.m_xFactory,SERVICE_FIXEDLINE),uno::UNO_QUERY_THROW);
333  return xSet;
334 }
335 
336 
337 // XFixedLine
338 
339 ::sal_Int32 SAL_CALL OFixedLine::getOrientation()
340 {
341  ::osl::MutexGuard aGuard(m_aMutex);
342  return m_nOrientation;
343 }
344 
345 void SAL_CALL OFixedLine::setOrientation( ::sal_Int32 _orientation )
346 {
347  set(PROPERTY_ORIENTATION,_orientation,m_nOrientation);
348 }
349 
350 drawing::LineStyle SAL_CALL OFixedLine::getLineStyle()
351 {
352  ::osl::MutexGuard aGuard(m_aMutex);
353  return m_LineStyle;
354 }
355 
356 void SAL_CALL OFixedLine::setLineStyle( drawing::LineStyle _linestyle )
357 {
358  set(PROPERTY_LINESTYLE,_linestyle,m_LineStyle);
359 }
360 
361 drawing::LineDash SAL_CALL OFixedLine::getLineDash()
362 {
363  ::osl::MutexGuard aGuard(m_aMutex);
364  return m_LineDash;
365 }
366 
367 void SAL_CALL OFixedLine::setLineDash( const drawing::LineDash& _linedash )
368 {
369  set(PROPERTY_LINEDASH,_linedash,m_LineDash);
370 }
371 
372 ::sal_Int32 SAL_CALL OFixedLine::getLineColor()
373 {
374  ::osl::MutexGuard aGuard(m_aMutex);
375  return m_LineColor;
376 }
377 
378 void SAL_CALL OFixedLine::setLineColor( ::sal_Int32 _linecolor )
379 {
380  set(PROPERTY_LINECOLOR,_linecolor,m_LineColor);
381 }
382 
383 ::sal_Int16 SAL_CALL OFixedLine::getLineTransparence()
384 {
385  ::osl::MutexGuard aGuard(m_aMutex);
386  return m_LineTransparence;
387 }
388 
389 void SAL_CALL OFixedLine::setLineTransparence( ::sal_Int16 _linetransparence )
390 {
391  set(PROPERTY_LINETRANSPARENCE,_linetransparence,m_LineTransparence);
392 }
393 
394 ::sal_Int32 SAL_CALL OFixedLine::getLineWidth()
395 {
396  ::osl::MutexGuard aGuard(m_aMutex);
397  return m_LineWidth;
398 }
399 
400 void SAL_CALL OFixedLine::setLineWidth( ::sal_Int32 _linewidth )
401 {
402  set(PROPERTY_LINEWIDTH,_linewidth,m_LineWidth);
403 }
404 
405 
406 // XChild
407 uno::Reference< uno::XInterface > SAL_CALL OFixedLine::getParent( )
408 {
409  return OShapeHelper::getParent(this);
410 }
411 
412 void SAL_CALL OFixedLine::setParent( const uno::Reference< uno::XInterface >& Parent )
413 {
414  OShapeHelper::setParent(Parent,this);
415 }
416 
417 uno::Reference< report::XFormatCondition > SAL_CALL OFixedLine::createFormatCondition( )
418 {
419  return new OFormatCondition(m_aProps.aComponent.m_xContext);
420 }
421 
422 // XContainer
423 void SAL_CALL OFixedLine::addContainerListener( const uno::Reference< container::XContainerListener >& xListener )
424 {
425  m_aProps.addContainerListener(xListener);
426 }
427 
428 void SAL_CALL OFixedLine::removeContainerListener( const uno::Reference< container::XContainerListener >& xListener )
429 {
430  m_aProps.removeContainerListener(xListener);
431 }
432 
433 // XElementAccess
434 uno::Type SAL_CALL OFixedLine::getElementType( )
435 {
437 }
438 
439 sal_Bool SAL_CALL OFixedLine::hasElements( )
440 {
441  return m_aProps.hasElements();
442 }
443 
444 // XIndexContainer
445 void SAL_CALL OFixedLine::insertByIndex( ::sal_Int32 Index, const uno::Any& Element )
446 {
447  m_aProps.insertByIndex(Index,Element);
448 }
449 
450 void SAL_CALL OFixedLine::removeByIndex( ::sal_Int32 Index )
451 {
452  m_aProps.removeByIndex(Index);
453 }
454 
455 // XIndexReplace
456 void SAL_CALL OFixedLine::replaceByIndex( ::sal_Int32 Index, const uno::Any& Element )
457 {
458  m_aProps.replaceByIndex(Index,Element);
459 }
460 
461 // XIndexAccess
462 ::sal_Int32 SAL_CALL OFixedLine::getCount( )
463 {
464  return m_aProps.getCount();
465 }
466 
467 uno::Any SAL_CALL OFixedLine::getByIndex( ::sal_Int32 Index )
468 {
469  return m_aProps.getByIndex( Index );
470 }
471 
472 // XShape
473 awt::Point SAL_CALL OFixedLine::getPosition( )
474 {
475  return OShapeHelper::getPosition(this);
476 }
477 
478 void SAL_CALL OFixedLine::setPosition( const awt::Point& aPosition )
479 {
480  OShapeHelper::setPosition(aPosition,this);
481 }
482 
483 awt::Size SAL_CALL OFixedLine::getSize( )
484 {
485  return OShapeHelper::getSize(this);
486 }
487 
488 void SAL_CALL OFixedLine::setSize( const awt::Size& aSize )
489 {
490  if ( aSize.Width < MIN_WIDTH && m_nOrientation == 1 )
491  throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + OUString::number(MIN_WIDTH) + "0 micrometer", static_cast<cppu::OWeakObject*>(this));
492  else if ( aSize.Height < MIN_HEIGHT && m_nOrientation == 0 )
493  throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + OUString::number(MIN_HEIGHT) + "0 micrometer", static_cast<cppu::OWeakObject*>(this));
494  OShapeHelper::setSize(aSize,this);
495 }
496 
497 // XShapeDescriptor
498 OUString SAL_CALL OFixedLine::getShapeType( )
499 {
500  ::osl::MutexGuard aGuard(m_aMutex);
501  if ( m_aProps.aComponent.m_xShape.is() )
502  return m_aProps.aComponent.m_xShape->getShapeType();
503  return "com.sun.star.drawing.ControlShape";
504 }
505 
506 OUString SAL_CALL OFixedLine::getHyperLinkURL()
507 {
508  throw beans::UnknownPropertyException();
509 }
510 void SAL_CALL OFixedLine::setHyperLinkURL(const OUString & /*the_value*/)
511 {
512  throw beans::UnknownPropertyException();
513 }
514 OUString SAL_CALL OFixedLine::getHyperLinkTarget()
515 {
516  throw beans::UnknownPropertyException();
517 }
518 void SAL_CALL OFixedLine::setHyperLinkTarget(const OUString & /*the_value*/)
519 {
520  throw beans::UnknownPropertyException();
521 }
522 OUString SAL_CALL OFixedLine::getHyperLinkName()
523 {
524  throw beans::UnknownPropertyException();
525 }
526 void SAL_CALL OFixedLine::setHyperLinkName(const OUString & /*the_value*/)
527 {
528  throw beans::UnknownPropertyException();
529 }
530 
531 NO_REPORTCONTROLFORMAT_IMPL(OFixedLine)
532 
533 sal_Bool SAL_CALL OFixedLine::getPrintRepeatedValues()
534 {
535  throw beans::UnknownPropertyException();
536 }
537 void SAL_CALL OFixedLine::setPrintRepeatedValues( sal_Bool /*_printrepeatedvalues*/ )
538 {
539  throw beans::UnknownPropertyException();
540 }
541 
542 
543 } // namespace reportdesign
544 
545 
546 extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
548  css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&)
549 {
550  return cppu::acquire(new reportdesign::OFixedLine(context));
551 }
552 
553 /* 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
#define PROPERTY_CHARSHADOWED
Definition: strings.hxx:237
#define PROPERTY_VISITEDCHARSTYLENAME
Definition: strings.hxx:244
#define PROPERTY_CHARUNDERLINE
Definition: strings.hxx:148
#define PROPERTY_CHARCOMBINEPREFIX
Definition: strings.hxx:234
#define PROPERTY_PRINTREPEATEDVALUES
Definition: strings.hxx:109
#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_CONTROLBORDERCOLOR
Definition: strings.hxx:99
#define PROPERTY_CHARUNDERLINECOLOR
Definition: strings.hxx:89
#define MIN_HEIGHT
Definition: FixedLine.cxx:30
#define PROPERTY_CHARCASEMAP
Definition: strings.hxx:232
#define PROPERTY_DEFAULTCONTROL
Definition: strings.hxx:102
#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
#define PROPERTY_HYPERLINKNAME
Definition: strings.hxx:243
#define PROPERTY_CHARUNDERLINEASIAN
Definition: strings.hxx:163
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
exports com.sun.star. drawing
#define PROPERTY_CHARUNDERLINECOMPLEX
Definition: strings.hxx:179
#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 SERVICE_FIXEDLINE
Definition: strings.hxx:29
#define PROPERTY_CONTROLBACKGROUND
Definition: strings.hxx:40
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OFixedLine_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
Definition: FixedLine.cxx:547
#define PROPERTY_CHARROTATION
Definition: strings.hxx:152
#define TOOLS_WARN_EXCEPTION(area, stream)
#define PROPERTY_CHARRELIEF
Definition: strings.hxx:84
OFixedLine(const OFixedLine &)=delete
#define PROPERTY_CHARWEIGHTASIAN
Definition: strings.hxx:164
#define PROPERTY_LINESTYLE
Definition: strings.hxx:222
implementation of a
Definition: FixedLine.hxx:42
#define REPORTCOMPONENT_IMPL3(clazz, arg)
#define PROPERTY_CHARHEIGHTASIAN
Definition: strings.hxx:162
#define PROPERTY_CHARFONTSTYLENAMECOMPLEX
Definition: strings.hxx:174
#define PROPERTY_CHARFONTPITCHASIAN
Definition: strings.hxx:161
#define PROPERTY_LINEWIDTH
Definition: strings.hxx:226
unsigned char sal_Bool
::cppu::PropertySetMixin< css::report::XFixedLine > FixedLinePropertySet
Definition: FixedLine.hxx:34
#define PROPERTY_CHARFONTSTYLENAME
Definition: strings.hxx:143
#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_CHARFONTCHARSETCOMPLEX
Definition: strings.hxx:176
#define PROPERTY_CHARCOMBINESUFFIX
Definition: strings.hxx:235
#define MIN_WIDTH
Definition: FixedLine.cxx:29
#define PROPERTY_ORIENTATION
Definition: strings.hxx:61
#define PROPERTY_CHARFONTNAMECOMPLEX
Definition: strings.hxx:173
#define IMPLEMENT_FORWARD_REFCOUNT(classname, refcountbase)
#define PROPERTY_CONTROLBORDER
Definition: strings.hxx:98
#define PROPERTY_CHARWORDMODEASIAN
Definition: strings.hxx:166
#define PROPERTY_CHARLOCALEASIAN
Definition: strings.hxx:169
static uno::Sequence< OUString > lcl_getLineOptionals()
Definition: FixedLine.cxx:36
#define PROPERTY_CHARLOCALECOMPLEX
Definition: strings.hxx:185
#define PROPERTY_LINEDASH
Definition: strings.hxx:223
#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_LINECOLOR
Definition: strings.hxx:224
#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_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_LINETRANSPARENCE
Definition: strings.hxx:225
#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
::cppu::WeakComponentImplHelper< css::report::XFixedLine,css::lang::XServiceInfo > FixedLineBase
Definition: FixedLine.hxx:36