LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::xls::ExcelFilter Class Reference

#include <excelfilter.hxx>

Inheritance diagram for oox::xls::ExcelFilter:
[legend]
Collaboration diagram for oox::xls::ExcelFilter:
[legend]

Public Member Functions

 ExcelFilter (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~ExcelFilter () override
 
void registerWorkbookGlobals (WorkbookGlobals &rBookGlob)
 
WorkbookGlobalsgetWorkbookGlobals () const
 
void unregisterWorkbookGlobals ()
 
virtual bool importDocument () override
 
virtual bool exportDocument () override throw ()
 
virtual const ::oox::drawingml::ThemegetCurrentTheme () const override
 
virtual ::oox::vml::DrawinggetVmlDrawing () override
 
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles () override
 
virtual ::oox::drawingml::chart::ChartConvertergetChartConverter () override
 
virtual void useInternalChartDataTable (bool bInternal) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &rDescriptor) override
 
- Public Member Functions inherited from oox::core::XmlFilterBase
 XmlFilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~XmlFilterBase () override
 
OUString getFragmentPathFromFirstTypeFromOfficeDoc (const OUString &rPart)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler, FastParser &rParser)
 
css::uno::Reference< css::xml::dom::XDocument > importFragment (const OUString &rFragmentPath)
 
bool importFragment (const ::rtl::Reference< FragmentHandler > &rxHandler, const css::uno::Reference< css::xml::sax::XFastSAXSerializable > &rxSerializer)
 
RelationsRef importRelations (const OUString &rFragmentPath)
 
OUString addRelation (const OUString &rType, const OUString &rTarget)
 
OUString addRelation (const css::uno::Reference< css::io::XOutputStream > &rOutputStream, const OUString &rType, const OUString &rTarget, bool bExternal=false)
 
TextFieldStackgetTextFieldStack () const
 
css::uno::Reference< css::io::XOutputStream > openFragmentStream (const OUString &rStreamName, const OUString &rMediaType)
 
::sax_fastparser::FSHelperPtr openFragmentStreamWithSerializer (const OUString &rStreamName, const OUString &rMediaType)
 
sal_Int32 GetUniqueId ()
 
void exportDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xProperties, bool bSecurityOptOpenReadOnly)
 
void exportCustomFragments ()
 
void importDocumentProperties ()
 
bool isMSO2007Document () const
 
void setMissingExtDrawing ()
 
void checkDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xDocProps)
 
OUString getNamespaceURL (sal_Int32 nNSID) const
 
- Public Member Functions inherited from oox::core::FilterBase
 FilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~FilterBase () override
 
bool isImportFilter () const
 
bool isExportFilter () const
 
OoxmlVersion getVersion () const
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
const css::uno::Reference< css::frame::XModel > & getModel () const
 
const css::uno::Reference< css::lang::XMultiServiceFactory > & getModelFactory () const
 
const css::uno::Reference< css::frame::XFrame > & getTargetFrame () const
 
const css::uno::Reference< css::task::XStatusIndicator > & getStatusIndicator () const
 
::comphelper::SequenceAsHashMapgetFilterData () const
 
utl::MediaDescriptorgetMediaDescriptor () const
 
const OUString & getFileUrl () const
 
OUString getAbsoluteUrl (const OUString &rUrl) const
 
StorageRef const & getStorage () const
 
css::uno::Reference< css::io::XInputStream > openInputStream (const OUString &rStreamName) const
 
css::uno::Reference< css::io::XOutputStream > openOutputStream (const OUString &rStreamName) const
 
void commitStorage () const
 
GraphicHelpergetGraphicHelper () const
 
ModelObjectHelpergetModelObjectHelper () const
 
ModelObjectHelpergetModelObjectHelperForModel (const css::uno::Reference< css::lang::XMultiServiceFactory > &xFactory) const
 
::oox::ole::OleObjectHelpergetOleObjectHelper () const
 
::oox::ole::VbaProjectgetVbaProject () const
 
