LibreOffice Module sw (master) 1
|
Implementation of the css::text::XTextMarkup interface. More...
#include <unotextmarkup.hxx>
Classes | |
struct | Impl |
Public Member Functions | |
SwXTextMarkup (SwTextNode *const rTextNode, const ModelToViewHelper &rConversionMap) | |
virtual | ~SwXTextMarkup () override |
virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL | getMarkupInfoContainer () override |
virtual void SAL_CALL | commitStringMarkup (::sal_Int32 nType, const OUString &aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override |
virtual void SAL_CALL | commitTextRangeMarkup (::sal_Int32 nType, const OUString &aIdentifier, const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override |
virtual void SAL_CALL | commitMultiTextMarkup (const css::uno::Sequence< css::text::TextMarkupDescriptor > &aMarkups) override |
Protected Member Functions | |
SwTextNode * | GetTextNode () |
void | ClearTextNode () |
const ModelToViewHelper & | GetConversionMap () const |
Private Member Functions | |
SwXTextMarkup (const SwXTextMarkup &)=delete | |
SwXTextMarkup & | operator= (const SwXTextMarkup &)=delete |
Private Attributes | |
::sw::UnoImplPtr< Impl > | m_pImpl |
Implementation of the css::text::XTextMarkup interface.
Definition at line 39 of file unotextmarkup.hxx.
SwXTextMarkup::SwXTextMarkup | ( | SwTextNode *const | rTextNode, |
const ModelToViewHelper & | rConversionMap | ||
) |
Definition at line 66 of file unotextmarkup.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 72 of file unotextmarkup.cxx.
|
privatedelete |
|
protected |
Definition at line 81 of file unotextmarkup.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 375 of file unotextmarkup.cxx.
References SwGrammarMarkUp::ClearGrammarList(), COMPLETE_STRING, sw::finishGrammarCheckFor(), SwWrongList::GetBeginInv(), sw::GrammarContact::getGrammarCheck(), sw::getGrammarContactFor(), lcl_commitGrammarMarkUp(), m_pImpl, ModelToViewHelper::ModelPosition::mnPos, and SwWrongList::SetInvalid().
|
overridevirtual |
Definition at line 124 of file unotextmarkup.cxx.
References COMPLETE_STRING, sw::finishGrammarCheckFor(), SwSmartTagMgr::Get(), SwWrongList::GetBeginInv(), sw::GrammarContact::getGrammarCheck(), sw::getGrammarContactFor(), SwWrongList::GetWrongListType(), SwWrongList::GetWrongPos(), SwWrongList::Insert(), SwWrongList::InsertSubList(), m_pImpl, ModelToViewHelper::ModelPosition::mbIsField, ModelToViewHelper::ModelPosition::mnPos, ModelToViewHelper::ModelPosition::mnSubPos, nLength, nType, SwWrongList::SubList(), WRONGLIST_SMARTTAG, and WRONGLIST_SPELL.
Referenced by SwXFlatParagraph::commitStringMarkup(), and commitTextRangeMarkup().
|
overridevirtual |
Definition at line 97 of file unotextmarkup.cxx.
References commitStringMarkup(), nType, SwPaM::StartEnd(), and sw::XTextRangeToSwPaM().
Referenced by SwXFlatParagraph::commitTextRangeMarkup().
|
protected |
Definition at line 87 of file unotextmarkup.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 92 of file unotextmarkup.cxx.
Referenced by SwXFlatParagraph::getMarkupInfoContainer().
|
protected |
Definition at line 76 of file unotextmarkup.cxx.
References m_pImpl.
|
privatedelete |
|
private |
Definition at line 67 of file unotextmarkup.hxx.
Referenced by ClearTextNode(), commitMultiTextMarkup(), commitStringMarkup(), GetConversionMap(), and GetTextNode().