14#include <document.hxx>
36 const OUString& rID, std::function<
void()> aImportFinishedHdl,
37 std::vector<std::shared_ptr<sc::DataTransformation>>&& rTransformations);
38 virtual void execute()
override;
43 const OUString& rID, std::function<
void()> aImportFinishedHdl,
44 std::vector<std::shared_ptr<sc::DataTransformation>>&& rTransformations)
50 , maDataTransformations(
std::move(rTransformations))
51 , maImportFinishedHdl(
std::move(aImportFinishedHdl))
Collection of orcus filter wrappers.
virtual std::unique_ptr< ScOrcusXMLContext > createXMLContext(ScDocument &rDoc, const OUString &rPath) const =0
Create a context for XML file.
Abstract class for all data provider.
bool mbDeterministic
If true make the threaded import deterministic for the tests.
sc::ExternalDataSource & mrDataSource
const ScOrcusImportXMLParam & getXMLImportParam() const
const OUString & getID() const
const std::vector< std::shared_ptr< sc::DataTransformation > > & getDataTransformation() const
const OUString & getURL() const
ScDBDataManager * getDBManager()
void WriteToDoc(ScDocument &rDoc)
virtual ~XMLDataProvider() override
rtl::Reference< XMLFetchThread > mxXMLFetchThread
XMLDataProvider(ScDocument *pDoc, sc::ExternalDataSource &rDataSource)
virtual const OUString & GetURL() const override
ScDocumentUniquePtr mpDoc
virtual void Import() override
std::function< void()> maImportFinishedHdl
XMLFetchThread(ScDocument &rDoc, const OUString &, const ScOrcusImportXMLParam &rParam, const OUString &rID, std::function< void()> aImportFinishedHdl, std::vector< std::shared_ptr< sc::DataTransformation > > &&rTransformations)
const std::vector< std::shared_ptr< sc::DataTransformation > > maDataTransformations
virtual void execute() override
std::unique_ptr< ScOrcusXMLContext > mpXMLContext
ScOrcusImportXMLParam maParam
OString OUStringToOString(std::u16string_view str, ConnectionSettings const *settings)
CAUTION! The following defines must be in the same namespace as the respective type.
std::vector< OString > maFieldPaths
std::vector< RangeLink > maRangeLinks