summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtflde.hxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2000-11-12 14:58:58 +0000
committerChristian Lippka <cl@openoffice.org>2000-11-12 14:58:58 +0000
commit50fd28c1239aa44414aeee724498eb250fa72c74 (patch)
treebfd72fa2679d55acd17243b3a23e61cd92e4c74c /xmloff/inc/txtflde.hxx
parentddddd93147f570a6be7b4fc2f681827a3a5d22d3 (diff)
added support for util::DateTime property for AuthorField
Diffstat (limited to 'xmloff/inc/txtflde.hxx')
-rw-r--r--xmloff/inc/txtflde.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 607f588fda0c..0e75a0538346 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtflde.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: dvo $ $Date: 2000-11-10 11:51:18 $
+ * last change: $Author: cl $ $Date: 2000-11-12 15:56:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,6 +77,10 @@
class SvXMLExport;
class SvXMLNumFmtExport;
+namespace com { namespace sun { namespace star { namespace util {
+struct DateTime;
+}}}}
+
/// field IDs,
// including translation between UNO speak and XML speak if appropriate
@@ -308,6 +312,12 @@ protected:
sal_Bool bIsDuration, /// export as duration?
sal_Bool bOmitDurationIfZero); /// omit zero-length durations
+ /// export times, dates and durations according to ISO 8601
+ void ProcessDateTime(
+ const sal_Char* sXMLName, /// name of attribute
+ const ::com::sun::star::util::DateTime& rTime, /// date/time value
+ sal_Bool bIsDate ); /// export as date (rather than date/time)?
+
/// for XDependentTextFields, get PropertySet of FieldMaster
::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet >
GetMasterPropertySet(const ::com::sun::star::uno::Reference <