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

#include <vbacontrol.hxx>

Inheritance diagram for oox::ole::VbaUserForm:
Collaboration diagram for oox::ole::VbaUserForm:

Public Member Functions

 VbaUserForm (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &rxDocModel, const GraphicHelper &rGraphicHelper, bool bDefaultColorBgr)
void importForm (const css::uno::Reference< css::container::XNameContainer > &rxDialogLib, StorageBase &rVbaFormStrg, const OUString &rModuleName, rtl_TextEncoding eTextEnc)
 Imports the form and its embedded controls, and inserts the form with all its controls into the passed dialog library. More...
- Public Member Functions inherited from oox::ole::VbaFormControl
 VbaFormControl ()
virtual ~VbaFormControl ()
void importModelOrStorage (BinaryInputStream &rInStrm, StorageBase &rStrg, const AxClassTable &rClassTable)
 Imports the model from the passed stream or storage, depending on the control's type. More...
OUString getControlName () const
 Returns the programmatical name of the control. More...
void createAndConvert (sal_Int32 nCtrlIndex, const css::uno::Reference< css::container::XNameContainer > &rxParentNC, const ControlConverter &rConv) const
 Creates the UNO control model, inserts it into the passed container, and converts all control properties. More...

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxContext
css::uno::Reference< css::frame::XModel > mxDocModel
ControlConverter maConverter

Additional Inherited Members

- Protected Member Functions inherited from oox::ole::VbaFormControl
void importControlModel (BinaryInputStream &rInStrm, const AxClassTable &rClassTable)
 Creates and imports the control model containing properties of the control. More...
void importStorage (StorageBase &rStrg, const AxClassTable &rClassTable)
 Creates and imports the control model, and imports all embedded controls from the passed substorage. More...
bool convertProperties (const css::uno::Reference< css::awt::XControlModel > &rxCtrlModel, const ControlConverter &rConv, sal_Int32 nCtrlIndex) const
 Converts all control properties, and inserts and converts embedded controls. More...
- Protected Attributes inherited from oox::ole::VbaFormControl
VbaSiteModelRef mxSiteModel
 Common control properties. More...
ControlModelRef mxCtrlModel
 Specific control properties. More...

Detailed Description

Definition at line 186 of file vbacontrol.hxx.

Constructor & Destructor Documentation

◆ VbaUserForm()

oox::ole::VbaUserForm::VbaUserForm ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::frame::XModel > &  rxDocModel,
const GraphicHelper rGraphicHelper,
bool  bDefaultColorBgr 

Definition at line 781 of file vbacontrol.cxx.

References mxContext, mxContext, and mxDocModel.

Member Function Documentation

◆ importForm()

void oox::ole::VbaUserForm::importForm ( const css::uno::Reference< css::container::XNameContainer > &  rxDialogLib,
StorageBase rVbaFormStrg,
const OUString &  rModuleName,
rtl_TextEncoding  eTextEnc 

Member Data Documentation

◆ maConverter

ControlConverter oox::ole::VbaUserForm::maConverter

Definition at line 206 of file vbacontrol.hxx.

Referenced by importForm().

◆ mxContext

css::uno::Reference< css::uno::XComponentContext > oox::ole::VbaUserForm::mxContext

Definition at line 204 of file vbacontrol.hxx.

Referenced by importForm(), and VbaUserForm().

◆ mxDocModel

css::uno::Reference< css::frame::XModel > oox::ole::VbaUserForm::mxDocModel

Definition at line 205 of file vbacontrol.hxx.

Referenced by importForm(), and VbaUserForm().

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