gnumeric r16540 - in branches/gnumeric-1-8: . src test
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16540 - in branches/gnumeric-1-8: . src test
- Date: Wed, 30 Apr 2008 00:44:09 +0100 (BST)
Author: mortenw
Date: Tue Apr 29 23:44:06 2008
New Revision: 16540
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16540&view=rev
Log:
2008-04-29 Morten Welinder <terra gnome org>
* src/xml-sax-write.c (xml_write_sheet_names): Write sheet sizes.
Modified:
branches/gnumeric-1-8/ChangeLog
branches/gnumeric-1-8/src/xml-sax-write.c
branches/gnumeric-1-8/test/t5900-sc.pl
branches/gnumeric-1-8/test/t5901-qpro.pl
branches/gnumeric-1-8/test/t5902-applix.pl
branches/gnumeric-1-8/test/t5903-sylk.pl
Modified: branches/gnumeric-1-8/src/xml-sax-write.c
==============================================================================
--- branches/gnumeric-1-8/src/xml-sax-write.c (original)
+++ branches/gnumeric-1-8/src/xml-sax-write.c Tue Apr 29 23:44:06 2008
@@ -161,8 +161,13 @@
gsf_xml_out_start_element (state->output, GNM "SheetNameIndex");
for (i = 0 ; i < n ; i++) {
sheet = workbook_sheet_by_index (state->wb, i);
- gsf_xml_out_simple_element (state->output, GNM "SheetName",
- sheet->name_unquoted);
+ gsf_xml_out_start_element (state->output, GNM "SheetName");
+ gsf_xml_out_add_int (state->output, GNM "Cols",
+ gnm_sheet_get_max_cols (sheet));
+ gsf_xml_out_add_int (state->output, GNM "Rows",
+ gnm_sheet_get_max_rows (sheet));
+ gsf_xml_out_add_cstr (state->output, NULL, sheet->name_unquoted);
+ gsf_xml_out_end_element (state->output); /* </gnm:SheetName> */
}
gsf_xml_out_end_element (state->output); /* </gnm:SheetNameIndex> */
}
Modified: branches/gnumeric-1-8/test/t5900-sc.pl
==============================================================================
--- branches/gnumeric-1-8/test/t5900-sc.pl (original)
+++ branches/gnumeric-1-8/test/t5900-sc.pl Tue Apr 29 23:44:06 2008
@@ -9,5 +9,5 @@
my $mode = ((shift @ARGV) || "check");
&message ("Check the sc importer.");
-&test_importer ("$samples/sc/demo_func", "4c087eee7a0ee8814e11338b2a6b1f365021c23c", $mode);
-&test_importer ("$samples/sc/demo_math", "0996bb36fd49bb0d94bf60d97aaea25abd18d6ca", $mode);
+&test_importer ("$samples/sc/demo_func", "53d6a70a2ee23b41c6756facc399b39a68076980", $mode);
+&test_importer ("$samples/sc/demo_math", "af1ae27b470296a27f6525f3231729e02961b0b2", $mode);
Modified: branches/gnumeric-1-8/test/t5901-qpro.pl
==============================================================================
--- branches/gnumeric-1-8/test/t5901-qpro.pl (original)
+++ branches/gnumeric-1-8/test/t5901-qpro.pl Tue Apr 29 23:44:06 2008
@@ -9,4 +9,4 @@
my $mode = ((shift @ARGV) || "check");
&message ("Check the Quattro Pro importer.");
-&test_importer ("$samples/qpro/gantt.wb3", "843abc280518bde08c938f1e8800dd7e0a07bc93", $mode);
+&test_importer ("$samples/qpro/gantt.wb3", "f7f2f4999762809e65ceae36d83f9f7661f78afe", $mode);
Modified: branches/gnumeric-1-8/test/t5902-applix.pl
==============================================================================
--- branches/gnumeric-1-8/test/t5902-applix.pl (original)
+++ branches/gnumeric-1-8/test/t5902-applix.pl Tue Apr 29 23:44:06 2008
@@ -9,4 +9,4 @@
my $mode = ((shift @ARGV) || "check");
&message ("Check the applix importer.");
-&test_importer ("$samples/applix/sample.as", "97c93ede6bba14209e20c445fd4bdb9787f5bc61", $mode);
+&test_importer ("$samples/applix/sample.as", "04ec7bcbf5edd60f16ba85a5912f956284f2ef9a", $mode);
Modified: branches/gnumeric-1-8/test/t5903-sylk.pl
==============================================================================
--- branches/gnumeric-1-8/test/t5903-sylk.pl (original)
+++ branches/gnumeric-1-8/test/t5903-sylk.pl Tue Apr 29 23:44:06 2008
@@ -9,5 +9,5 @@
my $mode = ((shift @ARGV) || "check");
&message ("Check the sylk importer.");
-&test_importer ("$samples/sylk/test.sylk", "90f60d33651e057b617a5e21fd5efab3ad1704f0", $mode);
-&test_importer ("$samples/sylk/encoding.sylk", "457029e2e46c3f792111b3e6a02aa007e06c3a67", $mode);
+&test_importer ("$samples/sylk/test.sylk", "484b3510db7bad9ab62f5d668ffd55ac1697b22b", $mode);
+&test_importer ("$samples/sylk/encoding.sylk", "004f25ce96e7a2b48d8b4521105b0648f527c779", $mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]