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: [OASIS Issue Tracker] (OFFICE-4079) ODF 1.3 CS02 Specification Editorial Fixes


    [ https://issues.oasis-open.org/browse/OFFICE-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=77489#comment-77489 ] 

Francis Cave edited comment on OFFICE-4079 at 7/16/20 10:40 PM:
----------------------------------------------------------------

There are a number of cases of direct formatting that are only apparent when one looks at the underlying XML. If part of an element name has direct formatting applied, this results in a sequence of spans with the style "Element" applied. I can find only one case of this in Part 3 Schema, which is in 19.229.3 <draw:enhanced-geometry>, and it is our bad luck that this happens to be in a paragraph that specifies a default attribute value:
{noformat}
<text text:style-name="Default_20_Value">For a <text:span text:style-name="Element">
&lt;draw:</text:span><text:span text:style-name="Element"><text:span text:style-
name="T14">enhanced-geometry</text:span></text:span><text:span text:style-
name="Element">&gt;</text:span> element the default value for this attribute is 
<text:span text:style-name="Attribute_20_Value">non-primitive</text:span>.</text>{noformat}
As far as I can see, the direct formatting (local style 'T14') does nothing useful, and is undetectable when looking at the text in LO.ÂIt should therefore be:
{noformat}
<text text:style-name="Default_20_Value">For a <text:span text:style-name="Element">
<draw:enhanced-geometry></text:span> element the default value for this attribute is 
<text:span text:style-name="Attribute_20_Value">non-primitive</text:span>.</text>{noformat}
Ideally, all direct formatting should be eliminated, although this may not be the best policy, as it could lead to a proliferation of named styles (e.g. in complex list items).


was (Author: franciscave):
There are a number of cases of direct formatting that are only apparent when one looks at the underlying XML. If part of an element name has direct formatting applied, this results in a sequence of spans with the style "Element" applied. I can find only one case of this in Part 3 Schema, which is in 19.229.3 <draw:enhanced-geometry>, and it is our bad luck that this happens to be in a paragraph that specifies a default attribute value:
{noformat}
<text text:style-name="Default_20_Value">For a <text:span text:style-name="Element"><draw:</text:span><text:span text:style-name="Element"><text:span text:style-name="T14">enhanced-geometry</text:span></text:span><text:span text:style-name="Element">></text:span> element the default value for this attribute is <text:span text:style-name="Attribute_20_Value">non-primitive</text:span>.</text>{noformat}
As far as I can see, the direct formatting (local style 'T14') does nothing useful, and is undetectable when looking at the text in LO.ÂIt should therefore be:
{noformat}
<text text:style-name="Default_20_Value">For a <text:span text:style-name="Element"><draw:enhanced-geometry></text:span> element the default value for this attribute is <text:span text:style-name="Attribute_20_Value">non-primitive</text:span>.</text>{noformat}
Ideally, all direct formatting should be eliminated, although this may not be the best policy, as it could lead to a proliferation of named styles (e.g. in complex list items).

> ODF 1.3 CS02 Specification Editorial Fixes 
> -------------------------------------------
>
>                 Key: OFFICE-4079
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4079
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Task
>          Components: Part (Formula), Part (Introduction), Part (Packages), Part (Schema)
>    Affects Versions: ODF 1.3 CS01
>         Environment: Deliverables atÂ[http://docs.oasis-open.org/office/OpenDocument/v1.3/]
>            Reporter: Svante Schubert
>            Assignee: Francis Cave
>            Priority: Major
>              Labels: editorial
>             Fix For: ODF 1.3 CS02
>
>
> # Spacing between Paragraphs (ODT)
>  # Line Height higher than Font HeightÂ(ODT)
>  # Top Border missing in Paragraph Boxes (HTML)
>  # Default Attribute ValuesÂ(ODT)
>  *Missing:*
>  (x)Â<attribute name="draw:type" defaultValue="standard" element="draw:connector"/>
>  (x)Â<attribute name="draw:type" defaultValue="non-primitive" element="draw:enhanced-geometry"/>
>  (x)Â<attribute name="number:decimal-places" defaultValue="0" element="number:seconds"/> 
>  (x)Â<attribute name="smil:accelerate" defaultValue="0"/>
>  (x)Â<attribute name="style:vertical-align" defaultValue="top" element="style:column-sep"/>
>  *Erroneous:*
>  (x)Â<attribute name="xlink:href" defaultValue=""/>
>  (x)Â<attribute name="" defaultValue="false"/>
>  (x)Â<attribute name="" defaultValue="0"/>
>  (x)Â<attribute name="" defaultValue="2"/>
>  (x)Â<attribute name="" defaultValue=""/>
>  (x)Â<attribute name="" defaultValue="2"/>
>  (x)Â<attribute name="" defaultValue="false"/>
>  (x)Â<attribute name="" defaultValue="foreground"/>



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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