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

#include <tablecolumn.hxx>

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

Public Member Functions

 TableColumn (const TableModelRef &xTableModel, sal_Int32 nColumn)
 
virtual ~TableColumn () override
 
void dispose ()
 
void throwIfDisposed () const
 
TableColumnoperator= (const TableColumn &)
 
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
 
TableModelRef const & getModel () const
 Get the table that owns this column. More...
 
sal_Int32 getWidth () const
 Get the width of this column. More...
 

Static Private Member Functions

static rtl::Reference< FastPropertySetInfogetStaticPropertySetInfo ()
 

Private Attributes

TableModelRef mxTableModel
 
sal_Int32 mnColumn
 
sal_Int32 mnWidth
 
bool mbOptimalWidth
 
bool mbIsVisible
 
bool mbIsStartOfNewPage
 
OUString maName
 

Friends

class TableColumnUndo
 
class TableModel
 

Detailed Description

Definition at line 35 of file tablecolumn.hxx.

Constructor & Destructor Documentation

sdr::table::TableColumn::TableColumn ( const TableModelRef xTableModel,
sal_Int32  nColumn 
)

Definition at line 48 of file tablecolumn.cxx.

References mnWidth.

sdr::table::TableColumn::~TableColumn ( )
overridevirtual

Definition at line 60 of file tablecolumn.cxx.

Member Function Documentation

void sdr::table::TableColumn::dispose ( void  )

Definition at line 65 of file tablecolumn.cxx.

References mxTableModel.

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

Definition at line 94 of file tablecolumn.cxx.

References mnColumn, mxTableModel, and throwIfDisposed().

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

Definition at line 115 of file tablecolumn.cxx.

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

Definition at line 104 of file tablecolumn.cxx.

References mnColumn, mxTableModel, and throwIfDisposed().

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

Definition at line 222 of file tablecolumn.cxx.

References Any, mbIsStartOfNewPage, mbIsVisible, mbOptimalWidth, and mnWidth.

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

Get the table that owns this column.

Definition at line 276 of file tablecolumn.cxx.

References mxTableModel.

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

Definition at line 124 of file tablecolumn.cxx.

References maName.

rtl::Reference< FastPropertySetInfo > sdr::table::TableColumn::getStaticPropertySetInfo ( )
staticprivate
sal_Int32 sdr::table::TableColumn::getWidth ( ) const

Get the width of this column.

Definition at line 281 of file tablecolumn.cxx.

References mnWidth.

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

Definition at line 78 of file tablecolumn.cxx.

References maName, mbIsStartOfNewPage, mbIsVisible, mbOptimalWidth, mnColumn, and mnWidth.

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

Definition at line 130 of file tablecolumn.cxx.

References maName.

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

Definition at line 71 of file tablecolumn.cxx.

References mxTableModel.

Referenced by getCellByPosition(), and getCellRangeByPosition().

Friends And Related Function Documentation

friend class TableColumnUndo
friend

Definition at line 37 of file tablecolumn.hxx.

Referenced by setFastPropertyValue().

friend class TableModel
friend

Definition at line 38 of file tablecolumn.hxx.

Member Data Documentation

OUString sdr::table::TableColumn::maName
private

Definition at line 76 of file tablecolumn.hxx.

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

bool sdr::table::TableColumn::mbIsStartOfNewPage
private

Definition at line 75 of file tablecolumn.hxx.

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

bool sdr::table::TableColumn::mbIsVisible
private

Definition at line 74 of file tablecolumn.hxx.

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

bool sdr::table::TableColumn::mbOptimalWidth
private

Definition at line 73 of file tablecolumn.hxx.

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

sal_Int32 sdr::table::TableColumn::mnColumn
private

Definition at line 71 of file tablecolumn.hxx.

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

sal_Int32 sdr::table::TableColumn::mnWidth
private

Definition at line 72 of file tablecolumn.hxx.

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

TableModelRef sdr::table::TableColumn::mxTableModel
private

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