summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorLaurent BP <laurent.balland-poirier@laposte.net>2020-05-24 13:29:45 +0200
committerEike Rathke <erack@redhat.com>2020-05-25 22:43:13 +0200
commit20f3a7e461381eb0db3e4ff526b69f3b1185c1c9 (patch)
treec880781e63d67fa1d9c2d4820a83d5aece30e81a /include/svl
parent036728422524fea034327b204d95e29ccc18c66b (diff)
tdf#133342 Add user defined percent string
With Add/Delete decimal place, insert percent char and string text between number and '%' Change-Id: I4a97e4361228020803810692d7977e5806baf180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94757 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zformat.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 5b6f70243f96..abd805d187e5 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -297,6 +297,8 @@ public:
// nPos == 0xFFFF => last substring
short GetNumForType( sal_uInt16 nNumFor, sal_uInt16 nPos ) const;
+ OUString GetPercentString( sal_uInt16 nNumFor = 0 ) const;
+
OUString GetDenominatorString( sal_uInt16 nNumFor ) const;
OUString GetNumeratorString( sal_uInt16 nNumFor ) const;
OUString GetIntegerFractionDelimiterString( sal_uInt16 nNumFor ) const;