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 (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...
 
- 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
 
sal_Int32 mnColumn
 
sal_Int32 mnWidth
 
bool mbOptimalWidth
 
bool mbIsVisible
 
bool mbIsStartOfNewPage
 
OUString maName
 

Friends

class TableColumnUndo
 
class TableModel
 

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 tablecolumn.hxx.

Constructor & Destructor Documentation

◆ TableColumn()

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

Definition at line 51 of file tablecolumn.cxx.

References mnWidth.

◆ ~TableColumn()

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

Definition at line 63 of file tablecolumn.cxx.

Member Function Documentation

◆ dispose()

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

Definition at line 68 of file tablecolumn.cxx.

References mxTableModel.

◆ getCellByPosition()

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

Definition at line 97 of file tablecolumn.cxx.

References mnColumn, mxTableModel, and throwIfDisposed().

◆ getCellRangeByName()

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

Definition at line 118 of file tablecolumn.cxx.

◆ getCellRangeByPosition()

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

Definition at line 107 of file tablecolumn.cxx.

References mnColumn, mxTableModel, and throwIfDisposed().

◆ getFastPropertyValue()

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

◆ getModel()

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

Get the table that owns this column.

Definition at line 279 of file tablecolumn.cxx.

References mxTableModel.

◆ getName()

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

Definition at line 127 of file tablecolumn.cxx.

References maName.

◆ getStaticPropertySetInfo()

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

◆ getWidth()

sal_Int32 sdr::table::TableColumn::getWidth ( ) const

Get the width of this column.

Definition at line 284 of file tablecolumn.cxx.

References mnWidth.

◆ operator=()

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

Definition at line 81 of file tablecolumn.cxx.

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

◆ setFastPropertyValue()

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

◆ setName()

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

Definition at line 133 of file tablecolumn.cxx.

References aName, and maName.

◆ throwIfDisposed()

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

Definition at line 74 of file tablecolumn.cxx.

References mxTableModel.

Referenced by getCellByPosition(), and getCellRangeByPosition().

Friends And Related Function Documentation

◆ TableColumnUndo

friend class TableColumnUndo
friend

Definition at line 37 of file tablecolumn.hxx.

Referenced by setFastPropertyValue().

◆ TableModel

friend class TableModel
friend

Definition at line 38 of file tablecolumn.hxx.

Member Data Documentation

◆ maName

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

Definition at line 76 of file tablecolumn.hxx.

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

◆ mbIsStartOfNewPage

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

Definition at line 75 of file tablecolumn.hxx.

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

◆ mbIsVisible

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

Definition at line 74 of file tablecolumn.hxx.

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

◆ mbOptimalWidth

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

Definition at line 73 of file tablecolumn.hxx.

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

◆ mnColumn

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

Definition at line 71 of file tablecolumn.hxx.

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

◆ mnWidth

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

Definition at line 72 of file tablecolumn.hxx.

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

◆ mxTableModel

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

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