diff options
author | Henry Castro <hcastro@collabora.com> | 2020-04-22 18:22:33 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-05-10 17:36:18 +0200 |
commit | cb3e249e4dbc851f39bd80dfc7fd076543734c6d (patch) | |
tree | 9537438c1459385acecad71429375ddb8b6069c2 /include/vcl/field.hxx | |
parent | d6ab59ef40b546ec62df2a7dbe389492a1159fe0 (diff) |
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/+/93070
Tested-by: Jenkins
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r-- | include/vcl/field.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index d9b76c56680d..beb3a30c356f 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -150,6 +150,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 mnLastValue; sal_Int64 mnMin; |