LibreOffice Module sw (master) 1
|
#include <unotbl.hxx>
Public Member Functions | |
SwXTextTableCursor (SwFrameFormat *pFormat, SwTableBox const *pBox) | |
SwXTextTableCursor (SwFrameFormat &rTableFormat, const SwTableCursor *pTableSelection) | |
virtual void SAL_CALL | release () noexcept override |
virtual OUString SAL_CALL | getRangeName () override |
virtual sal_Bool SAL_CALL | gotoCellByName (const OUString &aCellName, sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | goLeft (sal_Int16 nCount, sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | goRight (sal_Int16 nCount, sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | goUp (sal_Int16 nCount, sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | goDown (sal_Int16 nCount, sal_Bool bExpand) override |
virtual void SAL_CALL | gotoStart (sal_Bool bExpand) override |
virtual void SAL_CALL | gotoEnd (sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | mergeRange () override |
virtual sal_Bool SAL_CALL | splitRange (sal_Int16 Count, sal_Bool Horizontal) 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 OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual const SwPaM * | GetPaM () const override |
virtual SwPaM * | GetPaM () override |
virtual const SwDoc * | GetDoc () const override |
virtual SwDoc * | GetDoc () override |
virtual void | Notify (const SfxHint &) override |
const SwUnoCursor & | GetCursor () const |
SwUnoCursor & | GetCursor () |
SwFrameFormat * | GetFrameFormat () const |
Public Member Functions inherited from SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Private Attributes | |
SwFrameFormat * | m_pFrameFormat |
const SfxItemPropertySet * | m_pPropSet |
sw::UnoCursorPointer | m_pUnoCursor |
Definition at line 183 of file unotbl.hxx.
SwXTextTableCursor::SwXTextTableCursor | ( | SwFrameFormat * | pFormat, |
SwTableBox const * | pBox | ||
) |
Definition at line 1420 of file unotbl.cxx.
References SwDoc::CreateUnoCursor(), fnMoveForward, SwFormat::GetDoc(), SwTableBox::GetSttNd(), GoInNode(), m_pFrameFormat, m_pUnoCursor, SwUnoTableCursor::MakeBoxSels(), SwPaM::Move(), and SvtListener::StartListening().
SwXTextTableCursor::SwXTextTableCursor | ( | SwFrameFormat & | rTableFormat, |
const SwTableCursor * | pTableSelection | ||
) |
Definition at line 1434 of file unotbl.cxx.
References SwDoc::CreateUnoCursor(), SwPaM::GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), SwTableCursor::GetSelectedBoxes(), SwPaM::HasMark(), SwTableCursor::InsertBox(), m_pFrameFormat, m_pUnoCursor, SwUnoTableCursor::MakeBoxSels(), SwPaM::SetMark(), and SvtListener::StartListening().
|
overridevirtual |
Definition at line 1700 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1706 of file unotbl.cxx.
SwUnoCursor & SwXTextTableCursor::GetCursor | ( | ) |
Definition at line 1415 of file unotbl.cxx.
References m_pUnoCursor.
const SwUnoCursor & SwXTextTableCursor::GetCursor | ( | ) | const |
Definition at line 1414 of file unotbl.cxx.
References m_pUnoCursor.
Referenced by GetPaM(), getPropertyValue(), getRangeName(), goDown(), goLeft(), goRight(), gotoCellByName(), gotoEnd(), gotoStart(), goUp(), mergeRange(), setPropertyValue(), and splitRange().
|
overridevirtual |
Definition at line 1412 of file unotbl.cxx.
References SwFormat::GetDoc(), and GetFrameFormat().
|
overridevirtual |
Definition at line 1413 of file unotbl.cxx.
References SwFormat::GetDoc(), and GetFrameFormat().
|
inline |
Definition at line 234 of file unotbl.hxx.
Referenced by GetDoc(), getRangeName(), and SwVbaSelection::Tables().
|
overridevirtual |
Definition at line 1398 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1410 of file unotbl.cxx.
References GetCursor().
|
overridevirtual |
Definition at line 1411 of file unotbl.cxx.
References GetCursor().
|
overridevirtual |
Definition at line 1591 of file unotbl.cxx.
References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.
|
overridevirtual |
Definition at line 1652 of file unotbl.cxx.
References SwNode::FindTableNode(), FN_UNO_PARA_STYLE, FN_UNO_TABLE_CELL_BACKGROUND, SwDoc::GetAttrPool(), SwDoc::GetBoxAttr(), SfxItemPropertyMap::getByName(), GetCursor(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::GetCurTextFormatColl(), SwPaM::GetDoc(), SwTable::GetFrameFormat(), SwFormat::GetName(), SwPaM::GetPointNode(), SfxItemPropertySet::getPropertyMap(), SfxItemPropertySet::getPropertyValue(), SwUnoTableCursor::GetSelRing(), SwTableNode::GetTable(), lcl_FormatTable(), m_pPropSet, SwUnoTableCursor::MakeBoxSels(), RES_BACKGROUND(), RES_BOXATR_FORMAT(), RES_CHRATR_BEGIN(), RES_FRMATR_END(), RES_UNKNOWNATR_CONTAINER(), and SwNode::StartOfSectionNode().
|
overridevirtual |
! see also SwChartDataSequence::getSourceRangeRepresentation
Definition at line 1452 of file unotbl.cxx.
References SwTable::FindTable(), SwNode::FindTableBoxStartNode(), GetCursor(), GetFrameFormat(), SwNode::GetIndex(), SwPaM::GetMark(), SwTableBox::GetName(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTable::GetTableBox(), SwPaM::HasMark(), and SwUnoTableCursor::MakeBoxSels().
|
overridevirtual |
Definition at line 1417 of file unotbl.cxx.
Definition at line 1516 of file unotbl.cxx.
References Count, IDocumentLayoutAccess::GetCurrentLayout(), GetCursor(), SwPaM::GetDoc(), SwDoc::getIDocumentLayoutAccess(), lcl_CursorSelect(), and SwCursor::UpDown().
Definition at line 1488 of file unotbl.cxx.
References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Left().
Definition at line 1497 of file unotbl.cxx.
References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Right().
|
overridevirtual |
Definition at line 1479 of file unotbl.cxx.
References GetCursor(), and lcl_CursorSelect().
|
overridevirtual |
Definition at line 1535 of file unotbl.cxx.
References fnTableEnd, GetCursor(), GotoCurrTable(), lcl_CursorSelect(), and SwCursor::MoveTable().
|
overridevirtual |
Definition at line 1526 of file unotbl.cxx.
References fnTableStart, GetCursor(), GotoCurrTable(), lcl_CursorSelect(), and SwCursor::MoveTable().
Definition at line 1506 of file unotbl.cxx.
References Count, IDocumentLayoutAccess::GetCurrentLayout(), GetCursor(), SwPaM::GetDoc(), SwDoc::getIDocumentLayoutAccess(), lcl_CursorSelect(), and SwCursor::UpDown().
|
overridevirtual |
Definition at line 1544 of file unotbl.cxx.
References SwTableCursor::DeleteBox(), GetCursor(), SwPaM::GetDoc(), SwTableCursor::GetSelectedBoxesCount(), SwUnoTableCursor::MakeBoxSels(), SwDoc::MergeTable(), nCount, and Ok.
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 1712 of file unotbl.cxx.
References SfxHint::GetId(), and m_pFrameFormat.
|
overridevirtualnoexcept |
Definition at line 1404 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1703 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1709 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1597 of file unotbl.cxx.
References DEFAULT, SwNode::FindTableNode(), FN_UNO_PARA_STYLE, FN_UNO_TABLE_CELL_BACKGROUND, SwDoc::GetAttrPool(), SwDoc::GetBoxAttr(), SfxItemPropertyMap::getByName(), GetCursor(), SwUnoCursorHelper::GetCursorAttr(), SwPaM::GetDoc(), SwTable::GetFrameFormat(), SwPaM::GetPointNode(), SfxItemPropertySet::getPropertyMap(), SwTableNode::GetTable(), lcl_FormatTable(), m_pPropSet, SwUnoTableCursor::MakeBoxSels(), CntUInt32Item::PutValue(), RES_BACKGROUND(), RES_BOXATR_FORMAT(), SwDoc::SetBoxAttr(), SwUnoCursorHelper::SetCursorAttr(), SwUnoCursorHelper::SetCursorPropertyValue(), SfxItemPropertySet::setPropertyValue(), SwUnoCursorHelper::SetTextFormatColl(), and SwNode::StartOfSectionNode().
Definition at line 1570 of file unotbl.cxx.
References Count, GetCursor(), SwPaM::GetDoc(), SwTableCursor::GetSelectedBoxes(), Horizontal, SwUnoTableCursor::MakeBoxSels(), and SwDoc::SplitTable().
|
overridevirtual |
Definition at line 1401 of file unotbl.cxx.
References cppu::supportsService().
|
private |
Definition at line 188 of file unotbl.hxx.
Referenced by Notify(), and SwXTextTableCursor().
|
private |
Definition at line 189 of file unotbl.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 190 of file unotbl.hxx.
Referenced by GetCursor(), and SwXTextTableCursor().