LibreOffice Module svx (master)  1
Public Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
sdr::table::TableRow Class Reference

#include <tablerow.hxx>

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

Public Member Functions

 TableRow (const TableModelRef &xTableModel, sal_Int32 nRow, sal_Int32 nColumns)
 
virtual ~TableRow () override
 
void dispose ()
 
void throwIfDisposed () const
 
TableRowoperator= (const TableRow &)
 
void insertColumns (sal_Int32 nIndex, sal_Int32 nCount, CellVector::iterator const *pIter)
 
void removeColumns (sal_Int32 nIndex, sal_Int32 nCount)
 
const TableModelRefgetModel () const
 Reference to the table model containing this row. More...
 
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
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual void SAL_CALL setFastPropertyValue (::sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (::sal_Int32 nHandle) override
 

Static Private Member Functions

static rtl::Reference< FastPropertySetInfogetStaticPropertySetInfo ()
 

Private Attributes

TableModelRef mxTableModel
 
CellVector maCells
 
sal_Int32 mnRow
 
sal_Int32 mnHeight
 
bool mbOptimalHeight
 
bool mbIsVisible
 
bool mbIsStartOfNewPage
 
OUString maName
 

Friends

class TableModel
 
class TableRowUndo
 

Detailed Description

Definition at line 35 of file tablerow.hxx.

Constructor & Destructor Documentation

sdr::table::TableRow::TableRow ( const TableModelRef xTableModel,
sal_Int32  nRow,
sal_Int32  nColumns 
)

Definition at line 45 of file tablerow.cxx.

References maCells, mnHeight, mnRow, and mxTableModel.

sdr::table::TableRow::~TableRow ( )
overridevirtual

Definition at line 66 of file tablerow.cxx.

Member Function Documentation

void sdr::table::TableRow::dispose ( void  )

Definition at line 71 of file tablerow.cxx.

References maCells, and mxTableModel.

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

Definition at line 159 of file tablerow.cxx.

References mnRow, mxTableModel, and throwIfDisposed().

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

Definition at line 180 of file tablerow.cxx.

References throwIfDisposed().

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

Definition at line 169 of file tablerow.cxx.

References mnRow, mxTableModel, and throwIfDisposed().

Any SAL_CALL sdr::table::TableRow::getFastPropertyValue ( ::sal_Int32  nHandle)
overridevirtual

Definition at line 294 of file tablerow.cxx.

References Any, mbIsStartOfNewPage, mbIsVisible, mbOptimalHeight, and mnHeight.

const TableModelRef & sdr::table::TableRow::getModel ( ) const

Reference to the table model containing this row.

Definition at line 151 of file tablerow.cxx.

References mxTableModel.

OUString SAL_CALL sdr::table::TableRow::getName ( )
overridevirtual

Definition at line 190 of file tablerow.cxx.

References maName.

rtl::Reference< FastPropertySetInfo > sdr::table::TableRow::getStaticPropertySetInfo ( )
staticprivate
void sdr::table::TableRow::insertColumns ( sal_Int32  nIndex,
sal_Int32  nCount,
CellVector::iterator const *  pIter 
)

Definition at line 103 of file tablerow.cxx.

References i, maCells, mxTableModel, and throwIfDisposed().

TableRow & sdr::table::TableRow::operator= ( const TableRow r)

Definition at line 90 of file tablerow.cxx.

References maName, mbIsStartOfNewPage, mbIsVisible, mbOptimalHeight, mnHeight, and mnRow.

void sdr::table::TableRow::removeColumns ( sal_Int32  nIndex,
sal_Int32  nCount 
)

Definition at line 122 of file tablerow.cxx.

References maCells, and throwIfDisposed().

void SAL_CALL sdr::table::TableRow::setFastPropertyValue ( ::sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overridevirtual
void SAL_CALL sdr::table::TableRow::setName ( const OUString &  aName)
overridevirtual

Definition at line 196 of file tablerow.cxx.

References maName.

void sdr::table::TableRow::throwIfDisposed ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 83 of file tablerow.cxx.

References mxTableModel.

Referenced by getCellByPosition(), getCellRangeByName(), getCellRangeByPosition(), insertColumns(), and removeColumns().

Friends And Related Function Documentation

friend class TableModel
friend

Definition at line 37 of file tablerow.hxx.

friend class TableRowUndo
friend

Definition at line 38 of file tablerow.hxx.

Referenced by setFastPropertyValue().

Member Data Documentation

CellVector sdr::table::TableRow::maCells
private

Definition at line 71 of file tablerow.hxx.

Referenced by dispose(), insertColumns(), removeColumns(), and TableRow().

OUString sdr::table::TableRow::maName
private

Definition at line 77 of file tablerow.hxx.

Referenced by getName(), operator=(), and setName().

bool sdr::table::TableRow::mbIsStartOfNewPage
private

Definition at line 76 of file tablerow.hxx.

Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().

bool sdr::table::TableRow::mbIsVisible
private

Definition at line 75 of file tablerow.hxx.

Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().

bool sdr::table::TableRow::mbOptimalHeight
private

Definition at line 74 of file tablerow.hxx.

Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().

sal_Int32 sdr::table::TableRow::mnHeight
private

Definition at line 73 of file tablerow.hxx.

Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().

sal_Int32 sdr::table::TableRow::mnRow
private

Definition at line 72 of file tablerow.hxx.

Referenced by getCellByPosition(), getCellRangeByPosition(), and operator=().

TableModelRef sdr::table::TableRow::mxTableModel
private

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