-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF 1.3
-
Component/s: Part 3 (Schema) [1.2: 1], Presentation
-
Labels:None
-
Proposal:
As described in issue 3930, the first sentence needs to be corrected.
But in addition I have noticed this:
In date-time case the wording is
"false: drawing shape from a <style:master-page> element with the presentation class date-time should not be visible."
whereas for footer, header and page-number cases it is
"false: drawing shape used as a *** of a <style:master-page> element should not be visible.
That is inconsistent.
ODF 1.1 is more explicit about the condition by referring to the presentation:class attribute (now 19.389). In ODF 1.1 you read e.g.
"The presentation:display-date-time attribute sets the visibility of presentation shapes from the master page with the presentation class date-time."
Any reason for mentioning presentation:class in case date-time and not in the other cases?
Should we remove the inconsistency in addition to correcting the broken sentence?
If yes, remove reference to presentation:class from date-time case, or add reference to presentation:class for the other cases?
After a deeper look I have updated the proposal. Here the reasoning:
20.226 presentation:display-date-time
Display of a date or time by means of a master-page is possible with the element
<draw:frame presentation:class="date-time">
>
>
<draw:text-box>
<text
<presentation:date-time />
</text
</draw:text-box>
</draw:frame>
But it is also possible with the element
<draw:frame >
>
>
<draw:text-box>
<text
<text:date>...</text:date>
</text
</draw:text-box>
</draw:frame>
The attribute presentation:display-date-time only affects the element with presentation:class="date-time". Therefore the current wording with mentioning the presentation class is preferable to the wording, which is used for header or footer.
20.229 presentation:display-page-number
The following two structures are possible within a <style:master-page> element to get a page number.
<draw:frame presentation:class="page-number">
>
>
<draw:text-box>
<text
<text:page-number><number></text:page-number>
</text
</draw:text-box>
</draw:frame>
<draw:frame>
>
>
<draw:text-box>
<text
<text:page-number><number></text:page-number>
</text
</draw:text-box>
</draw:frame>
The only difference is, whether the presentation:class attribute is present or not. The presentation:display-page-number attribute affects only the <draw:frame> element with attribute presentation:class="page-number."
Because both <draw:frame> elements meet the current wording "drawing shape used as a page number" a clarification is needed.
20.227 presentation:footer
20.228 presentation:header
For footer or header no similar conflict exists. Therefore the wording needs no change.