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

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

Private Member Functions

virtual void prepareImport () override
 Adds dummy modules for sheets without imported code name. More...

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from oox::ole::VbaProject
void addDummyModule (const OUString &rName, sal_Int32 nType)
virtual void prepareImport ()

Detailed Description

Special implementation of the VBA project for the Excel filters.

Definition at line 31 of file excelvbaproject.hxx.

Constructor & Destructor Documentation

◆ ExcelVbaProject()

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

Definition at line 42 of file excelvbaproject.cxx.

References Reference, and u.

Member Function Documentation

◆ prepareImport()

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

Adds dummy modules for sheets without imported code name.

Reimplemented from oox::ole::VbaProject.

Definition at line 63 of file excelvbaproject.cxx.

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

Member Data Documentation

◆ mxDocument

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

Definition at line 43 of file excelvbaproject.hxx.

Referenced by prepareImport().

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