LibreOffice Module sw (master) 1
|
#include <unotextcursor.hxx>
Public Member Functions | |
SwXTextCursor (SwDoc &rDoc, css::uno::Reference< css::text::XText > xParent, const CursorType eType, SwPosition const &rPos, SwPosition const *const pMark=nullptr) | |
SwXTextCursor (css::uno::Reference< css::text::XText > xParent, SwPaM const &rSourceCursor, const CursorType eType=CursorType::All) | |
SwUnoCursor & | GetCursor () |
bool | IsAtEndOfMeta () const |
bool | IsAtEndOfContentControl () const |
void | DeleteAndInsert (std::u16string_view aText, ::sw::DeleteAndInsertMode eMode) |
virtual const SwPaM * | GetPaM () const override |
virtual SwPaM * | GetPaM () override |
virtual const SwDoc * | GetDoc () const override |
virtual SwDoc * | GetDoc () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &rPropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &rPropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &rPropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &rPropertyName) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | setAllPropertiesToDefault () override |
virtual void SAL_CALL | setPropertiesToDefault (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyDefaults (const css::uno::Sequence< OUString > &rPropertyNames) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createContentEnumeration (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getAvailableServiceNames () 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 void SAL_CALL | insertDocumentFromURL (const OUString &rURL, const css::uno::Sequence< css::beans::PropertyValue > &rOptions) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getText () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &rString) override |
virtual void SAL_CALL | collapseToStart () override |
virtual void SAL_CALL | collapseToEnd () override |
virtual sal_Bool SAL_CALL | isCollapsed () 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 void SAL_CALL | gotoStart (sal_Bool bExpand) override |
virtual void SAL_CALL | gotoEnd (sal_Bool bExpand) override |
virtual void SAL_CALL | gotoRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | isStartOfWord () override |
virtual sal_Bool SAL_CALL | isEndOfWord () override |
virtual sal_Bool SAL_CALL | gotoNextWord (sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | gotoPreviousWord (sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | gotoEndOfWord (sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | gotoStartOfWord (sal_Bool bExpand) override |
virtual sal_Bool SAL_CALL | isStartOfSentence () override |
virtual sal_Bool SAL_CALL | isEndOfSentence () override |
virtual sal_Bool SAL_CALL | gotoNextSentence (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoPreviousSentence (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoStartOfSentence (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoEndOfSentence (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | isStartOfParagraph () override |
virtual sal_Bool SAL_CALL | isEndOfParagraph () override |
virtual sal_Bool SAL_CALL | gotoStartOfParagraph (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoEndOfParagraph (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoNextParagraph (sal_Bool Expand) override |
virtual sal_Bool SAL_CALL | gotoPreviousParagraph (sal_Bool Expand) override |
virtual void SAL_CALL | makeRedline (const OUString &rRedlineType, const css::uno::Sequence< css::beans::PropertyValue > &RedlineProperties) override |
virtual void SAL_CALL | invalidateMarkings (::sal_Int32 nType) override |
Private Member Functions | |
SwUnoCursor & | GetCursorOrThrow () |
virtual | ~SwXTextCursor () override |
Private Attributes | |
const SfxItemPropertySet & | m_rPropSet |
const CursorType | m_eType |
const css::uno::Reference< css::text::XText > | m_xParentText |
sw::UnoCursorPointer | m_pUnoCursor |
SetAttrMode | m_nAttrMode = SetAttrMode::DEFAULT |
Definition at line 68 of file unotextcursor.hxx.
|
overrideprivatevirtual |
Definition at line 714 of file unoobj.cxx.
References m_pUnoCursor, and sw::UnoCursorPointer::reset().
SwXTextCursor::SwXTextCursor | ( | SwDoc & | rDoc, |
css::uno::Reference< css::text::XText > | xParent, | ||
const CursorType | eType, | ||
SwPosition const & | rPos, | ||
SwPosition const *const | pMark = nullptr |
||
) |
Referenced by getEnd(), and getStart().
SwXTextCursor::SwXTextCursor | ( | css::uno::Reference< css::text::XText > | xParent, |
SwPaM const & | rSourceCursor, | ||
const CursorType | eType = CursorType::All |
||
) |
|
overridevirtual |
Definition at line 2427 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2304 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2320 of file unoobj.cxx.
|
overridevirtual |
Definition at line 974 of file unoobj.cxx.
References SwPaM::DeleteMark(), SwPaM::Exchange(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), and SwPaM::HasMark().
|
overridevirtual |
Definition at line 958 of file unoobj.cxx.
References SwPaM::DeleteMark(), SwPaM::Exchange(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), and SwPaM::HasMark().
|
overridevirtual |
Definition at line 3019 of file unoobj.cxx.
References SwXParaFrameEnumeration::Create(), GetCursorOrThrow(), and PARAFRAME_PORTION_TEXTRANGE.
|
overridevirtual |
Definition at line 3029 of file unoobj.cxx.
References SwXParagraphEnumeration::Create(), SwDoc::CreateUnoCursor(), GetCursorOrThrow(), SwPaM::GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::HasMark(), m_eType, m_xParentText, Selection, SelectionInTable, and TableText.
|
overridevirtual |
Definition at line 2716 of file unoobj.cxx.
References SwUnoCursorHelper::CreateSortDescriptor().
void SwXTextCursor::DeleteAndInsert | ( | std::u16string_view | aText, |
::sw::DeleteAndInsertMode | eMode | ||
) |
Definition at line 720 of file unoobj.cxx.
References ArtificialSelection, Default, IDocumentContentOperations::DeleteAndJoin(), SwUnoCursorHelper::DocInsertStringSplitCR(), eMode, sw::UnoCursorPointer::get(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), INSERT, m_pUnoCursor, and SwUnoCursorHelper::SelectPam().
Referenced by SwXText::insertString(), and setString().
|
overridevirtual |
Definition at line 2439 of file unoobj.cxx.
|
overridevirtual |
Definition at line 3065 of file unoobj.cxx.
SwUnoCursor & SwXTextCursor::GetCursor | ( | ) |
Definition at line 667 of file unoobj.cxx.
References m_pUnoCursor.
|
inlineprivate |
Definition at line 81 of file unotextcursor.hxx.
References m_pUnoCursor.
Referenced by collapseToEnd(), collapseToStart(), createContentEnumeration(), createEnumeration(), getEnd(), getPropertyDefaults(), getPropertyState(), getPropertyStates(), getPropertyValue(), getStart(), getString(), goLeft(), goRight(), gotoEnd(), gotoEndOfParagraph(), gotoEndOfSentence(), gotoEndOfWord(), gotoNextParagraph(), gotoNextSentence(), gotoNextWord(), gotoPreviousParagraph(), gotoPreviousSentence(), gotoPreviousWord(), gotoRange(), gotoStart(), gotoStartOfParagraph(), gotoStartOfSentence(), gotoStartOfWord(), insertDocumentFromURL(), invalidateMarkings(), isEndOfParagraph(), isEndOfSentence(), isEndOfWord(), isStartOfParagraph(), isStartOfSentence(), isStartOfWord(), makeRedline(), setAllPropertiesToDefault(), setPropertiesToDefault(), setPropertyValue(), setPropertyValues(), setString(), and sort().
|
overridevirtual |
Definition at line 676 of file unoobj.cxx.
References SwPaM::GetDoc(), and m_pUnoCursor.
Referenced by gotoRange(), and gotoStart().
|
overridevirtual |
Definition at line 679 of file unoobj.cxx.
References SwPaM::GetDoc(), and m_pUnoCursor.
|
overridevirtual |
Definition at line 3054 of file unoobj.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 1795 of file unoobj.cxx.
References SwPaM::End(), GetCursorOrThrow(), SwPaM::GetDoc(), SwPaM::GetPoint(), getText(), m_eType, Meta, and SwXTextCursor().
|
overridevirtual |
Definition at line 933 of file unoobj.cxx.
|
overridevirtual |
Definition at line 670 of file unoobj.cxx.
References sw::UnoCursorPointer::get(), and m_pUnoCursor.
Referenced by setPropertyValue(), and setString().
|
overridevirtual |
Definition at line 673 of file unoobj.cxx.
References sw::UnoCursorPointer::get(), and m_pUnoCursor.
|
overridevirtual |
Definition at line 2368 of file unoobj.cxx.
References getPropertyDefaults().
|
overridevirtual |
Definition at line 2565 of file unoobj.cxx.
References SwDoc::GetAttrPool(), SfxItemPropertyMap::getByName(), GetCursorOrThrow(), SfxItemPool::GetDefaultItem(), SwPaM::GetDoc(), SfxItemPropertySet::getPropertyMap(), i, m_rPropSet, nCount, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxPoolItem::QueryValue(), RES_FRMATR_END(), UNO_NAME_IS_SKIP_HIDDEN_TEXT, UNO_NAME_IS_SKIP_PROTECTED_TEXT, and UNO_NAME_NO_FORMAT_ATTR.
Referenced by getPropertyDefault().
|
overridevirtual |
Definition at line 2196 of file unoobj.cxx.
References FN_SKIP_HIDDEN_TEXT, FN_SKIP_PROTECTED_TEXT, cppu::UnoType< typename T >::get(), SfxItemPropertySet::getPropertySetInfo(), m_rPropSet, PROPERTY_NONE, UNO_NAME_IS_SKIP_HIDDEN_TEXT, UNO_NAME_IS_SKIP_PROTECTED_TEXT, and UNO_NAME_NO_FORMAT_ATTR.
|
overridevirtual |
Definition at line 2336 of file unoobj.cxx.
References GetCursorOrThrow(), SwUnoCursorHelper::GetPropertyState(), and m_rPropSet.
|
overridevirtual |
Definition at line 2348 of file unoobj.cxx.
References GetCursorOrThrow(), SwUnoCursorHelper::GetPropertyStates(), and m_rPropSet.
|
overridevirtual |
Definition at line 2278 of file unoobj.cxx.
References GetCursorOrThrow(), SwUnoCursorHelper::GetPropertyValue(), SwUnoCursor::IsSkipOverHiddenSections(), SwUnoCursor::IsSkipOverProtectSections(), m_rPropSet, UNO_NAME_IS_SKIP_HIDDEN_TEXT, and UNO_NAME_IS_SKIP_PROTECTED_TEXT.
|
overridevirtual |
Definition at line 2418 of file unoobj.cxx.
|
overridevirtual |
Definition at line 1769 of file unoobj.cxx.
References GetCursorOrThrow(), SwPaM::GetDoc(), SwPaM::GetPoint(), getText(), m_eType, Meta, SwPaM::Start(), and SwXTextCursor().
|
overridevirtual |
Definition at line 1820 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::GetTextFromPam().
|
overridevirtual |
Definition at line 944 of file unoobj.cxx.
|
overridevirtual |
Definition at line 1761 of file unoobj.cxx.
References m_xParentText.
Referenced by getEnd(), and getStart().
Definition at line 1004 of file unoobj.cxx.
References ContentControl, Expand, GetCursorOrThrow(), lcl_ForceIntoMeta(), SwCursor::Left(), m_eType, m_xParentText, Meta, nCount, and SwUnoCursorHelper::SelectPam().
Definition at line 1027 of file unoobj.cxx.
References ContentControl, Expand, GetCursorOrThrow(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, nCount, SwCursor::Right(), and SwUnoCursorHelper::SelectPam().
|
overridevirtual |
Definition at line 1102 of file unoobj.cxx.
References Body, ContentControl, Expand, fnMoveForward, fnSectionEnd, Footer, Footnote, Frame, GetCursorOrThrow(), GoCurrSection(), GoInDoc(), Header, lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwPaM::Move(), SwCursor::MoveSection(), Redline, SwUnoCursorHelper::SelectPam(), and TableText.
Definition at line 1704 of file unoobj.cxx.
References Expand, fnParaEnd, GetCursorOrThrow(), GoCurrPara(), SwUnoCursorHelper::IsEndOfPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1628 of file unoobj.cxx.
References ContentControl, SwCursor::END_SENT, Expand, fnParaEnd, GetCursorOrThrow(), GoCurrPara(), SwCursor::GoSentence(), SwUnoCursorHelper::IsEndOfPara(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1402 of file unoobj.cxx.
References SwPosition::Assign(), ContentControl, Expand, SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPosition::GetNode(), SwPaM::GetPoint(), SwCursor::GoEndWordWT(), SwCursor::IsEndWordWT(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, and SwUnoCursorHelper::SelectPam().
Definition at line 1729 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoNextPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1527 of file unoobj.cxx.
References ContentControl, Expand, fnParaStart, GetCursorOrThrow(), GoNextPara(), SwCursor::GoNextWordWT(), SwCursor::GoSentence(), isEndOfSentence(), SwCursor::IsStartWordWT(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwCursor::MovePara(), SwCursor::NEXT_SENT, and SwUnoCursorHelper::SelectPam().
Definition at line 1307 of file unoobj.cxx.
References ContentControl, Expand, fnParaStart, SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), GoNextPara(), SwCursor::GoNextWordWT(), lcl_ForceIntoMeta(), SwContentNode::Len(), m_eType, m_xParentText, Meta, SwCursor::MovePara(), SwCursor::Right(), and SwUnoCursorHelper::SelectPam().
Definition at line 1745 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoPrevPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1567 of file unoobj.cxx.
References ContentControl, Expand, fnParaEnd, fnParaStart, GetCursorOrThrow(), GoCurrPara(), GoPrevPara(), SwCursor::GoSentence(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwCursor::MovePara(), SwCursor::PREV_SENT, and SwUnoCursorHelper::SelectPam().
Definition at line 1358 of file unoobj.cxx.
References ContentControl, Expand, SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPosition::GetNode(), SwPaM::GetPoint(), SwCursor::GoPrevWordWT(), lcl_ForceIntoMeta(), SwCursor::Left(), m_eType, m_xParentText, Meta, and SwUnoCursorHelper::SelectPam().
|
overridevirtual |
Definition at line 1134 of file unoobj.cxx.
References ContentControl, SwPaM::DeleteMark(), SwPaM::End(), SwNode::FindSttNodeByType(), SwNode::FindTableNode(), Footer, Footnote, Frame, GetCursorOrThrow(), GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwXTextRange::GetPositions(), SwPaM::HasMark(), Header, SwNode::IsSectionNode(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwPaM::SetMark(), SwPaM::Start(), SwNode::StartOfSectionNode(), SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, SwTableBoxStartNode, and TableText.
|
overridevirtual |
Definition at line 1050 of file unoobj.cxx.
References SwPosition::Assign(), Body, ContentControl, SwNode::EndOfSectionNode(), Expand, SwNode::FindTableNode(), fnMoveBackward, fnSectionStart, Footer, Footnote, Frame, GetCursorOrThrow(), GetDoc(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwSectionNode::GetSection(), GoCurrSection(), GoInDoc(), SwNodes::GoNext(), SwNodes::GoNextSection(), Header, SwSection::IsHiddenFlag(), SwNode::IsSectionNode(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwPaM::Move(), SwCursor::MoveSection(), Redline, SwUnoCursorHelper::SelectPam(), SwNode::StartOfSectionNode(), and TableText.
Definition at line 1679 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoCurrPara(), SwUnoCursorHelper::IsStartOfPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1600 of file unoobj.cxx.
References ContentControl, Expand, GetCursorOrThrow(), SwCursor::GoSentence(), SwUnoCursorHelper::IsStartOfPara(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, SwUnoCursorHelper::SelectPam(), and SwCursor::START_SENT.
Definition at line 1441 of file unoobj.cxx.
References SwPosition::Assign(), ContentControl, Expand, SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPosition::GetNode(), SwPaM::GetPoint(), SwCursor::GoStartWordWT(), SwCursor::IsStartWordWT(), lcl_ForceIntoMeta(), m_eType, m_xParentText, Meta, and SwUnoCursorHelper::SelectPam().
|
overridevirtual |
Definition at line 3059 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2655 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::InsertFile().
|
overridevirtual |
Definition at line 2606 of file unoobj.cxx.
References SwTextNode::ClearGrammarCheck(), SwTextNode::ClearSmartTags(), SwTextNode::ClearWrong(), GetCursorOrThrow(), SwContentNode::GetFormatColl(), SwPaM::GetPointNode(), SwNode::GetTextNode(), nType, SwTextNode::SetGrammarCheckDirty(), SwTextNode::SetSmartTagDirty(), SwTextNode::SetWrongDirty(), and sw::TODO.
bool SwXTextCursor::IsAtEndOfContentControl | ( | ) | const |
Definition at line 897 of file unoobj.cxx.
References ContentControl, end, m_eType, m_pUnoCursor, m_xParentText, and SAL_WARN.
Referenced by SwXContentControl::AttachImpl().
bool SwXTextCursor::IsAtEndOfMeta | ( | ) | const |
Definition at line 867 of file unoobj.cxx.
References end, m_eType, m_pUnoCursor, m_xParentText, Meta, and SwXMeta::SetContentRange().
Referenced by SwXTextField::attach(), SwXFootnote::attach(), SwXMeta::AttachImpl(), SwXReferenceMark::Impl::InsertRefMark(), and SwXDocumentIndexMark::Impl::InsertTOXMark().
|
overridevirtual |
Definition at line 990 of file unoobj.cxx.
References m_pUnoCursor.
|
overridevirtual |
Definition at line 1668 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::IsEndOfPara().
|
overridevirtual |
Definition at line 1503 of file unoobj.cxx.
References SwCursor::END_SENT, SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwCursor::GoSentence(), SwPaM::HasMark(), and SwContentNode::Len().
Referenced by gotoNextSentence().
|
overridevirtual |
Definition at line 1295 of file unoobj.cxx.
References GetCursorOrThrow(), and SwCursor::IsEndWordWT().
|
overridevirtual |
Definition at line 1657 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::IsStartOfPara().
|
overridevirtual |
Definition at line 1480 of file unoobj.cxx.
References SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), SwCursor::GoSentence(), SwPaM::HasMark(), and SwCursor::START_SENT.
|
overridevirtual |
Definition at line 1284 of file unoobj.cxx.
References GetCursorOrThrow(), and SwCursor::IsStartWordWT().
|
overridevirtual |
Definition at line 2644 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::makeRedline().
|
overridevirtual |
Definition at line 2433 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2312 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2328 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2480 of file unoobj.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), g_ParaResetableSetRange, g_ResetableSetRange, GetCursorOrThrow(), SwPaM::GetDoc(), lcl_EnumerateIds(), lcl_SelectParaAndReset(), and SwDoc::ResetAttrs().
|
overridevirtual |
Definition at line 2502 of file unoobj.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), FN_UNO_NUM_START_VALUE, SfxItemPropertyMap::getByName(), GetCursorOrThrow(), SwPaM::GetDoc(), SfxItemPropertySet::getPropertyMap(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), lcl_SelectParaAndReset(), m_rPropSet, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, RES_FRMATR_END(), RES_PARATR_BEGIN(), SwDoc::ResetAttrs(), SwUnoCursorHelper::resetCursorPropertyValue(), UNO_NAME_IS_SKIP_HIDDEN_TEXT, and UNO_NAME_IS_SKIP_PROTECTED_TEXT.
Referenced by setPropertyToDefault().
|
overridevirtual |
Definition at line 2360 of file unoobj.cxx.
References setPropertiesToDefault().
|
overridevirtual |
Definition at line 2220 of file unoobj.cxx.
References DEFAULT, GetCursorOrThrow(), GetPaM(), SwPaM::GetPointNode(), SwNode::GetTextNode(), m_nAttrMode, m_rPropSet, NOFORMATATTR, RES_PARATR_LIST_BEGIN(), RES_PARATR_LIST_END(), SwTextNode::ResetAttr(), SwUnoCursorHelper::SetPropertyValue(), SwUnoCursor::SetSkipOverHiddenSections(), SwUnoCursor::SetSkipOverProtectSections(), UNO_NAME_IS_SKIP_HIDDEN_TEXT, UNO_NAME_IS_SKIP_PROTECTED_TEXT, UNO_NAME_NO_FORMAT_ATTR, and UNO_NAME_RESET_PARAGRAPH_LIST_ATTRIBUTES.
|
overridevirtual |
Definition at line 2375 of file unoobj.cxx.
References a, aPropertyValues, cppu::getCaughtException(), GetCursorOrThrow(), i, m_rPropSet, SwUnoCursorHelper::SetPropertyValues(), UNO_NAME_IS_SKIP_HIDDEN_TEXT, and UNO_NAME_IS_SKIP_PROTECTED_TEXT.
|
overridevirtual |
Definition at line 1832 of file unoobj.cxx.
References sw::Default, DeleteAndInsert(), GetCursorOrThrow(), GetPaM(), m_eType, m_xParentText, and Meta.
|
overridevirtual |
Definition at line 2975 of file unoobj.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwUnoCursorHelper::ConvertSortProperties(), SwPaM::DeleteMark(), SwPaM::End(), SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPaM::GetDoc(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::HasMark(), SwContentNode::Len(), SwPosition::SetContent(), SwPaM::SetMark(), SwDoc::SortText(), and SwPaM::Start().
|
overridevirtual |
Definition at line 938 of file unoobj.cxx.
References cppu::supportsService().
|
private |
Definition at line 76 of file unotextcursor.hxx.
Referenced by createEnumeration(), getEnd(), getStart(), goLeft(), goRight(), gotoEnd(), gotoEndOfParagraph(), gotoEndOfSentence(), gotoEndOfWord(), gotoNextParagraph(), gotoNextSentence(), gotoNextWord(), gotoPreviousParagraph(), gotoPreviousSentence(), gotoPreviousWord(), gotoRange(), gotoStart(), gotoStartOfParagraph(), gotoStartOfSentence(), gotoStartOfWord(), IsAtEndOfContentControl(), IsAtEndOfMeta(), and setString().
|
private |
Definition at line 79 of file unotextcursor.hxx.
Referenced by setPropertyValue().
|
private |
Definition at line 78 of file unotextcursor.hxx.
Referenced by DeleteAndInsert(), GetCursor(), GetCursorOrThrow(), GetDoc(), GetPaM(), IsAtEndOfContentControl(), IsAtEndOfMeta(), isCollapsed(), and ~SwXTextCursor().
|
private |
Definition at line 75 of file unotextcursor.hxx.
Referenced by getPropertyDefaults(), getPropertySetInfo(), getPropertyState(), getPropertyStates(), getPropertyValue(), setPropertiesToDefault(), setPropertyValue(), and setPropertyValues().
|
private |
Definition at line 77 of file unotextcursor.hxx.
Referenced by createEnumeration(), getText(), goLeft(), goRight(), gotoEnd(), gotoEndOfSentence(), gotoEndOfWord(), gotoNextSentence(), gotoNextWord(), gotoPreviousSentence(), gotoPreviousWord(), gotoRange(), gotoStart(), gotoStartOfSentence(), gotoStartOfWord(), IsAtEndOfContentControl(), IsAtEndOfMeta(), and setString().