LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScVbaBorders Class Reference

#include <vbaborders.hxx>

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

Public Member Functions

 ScVbaBorders (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::table::XCellRange > &xRange, const ScVbaPalette &rPalette)
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual css::uno::Any SAL_CALL getColor () override
 
virtual void SAL_CALL setColor (const css::uno::Any &_color) override
 
virtual css::uno::Any SAL_CALL getColorIndex () override
 
virtual void SAL_CALL setColorIndex (const css::uno::Any &_colorindex) override
 
virtual css::uno::Any SAL_CALL getLineStyle () override
 
virtual void SAL_CALL setLineStyle (const css::uno::Any &_linestyle) override
 
virtual css::uno::Any SAL_CALL getWeight () override
 
virtual void SAL_CALL setWeight (const css::uno::Any &) override
 
virtual css::uno::Any SAL_CALL getTintAndShade () override
 
virtual void SAL_CALL setTintAndShade (const css::uno::Any &) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from CollTestImplHelper< typename... Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override=0
 
virtual css::uno::Type SAL_CALL getElementType () override=0
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource)=0
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< 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 css::uno::Any getItemByIntIndex (const sal_Int32 nIndex) override
 

Private Attributes

bool bRangeIsSingleCell
 
css::uno::Reference< css::beans::XPropertySetm_xProps
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 31 of file vbaborders.hxx.

Constructor & Destructor Documentation

◆ ScVbaBorders()

ScVbaBorders::ScVbaBorders ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::table::XCellRange > &  xRange,
const ScVbaPalette rPalette 
)

Definition at line 388 of file vbaborders.cxx.

References bRangeIsSingleCell, and m_xProps.

Member Function Documentation

◆ createCollectionObject()

uno::Any ScVbaBorders::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > ScVbaBorders::createEnumeration ( )
overridevirtual

◆ getColor()

uno::Any SAL_CALL ScVbaBorders::getColor ( )
overridevirtual

◆ getColorIndex()

uno::Any SAL_CALL ScVbaBorders::getColorIndex ( )
overridevirtual

◆ getElementType()

uno::Type ScVbaBorders::getElementType ( )
overridevirtual

◆ getItemByIntIndex()

uno::Any ScVbaBorders::getItemByIntIndex ( const sal_Int32  nIndex)
overrideprivatevirtual

◆ getLineStyle()

uno::Any SAL_CALL ScVbaBorders::getLineStyle ( )
overridevirtual

Definition at line 505 of file vbaborders.cxx.

References bRangeIsSingleCell, lcl_areAllLineWidthsSame(), m_xProps, and sTableBorder.

◆ getServiceImplName()

OUString ScVbaBorders::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 577 of file vbaborders.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaBorders::getServiceNames ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 583 of file vbaborders.cxx.

References aServiceNames.

◆ getTintAndShade()

uno::Any SAL_CALL ScVbaBorders::getTintAndShade ( )
overridevirtual

Definition at line 555 of file vbaborders.cxx.

◆ getWeight()

uno::Any SAL_CALL ScVbaBorders::getWeight ( )
overridevirtual

◆ setColor()

void SAL_CALL ScVbaBorders::setColor ( const css::uno::Any &  _color)
overridevirtual

◆ setColorIndex()

void SAL_CALL ScVbaBorders::setColorIndex ( const css::uno::Any &  _colorindex)
overridevirtual

◆ setLineStyle()

void SAL_CALL ScVbaBorders::setLineStyle ( const css::uno::Any &  _linestyle)
overridevirtual

◆ setTintAndShade()

void SAL_CALL ScVbaBorders::setTintAndShade ( const css::uno::Any &  )
overridevirtual

Definition at line 561 of file vbaborders.cxx.

◆ setWeight()

void SAL_CALL ScVbaBorders::setWeight ( const css::uno::Any &  )
overridevirtual

Member Data Documentation

◆ bRangeIsSingleCell

bool ScVbaBorders::bRangeIsSingleCell
private

Definition at line 35 of file vbaborders.hxx.

Referenced by getLineStyle(), and ScVbaBorders().

◆ m_xProps

css::uno::Reference< css::beans::XPropertySet > ScVbaBorders::m_xProps
private

Definition at line 36 of file vbaborders.hxx.

Referenced by getLineStyle(), and ScVbaBorders().


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