[goffice] Use foreign element to mark elapsed time in ODF file



commit bd2e2573ca1ee35368cf17003d0fc362f6429c92
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Sun May 31 23:48:12 2009 -0600

    Use foreign element to mark elapsed time in ODF file
    
    2009-06-01  Andreas J. Guelzow  <aguelzow pyrshep ca>
    
    	* goffice/utils/go-format.c (go_format_output_date_to_odf):
    	  mark elaspsed time with gnm: attribute
---
 ChangeLog                 |   10 ++++++++++
 goffice/utils/go-format.c |    3 +++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 527c16f..48e2674 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-01  Andreas J. Guelzow  <aguelzow pyrshep ca>
+
+	* goffice/utils/go-format.c (go_format_output_date_to_odf):
+	  mark elaspsed time with gnm: attribute
+	
 2009-05-31  Morten Welinder  <terra gnome org>
 
 	* goffice/utils/go-format.c (go_format_inc_precision,
@@ -5,6 +10,11 @@
 	go_format_generate_str.  That handles accounting formats and is
 	less hacky.
 
+2009-06-01  Andreas J. Guelzow  <aguelzow pyrshep ca>
+
+	* goffice/utils/go-format.c (go_format_output_date_to_odf):
+	  mark elaspsed time with gnm: attribute
+	
 2009-05-31  Andreas J. Guelzow  <aguelzow pyrshep ca>
 
 	* goffice/utils/go-format.c (go_format_output_fraction_to_odf):
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 028b261..fc07d68 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -5741,6 +5741,7 @@ go_format_output_date_to_odf (GsfXMLOut *xout, GOFormat const *fmt, char const *
 			ODF_CLOSE_STRING;
 			gsf_xml_out_start_element (xout, NUMBER "hours");
 			gsf_xml_out_add_cstr (xout, NUMBER "style", "short");
+			gsf_xml_out_add_cstr (xout, GNMSTYLE "elapsed", "true");
 			gsf_xml_out_end_element (xout); /* </number:hours> */
 			m_is_minutes = TRUE;
 			break;
@@ -5754,6 +5755,7 @@ go_format_output_date_to_odf (GsfXMLOut *xout, GOFormat const *fmt, char const *
 			ODF_CLOSE_STRING;
 			gsf_xml_out_start_element (xout, NUMBER "minutes");
 			gsf_xml_out_add_cstr (xout, NUMBER "style", "long");
+			gsf_xml_out_add_cstr (xout, GNMSTYLE "elapsed", "true");
 			gsf_xml_out_end_element (xout); /* </number:minutes> */
 
 		case TOK_ELAPSED_S:
@@ -5768,6 +5770,7 @@ go_format_output_date_to_odf (GsfXMLOut *xout, GOFormat const *fmt, char const *
 			ODF_CLOSE_STRING;
 			gsf_xml_out_start_element (xout, NUMBER "seconds");
 			gsf_xml_out_add_cstr (xout, NUMBER "style", "short");
+			gsf_xml_out_add_cstr (xout, GNMSTYLE "elapsed", "true");
 			gsf_xml_out_end_element (xout); /* </number:seconds> */
 			break;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]