-----Original Message-----
From: ewitness - Ben Fowler [mailto:[EMAIL PROTECTED]]
Sent: February 18, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: [PROPOSAL] linebreak was Re: REDESIGN: where I have been hiding

[ SNIP ]

Could we have a a line break feature.

The layoutmanager should fill a block by stacking lines based
on the current line height. It ends lines based on word length
and hyphenation. I would like to force a line break with an inline
such as <fo:br /> or <fo:newline />.

Since this is such an obvious thing to want, I guess that there
must be reason why it is not part of the specification.

Does anyone know why not?

This is simply the difference expressed in TeX terms between

        \newline, and
        \par

This would be useful in writing addresses exempli gratia:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root text-align="justified" font-size="12pt" font-family="serif">
        <fo:block>
                Bilbo Baggins,<fo: newline />
                Bag End,<fo: newline />
                Underhill,<fo: newline />
                Hobbiton,<fo: newline />
                Westfarthing of the Shire.
        </fo:block>
</fo:root>

At present, I can get the effect I want with tables.

Ben.
-----end of Original Message-----

I guess the reason nobody thought <fo:br/> or <fo:newline/> would be
required is because a U+000A will do the trick.

Regards,
Arved Sandstrom


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

Reply via email to