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 (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
 

Protected Attributes

TableModelRef mxTable
 
sal_Int32 mnLeft
 
sal_Int32 mnTop
 
sal_Int32 mnRight
 
sal_Int32 mnBottom
 

Detailed Description

Definition at line 31 of file cellrange.hxx.

Constructor & Destructor Documentation

◆ CellRange()

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

Definition at line 36 of file cellrange.cxx.

References mnBottom, mnLeft, mnRight, and mnTop.

◆ ~CellRange()

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

Definition at line 46 of file cellrange.cxx.

Member Function Documentation

◆ getBottom()

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

Definition at line 69 of file cellrange.cxx.

References mnBottom.

◆ getCellByPosition()

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

Definition at line 83 of file cellrange.cxx.

References mnLeft, mnTop, and mxTable.

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

◆ getCellRangeByName()

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

Definition at line 109 of file cellrange.cxx.

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

◆ getCellRangeByPosition()

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

Definition at line 89 of file cellrange.cxx.

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

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

◆ getLeft()

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

Definition at line 54 of file cellrange.cxx.

References mnLeft.

◆ getRight()

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

Definition at line 64 of file cellrange.cxx.

References mnRight.

◆ getTable()

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

Definition at line 74 of file cellrange.cxx.

References mxTable.

◆ getTop()

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

Definition at line 59 of file cellrange.cxx.

References mnTop.

Member Data Documentation

◆ mnBottom

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

Definition at line 54 of file cellrange.hxx.

Referenced by getBottom(), and getCellRangeByPosition().

◆ mnLeft

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

Definition at line 51 of file cellrange.hxx.

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

◆ mnRight

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

Definition at line 53 of file cellrange.hxx.

Referenced by getCellRangeByPosition(), and getRight().

◆ mnTop

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

Definition at line 52 of file cellrange.hxx.

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

◆ mxTable

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: