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=77281#comment-77281 ] 

Francis Cave commented on OFFICE-4079:

1. Spacing between Paragraphs (ODT)

This is caused by changes in paragraph style definitions in CS01 (CSD02). The re-application of style definitions used in earlier drafts fixes this particular issue.

2.ÂLine Height higher than Font HeightÂ(ODT)

If I have understood this correctly, the issue and its resolution are the same as 1.

3.ÂTop Border missing in Paragraph Boxes (HTML)

If I have understood this correctly, the issue has the same cause as 1 and 2, and resolution involves fixing the styles in the ODT then regenerating the HTML.

4.ÂDefault Attribute ValuesÂ(ODT)

The XSLT script for extracting default attribute values appears to rely upon some or all of the following conditions being true for each paragraph that specifies a default value:
 * The paragraph style on the paragraph specifying the default attribute value is 'Default Value'. This must in all cases be true.
 * The character style on the default attribute value is either 'Attribute Value' or 'Attribute Value Instance'.
 * The default attribute value is preceded by text that matches the regex pattern '[Tt]he default value for this attribute is '. I think this must be true in all cases, but see my comment on {{xlink:href}} below.
 * If the attribute is specified on multiple elements, the text at the start of the paragraph matches the regex pattern 'For a {{<xxx>}} element ', where '{{<xxx>}}' is the name of the element and has the character style 'Element' applied.

The missing default attribute values can therefore be explained as follows:
 * {{draw:type}}Âon {{<draw:connector}}> : The text 'For a {{<draw:connector>}} element ' is missing.
 * {{draw:type}}Âon {{<draw:enhanced-geometry}}> : The text 'For a {{<}}{{draw:enhanced-geometry}}{{>}} element ' is missing.
 * {{number:decimal-places}}Âon {{<number:seconds}}> : The text 'For a {{<}}{{number:seconds}}{{}}{{>}} element ' is missing.
 * {{smil:accelerate}} : The default attribute value '{{0}}' has the incorrect character style.
 * {{style:vertical-align}} on {{<style:column-sep>}} : This is a more complicated issue. Section 19.520 documents the use of {{style:vertical-align}} with the element {{<style:column-sep>}}. Section 20.396 documents the use of the same attribute with the elements {{<style:paragraph-properties>}}Â(20.396.1) and {{<style:table-cell-properties>}} (20.396.2). I think that in the case of 19.520 the words 'For a {{<style:column-sep>}} element ' need to be added. However, I also notice that the first paragraph of 20.396.1 states: "By default characters are aligned according to their baseline." Since {{baseline}} is one of the values of {{style:vertical-align}} that can apply when used with {{<style:table-cell-properties>}}, I suspect that the default attribute value needs to be properly specified in this case.

I cannot explain why {{xlink:href}} is being extracted. So far as I can see this attribute does not have any defined default values, except when used with {{<chart:chart>}} (19.916.3), but in this case the default value is not specified properly in the text, so I would expect this to be missing, not extracted with an empty string value.

The remaining erroneous extractions relate to default attribute values specified in section 20. I applied the paragraph style 'Default Value' in both sections 19 and 20. Maybe I was not supposed to apply this paragraph style in section 20?

> 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

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