First, I am perfectly aware thet character style Default Style is a fake style. It is an internal device to reset all attributes to their value defined or inherited in the current paragraph style.
I know also, as a consequence of its definition stated in the previous paragraph, that it can’t be modified or deleted (because it does not exist as an explicit style).
However, I’m wondering if it would make sense to defined character styles derived from Default style so that the variations would be relative to the paragraph style.
Presently, character styles may only be linked with other character styles to define a hierarchy of styles (just like paragraph styles can define a hierarchy with a few “master” styles controlling some aspects of dependent styles, like Heading controls all heading-related style such as Heading n). But this not as useful.
The current implementation of dependency in character styles presents shortcomings.
One of the most bothering of them occurs when mixing different font faces in a paragraph (for example, having a Source Text sequence within a Text Body paragraph). More than often, the x-height of the fonts are not equal and the line looks ugly. To mitigate this effect, the font size in the character style has to be adjusted.
But the character style may be used in different contexts, e.g. in Text Body and Footnote paragraphs where the base font sizes are different. Consequently, the font size adjustment does not fit both cases.
If character styles could be derived from Default Style, one could use %-sizes to specify the adjustment.
My questions are:
-
What in ODF does prevent character styles from being dependent on paragraph styles (through the Default Style character style dependency)?
-
Internally, would any design specification forbid such a cross dependency between style categories?
-
Would such a feature be useful to users?
Note: this is not a feature request (not yet), only an introspection with a call for comments.