Commit a27bee33 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

Added loading of workbook, saving it goes to default.wb file, Daniel.

parent ba282651
Sun Aug 30 17:19:02 EDT 1998 Daniel Veillard <Daniel.Veillard@w3.org>
* src/xml-io.c: added saving of the current workbook as one
file, added code to load the workbook. Some part are really
untested/incomplete especially the style support.
* src/main.c (main): added loading of "default.wb" on startup
i.e. the default workbook.
1998-08-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-bar.c (item_bar_get_line_points): New helper routine,
......
Sun Aug 30 17:19:02 EDT 1998 Daniel Veillard <Daniel.Veillard@w3.org>
* src/xml-io.c: added saving of the current workbook as one
file, added code to load the workbook. Some part are really
untested/incomplete especially the style support.
* src/main.c (main): added loading of "default.wb" on startup
i.e. the default workbook.
1998-08-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-bar.c (item_bar_get_line_points): New helper routine,
......
Sun Aug 30 17:19:02 EDT 1998 Daniel Veillard <Daniel.Veillard@w3.org>
* src/xml-io.c: added saving of the current workbook as one
file, added code to load the workbook. Some part are really
untested/incomplete especially the style support.
* src/main.c (main): added loading of "default.wb" on startup
i.e. the default workbook.
1998-08-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-bar.c (item_bar_get_line_points): New helper routine,
......
Sun Aug 30 17:19:02 EDT 1998 Daniel Veillard <Daniel.Veillard@w3.org>
* src/xml-io.c: added saving of the current workbook as one
file, added code to load the workbook. Some part are really
untested/incomplete especially the style support.
* src/main.c (main): added loading of "default.wb" on startup
i.e. the default workbook.
1998-08-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/item-bar.c (item_bar_get_line_points): New helper routine,
......
......@@ -17,7 +17,10 @@ main (int argc, char *argv [])
constants_init ();
functions_init ();
current_workbook = workbook_new_with_sheets (1);
current_workbook = gnumericReadXmlWorkbook ("default.wb");
if (current_workbook == NULL) {
current_workbook = workbook_new_with_sheets (1);
}
gtk_widget_show (current_workbook->toplevel);
gtk_main ();
......
......@@ -17,7 +17,10 @@ main (int argc, char *argv [])
constants_init ();
functions_init ();
current_workbook = workbook_new_with_sheets (1);
current_workbook = gnumericReadXmlWorkbook ("default.wb");
if (current_workbook == NULL) {
current_workbook = workbook_new_with_sheets (1);
}
gtk_widget_show (current_workbook->toplevel);
gtk_main ();
......
This diff is collapsed.
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