22#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
37: mxTable(
std::move( xTable ))
91 if( (nLeft >= 0 ) && (nTop >= 0) && (nRight >= nLeft) && (nBottom >= nTop) )
100 if( (nLeft < nMaxColumns) && (nRight < nMaxColumns) && (nTop < nMaxRows) && (nBottom < nMaxRows) )
102 return mxTable->getCellRangeByPosition( nLeft, nTop, nRight, nBottom );
105 throw IndexOutOfBoundsException();
111 return Reference< XCellRange >();
virtual sal_Int32 getLeft() override
virtual ~CellRange() override
virtual sal_Int32 getBottom() override
virtual css::uno::Reference< css::table::XTable > getTable() override
virtual sal_Int32 getRight() override
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName(const OUString &aRange) override
virtual sal_Int32 getTop() override
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition(sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom) override
CellRange(TableModelRef xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom)
virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition(sal_Int32 nColumn, sal_Int32 nRow) override