Re: Jade's RtfFOTBuilder

Subject: Re: Jade's RtfFOTBuilder
From: James Clark <jjc@xxxxxxxxxx>
Date: Thu, 25 Dec 1997 09:02:46 +0700
Frank A. Christoph wrote:
> 
> I've been looking at Jade's RTF backend recently and I discovered that the
> RtfFOTBuilder class keeps, along with a few other stacks, a stack of page
> formats (called pageFormatStack_).  But simple-page-sequences are always
> top-level, so what's the point of this?  The start() and end() methods
> include code of the form:
> 
>   if (!inSimplePageSequence_) {
>     // push or pop the page format stack
>   }
> 
> Under what conditions would you be formatting a flow object which is not
> contained in a simple-page-sequence?  (...under RTF, of course --- I know it
> can happen with HTML, for example.)  Furthermore, if you're not in a
> simple-page-sequence, shouldn't the page format stack be empty?

You can have a simple-page-sequence inside a sequence.  This could
happen if the user either uses a sequence flow object explicitly or uses
declare-initial-value (Jade handles declare-initial-value by wrapping a
sequence with the specified initial values around the top-level flow
objects).

James



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Jade's RtfFOTBuilder
    • Frank A. Christoph - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id AAA20175Wed, 24 Dec 1997 00:22:02 -0500 (EST)
      • James Clark - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id AAA01872Thu, 25 Dec 1997 00:09:19 -0500 (EST) <=