OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] proposal to solve problem with attribute style:default-outline-level

On 21/02/07, David Faure <faure@kde.org> wrote:

> The concept of inheriting styles is also that the derived style can override any attribute
> of its parent. Otherwise it's just an alias, not a derived style ;)
> For many other attributes we already have a way to model "the parent wants <foo>
> but I want <none>", I think it makes sense to add "none" for any attribute that doesn't
> have it, if the attribute is not mandatory in the first place (i.e. when a style without that
> attribute is allowed, and a derived style must therefore have a way to revert to "I don't
> have this attribute).

You could consider the namespace model of inheritance (not reversion though).

attribute="" would then override the ancestors attribute="something" value,
without using 'none', and vice versa, unless a default is set at the root
or by some other method.


Dave Pawson

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]