On Mon, 15 Mar 1999, Jean-Marc Lasgouttes wrote:

> >>>>> "Asger" == Asger Alstrup Nielsen <[EMAIL PROTECTED]> writes:
[...]
> Asger> Now, the good question is whether a paragraph should be an
> Asger> inset in itself.  I don't know.  Similar for the document:
> Asger> Should a document be an inset in itself?  Again, I don't know.
> Asger> They probably should, but this makes designing the Inset base
> Asger> class more complex.
> 
> I do not think a paragraph should be an inset. If we need to wrap a
> paragraph somewhere, it will be in a parbox inset, for example, which
> will have to contain some info (alignment htb, width of the box) which
> are not part of a normal paragraph. Thus a paragraph cannot be
> inserted directly in another paragraph. Thus a paragraph should not be
> an inset, but a list of insets.

What if we had a InsetParbox that contained an InsetParagragh (or a list
of them). The parbox example is similar to a table cell or a minipage in
that it is a paragraph with restrictions on size and placement.  We might
be better off with an InsetArea which encapsulates the dimensional data
but holds a paragraph.  The dimensions are not a property of the text but
of the box that contains the text.  This generalised inset might make the
revised tables a bit easier to implement also.


Allan. (ARRae)

Reply via email to