Commit 520b0a41 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

fix typo.


2001-02-17  Jody Goldberg <jgoldberg@home.com>

	* src/print.c (print_page) : fix typo.

	* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
	  we stored full styles.  Be sure the create a default style as a
	  backward compatibility measure incase we add elements to styles in
	  the future.
parent 2f363f6c
2001-02-17 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_page) : fix typo.
* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
we stored full styles. Be sure the create a default style as a
backward compatibility measure incase we add elements to styles in
the future.
2001-02-17 Almer S. Tigelaar <almer1@dds.nl>
* src/commands.c
......
2001-02-17 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_page) : fix typo.
* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
we stored full styles. Be sure the create a default style as a
backward compatibility measure incase we add elements to styles in
the future.
2001-02-17 Almer S. Tigelaar <almer1@dds.nl>
* src/commands.c
......
2001-02-17 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_page) : fix typo.
* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
we stored full styles. Be sure the create a default style as a
backward compatibility measure incase we add elements to styles in
the future.
2001-02-17 Almer S. Tigelaar <almer1@dds.nl>
* src/commands.c
......
2001-02-17 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_page) : fix typo.
* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
we stored full styles. Be sure the create a default style as a
backward compatibility measure incase we add elements to styles in
the future.
2001-02-17 Almer S. Tigelaar <almer1@dds.nl>
* src/commands.c
......
2001-02-17 Jody Goldberg <jgoldberg@home.com>
* src/print.c (print_page) : fix typo.
* src/xml-io.c (xml_read_style) : Before version 1 and after version 6
we stored full styles. Be sure the create a default style as a
backward compatibility measure incase we add elements to styles in
the future.
2001-02-17 Almer S. Tigelaar <almer1@dds.nl>
* src/commands.c
......
......@@ -487,7 +487,7 @@ print_page (Sheet const *sheet, int start_col, int start_row, int end_col, int e
if (!printed) {
int i = start_row;
for (; i <= end_row ; ++i) {
ColRowInfo const *ri = sheet_col_get_info (sheet, i);
ColRowInfo const *ri = sheet_row_get_info (sheet, i);
if (ri->visible &&
(NULL != row_span_get (ri, start_col) ||
NULL != row_span_get (ri, end_col))) {
......
......@@ -1480,7 +1480,10 @@ xml_read_style (XmlParseContext *ctxt, xmlNodePtr tree)
StyleColor *c;
MStyle *mstyle;
mstyle = mstyle_new ();
mstyle = (ctxt->version >= GNUM_XML_V6 ||
ctxt->version <= GNUM_XML_V1)
? mstyle_new_default ()
: mstyle_new ();
if (strcmp (tree->name, "Style")) {
fprintf (stderr,
......@@ -3031,7 +3034,7 @@ static const struct {
char const * const id;
GnumericXMLVersion const version;
} GnumericVersions [] = {
{ "http://www.gnome.org/gnumeric/v6", GNUM_XML_V6 },
{ "http://www.gnome.org/gnumeric/v6", GNUM_XML_V6 }, /* 0.62 */
{ "http://www.gnome.org/gnumeric/v5", GNUM_XML_V5 },
{ "http://www.gnome.org/gnumeric/v4", GNUM_XML_V4 },
{ "http://www.gnome.org/gnumeric/v3", GNUM_XML_V3 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment