Lino Website

Working on HtmlDocument

Thursday, 13. October 2005 20:20.

gendoc.html is broken until I find time to make some important decisions there.

If a HtmlDocument contains a report that needs several pages (which is decided depending on pageLen and sort options, for the moment), then the document will create several html files. If the document has other content besides the report, then this content will be rendered on each page.

If a HtmlDocument contains two such reports, then the number of generated files will be multiplied accordingly.

Idea: the ReportElement itself must iterate through the pages of its report. render() must somehow tell the document «when you are finished, please write another clone of yourself, notifying me that this is the clone I asked you for». No, that won't work because the navigator links must know where to link to.

Refering articles:

Copyright 2001-2007 Luc Saffre.
http://lino.saffre-rumma.ee
Generated 2007-06-07 16:22:34