diff options
author | Henry Castro <hcastro@collabora.com> | 2020-04-22 18:22:33 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-21 00:43:05 +0200 |
commit | 2be52555c2cbf504283addf883ddd5176e1ee457 (patch) | |
tree | b20be70371d958a6797005ac64743a45183b7df8 /include/vcl/field.hxx | |
parent | lok: fix wrong metric conversion of the metric input control (diff) | |
download | core-2be52555c2cbf504283addf883ddd5176e1ee457.tar.gz core-2be52555c2cbf504283addf883ddd5176e1ee457.zip |
lok: add MetricFieldUIObject class
Add new action "VALUE" to set the value number
for metric input controls
Change-Id: I5058260c2e1562cfc6d10508d5981d185c5f2212
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92738
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94520
Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r-- | include/vcl/field.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index 3fb2a5468861..b116615488e1 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -154,6 +154,8 @@ public: sal_Int64 Normalize( sal_Int64 nValue ) const; sal_Int64 Denormalize( sal_Int64 nValue ) const; + virtual void SetValueFromString(const OUString& rStr); + protected: sal_Int64 mnFieldValue; sal_Int64 mnLastValue; @@ -518,6 +520,7 @@ public: virtual void dispose() override; virtual boost::property_tree::ptree DumpAsPropertyTree() override; + virtual FactoryFunction GetUITestFactory() const override; }; |