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 723 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 2483 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2360 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2376 of file unoobj.cxx.
|
overridevirtual |
Definition at line 983 of file unoobj.cxx.
References SwPaM::DeleteMark(), SwPaM::Exchange(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), and SwPaM::HasMark().
|
overridevirtual |
Definition at line 967 of file unoobj.cxx.
References SwPaM::DeleteMark(), SwPaM::Exchange(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), and SwPaM::HasMark().
|
overridevirtual |
Definition at line 3075 of file unoobj.cxx.
References SwXParaFrameEnumeration::Create(), GetCursorOrThrow(), and PARAFRAME_PORTION_TEXTRANGE.
|
overridevirtual |
Definition at line 3085 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 2772 of file unoobj.cxx.
References SwUnoCursorHelper::CreateSortDescriptor().
void SwXTextCursor::DeleteAndInsert | ( | std::u16string_view | aText, |
::sw::DeleteAndInsertMode | eMode | ||
) |
Definition at line 729 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 2495 of file unoobj.cxx.
|
overridevirtual |
Definition at line 3121 of file unoobj.cxx.
SwUnoCursor & SwXTextCursor::GetCursor | ( | ) |
Definition at line 676 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 685 of file unoobj.cxx.
References SwPaM::GetDoc(), and m_pUnoCursor.
Referenced by gotoRange(), and gotoStart().
|
overridevirtual |
Definition at line 688 of file unoobj.cxx.
References SwPaM::GetDoc(), and m_pUnoCursor.
|
overridevirtual |
Definition at line 3110 of file unoobj.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 1804 of file unoobj.cxx.
References SwPaM::End(), GetCursorOrThrow(), SwPaM::GetDoc(), SwPaM::GetPoint(), getText(), m_eType, Meta, and SwXTextCursor().
|
overridevirtual |
Definition at line 942 of file unoobj.cxx.
|
overridevirtual |
Definition at line 679 of file unoobj.cxx.
References sw::UnoCursorPointer::get(), and m_pUnoCursor.
Referenced by setString().
|
overridevirtual |
Definition at line 682 of file unoobj.cxx.
References sw::UnoCursorPointer::get(), and m_pUnoCursor.
|
overridevirtual |
Definition at line 2424 of file unoobj.cxx.
References getPropertyDefaults().
|
overridevirtual |
Definition at line 2621 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 2211 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 2392 of file unoobj.cxx.
References GetCursorOrThrow(), SwUnoCursorHelper::GetPropertyState(), and m_rPropSet.
|
overridevirtual |
Definition at line 2404 of file unoobj.cxx.
References GetCursorOrThrow(), SwUnoCursorHelper::GetPropertyStates(), and m_rPropSet.
|
overridevirtual |
Definition at line 2334 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 2474 of file unoobj.cxx.
|
overridevirtual |
Definition at line 1778 of file unoobj.cxx.
References GetCursorOrThrow(), SwPaM::GetDoc(), SwPaM::GetPoint(), getText(), m_eType, Meta, SwPaM::Start(), and SwXTextCursor().
|
overridevirtual |
Definition at line 1829 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::GetTextFromPam().
|
overridevirtual |
Definition at line 953 of file unoobj.cxx.
|
overridevirtual |
Definition at line 1770 of file unoobj.cxx.
References m_xParentText.
Referenced by getEnd(), and getStart().
Definition at line 1013 of file unoobj.cxx.
References ContentControl, Expand, GetCursorOrThrow(), lcl_ForceIntoMeta(), SwCursor::Left(), m_eType, m_xParentText, Meta, nCount, and SwUnoCursorHelper::SelectPam().
Definition at line 1036 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 1111 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 1713 of file unoobj.cxx.
References Expand, fnParaEnd, GetCursorOrThrow(), GoCurrPara(), SwUnoCursorHelper::IsEndOfPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1637 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 1411 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 1738 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoNextPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1536 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 1316 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 1754 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoPrevPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1576 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 1367 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 1143 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 1059 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 1688 of file unoobj.cxx.
References Expand, fnParaStart, GetCursorOrThrow(), GoCurrPara(), SwUnoCursorHelper::IsStartOfPara(), m_eType, Meta, SwCursor::MovePara(), and SwUnoCursorHelper::SelectPam().
Definition at line 1609 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 1450 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 3115 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2711 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::InsertFile().
|
overridevirtual |
Definition at line 2662 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 906 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 876 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 999 of file unoobj.cxx.
References m_pUnoCursor.
|
overridevirtual |
Definition at line 1677 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::IsEndOfPara().
|
overridevirtual |
Definition at line 1512 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 1304 of file unoobj.cxx.
References GetCursorOrThrow(), and SwCursor::IsEndWordWT().
|
overridevirtual |
Definition at line 1666 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::IsStartOfPara().
|
overridevirtual |
Definition at line 1489 of file unoobj.cxx.
References SwPosition::GetContentIndex(), GetCursorOrThrow(), SwPaM::GetMark(), SwPaM::GetPoint(), SwCursor::GoSentence(), SwPaM::HasMark(), and SwCursor::START_SENT.
|
overridevirtual |
Definition at line 1293 of file unoobj.cxx.
References GetCursorOrThrow(), and SwCursor::IsStartWordWT().
|
overridevirtual |
Definition at line 2700 of file unoobj.cxx.
References GetCursorOrThrow(), and SwUnoCursorHelper::makeRedline().
|
overridevirtual |
Definition at line 2489 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2368 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2384 of file unoobj.cxx.
|
overridevirtual |
Definition at line 2536 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 2558 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 2416 of file unoobj.cxx.
References setPropertiesToDefault().
|
overridevirtual |
Definition at line 2235 of file unoobj.cxx.
References aSwMapProvider, aTextNodeSetRange, IStyleAccess::AUTO_STYLE_PARA, DEFAULT, WhichRangesContainer::empty(), SwDoc::GetAttrPool(), SwUnoCursorHelper::GetCursorAttr(), GetCursorOrThrow(), SwPaM::GetDoc(), SwUnoPropertyMapProvider::GetPropertySet(), m_nAttrMode, m_rPropSet, WhichRangesContainer::MergeRange(), NOFORMATATTR, SfxItemPropertyMapEntry::nWID, PROPERTY_MAP_PARA_AUTO_STYLE, PropValuesToAutoStyleItemSet(), SfxItemSet::Put(), RES_AUTO_STYLE(), rSet, SwUnoCursorHelper::SetCursorAttr(), SwUnoCursorHelper::SetPropertyValue(), SfxItemSet::SetRanges(), SwUnoCursor::SetSkipOverHiddenSections(), SwUnoCursor::SetSkipOverProtectSections(), SwFormatAutoFormat::SetStyleHandle(), UNO_NAME_IS_SKIP_HIDDEN_TEXT, UNO_NAME_IS_SKIP_PROTECTED_TEXT, and UNO_NAME_NO_FORMAT_ATTR.
|
overridevirtual |
Definition at line 2431 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 1841 of file unoobj.cxx.
References sw::Default, DeleteAndInsert(), GetCursorOrThrow(), GetPaM(), m_eType, m_xParentText, and Meta.
|
overridevirtual |
Definition at line 3031 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 947 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().