Re: [office] style property defaults

From
David Faure <>
Date
2007-11-26T15:52:25+00:00
ID
Thread
Re: [office] style property defaults
On Friday 02 November 2007, Lars Oppermann wrote:
> > What about irregular combinations of attributes? I.e. two attributes
> > that cannot
> > be used together? How might this be addressed?
> > What about other interdependencies?
> 
> I don't think that this is a problem, given the goals stated above. Furthermore, 
> I am not aware of such a combination - which doesn't mean that they don't exist. 
> I'd be thankful for an example here.

The best example IMHO is fo:line-height, fo:line-height-at-least and fo:line-spacing.
Those three attributes are mutually exclusive, since they map to three different ways
of calculating the line spacing.

But the answer is simple: in all word processors I know, fo:line-height is the default, with a value of "normal" (100%).
The other attributes are therefore simply not set by default.

-- 
David Faure, , sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).