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

Special implementation of the VBA project for the Excel filters. More...

#include <excelvbaproject.hxx>

Inheritance diagram for oox::xls::ExcelVbaProject:
Collaboration diagram for oox::xls::ExcelVbaProject:

Public Member Functions

 ExcelVbaProject (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::sheet::XSpreadsheetDocument > &rxDocument)
- Public Member Functions inherited from oox::ole::VbaProject
 VbaProject (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &rxDocModel, std::u16string_view rConfigCompName)
virtual ~VbaProject ()
void importVbaProject (StorageBase &rVbaPrjStrg, const GraphicHelper &rGraphicHelper)
bool importVbaProject (StorageBase &rVbaPrjStrg)
void importVbaData (const css::uno::Reference< css::io::XInputStream > &xInputStream)
void readVbaModules (StorageBase &rVbaPrjStrg)
void importModulesAndForms (StorageBase &rVbaPrjStrg, const GraphicHelper &rGraphicHelper)
void registerMacroAttacher (const VbaMacroAttacherRef &rxAttacher)
void attachMacros ()
void setOleOverridesSink (css::uno::Reference< css::container::XNameContainer > const &rxOleOverridesSink)
- Public Member Functions inherited from oox::ole::VbaFilterConfig
 VbaFilterConfig (const css::uno::Reference< css::uno::XComponentContext > &rxContext, std::u16string_view rConfigCompName)
 ~VbaFilterConfig ()
bool isImportVba () const
bool isImportVbaExecutable () const
bool isExportVba () const

Protected Member Functions

virtual void prepareImport () override
 Adds dummy modules for sheets without imported code name. More...
- Protected Member Functions inherited from oox::ole::VbaProject
void addDummyModule (const OUString &rName, sal_Int32 nType)

Private Attributes

css::uno::Reference< css::sheet::XSpreadsheetDocument > mxDocument

Detailed Description

Special implementation of the VBA project for the Excel filters.

Definition at line 32 of file excelvbaproject.hxx.

Constructor & Destructor Documentation

oox::xls::ExcelVbaProject::ExcelVbaProject ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  rxDocument 

Definition at line 41 of file excelvbaproject.cxx.

References Reference, and u.

Member Function Documentation

void oox::xls::ExcelVbaProject::prepareImport ( )

Adds dummy modules for sheets without imported code name.

Reimplemented from oox::ole::VbaProject.

Definition at line 62 of file excelvbaproject.cxx.

References oox::ole::VbaProject::addDummyModule(), Exception, oox::PropertySet::getProperty(), and mxDocument.

Member Data Documentation

css::uno::Reference< css::sheet::XSpreadsheetDocument > oox::xls::ExcelVbaProject::mxDocument

Definition at line 45 of file excelvbaproject.hxx.

Referenced by prepareImport().

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