RE: About the paragraph object.

Subject: RE: About the paragraph object.
From: "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jun 1999 22:49:52 +0900
Didier wrote:
> Secondly, My own mental model about the Paragraph object is that
> this latter
> can contain "sequence" objects. <question> is there any other formatting
> objects that could be contained in a paragraph object?</question>

Ah yes, I was going to comment on this.

You can wrap a sequence object around anything; it's only useful for
packaging things up as an alternative to sosofo-append, and for specifying
inherited characteristics without specifying a flow class. It just happens
that the latter is useful for specifying font-size:, etc. when you have a
sequence (non-technical usage) of character objects. You can even wrap a
sequence around a simple-page-sequence and, in fact, as I recall Jade always
does so in order to implement the declare-initial-value primitive.

A paragraph object accepts any kind of object in general. Whether the
backend will do anything useful with it is another question. For example,
aside from just characters, you could flow a paragraph into a paragraph.
Since a paragraph is supposed to format display objects which become
children by prefixing them with a break, this will actually produce what
appear to be (at least) two paragraphs.

What things besides characters can you flow into a paragraph without
introducing a break? Any inline object. For example, a line-field; an
external-graphic with display?: #f; in general, even a display object,
provided you wrap it with an included-container-area with display?: #f.

--FC


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


Current Thread