[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (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:comment-tabpanel&focusedCommentId=31566#action_31566 ]
Andreas Guelzow commented on OFFICE-3742:
------------------------------------------
Suppose we have
<draw:line draw:style-name="so-g-l-0x90ef048" table:end-x="1.50pt" table:end-y="9.00pt" svg:x1="91.50pt" svg:y1="174.75pt" svg:x2="241.50pt" svg:y2="53.25pt" table:end-cell-address="$'Sheet1'.F14"/>
with style:
<style:style style:name="so-g-l-0x90ef048" style:family="graphic">
<style:graphic-properties draw:fill="none" draw:stroke="dash" draw:stroke-dash="dash" svg:stroke-width="1.00pt" svg:stroke-color="#ff0000" svg:stroke-linecap="round" />
</style:style>
and dash:
<draw:stroke-dash draw:name="dash" draw:display-name="Long dash" draw:style="rect" draw:distance="400.00%" draw:dots1="1" draw:dots1-length="1200.00%"/>
So we have a dashes that supposed to have rectangular caps while the overall stroke has round caps.
So at the beginning of this line we start botht he stroke as well as a dash. Is the beginning round or rect?
> 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 <rb.henschel@t-online.de>
> 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]