[gnumeric] Fix some Statistics tool formatting: some more italics [#649092]



commit 38d244814e685b569daa1b73c973c0f3cc1b54fd
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Sun May 1 21:13:40 2011 -0600

    Fix some Statistics tool formatting: some more italics [#649092]
    
    2011-05-1 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* analysis-frequency.c (analysis_tool_frequency_engine_run):
    	fix italic labels
    	* analysis-histogram.c (analysis_tool_histogram_engine_run): ditto
    	* analysis-tools.c (analysis_tool_ranking_engine_run): ditto

 src/tools/ChangeLog            |    7 +++++++
 src/tools/analysis-frequency.c |    3 ++-
 src/tools/analysis-histogram.c |    1 +
 src/tools/analysis-tools.c     |    1 +
 4 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/src/tools/ChangeLog b/src/tools/ChangeLog
index d2dede3..46fe02f 100644
--- a/src/tools/ChangeLog
+++ b/src/tools/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-1 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* analysis-frequency.c (analysis_tool_frequency_engine_run): 
+	fix italic labels
+	* analysis-histogram.c (analysis_tool_histogram_engine_run): ditto
+	* analysis-tools.c (analysis_tool_ranking_engine_run): ditto
+
+2011-05-1 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* analysis-tools.c (summary_statistics): fix italic labels
 	(confidence_level): ditto
 	(kth_smallest_largest): ditto
diff --git a/src/tools/analysis-frequency.c b/src/tools/analysis-frequency.c
index 2c1c302..2a357e6 100644
--- a/src/tools/analysis-frequency.c
+++ b/src/tools/analysis-frequency.c
@@ -73,7 +73,7 @@ analysis_tool_frequency_engine_run (data_analysis_output_t *dao,
 	}
 	/* General Info */
 
-	dao_set_italic (dao, 0, 0, 0, 0);
+	dao_set_italic (dao, 0, 0, 0, 1);
 	set_cell_text_col (dao, 0, 0, _("/Frequency Table"
 					"/Category"));
 
@@ -124,6 +124,7 @@ analysis_tool_frequency_engine_run (data_analysis_output_t *dao,
 		int i, row = 2;
 
 
+		dao_set_italic (dao, col, 1, col, 1);
 		if (info->base.labels) {
 			val_c = value_dup (val);
 			switch (info->base.group_by) {
diff --git a/src/tools/analysis-histogram.c b/src/tools/analysis-histogram.c
index de26111..b380e06 100644
--- a/src/tools/analysis-histogram.c
+++ b/src/tools/analysis-histogram.c
@@ -300,6 +300,7 @@ analysis_tool_histogram_engine_run (data_analysis_output_t *dao,
 		GnmValue *val = l->data;
 		GnmValue *val_c = NULL;
 
+		dao_set_italic (dao, col, 1, col, 1);
 		if (info->base.labels) {
 			val_c = value_dup (val);
 			switch (info->base.group_by) {
diff --git a/src/tools/analysis-tools.c b/src/tools/analysis-tools.c
index c8f0a61..7cfb78b 100644
--- a/src/tools/analysis-tools.c
+++ b/src/tools/analysis-tools.c
@@ -4079,6 +4079,7 @@ analysis_tool_ranking_engine_run (data_analysis_output_t *dao,
 		GnmExpr const *expr_percentile;
 		int rows, i;
 
+		dao_set_italic (dao, 0, 1, 3, 1);
 		dao_set_cell (dao, 0, 1, _("Point"));
 		dao_set_cell (dao, 2, 1, _("Rank"));
 		dao_set_cell (dao, 3, 1, _("Percentile Rank"));



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