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

Collection of orcus filter wrappers. More...

#include <orcusfilters.hxx>

Inheritance diagram for ScOrcusFilters:
[legend]

Public Member Functions

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

Collection of orcus filter wrappers.

Definition at line 25 of file orcusfilters.hxx.

Constructor & Destructor Documentation

◆ ~ScOrcusFilters()

virtual ScOrcusFilters::~ScOrcusFilters ( )
inlinevirtual

Definition at line 28 of file orcusfilters.hxx.

Member Function Documentation

◆ createXMLContext()

virtual std::unique_ptr< ScOrcusXMLContext > ScOrcusFilters::createXMLContext ( ScDocument rDoc,
const OUString &  rPath 
) const
pure virtual

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.

Implemented in ScOrcusFiltersImpl.

Referenced by sc::XMLFetchThread::execute(), and ScXMLSourceDlg::LoadSourceFileStructure().

◆ importCSV()

virtual bool ScOrcusFilters::importCSV ( ScDocument rDoc,
SfxMedium rMedium 
) const
pure virtual

Implemented in ScOrcusFiltersImpl.

Referenced by ScDocShell::LoadExternal().

◆ importExcel2003XML()

virtual bool ScOrcusFilters::importExcel2003XML ( ScDocument rDoc,
SfxMedium rMedium 
) const
pure virtual

Implemented in ScOrcusFiltersImpl.

Referenced by ScDocShell::ConvertFrom().

◆ importGnumeric()

virtual bool ScOrcusFilters::importGnumeric ( ScDocument rDoc,
SfxMedium rMedium 
) const
pure virtual

◆ importODS()

virtual bool ScOrcusFilters::importODS ( ScDocument rDoc,
SfxMedium rMedium 
) const
pure virtual

Implemented in ScOrcusFiltersImpl.

Referenced by ScDocShell::LoadExternal().

◆ importODS_Styles()

virtual bool ScOrcusFilters::importODS_Styles ( ScDocument rDoc,
OUString &  aFileName 
) const
pure virtual

Used to import just the styles from an xml file.

Implemented in ScOrcusFiltersImpl.

Referenced by ScDocShell::InitNew(), and ScDocShell::Load().

◆ importXLSX()

virtual bool ScOrcusFilters::importXLSX ( ScDocument rDoc,
SfxMedium rMedium 
) const
pure virtual

Implemented in ScOrcusFiltersImpl.

Referenced by ScDocShell::LoadExternal().


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