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 OFixedLine::getImplementationName_Static( )
204 {
205  return "com.sun.star.comp.report.OFixedLine";
206 }
207 
208 
209 OUString SAL_CALL OFixedLine::getImplementationName( )
210 {
211  return getImplementationName_Static();
212 }
213 
214 uno::Sequence< OUString > OFixedLine::getSupportedServiceNames_Static( )
215 {
216  uno::Sequence< OUString > aServices { SERVICE_FIXEDLINE };
217 
218  return aServices;
219 }
220 
221 uno::Reference< uno::XInterface > OFixedLine::create(uno::Reference< uno::XComponentContext > const & xContext)
222 {
223  return *(new OFixedLine(xContext));
224 }
225 
226 
227 uno::Sequence< OUString > SAL_CALL OFixedLine::getSupportedServiceNames( )
228 {
229  return getSupportedServiceNames_Static();
230 }
231 
232 sal_Bool SAL_CALL OFixedLine::supportsService(const OUString& ServiceName)
233 {
234  return cppu::supportsService(this, ServiceName);
235 }
236 
237 // XReportComponent
240 
241 ::sal_Int16 SAL_CALL OFixedLine::getControlBorder( )
242 {
243  throw beans::UnknownPropertyException();
244 }
245 
246 void SAL_CALL OFixedLine::setControlBorder( ::sal_Int16 /*_border*/ )
247 {
248  throw beans::UnknownPropertyException();
249 }
250 
251 ::sal_Int32 SAL_CALL OFixedLine::getControlBorderColor()
252 {
253  throw beans::UnknownPropertyException();
254 }
255 
256 void SAL_CALL OFixedLine::setControlBorderColor( ::sal_Int32 /*_bordercolor*/ )
257 {
258  throw beans::UnknownPropertyException();
259 }
260 
261 uno::Reference< beans::XPropertySetInfo > SAL_CALL OFixedLine::getPropertySetInfo( )
262 {
263  return FixedLinePropertySet::getPropertySetInfo();
264 }
265 
266 void SAL_CALL OFixedLine::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue )
267 {
268  FixedLinePropertySet::setPropertyValue( aPropertyName, aValue );
269 }
270 
271 uno::Any SAL_CALL OFixedLine::getPropertyValue( const OUString& PropertyName )
272 {
273  return FixedLinePropertySet::getPropertyValue( PropertyName);
274 }
275 
276 void SAL_CALL OFixedLine::addPropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& xListener )
277 {
278  FixedLinePropertySet::addPropertyChangeListener( aPropertyName, xListener );
279 }
280 
281 void SAL_CALL OFixedLine::removePropertyChangeListener( const OUString& aPropertyName, const uno::Reference< beans::XPropertyChangeListener >& aListener )
282 {
283  FixedLinePropertySet::removePropertyChangeListener( aPropertyName, aListener );
284 }
285 
286 void SAL_CALL OFixedLine::addVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
287 {
288  FixedLinePropertySet::addVetoableChangeListener( PropertyName, aListener );
289 }
290 
291 void SAL_CALL OFixedLine::removeVetoableChangeListener( const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener >& aListener )
292 {
293  FixedLinePropertySet::removeVetoableChangeListener( PropertyName, aListener );
294 }
295 
296 // XReportControlModel
297 OUString SAL_CALL OFixedLine::getDataField()
298 {
299  throw beans::UnknownPropertyException();
300 }
301 
302 void SAL_CALL OFixedLine::setDataField( const OUString& /*_datafield*/ )
303 {
304  throw beans::UnknownPropertyException();
305 }
306 
307 ::sal_Int32 SAL_CALL OFixedLine::getControlBackground()
308 {
309  throw beans::UnknownPropertyException();
310 }
311 
312 void SAL_CALL OFixedLine::setControlBackground( ::sal_Int32 /*_backgroundcolor*/ )
313 {
314  throw beans::UnknownPropertyException();
315 }
316 
317 sal_Bool SAL_CALL OFixedLine::getControlBackgroundTransparent()
318 {
319  throw beans::UnknownPropertyException();
320 }
321 
322 void SAL_CALL OFixedLine::setControlBackgroundTransparent( sal_Bool /*_controlbackgroundtransparent*/ )
323 {
324  throw beans::UnknownPropertyException();
325 }
326 
327 sal_Bool SAL_CALL OFixedLine::getPrintWhenGroupChange()
328 {
329  throw beans::UnknownPropertyException();
330 }
331 
332 void SAL_CALL OFixedLine::setPrintWhenGroupChange( sal_Bool /*_printwhengroupchange*/ )
333 {
334  throw beans::UnknownPropertyException();
335 }
336 
337 OUString SAL_CALL OFixedLine::getConditionalPrintExpression()
338 {
339  throw beans::UnknownPropertyException();
340 }
341 
342 void SAL_CALL OFixedLine::setConditionalPrintExpression( const OUString& /*_conditionalprintexpression*/ )
343 {
344  throw beans::UnknownPropertyException();
345 }
346 
347 // XCloneable
348 uno::Reference< util::XCloneable > SAL_CALL OFixedLine::createClone( )
349 {
350  uno::Reference< report::XReportComponent> xSource = this;
351  uno::Reference< report::XFixedLine> xSet(cloneObject(xSource,m_aProps.aComponent.m_xFactory,SERVICE_FIXEDLINE),uno::UNO_QUERY_THROW);
352  return xSet;
353 }
354 
355 
356 // XFixedLine
357 
358 ::sal_Int32 SAL_CALL OFixedLine::getOrientation()
359 {
360  ::osl::MutexGuard aGuard(m_aMutex);
361  return m_nOrientation;
362 }
363 
364 void SAL_CALL OFixedLine::setOrientation( ::sal_Int32 _orientation )
365 {
366  set(PROPERTY_ORIENTATION,_orientation,m_nOrientation);
367 }
368 
369 drawing::LineStyle SAL_CALL OFixedLine::getLineStyle()
370 {
371  ::osl::MutexGuard aGuard(m_aMutex);
372  return m_LineStyle;
373 }
374 
375 void SAL_CALL OFixedLine::setLineStyle( drawing::LineStyle _linestyle )
376 {
377  set(PROPERTY_LINESTYLE,_linestyle,m_LineStyle);
378 }
379 
380 drawing::LineDash SAL_CALL OFixedLine::getLineDash()
381 {
382  ::osl::MutexGuard aGuard(m_aMutex);
383  return m_LineDash;
384 }
385 
386 void SAL_CALL OFixedLine::setLineDash( const drawing::LineDash& _linedash )
387 {
388  set(PROPERTY_LINEDASH,_linedash,m_LineDash);
389 }
390 
391 ::sal_Int32 SAL_CALL OFixedLine::getLineColor()
392 {
393  ::osl::MutexGuard aGuard(m_aMutex);
394  return m_LineColor;
395 }
396 
397 void SAL_CALL OFixedLine::setLineColor( ::sal_Int32 _linecolor )
398 {
399  set(PROPERTY_LINECOLOR,_linecolor,m_LineColor);
400 }
401 
402 ::sal_Int16 SAL_CALL OFixedLine::getLineTransparence()
403 {
404  ::osl::MutexGuard aGuard(m_aMutex);
405  return m_LineTransparence;
406 }
407 
408 void SAL_CALL OFixedLine::setLineTransparence( ::sal_Int16 _linetransparence )
409 {
410  set(PROPERTY_LINETRANSPARENCE,_linetransparence,m_LineTransparence);
411 }
412 
413 ::sal_Int32 SAL_CALL OFixedLine::getLineWidth()
414 {
415  ::osl::MutexGuard aGuard(m_aMutex);
416  return m_LineWidth;
417 }
418 
419 void SAL_CALL OFixedLine::setLineWidth( ::sal_Int32 _linewidth )
420 {
421  set(PROPERTY_LINEWIDTH,_linewidth,m_LineWidth);
422 }
423 
424 
425 // XChild
426 uno::Reference< uno::XInterface > SAL_CALL OFixedLine::getParent( )
427 {
428  return OShapeHelper::getParent(this);
429 }
430 
431 void SAL_CALL OFixedLine::setParent( const uno::Reference< uno::XInterface >& Parent )
432 {
433  OShapeHelper::setParent(Parent,this);
434 }
435 
436 uno::Reference< report::XFormatCondition > SAL_CALL OFixedLine::createFormatCondition( )
437 {
438  return new OFormatCondition(m_aProps.aComponent.m_xContext);
439 }
440 
441 // XContainer
442 void SAL_CALL OFixedLine::addContainerListener( const uno::Reference< container::XContainerListener >& xListener )
443 {
444  m_aProps.addContainerListener(xListener);
445 }
446 
447 void SAL_CALL OFixedLine::removeContainerListener( const uno::Reference< container::XContainerListener >& xListener )
448 {
449  m_aProps.removeContainerListener(xListener);
450 }
451 
452 // XElementAccess
453 uno::Type SAL_CALL OFixedLine::getElementType( )
454 {
456 }
457 
458 sal_Bool SAL_CALL OFixedLine::hasElements( )
459 {
460  return m_aProps.hasElements();
461 }
462 
463 // XIndexContainer
464 void SAL_CALL OFixedLine::insertByIndex( ::sal_Int32 Index, const uno::Any& Element )
465 {
466  m_aProps.insertByIndex(Index,Element);
467 }
468 
469 void SAL_CALL OFixedLine::removeByIndex( ::sal_Int32 Index )
470 {
471  m_aProps.removeByIndex(Index);
472 }
473 
474 // XIndexReplace
475 void SAL_CALL OFixedLine::replaceByIndex( ::sal_Int32 Index, const uno::Any& Element )
476 {
477  m_aProps.replaceByIndex(Index,Element);
478 }
479 
480 // XIndexAccess
481 ::sal_Int32 SAL_CALL OFixedLine::getCount( )
482 {
483  return m_aProps.getCount();
484 }
485 
486 uno::Any SAL_CALL OFixedLine::getByIndex( ::sal_Int32 Index )
487 {
488  return m_aProps.getByIndex( Index );
489 }
490 
491 // XShape
492 awt::Point SAL_CALL OFixedLine::getPosition( )
493 {
494  return OShapeHelper::getPosition(this);
495 }
496 
497 void SAL_CALL OFixedLine::setPosition( const awt::Point& aPosition )
498 {
499  OShapeHelper::setPosition(aPosition,this);
500 }
501 
502 awt::Size SAL_CALL OFixedLine::getSize( )
503 {
504  return OShapeHelper::getSize(this);
505 }
506 
507 void SAL_CALL OFixedLine::setSize( const awt::Size& aSize )
508 {
509  if ( aSize.Width < MIN_WIDTH && m_nOrientation == 1 )
510  throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + OUString::number(MIN_WIDTH) + "0 micrometer", static_cast<cppu::OWeakObject*>(this));
511  else if ( aSize.Height < MIN_HEIGHT && m_nOrientation == 0 )
512  throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + OUString::number(MIN_HEIGHT) + "0 micrometer", static_cast<cppu::OWeakObject*>(this));
513  OShapeHelper::setSize(aSize,this);
514 }
515 
516 // XShapeDescriptor
517 OUString SAL_CALL OFixedLine::getShapeType( )
518 {
519  ::osl::MutexGuard aGuard(m_aMutex);
520  if ( m_aProps.aComponent.m_xShape.is() )
521  return m_aProps.aComponent.m_xShape->getShapeType();
522  return "com.sun.star.drawing.ControlShape";
523 }
524 
525 OUString SAL_CALL OFixedLine::getHyperLinkURL()
526 {
527  throw beans::UnknownPropertyException();
528 }
529 void SAL_CALL OFixedLine::setHyperLinkURL(const OUString & /*the_value*/)
530 {
531  throw beans::UnknownPropertyException();
532 }
533 OUString SAL_CALL OFixedLine::getHyperLinkTarget()
534 {
535  throw beans::UnknownPropertyException();
536 }
537 void SAL_CALL OFixedLine::setHyperLinkTarget(const OUString & /*the_value*/)
538 {
539  throw beans::UnknownPropertyException();
540 }
541 OUString SAL_CALL OFixedLine::getHyperLinkName()
542 {
543  throw beans::UnknownPropertyException();
544 }
545 void SAL_CALL OFixedLine::setHyperLinkName(const OUString & /*the_value*/)
546 {
547  throw beans::UnknownPropertyException();
548 }
549 
550 NO_REPORTCONTROLFORMAT_IMPL(OFixedLine)
551 
552 sal_Bool SAL_CALL OFixedLine::getPrintRepeatedValues()
553 {
554  throw beans::UnknownPropertyException();
555 }
556 void SAL_CALL OFixedLine::setPrintRepeatedValues( sal_Bool /*_printrepeatedvalues*/ )
557 {
558  throw beans::UnknownPropertyException();
559 }
560 
561 
562 } // namespace reportdesign
563 
564 
565 /* 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
uno::Sequence< beans::Property > m_aProps
#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
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_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
#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()
#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