LibreOffice Module reportdesign (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
reportdesign::OFixedLine Class Referencefinal

implementation of a More...

#include <FixedLine.hxx>

Inheritance diagram for reportdesign::OFixedLine:
[legend]
Collaboration diagram for reportdesign::OFixedLine:
[legend]

Public Member Functions

 OFixedLine (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
 OFixedLine (css::uno::Reference< css::uno::XComponentContext > const &_xContext, const css::uno::Reference< css::lang::XMultiServiceFactory > &_xFactory, css::uno::Reference< css::drawing::XShape > &_xShape, sal_Int32 _nOrientation)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual OUString SAL_CALL getShapeType () override
 
virtual ::sal_Int32 SAL_CALL getOrientation () override
 
virtual void SAL_CALL setOrientation (::sal_Int32 _orientation) override
 
virtual css::drawing::LineStyle SAL_CALL getLineStyle () override
 
virtual void SAL_CALL setLineStyle (css::drawing::LineStyle _linestyle) override
 
virtual css::drawing::LineDash SAL_CALL getLineDash () override
 
virtual void SAL_CALL setLineDash (const css::drawing::LineDash &_linedash) override
 
virtual ::sal_Int32 SAL_CALL getLineColor () override
 
virtual void SAL_CALL setLineColor (::sal_Int32 _linecolor) override
 
virtual ::sal_Int16 SAL_CALL getLineTransparence () override
 
virtual void SAL_CALL setLineTransparence (::sal_Int16 _linetransparence) override
 
virtual ::sal_Int32 SAL_CALL getLineWidth () override
 
virtual void SAL_CALL setLineWidth (::sal_Int32 _linewidth) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL insertByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (::sal_Int32 Index) override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 

Static Public Member Functions

static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
static OUString getImplementationName_Static ()
 
static css::uno::Reference< css::uno::XInterface > create (css::uno::Reference< css::uno::XComponentContext > const &xContext)
 

Private Member Functions

 OFixedLine (const OFixedLine &)=delete
 
OFixedLineoperator= (const OFixedLine &)=delete
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
virtual ~OFixedLine () override
 

Private Attributes

OReportControlModel m_aProps
 
css::drawing::LineStyle m_LineStyle
 
css::drawing::LineDash m_LineDash
 
sal_Int32 m_nOrientation
 
::sal_Int32 m_LineColor
 
::sal_Int16 m_LineTransparence
 
::sal_Int32 m_LineWidth
 

Friends

class OShapeHelper
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- Protected Member Functions inherited from cppu::PropertySetMixin< typename T >
 PropertySetMixin (css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
 
 ~PropertySetMixin ()
 
- Protected Member Functions inherited from cppu::PropertySetMixinImpl
void prepareSet (rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
 
void dispose ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &type) SAL_OVERRIDE
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValue (rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (rtl::OUString const &propertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 handle) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::PropertySetMixinImpl
 IMPLEMENTS_PROPERTY_SET
 
 IMPLEMENTS_FAST_PROPERTY_SET
 
 IMPLEMENTS_PROPERTY_ACCESS
 

Detailed Description

implementation of a

Definition at line 42 of file FixedLine.hxx.

Constructor & Destructor Documentation

◆ OFixedLine() [1/3]

reportdesign::OFixedLine::OFixedLine ( const OFixedLine )
privatedelete

◆ ~OFixedLine()

reportdesign::OFixedLine::~OFixedLine ( )
overrideprivatevirtual

Definition at line 180 of file FixedLine.cxx.

◆ OFixedLine() [2/3]

reportdesign::OFixedLine::OFixedLine ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit

◆ OFixedLine() [3/3]

reportdesign::OFixedLine::OFixedLine ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext,
const css::uno::Reference< css::lang::XMultiServiceFactory > &  _xFactory,
css::uno::Reference< css::drawing::XShape > &  _xShape,
sal_Int32  _nOrientation 
)
explicit

References DECLARE_XINTERFACE.

Member Function Documentation

◆ addContainerListener()

void SAL_CALL reportdesign::OFixedLine::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 442 of file FixedLine.cxx.

References m_aProps.

◆ addEventListener()

virtual void SAL_CALL reportdesign::OFixedLine::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 134 of file FixedLine.hxx.

◆ addPropertyChangeListener()

void SAL_CALL reportdesign::OFixedLine::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 276 of file FixedLine.cxx.

◆ addVetoableChangeListener()

void SAL_CALL reportdesign::OFixedLine::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 286 of file FixedLine.cxx.

◆ create()

uno::Reference< uno::XInterface > reportdesign::OFixedLine::create ( css::uno::Reference< css::uno::XComponentContext > const &  xContext)
static

Definition at line 221 of file FixedLine.cxx.

◆ createClone()

uno::Reference< util::XCloneable > SAL_CALL reportdesign::OFixedLine::createClone ( )
overridevirtual

Definition at line 348 of file FixedLine.cxx.

References reportdesign::cloneObject(), m_aProps, and SERVICE_FIXEDLINE.

◆ dispose()

void SAL_CALL reportdesign::OFixedLine::dispose ( void  )
overridevirtual

Definition at line 197 of file FixedLine.cxx.

◆ getByIndex()

uno::Any SAL_CALL reportdesign::OFixedLine::getByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 486 of file FixedLine.cxx.

References m_aProps.

◆ getCount()

sal_Int32 SAL_CALL reportdesign::OFixedLine::getCount ( )
override

Definition at line 481 of file FixedLine.cxx.

References m_aProps.

◆ getElementType()

uno::Type SAL_CALL reportdesign::OFixedLine::getElementType ( )
overridevirtual

Definition at line 453 of file FixedLine.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

OUString SAL_CALL reportdesign::OFixedLine::getImplementationName ( )
overridevirtual

Definition at line 209 of file FixedLine.cxx.

◆ getImplementationName_Static()

OUString reportdesign::OFixedLine::getImplementationName_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 203 of file FixedLine.cxx.

◆ getLineColor()

sal_Int32 SAL_CALL reportdesign::OFixedLine::getLineColor ( )
override

Definition at line 391 of file FixedLine.cxx.

References m_aMutex.

◆ getLineDash()

drawing::LineDash SAL_CALL reportdesign::OFixedLine::getLineDash ( )
overridevirtual

Definition at line 380 of file FixedLine.cxx.

References m_aMutex.

◆ getLineStyle()

drawing::LineStyle SAL_CALL reportdesign::OFixedLine::getLineStyle ( )
overridevirtual

Definition at line 369 of file FixedLine.cxx.

References m_aMutex.

◆ getLineTransparence()

sal_Int16 SAL_CALL reportdesign::OFixedLine::getLineTransparence ( )
override

Definition at line 402 of file FixedLine.cxx.

References m_aMutex.

◆ getLineWidth()

sal_Int32 SAL_CALL reportdesign::OFixedLine::getLineWidth ( )
override

Definition at line 413 of file FixedLine.cxx.

References m_aMutex.

◆ getOrientation()

sal_Int32 SAL_CALL reportdesign::OFixedLine::getOrientation ( )
override

Definition at line 358 of file FixedLine.cxx.

References m_aMutex.

◆ getParent()

uno::Reference< uno::XInterface > SAL_CALL reportdesign::OFixedLine::getParent ( )
overridevirtual

Definition at line 426 of file FixedLine.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL reportdesign::OFixedLine::getPropertySetInfo ( )
overridevirtual

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 261 of file FixedLine.cxx.

◆ getPropertyValue()

uno::Any SAL_CALL reportdesign::OFixedLine::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 271 of file FixedLine.cxx.

◆ getShapeType()

OUString SAL_CALL reportdesign::OFixedLine::getShapeType ( )
overridevirtual

Definition at line 517 of file FixedLine.cxx.

References m_aMutex, and m_aProps.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL reportdesign::OFixedLine::getSupportedServiceNames ( )
overridevirtual

Definition at line 227 of file FixedLine.cxx.

◆ getSupportedServiceNames_Static()

uno::Sequence< OUString > reportdesign::OFixedLine::getSupportedServiceNames_Static ( )
static
Exceptions
css::uno::RuntimeException

Definition at line 214 of file FixedLine.cxx.

References SERVICE_FIXEDLINE.

◆ hasElements()

sal_Bool SAL_CALL reportdesign::OFixedLine::hasElements ( )
overridevirtual

Definition at line 458 of file FixedLine.cxx.

References m_aProps.

◆ insertByIndex()

void SAL_CALL reportdesign::OFixedLine::insertByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 464 of file FixedLine.cxx.

References m_aProps.

◆ operator=()

OFixedLine & reportdesign::OFixedLine::operator= ( const OFixedLine )
privatedelete

◆ removeByIndex()

void SAL_CALL reportdesign::OFixedLine::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 469 of file FixedLine.cxx.

References m_aProps.

◆ removeContainerListener()

void SAL_CALL reportdesign::OFixedLine::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 447 of file FixedLine.cxx.

References m_aProps.

◆ removeEventListener()

virtual void SAL_CALL reportdesign::OFixedLine::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 138 of file FixedLine.hxx.

◆ removePropertyChangeListener()

void SAL_CALL reportdesign::OFixedLine::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 281 of file FixedLine.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL reportdesign::OFixedLine::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 291 of file FixedLine.cxx.

◆ replaceByIndex()

void SAL_CALL reportdesign::OFixedLine::replaceByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 475 of file FixedLine.cxx.

References m_aProps.

◆ set()

template<typename T >
void reportdesign::OFixedLine::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate

◆ setLineColor()

void SAL_CALL reportdesign::OFixedLine::setLineColor ( ::sal_Int32  _linecolor)
overridevirtual

Definition at line 397 of file FixedLine.cxx.

References PROPERTY_LINECOLOR, and set().

◆ setLineDash()

void SAL_CALL reportdesign::OFixedLine::setLineDash ( const css::drawing::LineDash &  _linedash)
overridevirtual

Definition at line 386 of file FixedLine.cxx.

References PROPERTY_LINEDASH, and set().

◆ setLineStyle()

void SAL_CALL reportdesign::OFixedLine::setLineStyle ( css::drawing::LineStyle  _linestyle)
overridevirtual

Definition at line 375 of file FixedLine.cxx.

References PROPERTY_LINESTYLE, and set().

◆ setLineTransparence()

void SAL_CALL reportdesign::OFixedLine::setLineTransparence ( ::sal_Int16  _linetransparence)
overridevirtual

Definition at line 408 of file FixedLine.cxx.

References PROPERTY_LINETRANSPARENCE, and set().

◆ setLineWidth()

void SAL_CALL reportdesign::OFixedLine::setLineWidth ( ::sal_Int32  _linewidth)
overridevirtual

Definition at line 419 of file FixedLine.cxx.

References PROPERTY_LINEWIDTH, and set().

◆ setOrientation()

void SAL_CALL reportdesign::OFixedLine::setOrientation ( ::sal_Int32  _orientation)
overridevirtual

Definition at line 364 of file FixedLine.cxx.

References PROPERTY_ORIENTATION, and set().

◆ setParent()

void SAL_CALL reportdesign::OFixedLine::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 431 of file FixedLine.cxx.

References Parent.

◆ setPropertyValue()

void SAL_CALL reportdesign::OFixedLine::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 266 of file FixedLine.cxx.

◆ supportsService()

sal_Bool SAL_CALL reportdesign::OFixedLine::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 232 of file FixedLine.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ OShapeHelper

friend class OShapeHelper
friend

Definition at line 46 of file FixedLine.hxx.

Member Data Documentation

◆ m_aProps

OReportControlModel reportdesign::OFixedLine::m_aProps
private

Definition at line 47 of file FixedLine.hxx.

◆ m_LineColor

::sal_Int32 reportdesign::OFixedLine::m_LineColor
private

Definition at line 51 of file FixedLine.hxx.

◆ m_LineDash

css::drawing::LineDash reportdesign::OFixedLine::m_LineDash
private

Definition at line 49 of file FixedLine.hxx.

◆ m_LineStyle

css::drawing::LineStyle reportdesign::OFixedLine::m_LineStyle
private

Definition at line 48 of file FixedLine.hxx.

◆ m_LineTransparence

::sal_Int16 reportdesign::OFixedLine::m_LineTransparence
private

Definition at line 52 of file FixedLine.hxx.

◆ m_LineWidth

::sal_Int32 reportdesign::OFixedLine::m_LineWidth
private

Definition at line 53 of file FixedLine.hxx.

◆ m_nOrientation

sal_Int32 reportdesign::OFixedLine::m_nOrientation
private

Definition at line 50 of file FixedLine.hxx.


The documentation for this class was generated from the following files: