LibreOffice Module sw (master) 1
|
#include <unotbl.hxx>
Classes | |
class | Impl |
Public Member Functions | |
static ::rtl::Reference< SwXCellRange > | CreateXCellRange (const sw::UnoCursorPointer &pCursor, SwFrameFormat &rFrameFormat, SwRangeDescriptor const &rDesc) |
void | SetLabels (bool bFirstRowAsLabel, bool bFirstColumnAsLabel) |
std::vector< css::uno::Reference< css::table::XCell > > | GetCells () |
const SwUnoCursor * | GetTableCursor () const |
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 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | addChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override |
virtual void SAL_CALL | removeChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override |
virtual double SAL_CALL | getNotANumber () override |
virtual sal_Bool SAL_CALL | isNotANumber (double nNumber) override |
virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL | getData () override |
virtual void SAL_CALL | setData (const css::uno::Sequence< css::uno::Sequence< double > > &aData) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getRowDescriptions () override |
virtual void SAL_CALL | setRowDescriptions (const css::uno::Sequence< OUString > &aRowDescriptions) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getColumnDescriptions () override |
virtual void SAL_CALL | setColumnDescriptions (const css::uno::Sequence< OUString > &aColumnDescriptions) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | createSortDescriptor () override |
virtual void SAL_CALL | sort (const css::uno::Sequence< css::beans::PropertyValue > &xDescriptor) override |
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL | getDataArray () override |
virtual void SAL_CALL | setDataArray (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aArray) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Member Functions | |
SwXCellRange (const sw::UnoCursorPointer &pCursor, SwFrameFormat &rFrameFormat, SwRangeDescriptor const &rDesc) | |
virtual | ~SwXCellRange () override |
Private Attributes | |
::sw::UnoImplPtr< Impl > | m_pImpl |
Definition at line 343 of file unotbl.hxx.
|
private |
Definition at line 3145 of file unotbl.cxx.
Referenced by CreateXCellRange().
|
overrideprivatevirtual |
Definition at line 3151 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3711 of file unotbl.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 3490 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3496 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3733 of file unotbl.cxx.
References SwUnoCursorHelper::CreateSortDescriptor().
rtl::Reference< SwXCellRange > SwXCellRange::CreateXCellRange | ( | const sw::UnoCursorPointer & | pCursor, |
SwFrameFormat & | rFrameFormat, | ||
SwRangeDescriptor const & | rDesc | ||
) |
Definition at line 3155 of file unotbl.cxx.
References SwXCellRange().
Referenced by getCellRangeByPosition(), and SwChartDataSequence::GetCells().
|
overridevirtual |
Definition at line 3185 of file unotbl.cxx.
References lcl_CreateXCell(), and m_pImpl.
|
overridevirtual |
Definition at line 3261 of file unotbl.cxx.
References SwXTextTable::GetCellPosition(), getCellRangeByPosition(), m_pImpl, SwRangeDescriptor::nBottom, SwRangeDescriptor::nLeft, SwRangeDescriptor::Normalize(), nPos, SwRangeDescriptor::nRight, and SwRangeDescriptor::nTop.
|
overridevirtual |
Definition at line 3208 of file unotbl.cxx.
References SwDoc::CreateUnoCursor(), CreateXCellRange(), SwTable::FindTable(), fnMoveForward, SwFormat::GetDoc(), SwTableBox::GetSttNd(), SwTable::GetTableBox(), GoInNode(), SwTable::IsTableComplex(), m_pImpl, SwUnoTableCursor::MakeBoxSels(), SwRangeDescriptor::nBottom, SwRangeDescriptor::nLeft, SwRangeDescriptor::Normalize(), SwRangeDescriptor::nRight, SwRangeDescriptor::nTop, and sw_GetCellName().
Referenced by getCellRangeByName(), getData(), SwXCellRange::Impl::GetLabelDescriptions(), setData(), and SwXCellRange::Impl::SetLabelDescriptions().
std::vector< uno::Reference< table::XCell > > SwXCellRange::GetCells | ( | ) |
Definition at line 3171 of file unotbl.cxx.
References lcl_CreateXCell(), and m_pImpl.
Referenced by getData(), getDataArray(), SwXCellRange::Impl::GetLabelDescriptions(), setData(), setDataArray(), and SwXCellRange::Impl::SetLabelDescriptions().
|
overridevirtual |
Definition at line 3672 of file unotbl.cxx.
References m_pImpl.
Referenced by SwXTextTable::getColumnDescriptions().
|
overridevirtual |
Definition at line 3565 of file unotbl.cxx.
References getCellRangeByPosition(), GetCells(), and m_pImpl.
Referenced by SwXTextTable::getData().
|
overridevirtual |
Definition at line 3503 of file unotbl.cxx.
References GetCells(), and m_pImpl.
|
overridevirtual |
Definition at line 3127 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3730 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3281 of file unotbl.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 3408 of file unotbl.cxx.
References FN_UNO_PARA_STYLE, FN_UNO_RANGE_COL_LABEL, FN_UNO_RANGE_ROW_LABEL, FN_UNO_TABLE_CELL_BACKGROUND, SwDoc::GetAttrPool(), SwDoc::GetBoxAttr(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::GetCurTextFormatColl(), SwFormat::GetName(), SwUnoTableCursor::GetSelRing(), SwDoc::GetTabBorders(), m_pImpl, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SvxBoxItem::QueryValue(), rBoxItem, RES_BACKGROUND(), RES_BOX(), RES_BOXATR_FORMAT(), RES_CHRATR_BEGIN(), RES_FRMATR_END(), RES_UNKNOWNATR_CONTAINER(), and RES_VERT_ORIENT().
|
overridevirtual |
Definition at line 3667 of file unotbl.cxx.
References m_pImpl.
Referenced by SwXTextTable::getRowDescriptions().
|
overridevirtual |
Definition at line 3133 of file unotbl.cxx.
const SwUnoCursor * SwXCellRange::GetTableCursor | ( | ) | const |
Definition at line 3763 of file unotbl.cxx.
References m_pImpl.
Referenced by SwUnoCursorHelper::GetSelectableFromAny().
|
overridevirtual |
Definition at line 3727 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3719 of file unotbl.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 3493 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3499 of file unotbl.cxx.
|
overridevirtual |
Definition at line 3705 of file unotbl.cxx.
References m_pImpl.
Referenced by SwXTextTable::setColumnDescriptions().
|
overridevirtual |
Definition at line 3598 of file unotbl.cxx.
References getCellRangeByPosition(), GetCells(), and m_pImpl.
Referenced by SwXTextTable::setData().
|
overridevirtual |
Definition at line 3530 of file unotbl.cxx.
References GetCells(), m_pImpl, sw_setString(), and sw_setValue().
void SwXCellRange::SetLabels | ( | bool | bFirstRowAsLabel, |
bool | bFirstColumnAsLabel | ||
) |
Definition at line 3165 of file unotbl.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 3288 of file unotbl.cxx.
References BOTTOM_BORDER, BOTTOM_BORDER_DISTANCE, CONVERT_TWIPS, DEFAULT, FN_UNO_RANGE_COL_LABEL, FN_UNO_RANGE_ROW_LABEL, FN_UNO_TABLE_CELL_BACKGROUND, SwDoc::GetAttrPool(), SwDoc::GetBoxAttr(), SwUnoCursorHelper::GetCursorAttr(), SwUnoTableCursor::GetSelRing(), SwDoc::GetTabBorders(), LEFT_BORDER, LEFT_BORDER_DISTANCE, m_pImpl, SwUnoTableCursor::MakeBoxSels(), SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nMemberId, SwPostItHelper::NONE, SfxItemPropertyMapEntry::nWID, RES_BACKGROUND(), RES_BOX(), RES_BOXATR_FORMAT(), RES_VERT_ORIENT(), RIGHT_BORDER, RIGHT_BORDER_DISTANCE, SwDoc::SetBoxAlign(), SwDoc::SetBoxAttr(), SwUnoCursorHelper::SetCursorAttr(), SwUnoCursorHelper::SetCursorPropertyValue(), SwDoc::SetTabBorders(), SvxBoxInfoItem::SetValid(), TOP_BORDER, and TOP_BORDER_DISTANCE.
|
overridevirtual |
Definition at line 3699 of file unotbl.cxx.
References m_pImpl.
Referenced by SwXTextTable::setRowDescriptions().
|
overridevirtual |
Definition at line 3739 of file unotbl.cxx.
References SwUnoCursorHelper::ConvertSortProperties(), SwFormat::GetDoc(), SwTableCursor::GetSelectedBoxes(), m_pImpl, SwUnoTableCursor::MakeBoxSels(), and SwDoc::SortTable().
|
overridevirtual |
Definition at line 3130 of file unotbl.cxx.
References cppu::supportsService().
|
private |
Definition at line 355 of file unotbl.hxx.
Referenced by addChartDataChangeEventListener(), getCellByPosition(), getCellRangeByName(), getCellRangeByPosition(), GetCells(), getColumnDescriptions(), getData(), getDataArray(), getPropertySetInfo(), getPropertyValue(), getRowDescriptions(), GetTableCursor(), removeChartDataChangeEventListener(), setColumnDescriptions(), setData(), setDataArray(), SetLabels(), setPropertyValue(), setRowDescriptions(), and sort().