diff options
author | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-09 17:24:10 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-09 17:27:56 +0530 |
commit | dcdeded09767c8cf97f371c65ae577053846ea60 (patch) | |
tree | 4d33a49458ba4456801409783712694b022c594d /svl/inc | |
parent | 3dc4b5a88adc062fb1c78f34ff85e129022bef08 (diff) |
New number formats (?/4, ?/100 and ?/[n]). n#655214
?/4 is for quarters representation
?/100 is for hunderds representation
?/[n] is for forcing the divisor to be 'n' e.g. ?/5
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/nfsymbol.hxx | 3 | ||||
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/svl/inc/nfsymbol.hxx b/svl/inc/nfsymbol.hxx index a21ffcaa34d6..57b2ddde339e 100644 --- a/svl/inc/nfsymbol.hxx +++ b/svl/inc/nfsymbol.hxx @@ -62,7 +62,8 @@ enum NfSymbolType NF_SYMBOLTYPE_DATESEP = -18, // date separator NF_SYMBOLTYPE_TIMESEP = -19, // time separator NF_SYMBOLTYPE_TIME100SECSEP = -20, // time 100th seconds separator - NF_SYMBOLTYPE_PERCENT = -21 // percent % + NF_SYMBOLTYPE_PERCENT = -21, // percent % + NF_SYMBOLTYPE_FRAC_FDIV = -22 // forced divisors }; } // namespace svt diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index a6d88e54e892..e70a06a37e16 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -126,7 +126,9 @@ enum NfIndexTableOffset NF_FRACTION_START, NF_FRACTION_1 = NF_FRACTION_START, // # ?/? NF_FRACTION_2, // # ??/?? - NF_FRACTION_END = NF_FRACTION_2, + NF_FRACTION_3, // # ?/4 + NF_FRACTION_4, // # ??/100 + NF_FRACTION_END = NF_FRACTION_4, NF_NUMERIC_END = NF_FRACTION_END, |