25#include <com/sun/star/inspection/XNumericControl.hpp>
26#include <com/sun/star/inspection/XStringListControl.hpp>
27#include <com/sun/star/inspection/XHyperlinkControl.hpp>
28#include <com/sun/star/uno/Sequence.hxx>
41 OTimeControl(std::unique_ptr<weld::FormattedSpinButton> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
50 virtual css::uno::Any SAL_CALL
getValue()
override;
51 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
75 ODateControl(std::unique_ptr<weld::Container> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
78 virtual css::uno::Any SAL_CALL
getValue()
override;
79 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
94 virtual void SAL_CALL
disposing()
override;
106 OEditControl(std::unique_ptr<weld::Entry> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bPassWord,
bool bReadOnly);
109 virtual css::uno::Any SAL_CALL
getValue()
override;
110 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
111 virtual css::uno::Type SAL_CALL
getValueType()
override;
131 std::unique_ptr<weld::FormattedSpinButton>
m_xTime;
135 ODateTimeControl(std::unique_ptr<weld::Container> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
157 virtual css::uno::Any SAL_CALL
getValue()
override;
158 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
159 virtual css::uno::Type SAL_CALL
getValueType()
override;
175 OHyperlinkControl(std::unique_ptr<weld::Container> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
178 virtual css::uno::Any SAL_CALL
getValue()
override;
179 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
180 virtual css::uno::Type SAL_CALL
getValueType()
override;
195 virtual void SAL_CALL
addActionListener(
const css::uno::Reference< css::awt::XActionListener >& listener )
override;
196 virtual void SAL_CALL
removeActionListener(
const css::uno::Reference< css::awt::XActionListener >& listener )
override;
200 virtual void SAL_CALL
disposing()
override;
214 ONumericControl(std::unique_ptr<weld::MetricSpinButton> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
217 virtual css::uno::Any SAL_CALL
getValue()
override;
218 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
219 virtual css::uno::Type SAL_CALL
getValueType()
override;
223 virtual void SAL_CALL
setDecimalDigits( ::sal_Int16 _decimaldigits )
override;
224 virtual css::beans::Optional< double > SAL_CALL
getMinValue()
override;
225 virtual void SAL_CALL
setMinValue(
const css::beans::Optional< double >& _minvalue )
override;
226 virtual css::beans::Optional< double > SAL_CALL
getMaxValue()
override;
227 virtual void SAL_CALL
setMaxValue(
const css::beans::Optional< double >& _maxvalue )
override;
229 virtual void SAL_CALL
setDisplayUnit( ::sal_Int16 _displayunit )
override;
231 virtual void SAL_CALL
setValueUnit( ::sal_Int16 _valueunit )
override;
262 OColorControl(std::unique_ptr<ColorListBox> xWidget, std::unique_ptr<weld::Builder> xBuilder,
bool bReadOnly);
265 virtual css::uno::Any SAL_CALL
getValue()
override;
266 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
267 virtual css::uno::Type SAL_CALL
getValueType()
override;
291 virtual css::uno::Any SAL_CALL
getValue()
override;
292 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
293 virtual css::uno::Type SAL_CALL
getValueType()
override;
296 virtual void SAL_CALL
clearList( )
override;
297 virtual void SAL_CALL
prependListEntry(
const OUString& NewEntry )
override;
298 virtual void SAL_CALL
appendListEntry(
const OUString& NewEntry )
override;
299 virtual css::uno::Sequence< OUString > SAL_CALL
getListEntries( )
override;
321 virtual css::uno::Any SAL_CALL
getValue()
override;
322 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
323 virtual css::uno::Type SAL_CALL
getValueType()
override;
326 virtual void SAL_CALL
clearList( )
override;
327 virtual void SAL_CALL
prependListEntry(
const OUString& NewEntry )
override;
328 virtual void SAL_CALL
appendListEntry(
const OUString& NewEntry )
override;
329 virtual css::uno::Sequence< OUString > SAL_CALL
getListEntries( )
override;
363 std::unique_ptr<weld::Button>
m_xOk;
381 virtual css::uno::Any SAL_CALL
getValue()
override;
382 virtual void SAL_CALL
setValue(
const css::uno::Any& _value )
override;
383 virtual css::uno::Type SAL_CALL
getValueType()
override;
A helper class for implementing the <type scope="css::inspection">XPropertyControl</type> or one of i...
implements a base class for <type scope="css::inspection">XPropertyControl</type> implementations
TControlWindow * getTypedControlWindow()
virtual void SAL_CALL disposing() override
virtual void SetModifyHandler()
virtual weld::Widget * getWidget() override
virtual void setModified() override
virtual css::uno::Type SAL_CALL getValueType() override
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual css::uno::Any SAL_CALL getValue() override
OColorControl(std::unique_ptr< ColorListBox > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual void SetModifyHandler() override
virtual void SAL_CALL appendListEntry(const OUString &NewEntry) override
virtual void SetModifyHandler() override
virtual css::uno::Type SAL_CALL getValueType() override
virtual void SAL_CALL clearList() override
virtual css::uno::Any SAL_CALL getValue() override
virtual void SAL_CALL prependListEntry(const OUString &NewEntry) override
virtual weld::Widget * getWidget() override
virtual css::uno::Sequence< OUString > SAL_CALL getListEntries() override
OComboboxControl(std::unique_ptr< weld::ComboBox > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
DECL_LINK(OnEntrySelected, weld::ComboBox &, void)
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
std::unique_ptr< weld::Entry > m_xEntry
std::unique_ptr< weld::DateFormatter > m_xEntryFormatter
ODateControl(std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual void SetModifyHandler() override
virtual weld::Widget * getWidget() override
DECL_LINK(ActivateHdl, SvtCalendarBox &, void)
virtual css::uno::Type SAL_CALL getValueType() override
virtual void SAL_CALL disposing() override
virtual css::uno::Any SAL_CALL getValue() override
std::unique_ptr< SvtCalendarBox > m_xCalendarBox
DECL_LINK(ToggleHdl, weld::Toggleable &, void)
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual weld::Widget * getWidget() override
std::unique_ptr< SvtCalendarBox > m_xDate
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual void SAL_CALL disposing() override
virtual void SetModifyHandler() override
std::unique_ptr< weld::FormattedSpinButton > m_xTime
virtual css::uno::Any SAL_CALL getValue() override
std::unique_ptr< weld::TimeFormatter > m_xFormatter
ODateTimeControl(std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual css::uno::Type SAL_CALL getValueType() override
virtual void setModified() override
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual css::uno::Any SAL_CALL getValue() override
virtual void SetModifyHandler() override
OEditControl(std::unique_ptr< weld::Entry > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bPassWord, bool bReadOnly)
virtual weld::Widget * getWidget() override
virtual css::uno::Type SAL_CALL getValueType() override
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual css::uno::Type SAL_CALL getValueType() override
OHyperlinkControl(std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual void SAL_CALL addActionListener(const css::uno::Reference< css::awt::XActionListener > &listener) override
virtual css::uno::Any SAL_CALL getValue() override
virtual void SAL_CALL removeActionListener(const css::uno::Reference< css::awt::XActionListener > &listener) override
DECL_LINK(OnHyperlinkClicked, weld::Button &, void)
std::unique_ptr< weld::Button > m_xButton
virtual weld::Widget * getWidget() override
virtual void SetModifyHandler() override
virtual void SAL_CALL disposing() override
std::unique_ptr< weld::Entry > m_xEntry
::comphelper::OInterfaceContainerHelper2 m_aActionListeners
OListboxControl(std::unique_ptr< weld::ComboBox > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual css::uno::Type SAL_CALL getValueType() override
virtual weld::Widget * getWidget() override
virtual void SAL_CALL appendListEntry(const OUString &NewEntry) override
virtual css::uno::Any SAL_CALL getValue() override
virtual void setModified() override
virtual css::uno::Sequence< OUString > SAL_CALL getListEntries() override
virtual void SAL_CALL prependListEntry(const OUString &NewEntry) override
virtual void SetModifyHandler() override
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual void SAL_CALL clearList() override
std::unique_ptr< weld::Entry > m_xEntry
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual css::uno::Any SAL_CALL getValue() override
StlSyntaxSequence< OUString > GetStringListValue() const
std::unique_ptr< weld::Button > m_xOk
DECL_LINK(ButtonHandler, weld::Button &, void)
void CheckEntryTextViewMisMatch()
MultiLineOperationMode m_nOperationMode
std::unique_ptr< weld::MenuButton > m_xButton
virtual weld::Widget * getWidget() override
DECL_LINK(TextViewModifiedHdl, weld::TextView &, void)
OUString GetTextValue() const
std::unique_ptr< weld::TextView > m_xTextView
virtual void editChanged() override
void SetTextValue(const OUString &rText)
std::unique_ptr< weld::Widget > m_xPopover
virtual void SetModifyHandler() override
OMultilineEditControl(std::unique_ptr< weld::Container > xWidget, std::unique_ptr< weld::Builder > xBuilder, MultiLineOperationMode eMode, bool bReadOnly)
void SetStringListValue(const StlSyntaxSequence< OUString > &_rStrings)
virtual void SAL_CALL disposing() override
virtual css::uno::Type SAL_CALL getValueType() override
virtual weld::Widget * getWidget() override
ONumericControl(std::unique_ptr< weld::MetricSpinButton > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual void SAL_CALL setDisplayUnit(::sal_Int16 _displayunit) override
virtual css::uno::Type SAL_CALL getValueType() override
virtual void SetModifyHandler() override
sal_Int64 impl_apiValueToFieldValue_nothrow(double nApiValue) const
converts an API value (double, as passed into set[Max|Min|]Value) into a int value which can be passe...
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual void SAL_CALL setValueUnit(::sal_Int16 _valueunit) override
virtual void SAL_CALL setDecimalDigits(::sal_Int16 _decimaldigits) override
double impl_fieldValueToApiValue_nothrow(sal_Int64 nFieldValue) const
converts a control value, as obtained from our Numeric field, into a value which can passed to outer ...
virtual css::uno::Any SAL_CALL getValue() override
virtual ::sal_Int16 SAL_CALL getDecimalDigits() override
virtual css::beans::Optional< double > SAL_CALL getMaxValue() override
virtual ::sal_Int16 SAL_CALL getDisplayUnit() override
virtual ::sal_Int16 SAL_CALL getValueUnit() override
sal_Int16 m_nFieldToUNOValueFactor
virtual css::beans::Optional< double > SAL_CALL getMinValue() override
virtual void SAL_CALL setMaxValue(const css::beans::Optional< double > &_maxvalue) override
virtual void SAL_CALL setMinValue(const css::beans::Optional< double > &_minvalue) override
OTimeControl(std::unique_ptr< weld::FormattedSpinButton > xWidget, std::unique_ptr< weld::Builder > xBuilder, bool bReadOnly)
virtual void SAL_CALL disposing() override
virtual void SAL_CALL setValue(const css::uno::Any &_value) override
virtual css::uno::Any SAL_CALL getValue() override
virtual css::uno::Type SAL_CALL getValueType() override
std::unique_ptr< weld::TimeFormatter > m_xFormatter
virtual weld::Widget * getWidget() override
virtual void SetModifyHandler() override
virtual void connect_changed(const Link< Entry &, void > &rLink)
#define LINK(Instance, Class, Member)
a property handler for any virtual string properties
CommonBehaviourControl< css::inspection::XPropertyControl, weld::Container > OMultilineEditControl_Base
CommonBehaviourControl< css::inspection::XPropertyControl, weld::FormattedSpinButton > OTimeControl_Base
CommonBehaviourControl< css::inspection::XPropertyControl, weld::Entry > OEditControl_Base
CommonBehaviourControl< css::inspection::XStringListControl, weld::ComboBox > OComboboxControl_Base
CommonBehaviourControl< css::inspection::XStringListControl, weld::ComboBox > OListboxControl_Base
CommonBehaviourControl< css::inspection::XNumericControl, weld::MetricSpinButton > ONumericControl_Base
CommonBehaviourControl< css::inspection::XHyperlinkControl, weld::Container > OHyperlinkControl_Base
CommonBehaviourControl< css::inspection::XPropertyControl, weld::Container > ODateTimeControl_Base
CommonBehaviourControl< css::inspection::XPropertyControl, ColorListBox > OColorControl_Base
CommonBehaviourControl< css::inspection::XPropertyControl, weld::Container > ODateControl_Base