bool importBinaryData (StreamDataSequence &orDataSeq, const OUString &rStreamName)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual void SAL_CALL cancel () override
 
bool exportVBA () const
 
bool isExportTemplate () const
 

Private Member Functions

virtual GraphicHelperimplCreateGraphicHelper () const override
 
virtual ::oox::ole::VbaProjectimplCreateVbaProject () const override
 
virtual OUString SAL_CALL getImplementationName () override
 

Private Attributes

WorkbookGlobalsmpBookGlob
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::core::XmlFilterBase
static void putPropertiesToDocumentGrabBag (const css::uno::Reference< css::lang::XComponent > &xDstDoc, const comphelper::SequenceAsHashMap &rProperties)
 
static FastParsercreateParser ()
 
- Protected Member Functions inherited from oox::core::XmlFilterBase
virtual css::uno::Reference< css::io::XInputStream > implGetInputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual css::uno::Reference< css::io::XStream > implGetOutputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual bool implFinalizeExport (utl::MediaDescriptor &rMediaDescriptor) override
 
- Protected Member Functions inherited from oox::core::FilterBase
css::uno::Reference< css::io::XStream > const & getMainDocumentStream () const
 
- Protected Attributes inherited from oox::core::XmlFilterBase
bool mbMissingExtDrawing
 

Detailed Description

Definition at line 30 of file excelfilter.hxx.

Constructor & Destructor Documentation

oox::xls::ExcelFilter::ExcelFilter ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit
Exceptions
css::uno::RuntimeException

Definition at line 52 of file excelfilter.cxx.

oox::xls::ExcelFilter::~ExcelFilter ( )
overridevirtual

Definition at line 58 of file excelfilter.cxx.

References mpBookGlob.

Member Function Documentation

bool oox::xls::ExcelFilter::exportDocument ( )
throw (
)
overridevirtual

Implements oox::core::FilterBase.

Definition at line 178 of file excelfilter.cxx.

sal_Bool SAL_CALL oox::xls::ExcelFilter::filter ( const css::uno::Sequence< css::beans::PropertyValue > &  rDescriptor)
overridevirtual
oox::drawingml::chart::ChartConverter * oox::xls::ExcelFilter::getChartConverter ( )
overridevirtual
const ::oox::drawingml::Theme * oox::xls::ExcelFilter::getCurrentTheme ( ) const
overridevirtual
OUString oox::xls::ExcelFilter::getImplementationName ( )
overrideprivatevirtual

Definition at line 243 of file excelfilter.cxx.

TableStyleListPtr oox::xls::ExcelFilter::getTableStyles ( )
overridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 193 of file excelfilter.cxx.

oox::vml::Drawing * oox::xls::ExcelFilter::getVmlDrawing ( )
overridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 188 of file excelfilter.cxx.

WorkbookGlobals & oox::xls::ExcelFilter::getWorkbookGlobals ( ) const
GraphicHelper * oox::xls::ExcelFilter::implCreateGraphicHelper ( ) const
overrideprivatevirtual

Reimplemented from oox::core::FilterBase.

Definition at line 208 of file excelfilter.cxx.

References getWorkbookGlobals().

oox::ole::VbaProject * oox::xls::ExcelFilter::implCreateVbaProject ( ) const
overrideprivatevirtual
bool oox::xls::ExcelFilter::importDocument ( )
overridevirtual
void oox::xls::ExcelFilter::registerWorkbookGlobals ( WorkbookGlobals rBookGlob)

Definition at line 63 of file excelfilter.cxx.

References mpBookGlob.

Referenced by oox::xls::WorkbookGlobals::WorkbookGlobals().

void oox::xls::ExcelFilter::unregisterWorkbookGlobals ( )

Definition at line 74 of file excelfilter.cxx.

References mpBookGlob.

Referenced by oox::xls::WorkbookGlobals::~WorkbookGlobals().

void oox::xls::ExcelFilter::useInternalChartDataTable ( bool  bInternal)
overridevirtual

Member Data Documentation

WorkbookGlobals* oox::xls::ExcelFilter::mpBookGlob
private

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