On Friday 08 February 2002 01:58, Peter B. West wrote:
> Bernard,
(That's Bertrand by the way ;-)

> What sort of structure does rtf exhibit?  Is it a page-based
> structure, or is it divided, like xslfo, into page definitions and
> flows?  This is a critical difference as far as the design goes. 
> From what you say below, it seems to rely on a flow-based model.

In the sense of not being mapped to printed pages directly (unless hard 
page-breaks are used), RTF is flow-based, not page-based.

An RTF document is broken out in "sections" which are very similar to 
page-sequences in concept. The pagination is done by the RTF reader 
(usually a word processor) when it renders the document to screen or 

Constructs like tables, lists etc. are flow-based but need to be 
closed, kind of like the nested elements of an XML document.

I think RTF maps well to XSL-FO documents in terms of structure. What 
has been hard in our past efforts to write an RTF renderer was that FOP 
didn't provide "end" events (or we didn't find out how it did) for 
tables, lists and other elements, for which the RTF render needs to 
generate "element-closing" codes.

- Bertrand

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to