LibreOffice Module vbahelper (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScVbaLineFormat Class Reference

#include <vbalineformat.hxx>

Inheritance diagram for ScVbaLineFormat:
[legend]
Collaboration diagram for ScVbaLineFormat:
[legend]

Public Member Functions

 ScVbaLineFormat (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::drawing::XShape > &xShape)
 
virtual sal_Int32 SAL_CALL getBeginArrowheadStyle () override
 
virtual void SAL_CALL setBeginArrowheadStyle (sal_Int32 _beginarrowheadstyle) override
 
virtual sal_Int32 SAL_CALL getBeginArrowheadLength () override
 
virtual void SAL_CALL setBeginArrowheadLength (sal_Int32 _beginarrowheadlength) override
 
virtual sal_Int32 SAL_CALL getBeginArrowheadWidth () override
 
virtual void SAL_CALL setBeginArrowheadWidth (sal_Int32 _beginarrowheadwidth) override
 
virtual sal_Int32 SAL_CALL getEndArrowheadStylel () override
 
virtual void SAL_CALL setEndArrowheadStylel (sal_Int32 _endarrowheadstylel) override
 
virtual sal_Int32 SAL_CALL getEndArrowheadLength () override
 
virtual void SAL_CALL setEndArrowheadLength (sal_Int32 _endarrowheadlength) override
 
virtual sal_Int32 SAL_CALL getEndArrowheadWidth () override
 
virtual void SAL_CALL setEndArrowheadWidth (sal_Int32 _endarrowheadwidth) override
 
virtual double SAL_CALL getWeight () override
 
virtual void SAL_CALL setWeight (double _weight) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool _visible) override
 
virtual double SAL_CALL getTransparency () override
 
virtual void SAL_CALL setTransparency (double _transparency) override
 
virtual sal_Int16 SAL_CALL getStyle () override
 
virtual void SAL_CALL setStyle (sal_Int16 _style) override
 
virtual sal_Int32 SAL_CALL getDashStyle () override
 
virtual void SAL_CALL setDashStyle (sal_Int32 _dashstyle) override
 
virtual css::uno::Reference< ov::msforms::XColorFormat > SAL_CALL BackColor () override
 
virtual css::uno::Reference< ov::msforms::XColorFormat > SAL_CALL ForeColor () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Static Private Member Functions

static sal_Int32 convertLineStartEndNameToArrowheadStyle (std::u16string_view sLineName)
 
static OUString convertArrowheadStyleToLineStartEndName (sal_Int32 nArrowheadStyle)
 

Private Attributes

css::uno::Reference< css::drawing::XShape > m_xShape
 
css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 
sal_Int32 m_nLineDashStyle
 
double m_nLineWeight
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 29 of file vbalineformat.hxx.

Constructor & Destructor Documentation

◆ ScVbaLineFormat()

ScVbaLineFormat::ScVbaLineFormat ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::drawing::XShape > &  xShape 
)

Definition at line 29 of file vbalineformat.cxx.

References m_nLineDashStyle, m_nLineWeight, and m_xPropertySet.

Member Function Documentation

◆ BackColor()

uno::Reference< msforms::XColorFormat > SAL_CALL ScVbaLineFormat::BackColor ( )
overridevirtual

◆ convertArrowheadStyleToLineStartEndName()

OUString ScVbaLineFormat::convertArrowheadStyleToLineStartEndName ( sal_Int32  nArrowheadStyle)
staticprivate
Exceptions
css::uno::RuntimeException

Definition at line 75 of file vbalineformat.cxx.

Referenced by setBeginArrowheadStyle().

◆ convertLineStartEndNameToArrowheadStyle()

sal_Int32 ScVbaLineFormat::convertLineStartEndNameToArrowheadStyle ( std::u16string_view  sLineName)
staticprivate

Definition at line 37 of file vbalineformat.cxx.

References u.

Referenced by getBeginArrowheadStyle().

◆ ForeColor()

uno::Reference< msforms::XColorFormat > SAL_CALL ScVbaLineFormat::ForeColor ( )
overridevirtual

◆ getBeginArrowheadLength()

sal_Int32 SAL_CALL ScVbaLineFormat::getBeginArrowheadLength ( )
overridevirtual

Definition at line 125 of file vbalineformat.cxx.

◆ getBeginArrowheadStyle()

sal_Int32 SAL_CALL ScVbaLineFormat::getBeginArrowheadStyle ( )
overridevirtual

◆ getBeginArrowheadWidth()

sal_Int32 SAL_CALL ScVbaLineFormat::getBeginArrowheadWidth ( )
overridevirtual

Definition at line 141 of file vbalineformat.cxx.

◆ getDashStyle()

sal_Int32 SAL_CALL ScVbaLineFormat::getDashStyle ( )
overridevirtual

Definition at line 290 of file vbalineformat.cxx.

References m_nLineDashStyle, and m_xPropertySet.

◆ getEndArrowheadLength()

