Commit 161d3879 authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

Pass in GnmHtmlTableCtxt from outside. When page contains multiple tables,

* plugins/html/html_read.c (html_read_table): Pass in GnmHtmlTableCtxt
from outside. When page contains multiple tables, this lets us
concatenate them instead of creating multiple sheets.
(html_search_for_tables): Add GnmHtmlTableCtxt parameter. Don't call
the function recusively when this node is a table. This means that
tables within the table aren't treated as independent tables.
(html_file_open): Add a GnmHtmlTableCtxt local variable and pass it as
an argument to html_search_for_tables.
parent a9d79019
2003-06-29 Jon K Hellan <hellan@acm.org>
* html_read.c (html_read_table): Pass in GnmHtmlTableCtxt from
outside. When page contains multiple tables, this lets us
concatenate them instead of creating multiple sheets.
(html_search_for_tables): Add GnmHtmlTableCtxt parameter. Don't
call the function recusively when this node is a table. This means
that tables within the table aren't treated as independent tables.
(html_file_open): Add a GnmHtmlTableCtxt local variable and pass
it as an argument to html_search_for_tables.
2003-06-24 Jon K Hellan <hellan@acm.org>
* plugin.xml.in: Add xhtml_range saver. Used when exporting to
......
......@@ -579,6 +579,15 @@ html40frag_file_save (GnmFileSaver const *fs, IOContext *io_context,
html_file_save (fs, io_context, wb_view, output, HTML40F);
}
/* Identical to html40_file_save, but fs->save_scope is different.
* The plugin system requires this function to exist. */
void
html40_range_file_save (GnmFileSaver const *fs, IOContext *io_context,
WorkbookView const *wb_view, GsfOutput *output)
{
html40_file_save (fs, io_context, wb_view, output);
}
void
xhtml_file_save (GnmFileSaver const *fs, IOContext *io_context,
WorkbookView const *wb_view, GsfOutput *output)
......@@ -586,10 +595,11 @@ xhtml_file_save (GnmFileSaver const *fs, IOContext *io_context,
html_file_save (fs, io_context, wb_view, output, XHTML);
}
/* Identical to xhtml_file_save, but fs->save_scope is different.
* The plugin system requires this function to exist. */
void
xhtml_range_file_save (GnmFileSaver const *fs, IOContext *io_context,
WorkbookView const *wb_view, GsfOutput *output)
{
/* Identical, but fs->save_scope is different */
xhtml_file_save (fs, io_context, wb_view, output);
}
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