LibreOffice Module oox (master) 1
|
A wrapper for a control form embedded directly in a draw page. More...
#include <axcontrol.hxx>
Public Member Functions | |
EmbeddedForm (const css::uno::Reference< css::frame::XModel > &rxDocModel, const css::uno::Reference< css::drawing::XDrawPage > &rxDrawPage, const GraphicHelper &rGraphicHelper) | |
css::uno::Reference< css::awt::XControlModel > | convertAndInsert (const EmbeddedControl &rControl, sal_Int32 &rnCtrlIndex) |
Converts the passed control and inserts the control model into the form. More... | |
const css::uno::Reference< css::container::XIndexContainer > & | getXForm () const |
Returns the XIndexContainer interface of the UNO control form, if existing. More... | |
Private Member Functions | |
css::uno::Reference< css::container::XIndexContainer > const & | createXForm () |
Creates the form that will hold the form controls. More... | |
Private Attributes | |
ControlConverter | maControlConv |
css::uno::Reference< css::lang::XMultiServiceFactory > | mxModelFactory |
css::uno::Reference< css::form::XFormsSupplier > | mxFormsSupp |
css::uno::Reference< css::container::XIndexContainer > | mxFormIC |
A wrapper for a control form embedded directly in a draw page.
Definition at line 959 of file axcontrol.hxx.
|
explicit |
Definition at line 2722 of file axcontrol.cxx.
References mxModelFactory.
Reference< XControlModel > oox::ole::EmbeddedForm::convertAndInsert | ( | const EmbeddedControl & | rControl, |
sal_Int32 & | rnCtrlIndex | ||
) |
Converts the passed control and inserts the control model into the form.
Definition at line 2731 of file axcontrol.cxx.
References Any, oox::ole::EmbeddedControl::convertProperties(), createXForm(), Exception, oox::ole::EmbeddedControl::getServiceName(), oox::ole::EmbeddedControl::hasModel(), maControlConv, mxModelFactory, and TOOLS_WARN_EXCEPTION.
|
private |
Creates the form that will hold the form controls.
Definition at line 2756 of file axcontrol.cxx.
References Any, Exception, mxFormIC, mxFormsSupp, mxModelFactory, and TOOLS_WARN_EXCEPTION.
Referenced by convertAndInsert().
|
inline |
Returns the XIndexContainer interface of the UNO control form, if existing.
Definition at line 974 of file axcontrol.hxx.
References mxFormIC.
|
private |
Definition at line 982 of file axcontrol.hxx.
Referenced by convertAndInsert().
|
private |
Definition at line 985 of file axcontrol.hxx.
Referenced by createXForm(), and getXForm().
|
private |
Definition at line 984 of file axcontrol.hxx.
Referenced by createXForm().
|
private |
Definition at line 983 of file axcontrol.hxx.
Referenced by convertAndInsert(), createXForm(), and EmbeddedForm().