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 |
![]() | |
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 185 of file unotbl.hxx.
SwXTextTableCursor::SwXTextTableCursor | ( | SwFrameFormat * | pFormat, |
SwTableBox const * | pBox | ||
) |
Definition at line 1431 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 1445 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 1711 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1717 of file unotbl.cxx.
SwUnoCursor & SwXTextTableCursor::GetCursor | ( | ) |
Definition at line 1426 of file unotbl.cxx.
References m_pUnoCursor.
const SwUnoCursor & SwXTextTableCursor::GetCursor | ( | ) | const |
Definition at line 1425 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 1423 of file unotbl.cxx.
References SwFormat::GetDoc(), and GetFrameFormat().
|
overridevirtual |
Definition at line 1424 of file unotbl.cxx.
References SwFormat::GetDoc(), and GetFrameFormat().
|
inline |
Definition at line 236 of file unotbl.hxx.
Referenced by GetDoc(), getRangeName(), and SwVbaSelection::Tables().
|
overridevirtual |
Definition at line 1409 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1421 of file unotbl.cxx.
References GetCursor().
|
overridevirtual |
Definition at line 1422 of file unotbl.cxx.
References GetCursor().
|
overridevirtual |
Definition at line 1602 of file unotbl.cxx.
References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.
|
overridevirtual |
Definition at line 1663 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 1463 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 1428 of file unotbl.cxx.
Definition at line 1527 of file unotbl.cxx.
References Count, IDocumentLayoutAccess::GetCurrentLayout(), GetCursor(), SwPaM::GetDoc(), SwDoc::getIDocumentLayoutAccess(), lcl_CursorSelect(), and SwCursor::UpDown().
Definition at line 1499 of file unotbl.cxx.
References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Left().
Definition at line 1508 of file unotbl.cxx.
References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Right().
|
overridevirtual |
Definition at line 1490 of file unotbl.cxx.
References GetCursor(), and lcl_CursorSelect().
|
overridevirtual |
Definition at line 1546 of file unotbl.cxx.
References fnTableEnd, GetCursor(), GotoCurrTable(), lcl_CursorSelect(), and SwCursor::MoveTable().
|
overridevirtual |
Definition at line 1537 of file unotbl.cxx.
References fnTableStart, GetCursor(), GotoCurrTable(), lcl_CursorSelect(), and SwCursor::MoveTable().
Definition at line 1517 of file unotbl.cxx.
References Count, IDocumentLayoutAccess::GetCurrentLayout(), GetCursor(), SwPaM::GetDoc(), SwDoc::getIDocumentLayoutAccess(), lcl_CursorSelect(), and SwCursor::UpDown().
|
overridevirtual |
Definition at line 1555 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 1723 of file unotbl.cxx.
References SfxHint::GetId(), and m_pFrameFormat.
|
overridevirtualnoexcept |
Definition at line 1415 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1714 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1720 of file unotbl.cxx.
|
overridevirtual |
Definition at line 1608 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 1581 of file unotbl.cxx.
References Count, GetCursor(), SwPaM::GetDoc(), SwTableCursor::GetSelectedBoxes(), Horizontal, SwUnoTableCursor::MakeBoxSels(), and SwDoc::SplitTable().
|
overridevirtual |
Definition at line 1412 of file unotbl.cxx.
References cppu::supportsService().
|
private |
Definition at line 190 of file unotbl.hxx.
Referenced by Notify(), and SwXTextTableCursor().
|
private |
Definition at line 191 of file unotbl.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 192 of file unotbl.hxx.
Referenced by GetCursor(), and SwXTextTableCursor().