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

#include <orcusfiltersimpl.hxx>

Inheritance diagram for ScOrcusFiltersImpl:
[legend]
Collaboration diagram for ScOrcusFiltersImpl:
[legend]

Public Member Functions

virtual bool importCSV (ScDocument &rDoc, SfxMedium &rMedium) const override
 
virtual bool importGnumeric (ScDocument &rDoc, SfxMedium &rMedium) const override
 
virtual bool importExcel2003XML (ScDocument &rDoc, SfxMedium &rMedium) const override
 
virtual bool importXLSX (ScDocument &rDoc, SfxMedium &rMedium) const override
 
virtual bool importODS (ScDocument &rDoc, SfxMedium &rMedium) const override
 
virtual bool importODS_Styles (ScDocument &rDoc, OUString &aFileName) const override
 Used to import just the styles from an xml file. More...
 
virtual std::unique_ptr< ScOrcusXMLContextcreateXMLContext (ScDocument &rDoc, const OUString &rPath) const override
 Create a context for XML file. More...
 
- Public Member Functions inherited from ScOrcusFilters
virtual ~ScOrcusFilters ()
 
virtual bool importCSV (ScDocument &rDoc, SfxMedium &rMedium) const =0
 
virtual bool importGnumeric (ScDocument &rDoc, SfxMedium &rMedium) const =0
 
virtual bool importExcel2003XML (ScDocument &rDoc, SfxMedium &rMedium) const =0
 
virtual bool importXLSX (ScDocument &rDoc, SfxMedium &rMedium) const =0
 
virtual bool importODS (ScDocument &rDoc, SfxMedium &rMedium) const =0
 
virtual bool importODS_Styles (ScDocument &rDoc, OUString &aFileName) const =0
 Used to import just the styles from an xml file. More...
 
virtual std::unique_ptr< ScOrcusXMLContextcreateXMLContext (ScDocument &rDoc, const OUString &rPath) const =0
 Create a context for XML file. More...
 

Detailed Description

Definition at line 16 of file orcusfiltersimpl.hxx.

Member Function Documentation

◆ createXMLContext()

std::unique_ptr< ScOrcusXMLContext > ScOrcusFiltersImpl::createXMLContext ( ScDocument rDoc,
const OUString &  rPath 
) const
overridevirtual

Create a context for XML file.

The context object stores session information for each unique XML file. You must create a new context for each XML file, and never to re-use the same context for multiple XML files.

The caller is responsible for deleting the instance returned from this method when it's done.

Implements ScOrcusFilters.

Definition at line 141 of file orcusfiltersimpl.cxx.

◆ importCSV()

bool ScOrcusFiltersImpl::importCSV ( ScDocument rDoc,
SfxMedium rMedium 
) const
overridevirtual

Implements ScOrcusFilters.

Definition at line 73 of file orcusfiltersimpl.cxx.

References ScOrcusFactory::setStatusIndicator().

◆ importExcel2003XML()

bool ScOrcusFiltersImpl::importExcel2003XML ( ScDocument rDoc,
SfxMedium rMedium 
) const
overridevirtual

Implements ScOrcusFilters.

Definition at line 91 of file orcusfiltersimpl.cxx.

References ScOrcusFactory::setStatusIndicator().

◆ importGnumeric()

bool ScOrcusFiltersImpl::importGnumeric ( ScDocument rDoc,
SfxMedium rMedium 
) const
overridevirtual

Implements ScOrcusFilters.

Definition at line 82 of file orcusfiltersimpl.cxx.

References ScOrcusFactory::setStatusIndicator().

◆ importODS()

bool ScOrcusFiltersImpl::importODS ( ScDocument rDoc,
SfxMedium rMedium 
) const
overridevirtual

Implements ScOrcusFilters.

Definition at line 109 of file orcusfiltersimpl.cxx.

References ScOrcusFactory::setStatusIndicator().

◆ importODS_Styles()

bool ScOrcusFiltersImpl::importODS_Styles ( ScDocument rDoc,
OUString &  aFileName 
) const
overridevirtual

Used to import just the styles from an xml file.

Implements ScOrcusFilters.

Definition at line 118 of file orcusfiltersimpl.cxx.

References OUStringToOString(), and SAL_WARN.

◆ importXLSX()

bool ScOrcusFiltersImpl::importXLSX ( ScDocument rDoc,
SfxMedium rMedium 
) const
overridevirtual

Implements ScOrcusFilters.

Definition at line 100 of file orcusfiltersimpl.cxx.

References ScOrcusFactory::setStatusIndicator().


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