25#include <osl/diagnose.h>
41 return !nRet.
IsError() && !rLong.isEmpty();
52 OSL_ENSURE( rStg.is(),
"Someone passed SwAutoCorrect::refreshBlockList a dud storage!");
64 const OUString& rFileName,
const OUString& rShort,
86 aBlk.
AddName ( rShort, rShort );
88 nRet = aBlk.
GetText( rShort, rLong );
SvxSwAutoFormatFlags & GetSwFlags()
virtual bool PutText(const css::uno::Reference< css::embed::XStorage > &, const OUString &rFileName, const OUString &rShort, SfxObjectShell &, OUString &) override
Text with attributes.
virtual void refreshBlockList(const css::uno::Reference< css::embed::XStorage > &) override
SwAutoCorrect(const SvxAutoCorrect &rACorr)
virtual ~SwAutoCorrect() override
std::unique_ptr< SwXMLTextBlocks > m_pTextBlocks
virtual bool GetLongText(const OUString &rShort, OUString &rLong) override
Returns the replacement text.
SwEditShell * GetEditShell()
bool CopySelToDoc(SwDoc &rInsDoc)
For copying via ClipBoard: If table is copied into table, move all cursors away from it.
static void SetAutoFormatFlags(SvxSwAutoFormatFlags const *)
virtual ErrCode GetDoc(sal_uInt16) override
virtual ErrCode PutDoc() override
ErrCode GetText(std::u16string_view rShort, OUString &)
void AddName(const OUString &, const OUString &, const OUString &, bool bOnlyText)
virtual ErrCode BeginPutDoc(const OUString &, const OUString &) override