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 (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
 
- Public Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 ()
 
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_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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
 

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
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 (T1 const &arg1)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Detailed Description

Definition at line 35 of file tablerow.hxx.

Constructor & Destructor Documentation

◆ TableRow()

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

Definition at line 46 of file tablerow.cxx.

References maCells, mnHeight, and mxTableModel.

◆ ~TableRow()

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

Definition at line 67 of file tablerow.cxx.

Member Function Documentation

◆ dispose()

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

Definition at line 72 of file tablerow.cxx.

References maCells, and mxTableModel.

◆ getCellByPosition()

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

Definition at line 160 of file tablerow.cxx.

References mnRow, mxTableModel, and throwIfDisposed().

◆ getCellRangeByName()

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

Definition at line 181 of file tablerow.cxx.

References throwIfDisposed().

◆ getCellRangeByPosition()

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

Definition at line 170 of file tablerow.cxx.

References mnRow, mxTableModel, and throwIfDisposed().

◆ getFastPropertyValue()

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

◆ getModel()

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

Reference to the table model containing this row.

Definition at line 152 of file tablerow.cxx.

References mxTableModel.

◆ getName()

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

Definition at line 191 of file tablerow.cxx.

References maName.

◆ getStaticPropertySetInfo()

rtl::Reference< FastPropertySetInfo > sdr::table::TableRow::getStaticPropertySetInfo ( )
staticprivate

◆ insertColumns()

void sdr::table::TableRow::insertColumns ( sal_Int32  nIndex,
sal_Int32  nCount,
CellVector::iterator const *  pIter 
)

Definition at line 104 of file tablerow.cxx.

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

◆ operator=()

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

Definition at line 91 of file tablerow.cxx.

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

◆ removeColumns()

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

Definition at line 123 of file tablerow.cxx.

References maCells, nCount, nIndex, and throwIfDisposed().

◆ setFastPropertyValue()

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

◆ setName()

void SAL_CALL sdr::table::TableRow::setName ( const OUString &  aName)
overridevirtual

Definition at line 197 of file tablerow.cxx.

References aName, and maName.

◆ throwIfDisposed()

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

Definition at line 84 of file tablerow.cxx.

References mxTableModel.

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

Friends And Related Function Documentation

◆ TableModel

friend class TableModel
friend

Definition at line 37 of file tablerow.hxx.

◆ TableRowUndo

friend class TableRowUndo
friend

Definition at line 38 of file tablerow.hxx.

Referenced by setFastPropertyValue().

Member Data Documentation

◆ maCells

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

Definition at line 71 of file tablerow.hxx.

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

◆ maName

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

Definition at line 77 of file tablerow.hxx.

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

◆ mbIsStartOfNewPage

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

Definition at line 76 of file tablerow.hxx.

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

◆ mbIsVisible

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

Definition at line 75 of file tablerow.hxx.

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

◆ mbOptimalHeight

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

Definition at line 74 of file tablerow.hxx.

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

◆ mnHeight

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

Definition at line 73 of file tablerow.hxx.

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

◆ mnRow

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

Definition at line 72 of file tablerow.hxx.

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

◆ mxTableModel

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

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