diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-05-03 15:09:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-05-06 10:45:50 +0000 |
commit | f630f9598f2e328cbe37aff5af0e93c027a94de5 (patch) | |
tree | 7b089aa8b8b4ab412037a298c4b0fc2e2308dad4 /cui/source/inc/numfmt.hxx | |
parent | a5a17610d5eff80387c7330527793de87cc82e58 (diff) |
tdf#90258 Toggle Thousand Separator with Engineering Notation
If scientific format is selected, "Thousands separator" option is almost
useless. It could be replaced by "Engineering Notation".
Rebase of https://gerrit.libreoffice.org/15152
Update with more robust tests.
Change-Id: Ie2b88b1f149fce26c32a43ace623cf1f45f38e6e
Reviewed-on: https://gerrit.libreoffice.org/15606
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'cui/source/inc/numfmt.hxx')
-rw-r--r-- | cui/source/inc/numfmt.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index 65e9f1aa56e2..c4413ab894fd 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -130,6 +130,8 @@ private: short nFixedCategory; OUString sAutomaticEntry; + OUString sThousandSeparator; + OUString sEngineeringNotation; VclPtr<vcl::Window> pLastActivWindow; @@ -138,6 +140,7 @@ private: void FillFormatListBox_Impl( std::vector<OUString>& rEntries ); void UpdateOptions_Impl( bool bCheckCatChange ); void UpdateFormatListBox_Impl( bool bCat, bool bUpdateEdit ); + void UpdateThousandEngineeringText(); void Obstructing(); void EnableBySourceFormat_Impl(); void SetCategory( sal_uInt16 nPos ); |