[gnumeric] Allow for rigth and left alignment



commit dc6201d2dbf92fc5ba2814adfc394e9af92a053a
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Wed Jun 17 19:34:11 2009 -0600

    Allow for rigth and left alignment
    
    2009-06-17 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* openoffice-read.c (h_alignments): include right and left

 plugins/openoffice/ChangeLog         |    4 ++++
 plugins/openoffice/openoffice-read.c |    6 ++++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 8ed4575..e561387 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-17 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* openoffice-read.c (h_alignments): include right and left
+
+2009-06-17 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* openoffice-write.c (odf_find_style): give more info in the case
 	  we don't find the style
 	(odf_save_this_style_with_name): new
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 86996ad..b346ca8 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -2178,9 +2178,11 @@ static void
 oo_style_prop_cell (GsfXMLIn *xin, xmlChar const **attrs)
 {
 	static OOEnum const h_alignments [] = {
-		{ "start",	HALIGN_LEFT },
+		{ "start",	HALIGN_LEFT },    /* This really depends on the text direction */
+		{ "left",	HALIGN_LEFT },
 		{ "center",	HALIGN_CENTER },
-		{ "end",	HALIGN_RIGHT },
+		{ "end",	HALIGN_RIGHT },   /* This really depends on the text direction */
+		{ "right",	HALIGN_RIGHT },
 		{ "justify",	HALIGN_JUSTIFY },
 		{ "automatic",	HALIGN_GENERAL },
 		{ NULL,	0 },



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