22#include <com/sun/star/uno/Reference.hxx>
28 namespace beans {
struct PropertyValue; }
29 namespace frame {
class XModel; }
30 namespace task {
class XStatusIndicator; }
31 namespace uno {
class XComponentContext; }
32 namespace uno {
template <
class E>
class Sequence; }
33 namespace embed {
class XStorage; }
35 namespace sax {
struct InputSource;
class XParser;
class XWriter; }
64 css::uno::Reference< css::embed::XStorage >
xStorage;
69 const css::uno::Reference<css::frame::XModel>& xModel,
70 css::xml::sax::InputSource& aParserInput,
71 const OUString& sComponentName,
const OUString& sDocName,
72 const css::uno::Sequence<css::uno::Any>& aArgs,
73 bool bMustBeSuccessful);
75 bool ExportToComponent(
const css::uno::Reference<css::uno::XComponentContext>& xContext,
76 const css::uno::Reference<css::frame::XModel>& xModel,
77 const css::uno::Reference<css::xml::sax::XWriter>& xWriter,
78 const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor,
79 const OUString& sName,
const OUString& sMediaType,
const OUString& sComponentName,
80 const css::uno::Sequence<css::uno::Any>& aArgs,
81 std::unique_ptr<ScMySharedData>& pSharedData);
89 bool Export(
bool bStylesOnly);
bool Export(bool bStylesOnly)
ScXMLImportWrapper(ScDocShell &rDocSh, SfxMedium *pM, css::uno::Reference< css::embed::XStorage > xStor)
bool ExportToComponent(const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::xml::sax::XWriter > &xWriter, const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor, const OUString &sName, const OUString &sMediaType, const OUString &sComponentName, const css::uno::Sequence< css::uno::Any > &aArgs, std::unique_ptr< ScMySharedData > &pSharedData)
sc::ImportPostProcessData maPostProcessData
css::uno::Reference< css::embed::XStorage > xStorage
bool Import(ImportFlags nMode, ErrCode &rError)
css::uno::Reference< css::task::XStatusIndicator > GetStatusIndicator() const
const sc::ImportPostProcessData & GetImportPostProcessData() const
ErrCode ImportFromComponent(const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel, css::xml::sax::InputSource &aParserInput, const OUString &sComponentName, const OUString &sDocName, const css::uno::Sequence< css::uno::Any > &aArgs, bool bMustBeSuccessful)
Stores data imported from the file that need to be processed at the end of the import process.