3 class VCL_DLLPUBLIC CurrencyField : public SpinField, public CurrencyFormatter
4 class VCL_DLLPUBLIC CurrencyFormatter : public NumericFormatter
5 class VCL_DLLPUBLIC MetricFormatter : public NumericFormatter
6 class VCL_DLLPUBLIC NumericFormatter : public FormatterBase
8 MetricFormatter - very simple sal_Int64 wrapping ...
10 + *Could* replicate this with the same interface:
11 + prolly easier / better to add an XMetricField interface.
13 vcl's MetricField - itself does a load of (double) casting ...
14 + to get the value it wants :-)
17 ** Can we just twist VCLXCurrencyField to this purpose ?
18 + what differences would we want ?
19 + LongCurrencyFormatter -> 'MetricFormatter' ...
22 + VCLXCurrencyField is based on 'LongCurrencyField' not CurrencyField ...
23 + this is really based on 'BigInt' [ curious ] - so even more precision loss.
25 + So ... cut/paste VCLXCurencyField -> VCLXMetricField
27 + Look at 'VCLXNumericField' interface ...
28 + Use 'XNumericField' instead (?)
29 + why does this just not "just work" ?
31 + The 'MetricField' (is also a MetricFormatter)
32 + MetricFormatter [ unusually ] has 'Unit' support
34 + a) requires 'fieldunit'
36 + c) => new IDL interface required ...
37 + sub-set / expand NumericField ?
39 + add 'CustomConvert' ?
40 + add '[SG]etFirst'/Last
44 + 'spin-size' -> 'value-step'
46 + sal_Int64 ... [!?] ...
48 + Want properties for the UI designer (?)
49 + move that stuff out into there ?
51 + rationalise the 'Modify' event crud ...
52 + share the code in a base-class ...
55 + need to have static methods 'ConvertDoubleValue' etc.
56 + also 'ConvertValue' etc.
57 + GetCorrectedValue - never used ...