-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: ODF 1.2 COS 1
-
Fix Version/s: ODF 1.3 CSD 02
-
Component/s: Styles
-
Labels:None
-
Proposal:
-
Resolution:
ODF 1.2, Section 3.15 Styles, defines three container elements for common, automatic and master styles.
The only difference between 3.15.2 <office:styles> and 3.15.3 <office:automatic-styles> is that the latter can be used in <office:document-content> 3.1.3.2, whereas <office:styles> cannot and <office:automatic-styles> has the child element <style:page-layout> 16.5, which <office:styles> does not. (<office:styles> has a number of child elements that <office:automatic-styles> does not.)
The division represents application behavior as detailed by:
<office:styles> "A common style is a style chosen by a user for a document or portion thereof."
<office:automatic-styles> "Common and automatic styles behave differently in OpenDocument editing consumers. Common styles are presented to the user as a named set of formatting properties. The formatting properties of an automatic style are presented to a user as properties of the object to which the style is applied."
**********
Commentary:
3.15.4 <office:master-styles>
I am not altogether happy with the style vs. master style distinction but have kept it for discussion. If you compare <style:master-page> 16.9 and 17.2 <style:page-layout-properties> you will notice that <style:master-page> is mostly composed of draw objects and <style:page-layout-properties> is mostly what we would consider to be page formatting properties. The "master style" isn't really a "master" style but one for mostly draw objects and handout documents.
If we want to have specific style masters for handouts, for example, 10.2.1, that's great, but let's call it that and not invent the concept of a master style that isn't.
The other reason I mention this is because a style should be able to specify both formatting and objects to "appear" in a document.