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, 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, css::xml::sax::InputSource &aParserInput, const OUString &sComponentName, const OUString &sDocName, const css::uno::Sequence< css::uno::Any > &aArgs, bool bMustBeSuccessful)
 
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 57 of file xmlwrap.hxx.

Constructor & Destructor Documentation

◆ ScXMLImportWrapper()

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

Definition at line 83 of file xmlwrap.cxx.

References pMedium, and xStorage.

Member Function Documentation

◆ Export()

bool ScXMLImportWrapper::Export ( bool  bStylesOnly)

◆ ExportToComponent()

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

◆ GetImportPostProcessData()

const sc::ImportPostProcessData & ScXMLImportWrapper::GetImportPostProcessData ( ) const
inline

Definition at line 91 of file xmlwrap.hxx.

References maPostProcessData.

Referenced by ScDocShell::LoadXML().

◆ GetStatusIndicator()

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

Definition at line 92 of file xmlwrap.cxx.

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

Referenced by Export(), and Import().

◆ Import()

bool ScXMLImportWrapper::Import ( ImportFlags  nMode,
ErrCode rError 
)

◆ ImportFromComponent()

ErrCode ScXMLImportWrapper::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 
)
private

Member Data Documentation

◆ maPostProcessData

sc::ImportPostProcessData ScXMLImportWrapper::maPostProcessData
private

Definition at line 59 of file xmlwrap.hxx.

Referenced by GetImportPostProcessData(), and ImportFromComponent().

◆ mrDocShell

ScDocShell& ScXMLImportWrapper::mrDocShell
private

Definition at line 61 of file xmlwrap.hxx.

Referenced by Import().

◆ pMedium

SfxMedium* ScXMLImportWrapper::pMedium
private

◆ rDoc

ScDocument& ScXMLImportWrapper::rDoc
private

Definition at line 62 of file xmlwrap.hxx.

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

◆ xStorage

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

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