sal_Int32 SAL_CALL ScVbaLineFormat::getEndArrowheadLength ( )
overridevirtual

Definition at line 170 of file vbalineformat.cxx.

◆ getEndArrowheadStylel()

sal_Int32 SAL_CALL ScVbaLineFormat::getEndArrowheadStylel ( )
overridevirtual

Definition at line 157 of file vbalineformat.cxx.

◆ getEndArrowheadWidth()

sal_Int32 SAL_CALL ScVbaLineFormat::getEndArrowheadWidth ( )
overridevirtual

Definition at line 185 of file vbalineformat.cxx.

◆ getServiceImplName()

OUString ScVbaLineFormat::getServiceImplName ( )
overrideprivatevirtual

◆ getServiceNames()

uno::Sequence< OUString > ScVbaLineFormat::getServiceNames ( )
overrideprivatevirtual

◆ getStyle()

sal_Int16 SAL_CALL ScVbaLineFormat::getStyle ( )
overridevirtual

Definition at line 271 of file vbalineformat.cxx.

◆ getTransparency()

double SAL_CALL ScVbaLineFormat::getTransparency ( )
overridevirtual

Definition at line 255 of file vbalineformat.cxx.

References m_xPropertySet.

◆ getVisible()

sal_Bool SAL_CALL ScVbaLineFormat::getVisible ( )
overridevirtual

Definition at line 224 of file vbalineformat.cxx.

References m_xPropertySet.

◆ getWeight()

double SAL_CALL ScVbaLineFormat::getWeight ( )
overridevirtual

Definition at line 199 of file vbalineformat.cxx.

References m_xPropertySet, and nLineWidth.

◆ setBeginArrowheadLength()

void SAL_CALL ScVbaLineFormat::setBeginArrowheadLength ( sal_Int32  _beginarrowheadlength)
overridevirtual

Definition at line 133 of file vbalineformat.cxx.

◆ setBeginArrowheadStyle()

void SAL_CALL ScVbaLineFormat::setBeginArrowheadStyle ( sal_Int32  _beginarrowheadstyle)
overridevirtual

Definition at line 118 of file vbalineformat.cxx.

References convertArrowheadStyleToLineStartEndName(), and m_xPropertySet.

◆ setBeginArrowheadWidth()

void SAL_CALL ScVbaLineFormat::setBeginArrowheadWidth ( sal_Int32  _beginarrowheadwidth)
overridevirtual

Definition at line 149 of file vbalineformat.cxx.

◆ setDashStyle()

void SAL_CALL ScVbaLineFormat::setDashStyle ( sal_Int32  _dashstyle)
overridevirtual

◆ setEndArrowheadLength()

void SAL_CALL ScVbaLineFormat::setEndArrowheadLength ( sal_Int32  _endarrowheadlength)
overridevirtual

Definition at line 178 of file vbalineformat.cxx.

◆ setEndArrowheadStylel()

void SAL_CALL ScVbaLineFormat::setEndArrowheadStylel ( sal_Int32  _endarrowheadstylel)
overridevirtual

Definition at line 164 of file vbalineformat.cxx.

◆ setEndArrowheadWidth()

void SAL_CALL ScVbaLineFormat::setEndArrowheadWidth ( sal_Int32  _endarrowheadwidth)
overridevirtual

Definition at line 192 of file vbalineformat.cxx.

◆ setStyle()

void SAL_CALL ScVbaLineFormat::setStyle ( sal_Int16  _style)
overridevirtual

Definition at line 279 of file vbalineformat.cxx.

◆ setTransparency()

void SAL_CALL ScVbaLineFormat::setTransparency ( double  _transparency)
overridevirtual

Definition at line 264 of file vbalineformat.cxx.

References m_xPropertySet.

◆ setVisible()

void SAL_CALL ScVbaLineFormat::setVisible ( sal_Bool  _visible)
overridevirtual

Definition at line 236 of file vbalineformat.cxx.

References m_nLineDashStyle, m_xPropertySet, and setDashStyle().

◆ setWeight()

void SAL_CALL ScVbaLineFormat::setWeight ( double  _weight)
overridevirtual

Member Data Documentation

◆ m_nLineDashStyle

sal_Int32 ScVbaLineFormat::m_nLineDashStyle
private

Definition at line 34 of file vbalineformat.hxx.

Referenced by getDashStyle(), ScVbaLineFormat(), setDashStyle(), setVisible(), and setWeight().

◆ m_nLineWeight

double ScVbaLineFormat::m_nLineWeight
private

Definition at line 35 of file vbalineformat.hxx.

Referenced by ScVbaLineFormat(), setDashStyle(), and setWeight().

◆ m_xPropertySet

css::uno::Reference< css::beans::XPropertySet > ScVbaLineFormat::m_xPropertySet
private

◆ m_xShape

css::uno::Reference< css::drawing::XShape > ScVbaLineFormat::m_xShape
private

Definition at line 32 of file vbalineformat.hxx.

Referenced by BackColor(), and ForeColor().


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