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] Commented: (OFFICE-3424) 16.40.8<draw:marker> attributes appear incomplete



    [ http://tools.oasis-open.org/issues/browse/OFFICE-3424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21124#action_21124 ] 

Andreas Guelzow  commented on OFFICE-3424:
------------------------------------------

Let me give an example. Say I am reading an ODF file and have
<draw:marker draw:name="Arrow" svg:viewBox="0 0 20 30" svg:d="m10 0-10 30h20z"/>
this is used in
<style:style style:name="gr1" style:family="graphic"><style:graphic-properties draw:marker-end="Arrow" draw:marker-end-width="0.5cm" /></style:style>
which is the style for
<draw:line table:end-cell-address="Sheet1.E22" table:end-x="0.799cm" table:end-y="0.107cm" draw:z-index="0" draw:style-name="gr1" svg:x1="1.845cm" svg:y1="5.21cm" svg:x2="7.573cm" svg:y2="0.08cm">
occurring in some table cell.

If I look at the marker shape, as a human I recognize that the arrow point is at (10,0) an the axis of the arrow head is  (10,30)--(10,0) so I probably should scale the arrow head with fixed aspect ratio to the required width of 0.5cm and apply that arrow that way. The problem is that I am really guessing since the marker shape is really an arbitrary polygon, so perhaps this isn't supposed to be a nice symmetric arrow. The ODF spec doesn't help me. (If the optional width attribute were omitted it is even worse.)

> 16.40.8 <draw:marker> attributes appear incomplete
> --------------------------------------------------
>
>                 Key: OFFICE-3424
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3424
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Graphics
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Andreas Guelzow 
>             Fix For: ODF 1.2 CD 06
>
>
> The description in 16.40.8 <draw:marker> is mute on the meaning of the attribute svg:viewBox. The description of viewBox in [SVG] requires for a "marker" element that markerWidth and markerHeight attributes are given but they do not exist in the case of 16.40.8 <draw:marker>.

-- 
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]