LibreOffice Module svx (master) 1
|
#include <tablecolumn.hxx>
Public Member Functions | |
TableColumn (TableModelRef xTableModel, sal_Int32 nColumn) | |
virtual | ~TableColumn () override |
void | dispose () |
void | throwIfDisposed () const |
TableColumn & | operator= (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< FastPropertySetInfo > | getStaticPropertySetInfo () |
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) | |
Definition at line 35 of file tablecolumn.hxx.
sdr::table::TableColumn::TableColumn | ( | TableModelRef | xTableModel, |
sal_Int32 | nColumn | ||
) |
Definition at line 51 of file tablecolumn.cxx.
References mnWidth.
|
overridevirtual |
Definition at line 63 of file tablecolumn.cxx.
void sdr::table::TableColumn::dispose | ( | void | ) |
Definition at line 68 of file tablecolumn.cxx.
References mxTableModel.
|
overridevirtual |
Definition at line 97 of file tablecolumn.cxx.
References mnColumn, mxTableModel, and throwIfDisposed().
|
overridevirtual |
Definition at line 118 of file tablecolumn.cxx.
|
overridevirtual |
Definition at line 107 of file tablecolumn.cxx.
References mnColumn, mxTableModel, and throwIfDisposed().
|
overridevirtual |
Definition at line 225 of file tablecolumn.cxx.
References Any, mbIsStartOfNewPage, mbIsVisible, mbOptimalWidth, mnWidth, nHandle, sdr::table::Property_IsStartOfNewPage, sdr::table::Property_IsVisible, sdr::table::Property_OptimalWidth, and sdr::table::Property_Width.
TableModelRef const & sdr::table::TableColumn::getModel | ( | ) | const |
Get the table that owns this column.
Definition at line 279 of file tablecolumn.cxx.
References mxTableModel.
|
overridevirtual |
Definition at line 127 of file tablecolumn.cxx.
References maName.
|
staticprivate |
Definition at line 238 of file tablecolumn.cxx.
References aProperties, cppu::UnoType< typename T >::get(), sdr::table::Property_IsStartOfNewPage, sdr::table::Property_IsVisible, sdr::table::Property_OptimalWidth, and sdr::table::Property_Width.
sal_Int32 sdr::table::TableColumn::getWidth | ( | ) | const |
TableColumn & sdr::table::TableColumn::operator= | ( | const TableColumn & | r | ) |
Definition at line 81 of file tablecolumn.cxx.
References maName, mbIsStartOfNewPage, mbIsVisible, mbOptimalWidth, mnColumn, and mnWidth.
|
overridevirtual |
Definition at line 142 of file tablecolumn.cxx.
References SdrModel::AddUndo(), SdrModel::IsUndoEnabled(), mbIsStartOfNewPage, mbIsVisible, mbOptimalWidth, mnWidth, mxTableModel, nHandle, sdr::table::Property_IsStartOfNewPage, sdr::table::Property_IsVisible, sdr::table::Property_OptimalWidth, sdr::table::Property_Width, and TableColumnUndo.
|
overridevirtual |
Definition at line 133 of file tablecolumn.cxx.
void sdr::table::TableColumn::throwIfDisposed | ( | ) | const |
css::uno::RuntimeException |
Definition at line 74 of file tablecolumn.cxx.
References mxTableModel.
Referenced by getCellByPosition(), and getCellRangeByPosition().
|
friend |
Definition at line 37 of file tablecolumn.hxx.
Referenced by setFastPropertyValue().
|
friend |
Definition at line 38 of file tablecolumn.hxx.
|
private |
Definition at line 76 of file tablecolumn.hxx.
Referenced by getName(), operator=(), and setName().
|
private |
Definition at line 75 of file tablecolumn.hxx.
Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().
|
private |
Definition at line 74 of file tablecolumn.hxx.
Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().
|
private |
Definition at line 73 of file tablecolumn.hxx.
Referenced by getFastPropertyValue(), operator=(), and setFastPropertyValue().
|
private |
Definition at line 71 of file tablecolumn.hxx.
Referenced by getCellByPosition(), getCellRangeByPosition(), and operator=().
|
private |
Definition at line 72 of file tablecolumn.hxx.
Referenced by getFastPropertyValue(), getWidth(), operator=(), and setFastPropertyValue().
|
private |
Definition at line 70 of file tablecolumn.hxx.
Referenced by dispose(), getCellByPosition(), getCellRangeByPosition(), getModel(), setFastPropertyValue(), and throwIfDisposed().