https://bugs.documentfoundation.org/show_bug.cgi?id=152537

--- Comment #13 from Mike Kaganski <[email protected]> ---
(In reply to Seán Ó Séaghdha from comment #12)
> I’m curious now about how this situation came about.  What is the use case
> for having separate styles ('style:default-style style:family="paragraph"'
> and 'style:style style:name="Standard" style:family="paragraph"')?

'style:style style:name="Standard" style:family="paragraph"' is a normal
paragraph style. It may be used as an ancestor in inheritance hierarchy; but it
is not a required hierarchy root. Any paragraph style may be set to not inherit
from *any style*, and become a root of own inheritance hierarchy (creating a
"forest" of paragraph style hierarchy trees).

>From the file format point of view, the need to store the defaults applicable
to *any* style of a given family (paragraph/text/...) that does not define a
property in its inheritance tree requires such 'style:default-style' elements.
They *allow* (but do not force) to create files that do not depend on user
settings and/or program versions (which may change the defaults).

The documentation for style:default-style is at
https://docs.oasis-open.org/office/OpenDocument/v1.3/OpenDocument-v1.3-part3-schema.html#element-style_default-style.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to