26using namespace css::xml::sax;
29 const uno::Reference< uno::XComponentContext > & xContext,
32 css::uno::Reference < css::embed::XStorage > xNewStorage)
33: SvXMLImport( xContext,
"" ),
34 pAutocorr_List (pNewAutocorr_List),
35 rAutoCorrect ( rNewAutoCorrect ),
36 xStorage (
std::move( xNewStorage ))
45 const uno::Reference< xml::sax::XFastAttributeList > & )
61 sal_Int32 Element,
const uno::Reference< xml::sax::XFastAttributeList > & xAttrList )
74 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) :
77 OUString sWrong, sRight;
84 if ( sWrong.isEmpty() || sRight.isEmpty())
87 bool bOnlyTxt = sRight != sWrong;
90 const OUString sLongSave( sRight );
92 !sLongSave.isEmpty() )
106 const uno::Reference< uno::XComponentContext > & xContext,
108: SvXMLImport( xContext,
"" ),
118 const uno::Reference< xml::sax::XFastAttributeList > & )
133 sal_Int32 Element,
const uno::Reference< xml::sax::XFastAttributeList > & xAttrList )
146 const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) :
SvxAutocorrWordList * pAutocorr_List
SvXMLAutoCorrectImport(const css::uno::Reference< css::uno::XComponentContext > &xContext, SvxAutocorrWordList *pNewAutocorr_List, SvxAutoCorrect &rNewAutoCorrect, css::uno::Reference< css::embed::XStorage > xNewStorage)
virtual ~SvXMLAutoCorrectImport() noexcept override
SvxAutoCorrect & rAutoCorrect
virtual SvXMLImportContext * CreateFastContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
css::uno::Reference< css::embed::XStorage > xStorage
virtual ~SvXMLExceptionContext() override
SvXMLExceptionContext(SvXMLExceptionListImport &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~SvXMLExceptionListContext() override
SvXMLExceptionListContext(SvXMLExceptionListImport &rImport)
SvXMLExceptionListImport & rLocalRef
SvXMLExceptionListImport(const css::uno::Reference< css::uno::XComponentContext > &xContext, SvStringsISortDtor &rNewList)
virtual SvXMLImportContext * CreateFastContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
SvStringsISortDtor & rList
virtual ~SvXMLExceptionListImport() noexcept override
virtual ~SvXMLWordContext() override
SvXMLWordContext(SvXMLAutoCorrectImport &rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
virtual ~SvXMLWordListContext() override
SvXMLWordListContext(SvXMLAutoCorrectImport &rImport)
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
SvXMLAutoCorrectImport & rLocalRef
virtual void refreshBlockList(const css::uno::Reference< css::embed::XStorage > &rStg)
virtual bool GetLongText(const OUString &rShort, OUString &rLong)
void LoadEntry(const OUString &sWrong, const OUString &sRight, bool bOnlyTxt)
std::pair< const_iterator, bool > insert(Value &&x)