diff options
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r-- | include/vcl/field.hxx | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index e3e066da01ab..47b77abda784 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -34,9 +34,9 @@ class CalendarWrapper; class LocaleDataWrapper; class LanguageTag; -// ----------------- + // - FormatterBase - -// ----------------- + class VCL_DLLPUBLIC FormatterBase { @@ -94,9 +94,9 @@ public: }; -// -------------------- + // - PatternFormatter - -// -------------------- + #define PATTERN_FORMAT_EMPTYLITERALS ((sal_uInt16)0x0001) @@ -135,9 +135,9 @@ public: bool IsStringModified() const { return !(GetString() == maFieldString ); } }; -// -------------------- + // - NumericFormatter - -// -------------------- + class VCL_DLLPUBLIC NumericFormatter : public FormatterBase { @@ -212,9 +212,9 @@ public: sal_Int64 Denormalize( sal_Int64 nValue ) const; }; -// ------------------- + // - MetricFormatter - -// ------------------- + class VCL_DLLPUBLIC MetricFormatter : public NumericFormatter { @@ -272,9 +272,9 @@ public: }; -// --------------------- + // - CurrencyFormatter - -// --------------------- + class VCL_DLLPUBLIC CurrencyFormatter : public NumericFormatter { @@ -298,9 +298,9 @@ public: }; -// ----------------- + // - DateFormatter - -// ----------------- + class VCL_DLLPUBLIC DateFormatter : public FormatterBase { @@ -354,15 +354,15 @@ public: const Date& GetMax() const { return maMax; } - // -------------------------------------------------------------- + // MT: Remove these methods too, ExtDateFormat should be enough! // What should happen if using DDMMYYYY, but ShowCentury=false? - // -------------------------------------------------------------- + void SetLongFormat( bool bLong ); bool IsLongFormat() const { return mbLongFormat; } void SetShowDateCentury( bool bShowCentury ); bool IsShowDateCentury() const { return mbShowDateCentury; } - // -------------------------------------------------------------- + void SetDate( const Date& rNewDate ); void SetUserDate( const Date& rNewDate ); @@ -395,9 +395,9 @@ public: }; -// ----------------- + // - TimeFormatter - -// ----------------- + class VCL_DLLPUBLIC TimeFormatter : public FormatterBase { @@ -476,9 +476,9 @@ public: }; -// ---------------- + // - PatternField - -// ---------------- + class VCL_DLLPUBLIC PatternField : public SpinField, public PatternFormatter { @@ -492,9 +492,9 @@ public: }; -// ---------------- + // - NumericField - -// ---------------- + class VCL_DLLPUBLIC NumericField : public SpinField, public NumericFormatter { @@ -522,9 +522,9 @@ public: }; -// ---------------- + // - MetricField - -// ---------------- + class VCL_DLLPUBLIC MetricField : public SpinField, public MetricFormatter { @@ -593,9 +593,9 @@ public: }; -// ----------------- + // - CurrencyField - -// ----------------- + class VCL_DLLPUBLIC CurrencyField : public SpinField, public CurrencyFormatter { @@ -617,9 +617,9 @@ public: }; -// ------------- + // - DateField - -// ------------- + class VCL_DLLPUBLIC DateField : public SpinField, public DateFormatter { @@ -653,9 +653,9 @@ public: Date GetLast() const { return maLast; } }; -// ------------- + // - TimeField - -// ------------- + class VCL_DLLPUBLIC TimeField : public SpinField, public TimeFormatter { @@ -692,9 +692,9 @@ public: }; -// -------------- + // - PatternBox - -// -------------- + class VCL_DLLPUBLIC PatternBox : public ComboBox, public PatternFormatter { @@ -711,9 +711,9 @@ public: }; -// -------------- + // - NumericBox - -// -------------- + class VCL_DLLPUBLIC NumericBox : public ComboBox, public NumericFormatter { @@ -736,9 +736,9 @@ public: }; -// ------------- + // - MetricBox - -// ------------- + class VCL_DLLPUBLIC MetricBox : public ComboBox, public MetricFormatter { @@ -769,9 +769,9 @@ public: }; -// --------------- + // - CurrencyBox - -// --------------- + class VCL_DLLPUBLIC CurrencyBox : public ComboBox, public CurrencyFormatter { @@ -791,9 +791,9 @@ public: virtual sal_Int64 GetValue() const; }; -// ----------- + // - DateBox - -// ----------- + class VCL_DLLPUBLIC DateBox : public ComboBox, public DateFormatter { @@ -811,9 +811,9 @@ public: }; -// ----------- + // - TimeBox - -// ----------- + class VCL_DLLPUBLIC TimeBox : public ComboBox, public TimeFormatter { |