LibreOffice Module svx (master) 1
|
easier access to a FormControllerHelper instance More...
#include <formcontrolling.hxx>
Public Member Functions | |
ControllerFeatures (IControllerFeatureInvalidation *_pInvalidationCallback) | |
standard ctor More... | |
ControllerFeatures (const css::uno::Reference< css::form::runtime::XFormController > &_rxController) | |
constructs the instance from a <type scope="css::form::runtime">XFormController<type> instance More... | |
~ControllerFeatures () | |
dtor More... | |
bool | isAssigned () const |
checks whether the instance is properly assigned to a form and/or controller More... | |
void | assign (const css::uno::Reference< css::form::runtime::XFormController > &_rxController) |
assign to a controller More... | |
void | dispose () |
clears the instance so that it cannot be used afterwards More... | |
const FormControllerHelper * | operator-> () const |
FormControllerHelper * | operator-> () |
Private Attributes | |
IControllerFeatureInvalidation * | m_pInvalidationCallback |
rtl::Reference< FormControllerHelper > | m_pImpl |
easier access to a FormControllerHelper instance
Definition at line 71 of file formcontrolling.hxx.
svx::ControllerFeatures::ControllerFeatures | ( | IControllerFeatureInvalidation * | _pInvalidationCallback | ) |
standard ctor
The instance is not functional until <method>assign</method> is used.
_pInvalidationCallback | the callback for invalidating feature states |
Definition at line 181 of file formcontrolling.cxx.
svx::ControllerFeatures::ControllerFeatures | ( | const css::uno::Reference< css::form::runtime::XFormController > & | _rxController | ) |
constructs the instance from a <type scope="css::form::runtime">XFormController<type> instance
_rxController | The form controller which the helper should be responsible for. Must not be <NULL>, and must have a valid model (form). |
svx::ControllerFeatures::~ControllerFeatures | ( | ) |
void svx::ControllerFeatures::assign | ( | const css::uno::Reference< css::form::runtime::XFormController > & | _rxController | ) |
assign to a controller
Definition at line 194 of file formcontrolling.cxx.
References dispose(), m_pImpl, and m_pInvalidationCallback.
void svx::ControllerFeatures::dispose | ( | void | ) |
clears the instance so that it cannot be used afterwards
Definition at line 207 of file formcontrolling.cxx.
References m_pImpl.
Referenced by assign(), and ~ControllerFeatures().
|
inline |
checks whether the instance is properly assigned to a form and/or controller
Definition at line 102 of file formcontrolling.hxx.
References m_pImpl.
|
inline |
Definition at line 115 of file formcontrolling.hxx.
References m_pImpl.
|
inline |
Definition at line 114 of file formcontrolling.hxx.
References m_pImpl.
|
private |
Definition at line 74 of file formcontrolling.hxx.
Referenced by assign(), dispose(), isAssigned(), and operator->().
|
private |
Definition at line 73 of file formcontrolling.hxx.
Referenced by assign().