LibreOffice Module svx (master)  1
Public Member Functions | Protected Attributes | List of all members
sdr::table::CellRange Class Reference

#include <cellrange.hxx>

Inheritance diagram for sdr::table::CellRange:
[legend]
Collaboration diagram for sdr::table::CellRange:
[legend]

Public Member Functions

 CellRange (const TableModelRef &xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom)
 
virtual ~CellRange () override
 
virtual sal_Int32 getLeft () override
 
virtual sal_Int32 getTop () override
 
virtual sal_Int32 getRight () override
 
virtual sal_Int32 getBottom () override
 
virtual css::uno::Reference< css::table::XTable > getTable () override
 
virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition (sal_Int32 nColumn, sal_Int32 nRow) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition (sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom) override
 
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName (const OUString &aRange) override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper1< css::table::XCellRange >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Protected Attributes

TableModelRef mxTable
 
sal_Int32 mnLeft
 
sal_Int32 mnTop
 
sal_Int32 mnRight
 
sal_Int32 mnBottom
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from sdr::table::ICellRange
 ~ICellRange ()
 

Detailed Description

Definition at line 31 of file cellrange.hxx.

Constructor & Destructor Documentation

sdr::table::CellRange::CellRange ( const TableModelRef xTable,
sal_Int32  nLeft,
sal_Int32  nTop,
sal_Int32  nRight,
sal_Int32  nBottom 
)

Definition at line 35 of file cellrange.cxx.

References mnBottom, mnLeft, mnRight, and mnTop.

sdr::table::CellRange::~CellRange ( )
overridevirtual

Definition at line 45 of file cellrange.cxx.

Member Function Documentation

sal_Int32 sdr::table::CellRange::getBottom ( )
overridevirtual

Implements sdr::table::ICellRange.

Definition at line 68 of file cellrange.cxx.

References mnBottom.

Reference< XCell > SAL_CALL sdr::table::CellRange::getCellByPosition ( sal_Int32  nColumn,
sal_Int32  nRow 
)
overridevirtual

Definition at line 82 of file cellrange.cxx.

References mnLeft, mnTop, and mxTable.

Referenced by sdr::table::CellCursor::getCellByPosition().

Reference< XCellRange > SAL_CALL sdr::table::CellRange::getCellRangeByName ( const OUString &  aRange)
overridevirtual

Definition at line 108 of file cellrange.cxx.

Referenced by sdr::table::CellCursor::getCellRangeByName().

Reference< XCellRange > SAL_CALL sdr::table::CellRange::getCellRangeByPosition ( sal_Int32  nLeft,
sal_Int32  nTop,
sal_Int32  nRight,
sal_Int32  nBottom 
)
overridevirtual

Definition at line 88 of file cellrange.cxx.

References mnBottom, mnLeft, mnRight, mnTop, and mxTable.

Referenced by sdr::table::CellCursor::getCellRangeByPosition().

sal_Int32 sdr::table::CellRange::getLeft ( )
overridevirtual

Implements sdr::table::ICellRange.

Definition at line 53 of file cellrange.cxx.

References mnLeft.

sal_Int32 sdr::table::CellRange::getRight ( )
overridevirtual

Implements sdr::table::ICellRange.

Definition at line 63 of file cellrange.cxx.

References mnRight.

Reference< XTable > sdr::table::CellRange::getTable ( )
overridevirtual

Implements sdr::table::ICellRange.

Definition at line 73 of file cellrange.cxx.

References mxTable.

sal_Int32 sdr::table::CellRange::getTop ( )
overridevirtual

Implements sdr::table::ICellRange.

Definition at line 58 of file cellrange.cxx.

References mnTop.

Member Data Documentation

sal_Int32 sdr::table::CellRange::mnBottom
protected

Definition at line 54 of file cellrange.hxx.

Referenced by getBottom(), and getCellRangeByPosition().

sal_Int32 sdr::table::CellRange::mnLeft
protected

Definition at line 51 of file cellrange.hxx.

Referenced by getCellByPosition(), getCellRangeByPosition(), and getLeft().

sal_Int32 sdr::table::CellRange::mnRight
protected

Definition at line 53 of file cellrange.hxx.

Referenced by getCellRangeByPosition(), and getRight().

sal_Int32 sdr::table::CellRange::mnTop
protected

Definition at line 52 of file cellrange.hxx.

Referenced by getCellByPosition(), getCellRangeByPosition(), and getTop().

TableModelRef sdr::table::CellRange::mxTable
protected

Definition at line 50 of file cellrange.hxx.

Referenced by getCellByPosition(), getCellRangeByPosition(), and getTable().


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