LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScXMLImportWrapper Class Reference

#include <xmlwrap.hxx>

Collaboration diagram for ScXMLImportWrapper:
[legend]

Public Member Functions

 ScXMLImportWrapper (ScDocShell &rDocSh, SfxMedium *pM, const css::uno::Reference< css::embed::XStorage > &xStor)
 
bool Import (ImportFlags nMode, ErrCode &rError)
 
bool Export (bool bStylesOnly)
 
const sc::ImportPostProcessDataGetImportPostProcessData () const
 

Private Member Functions

css::uno::Reference< css::task::XStatusIndicator > GetStatusIndicator () const
 
ErrCode ImportFromComponent (const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::xml::sax::XParser > &xParser, css::xml::sax::InputSource &aParserInput, const OUString &sComponentName, const OUString &sDocName, const css::uno::Sequence< css::uno::Any > &aArgs, bool bMustBeSuccessfull)
 
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)
 

Private Attributes

sc::ImportPostProcessData maPostProcessData
 
ScDocShellmrDocShell
 
ScDocumentrDoc
 
SfxMediumpMedium
 
css::uno::Reference< css::embed::XStorage > xStorage
 

Detailed Description

Definition at line 58 of file xmlwrap.hxx.

Constructor & Destructor Documentation

ScXMLImportWrapper::ScXMLImportWrapper ( ScDocShell rDocSh,
SfxMedium pM,
const css::uno::Reference< css::embed::XStorage > &  xStor 
)

Definition at line 81 of file xmlwrap.cxx.

References pMedium, and xStorage.

Member Function Documentation

bool ScXMLImportWrapper::Export ( bool  bStylesOnly)
bool ScXMLImportWrapper::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 
)
private
const sc::ImportPostProcessData& ScXMLImportWrapper::GetImportPostProcessData ( ) const
inline

Definition at line 93 of file xmlwrap.hxx.

References maPostProcessData.

Referenced by ScDocShell::LoadXML().

uno::Reference< task::XStatusIndicator > ScXMLImportWrapper::GetStatusIndicator ( ) const
private

Definition at line 90 of file xmlwrap.cxx.

References SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxUnoAnyItem::GetValue(), and pMedium.

Referenced by Export(), and Import().

bool ScXMLImportWrapper::Import ( ImportFlags  nMode,
ErrCode rError 
)
ErrCode ScXMLImportWrapper::ImportFromComponent ( const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::frame::XModel > &  xModel,
const css::uno::Reference< css::xml::sax::XParser > &  xParser,
css::xml::sax::InputSource &  aParserInput,
const OUString &  sComponentName,
const OUString &  sDocName,
const css::uno::Sequence< css::uno::Any > &  aArgs,
bool  bMustBeSuccessfull 
)
private

Member Data Documentation

sc::ImportPostProcessData ScXMLImportWrapper::maPostProcessData
private

Definition at line 60 of file xmlwrap.hxx.

Referenced by GetImportPostProcessData(), and ImportFromComponent().

ScDocShell& ScXMLImportWrapper::mrDocShell
private

Definition at line 62 of file xmlwrap.hxx.

Referenced by Import().

SfxMedium* ScXMLImportWrapper::pMedium
private
ScDocument& ScXMLImportWrapper::rDoc
private

Definition at line 63 of file xmlwrap.hxx.

Referenced by Export(), ExportToComponent(), Import(), and ImportFromComponent().

css::uno::Reference< css::embed::XStorage > ScXMLImportWrapper::xStorage
private

The documentation for this class was generated from the following files: