diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zformat.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 1dd05d2e9146..2f382d8702f5 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -226,6 +226,12 @@ public: sal_uInt16 GetFormatIntegerDigits( sal_uInt16 nIx = 0 ) const { return NumFor[nIx].Info().nCntPre; } + /** Count of hidden integer digits with thousands dividor: + * formats like "0," to show only thousands + */ + sal_uInt16 GetThousandDivisorPrecision( sal_uInt16 nIx = 0 ) const + { return NumFor[nIx].Info().nThousand * 3; } + //! Read/write access on a special sal_uInt16 component, may only be used on the //! standard format 0, 10000, ... and only by the number formatter! struct FormatterPrivateAccess { friend SvNumberFormatter; private: FormatterPrivateAccess() {} }; |