LibreOffice Module extensions (master) 1
|
#include <standardcontrol.hxx>
Public Member Functions | |
OHyperlinkControl (std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly) | |
virtual css::uno::Any SAL_CALL | getValue () override |
virtual void SAL_CALL | setValue (const css::uno::Any &_value) override |
virtual css::uno::Type SAL_CALL | getValueType () override |
virtual void | SetModifyHandler () override |
virtual weld::Widget * | getWidget () override |
virtual void SAL_CALL | addActionListener (const css::uno::Reference< css::awt::XActionListener > &listener) override |
virtual void SAL_CALL | removeActionListener (const css::uno::Reference< css::awt::XActionListener > &listener) override |
Public Member Functions inherited from pcr::CommonBehaviourControlHelper | |
CommonBehaviourControlHelper (sal_Int16 nControlType, css::inspection::XPropertyControl &rAntiImpl) | |
creates the instance More... | |
virtual | ~CommonBehaviourControlHelper () |
virtual void | setModified () |
virtual void | editChanged () |
::sal_Int16 | getControlType () const |
const css::uno::Reference< css::inspection::XPropertyControlContext > & | getControlContext () const |
void | setControlContext (const css::uno::Reference< css::inspection::XPropertyControlContext > &controlcontext) |
bool | isModified () const |
void | notifyModifiedValue () |
virtual weld::Widget * | getWidget ()=0 |
DECL_LINK (ModifiedHdl, weld::ComboBox &, void) | |
may be used by derived classes, they forward the event to the PropCtrListener More... | |
DECL_LINK (ColorModifiedHdl, ColorListBox &, void) | |
DECL_LINK (EditModifiedHdl, weld::Entry &, void) | |
DECL_LINK (MetricModifiedHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (FormattedModifiedHdl, weld::FormattedSpinButton &, void) | |
DECL_LINK (TimeModifiedHdl, weld::FormattedSpinButton &, void) | |
DECL_LINK (DateModifiedHdl, SvtCalendarBox &, void) | |
DECL_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (LoseFocusHdl, weld::Widget &, void) | |
Private Member Functions | |
virtual void SAL_CALL | disposing () override |
DECL_LINK (OnHyperlinkClicked, weld::Button &, void) | |
Private Attributes | |
std::unique_ptr< weld::Entry > | m_xEntry |
std::unique_ptr< weld::Button > | m_xButton |
::comphelper::OInterfaceContainerHelper2 | m_aActionListeners |
Additional Inherited Members | |
Protected Types inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow > | |
typedef ::cppu::WeakComponentImplHelper< TControlInterface > | ComponentBaseClass |
Protected Member Functions inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow > | |
CommonBehaviourControl (sal_Int16 nControlType, std::unique_ptr< weld::Builder > xBuilder, std::unique_ptr< TControlWindow > xWidget, bool bReadOnly) | |
virtual | ~CommonBehaviourControl () override |
virtual ::sal_Int16 SAL_CALL | getControlType () override |
virtual css::uno::Reference< css::inspection::XPropertyControlContext > SAL_CALL | getControlContext () override |
virtual void SAL_CALL | setControlContext (const css::uno::Reference< css::inspection::XPropertyControlContext > &controlcontext) override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | getControlWindow () override |
virtual sal_Bool SAL_CALL | isModified () override |
virtual void SAL_CALL | notifyModifiedValue () override |
void | clear_widgetry () |
virtual void SAL_CALL | disposing () override |
TControlWindow * | getTypedControlWindow () |
const TControlWindow * | getTypedControlWindow () const |
virtual void | SetModifyHandler () |
void | impl_checkDisposed_throw () |
checks whether the instance is already disposed More... | |
Protected Attributes inherited from pcr::CommonBehaviourControl< TControlInterface, TControlWindow > | |
std::unique_ptr< weld::Builder > | m_xBuilder |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Definition at line 166 of file standardcontrol.hxx.
pcr::OHyperlinkControl::OHyperlinkControl | ( | std::unique_ptr< weld::Container > | xWidget, |
std::unique_ptr< weld::Builder > | xBuilder, | ||
bool | bReadOnly | ||
) |
Definition at line 301 of file standardcontrol.cxx.
References bReadOnly, pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::getTypedControlWindow(), LINK, m_xButton, and m_xEntry.
|
overridevirtual |
Definition at line 332 of file standardcontrol.cxx.
References comphelper::OInterfaceContainerHelper2::addInterface(), and m_aActionListeners.
|
private |
|
overrideprivatevirtual |
Reimplemented from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >.
Definition at line 343 of file standardcontrol.cxx.
References aEvent, comphelper::OInterfaceContainerHelper2::disposeAndClear(), pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::disposing(), m_aActionListeners, m_xButton, and m_xEntry.
|
overridevirtual |
Definition at line 314 of file standardcontrol.cxx.
|
overridevirtual |
Definition at line 327 of file standardcontrol.cxx.
|
inlineoverridevirtual |
Implements pcr::CommonBehaviourControlHelper.
Definition at line 192 of file standardcontrol.hxx.
References pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::getTypedControlWindow().
|
overridevirtual |
Definition at line 338 of file standardcontrol.cxx.
References m_aActionListeners, and comphelper::OInterfaceContainerHelper2::removeInterface().
|
inlineoverridevirtual |
Reimplemented from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >.
Definition at line 182 of file standardcontrol.hxx.
|
overridevirtual |
Definition at line 320 of file standardcontrol.cxx.
References m_xEntry.
|
private |
Definition at line 172 of file standardcontrol.hxx.
Referenced by addActionListener(), disposing(), and removeActionListener().
|
private |
Definition at line 170 of file standardcontrol.hxx.
Referenced by disposing(), OHyperlinkControl(), and SetModifyHandler().
|
private |
Definition at line 169 of file standardcontrol.hxx.
Referenced by disposing(), getValue(), OHyperlinkControl(), SetModifyHandler(), and setValue().