LibreOffice Module extensions (master) 1
|
#include <standardcontrol.hxx>
Public Member Functions | |
OMultilineEditControl (std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, MultiLineOperationMode eMode, 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 weld::Widget * | getWidget () override |
virtual void | editChanged () override |
virtual void | SetModifyHandler () override |
virtual void SAL_CALL | disposing () 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 | |
void | SetTextValue (const OUString &rText) |
OUString | GetTextValue () const |
void | SetStringListValue (const StlSyntaxSequence< OUString > &_rStrings) |
StlSyntaxSequence< OUString > | GetStringListValue () const |
DECL_LINK (ButtonHandler, weld::Button &, void) | |
DECL_LINK (TextViewModifiedHdl, weld::TextView &, void) | |
void | CheckEntryTextViewMisMatch () |
Private Attributes | |
MultiLineOperationMode | m_nOperationMode |
std::unique_ptr< weld::Entry > | m_xEntry |
std::unique_ptr< weld::MenuButton > | m_xButton |
std::unique_ptr< weld::Widget > | m_xPopover |
std::unique_ptr< weld::TextView > | m_xTextView |
std::unique_ptr< weld::Button > | m_xOk |
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 355 of file standardcontrol.hxx.
pcr::OMultilineEditControl::OMultilineEditControl | ( | std::unique_ptr< weld::Container > | xWidget, |
std::unique_ptr< weld::Builder > | xBuilder, | ||
MultiLineOperationMode | eMode, | ||
bool | bReadOnly | ||
) |
Definition at line 769 of file standardcontrol.cxx.
References bReadOnly, eMode, LINK, m_xButton, m_xOk, m_xPopover, and m_xTextView.
|
private |
Definition at line 734 of file standardcontrol.cxx.
References m_xEntry, and m_xTextView.
Referenced by editChanged(), SetStringListValue(), and SetTextValue().
|
private |
|
private |
|
inlineoverridevirtual |
Reimplemented from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >.
Definition at line 399 of file standardcontrol.hxx.
References pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::disposing(), m_xButton, m_xEntry, m_xOk, and m_xTextView.
|
overridevirtual |
Reimplemented from pcr::CommonBehaviourControlHelper.
Definition at line 800 of file standardcontrol.cxx.
References CheckEntryTextViewMisMatch(), m_xEntry, m_xTextView, and pcr::CommonBehaviourControlHelper::setModified().
|
private |
Definition at line 748 of file standardcontrol.cxx.
References m_xTextView.
Referenced by getValue().
|
private |
Definition at line 762 of file standardcontrol.cxx.
References pcr::eMultiLineText, m_nOperationMode, and m_xTextView.
Referenced by getValue().
|
overridevirtual |
Definition at line 838 of file standardcontrol.cxx.
References Any, pcr::eMultiLineText, pcr::eStringList, GetStringListValue(), GetTextValue(), pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::impl_checkDisposed_throw(), and m_nOperationMode.
|
overridevirtual |
Definition at line 855 of file standardcontrol.cxx.
References pcr::eMultiLineText, and m_nOperationMode.
|
inlineoverridevirtual |
Implements pcr::CommonBehaviourControlHelper.
Definition at line 384 of file standardcontrol.hxx.
References pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::getTypedControlWindow().
|
inlineoverridevirtual |
Reimplemented from pcr::CommonBehaviourControl< TControlInterface, TControlWindow >.
Definition at line 388 of file standardcontrol.hxx.
References LINK, m_xButton, m_xEntry, and m_xTextView.
|
private |
Definition at line 741 of file standardcontrol.cxx.
References CheckEntryTextViewMisMatch(), m_xEntry, and m_xTextView.
Referenced by setValue().
|
private |
Definition at line 753 of file standardcontrol.cxx.
References CheckEntryTextViewMisMatch(), pcr::eMultiLineText, m_nOperationMode, m_xEntry, and m_xTextView.
Referenced by setValue().
|
overridevirtual |
Definition at line 813 of file standardcontrol.cxx.
References pcr::eMultiLineText, pcr::eStringList, pcr::CommonBehaviourControl< TControlInterface, TControlWindow >::impl_checkDisposed_throw(), m_nOperationMode, SetStringListValue(), and SetTextValue().
|
private |
Definition at line 358 of file standardcontrol.hxx.
Referenced by GetTextValue(), getValue(), getValueType(), SetTextValue(), and setValue().
|
private |
Definition at line 360 of file standardcontrol.hxx.
Referenced by disposing(), OMultilineEditControl(), and SetModifyHandler().
|
private |
Definition at line 359 of file standardcontrol.hxx.
Referenced by CheckEntryTextViewMisMatch(), disposing(), editChanged(), SetModifyHandler(), SetStringListValue(), and SetTextValue().
|
private |
Definition at line 363 of file standardcontrol.hxx.
Referenced by disposing(), and OMultilineEditControl().
|
private |
Definition at line 361 of file standardcontrol.hxx.
Referenced by OMultilineEditControl().
|
private |
Definition at line 362 of file standardcontrol.hxx.
Referenced by CheckEntryTextViewMisMatch(), disposing(), editChanged(), GetStringListValue(), GetTextValue(), OMultilineEditControl(), SetModifyHandler(), SetStringListValue(), and SetTextValue().