gnumeric r16546 - branches/gnumeric-1-8/plugins/excel



Author: mortenw
Date: Fri May  2 19:45:20 2008
New Revision: 16546
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16546&view=rev

Log:
2008-05-02  Morten Welinder  <terra gnome org>

	* ms-excel-read.c (excel_read_XF): Dump more of the xf when debugging.



Modified:
   branches/gnumeric-1-8/plugins/excel/ChangeLog
   branches/gnumeric-1-8/plugins/excel/ms-excel-read.c

Modified: branches/gnumeric-1-8/plugins/excel/ms-excel-read.c
==============================================================================
--- branches/gnumeric-1-8/plugins/excel/ms-excel-read.c	(original)
+++ branches/gnumeric-1-8/plugins/excel/ms-excel-read.c	Fri May  2 19:45:20 2008
@@ -2409,13 +2409,15 @@
 	xf->mstyle = NULL;
 
 	g_ptr_array_add (importer->XF_cell_records, xf);
-	d (2, fprintf (stderr,"XF(0x%x): Font %d, Format %d, Fore %d, Back %d, Pattern = %d\n",
-		      importer->XF_cell_records->len - 1,
-		      xf->font_idx,
-		      xf->format_idx,
-		      xf->pat_foregnd_col,
-		      xf->pat_backgnd_col,
-		      xf->fill_pattern_idx););
+	d (2, g_printerr ("XF(0x%04x): S=%d L=%d H=%d L=%d xty=%d Font=%d Fmt=%d Fg=%d Bg=%d Pat=%d\n",
+			  importer->XF_cell_records->len - 1,
+			  xf->is_simple_format, xf->locked, xf->hidden, xf->format,
+			  xf->xftype,
+			  xf->font_idx,
+			  xf->format_idx,
+			  xf->pat_foregnd_col,
+			  xf->pat_backgnd_col,
+			  xf->fill_pattern_idx););
 }
 
 static void
@@ -5916,10 +5918,10 @@
 		gnm_page_breaks_append_break (breaks,
 			GSF_LE_GET_GUINT16 (q->data + 2 + i*step), GNM_PAGE_BREAK_MANUAL);
 #if 0
-		g_print ("%d  %d:%d\n",
-			 GSF_LE_GET_GUINT16 (q->data + 2 + i*step),
-			 GSF_LE_GET_GUINT16 (q->data + 2 + i*step + 2),
-			 GSF_LE_GET_GUINT16 (q->data + 2 + i*step + 4));
+		g_printerr ("%d  %d:%d\n",
+			    GSF_LE_GET_GUINT16 (q->data + 2 + i*step),
+			    GSF_LE_GET_GUINT16 (q->data + 2 + i*step + 2),
+			    GSF_LE_GET_GUINT16 (q->data + 2 + i*step + 4));
 #endif
 	}
 	print_info_set_breaks (esheet->sheet->print_info, breaks);



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