[OASIS Issue Tracker] Updated: (OFFICE-3742) Public Comment: ODF1.2 draw:style rect/round vs svg:stroke-linecap

From
OASIS Issues Tracker <>
Date
2012-10-19T00:30:38+00:00
ID
1583058126.4811350606624524.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Updated: (OFFICE-3742) Public Comment: ODF1.2 draw:style rect/round vs svg:stroke-linecap
[ http://tools.oasis-open.org/issues/browse/OFFICE-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Durusau updated OFFICE-3742:
------------------------------------

    Description: 
Copied from office-comment list

Original author: Regina Henschel <> 
Original date: 11 Jan 2012 14:21:39
Original URL: http://lists.oasis-open.org/archives/office-comment/201201/msg00000.html

From the post:

The element "<draw:stroke-dash>" (16.40.9) has an attribute "draw:style" (19.218.5). This attribute specifies a rendering for a stroke-dash using the values

"rect: dash has a rectangular shape."
and
"round: dash has a round shape."

On the other hand the ends of stroked subpaths can be set with the attribute "svg:stroke-linecap" (20.164) using the values butt, round, and square.


It might be, that the settings are contradictory. For example draw:style sets "rect" and svg:stroke-linecap sets "round".


I miss a rule to handle this inconsistence. Another solution would be to get rid of the attribute "draw:style" in this context.



  was:
Copied from office-comment list

Original author: Regina Henschel <> 
Original date: 11 Jan 2012 14:21:39
Original URL: http://lists.oasis-open.org/archives/office-comment/201201/msg00000.html



I may just be missing it but can you point out the intersection case where <draw:stroke-dash> and 

svg:stroke-linecap (used on <style:graphic-properties>) are applicable to the same stroke? 

Warning: draw:stroke-dash appears as an element name and also as an attribute name under <style:graphic-properties>, which may give you the false impression there is a conflict. 

The draw:stroke-dash attribute under <style:graphic-properties> has the following value statement:

"The draw:stroke-dash attribute has the data type styleNameRef 18.3.32."

Sorry, I should have recognized this case sooner. Need to put a new section, Sturdy Indefensibles near the end of part 1 so we can explain things we would do differently today, but can't. ;-)

> Public Comment: ODF1.2 draw:style rect/round vs svg:stroke-linecap
> ------------------------------------------------------------------
>
>                 Key: OFFICE-3742
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3742
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.2
>            Reporter: Robert Weir 
>
> Copied from office-comment list
> Original author: Regina Henschel <> 
> Original date: 11 Jan 2012 14:21:39
> Original URL: http://lists.oasis-open.org/archives/office-comment/201201/msg00000.html
> From the post:
> The element "<draw:stroke-dash>" (16.40.9) has an attribute "draw:style" (19.218.5). This attribute specifies a rendering for a stroke-dash using the values
> "rect: dash has a rectangular shape."
> and
> "round: dash has a round shape."
> On the other hand the ends of stroked subpaths can be set with the attribute "svg:stroke-linecap" (20.164) using the values butt, round, and square.
> It might be, that the settings are contradictory. For example draw:style sets "rect" and svg:stroke-linecap sets "round".
> I miss a rule to handle this inconsistence. Another solution would be to get rid of the attribute "draw:style" in this context.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira