20#ifndef INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX
64 virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd )
override;
65 virtual bool Insert( sal_Int32 nPos,
const OUString& rText )
override;
66 virtual bool Replace( sal_Int32 nPos,
const OUString& rText )
override;
67 virtual bool ReplaceRange( sal_Int32 nPos, sal_Int32 nLen,
const OUString& rText )
override;
69 virtual void SetAttr( sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId,
72 virtual bool SetINetAttr( sal_Int32 nStt, sal_Int32 nEnd,
const OUString& rURL )
override;
79 virtual OUString
const*
GetPrevPara(
bool bAtNormalPos)
override;
83 OUString* pPara )
override;
85 bool bApply =
false )
override;
92 const OUString& rExceptWord,
sal_Unicode cChar )
override;
virtual LanguageType GetLanguage(sal_Int32 nPos) const override
virtual bool ReplaceRange(sal_Int32 nPos, sal_Int32 nLen, const OUString &rText) override
virtual bool Replace(sal_Int32 nPos, const OUString &rText) override
virtual bool TransliterateRTLWord(sal_Int32 &rSttPos, sal_Int32 nEndPos, bool bApply=false) override
virtual void SaveCpltSttWord(ACFlags nFlag, sal_Int32 nPos, const OUString &rExceptWord, sal_Unicode cChar) override
void DeleteSel(SwPaM &rDelPam)
virtual bool SetINetAttr(sal_Int32 nStt, sal_Int32 nEnd, const OUString &rURL) override
virtual bool Delete(sal_Int32 nStt, sal_Int32 nEnd) override
virtual void SetAttr(sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId, SfxPoolItem &) override
void DeleteSelImpl(SwPaM &rDelPam)
virtual bool ChgAutoCorrWord(sal_Int32 &rSttPos, sal_Int32 nEndPos, SvxAutoCorrect &rACorrect, OUString *pPara) override
virtual bool Insert(sal_Int32 nPos, const OUString &rText) override
virtual ~SwAutoCorrDoc() override
SwAutoCorrDoc(SwEditShell &rEditShell, SwPaM &rPam, sal_Unicode cIns=0)
virtual OUString const * GetPrevPara(bool bAtNormalPos) override
Return the text of a previous paragraph.
std::optional< SwNodeIndex > m_oIndex
bool m_bUndoIdInitialized
SwAutoCorrExceptWord(ACFlags nAFlags, SwNodeOffset nNd, sal_Int32 nContent, OUString aWord, sal_Unicode cChr, LanguageType eLang)
bool CheckDelChar(const SwPosition &rPos)
void CheckChar(const SwPosition &rPos, sal_Unicode cChar)
void RestoreDontExpandItems(const SwPosition &rPos)
std::unique_ptr< SfxItemSet > m_pDontExpandItems
void SaveDontExpandItems(const SwPosition &rPos)
PaM is Point and Mark: a selection of the document model.
Marks a position in the document model.