20 #ifndef INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX
21 #define INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX
63 virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd )
override;
64 virtual bool Insert( sal_Int32 nPos,
const OUString& rText )
override;
65 virtual bool Replace( sal_Int32 nPos,
const OUString& rText )
override;
66 virtual bool ReplaceRange( sal_Int32 nPos, sal_Int32 nLen,
const OUString& rText )
override;
68 virtual void SetAttr( sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId,
71 virtual bool SetINetAttr( sal_Int32 nStt, sal_Int32 nEnd,
const OUString& rURL )
override;
78 virtual OUString
const*
GetPrevPara(
bool bAtNormalPos)
override;
82 OUString* pPara )
override;
90 const OUString& rExceptWord,
sal_Unicode cChar )
override;
108 : m_sWord(rWord), m_nNode(nNd), m_nFlags(nAFlags), m_nContent(nContent),
109 m_cChar(cChr), m_eLanguage(eLang), m_bDeleted(false)
virtual bool ReplaceRange(sal_Int32 nPos, sal_Int32 nLen, const OUString &rText) override
Marks a position in the document model.
virtual bool SetINetAttr(sal_Int32 nStt, sal_Int32 nEnd, const OUString &rURL) override
bool m_bUndoIdInitialized
virtual ~SwAutoCorrDoc() override
virtual void SaveCpltSttWord(ACFlags nFlag, sal_Int32 nPos, const OUString &rExceptWord, sal_Unicode cChar) override
void DeleteSel(SwPaM &rDelPam)
void RestoreDontExpandItems(const SwPosition &rPos)
void SaveDontExpandItems(const SwPosition &rPos)
std::unique_ptr< SwNodeIndex > m_pIndex
virtual bool Insert(sal_Int32 nPos, const OUString &rText) override
PaM is Point and Mark: a selection of the document model.
void DeleteSelImpl(SwPaM &rDelPam)
Marks a node in the document model.
void CheckChar(const SwPosition &rPos, sal_Unicode cChar)
virtual bool TransliterateRTLWord(sal_Int32 &rSttPos, sal_Int32 nEndPos) override
virtual OUString const * GetPrevPara(bool bAtNormalPos) override
Return the text of a previous paragraph.
SwAutoCorrExceptWord(ACFlags nAFlags, sal_uLong nNd, sal_Int32 nContent, const OUString &rWord, sal_Unicode cChr, LanguageType eLang)
virtual LanguageType GetLanguage(sal_Int32 nPos) const override
bool CheckDelChar(const SwPosition &rPos)
virtual bool ChgAutoCorrWord(sal_Int32 &rSttPos, sal_Int32 nEndPos, SvxAutoCorrect &rACorrect, OUString *pPara) override
virtual void SetAttr(sal_Int32 nStt, sal_Int32 nEnd, sal_uInt16 nSlotId, SfxPoolItem &) override
virtual bool Delete(sal_Int32 nStt, sal_Int32 nEnd) override
std::unique_ptr< SfxItemSet > m_pDontExpandItems
SwAutoCorrDoc(SwEditShell &rEditShell, SwPaM &rPam, sal_Unicode cIns=0)
virtual bool Replace(sal_Int32 nPos, const OUString &rText) override