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< 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, const 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 sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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)
 
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 ( 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 387 of file vbaborders.cxx.

References bRangeIsSingleCell, and m_xProps.

Member Function Documentation

uno::Any ScVbaBorders::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > ScVbaBorders::createEnumeration ( )
overridevirtual
uno::Any SAL_CALL ScVbaBorders::getColor ( )
overridevirtual
uno::Any SAL_CALL ScVbaBorders::getColorIndex ( )
overridevirtual
uno::Type ScVbaBorders::getElementType ( )
overridevirtual
uno::Any ScVbaBorders::getItemByIntIndex ( const sal_Int32  nIndex)
overrideprivatevirtual
uno::Any SAL_CALL ScVbaBorders::getLineStyle ( )
overridevirtual

Definition at line 504 of file vbaborders.cxx.

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

OUString ScVbaBorders::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 576 of file vbaborders.cxx.

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

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 582 of file vbaborders.cxx.

References aServiceNames.

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

Definition at line 554 of file vbaborders.cxx.

uno::Any SAL_CALL ScVbaBorders::getWeight ( )
overridevirtual
void SAL_CALL ScVbaBorders::setColor ( const css::uno::Any &  _color)
overridevirtual
void SAL_CALL ScVbaBorders::setColorIndex ( const css::uno::Any &  _colorindex)
overridevirtual
void SAL_CALL ScVbaBorders::setLineStyle ( const css::uno::Any &  _linestyle)
overridevirtual
void SAL_CALL ScVbaBorders::setTintAndShade ( const css::uno::Any &  )
overridevirtual

Definition at line 560 of file vbaborders.cxx.

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

Member Data Documentation

bool ScVbaBorders::bRangeIsSingleCell
private

Definition at line 35 of file vbaborders.hxx.

Referenced by getLineStyle(), and ScVbaBorders().

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: