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] Updated: (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:all-tabpanel ]

Michael Brauer updated OFFICE-3424:
-----------------------------------

    Resolution: 
Change description of 16.40.8 <draw:marker> to:

The element <draw:marker> represents a marker, which is used to paint
polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start or draw:marker-end attribute.

The marker geometry is defined by a svg:d attribute. 

Note: The marker geometry could be imagined as an arrow whose vertex points upwards.

When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:

If the marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width attribute.
The aspect ratio of the geometry is in both cases kept.

The geometry then gets horizontally centered. It gets vertically positioned relative to an offset value which is specified by the
draw:marker-start-center attribute for markers referenced by a draw:marker-start attribute, and by the draw:marker-end-center attribute for markers referenced by a draw:marker-end attribute. The attribute value true defines an offset of 0.5 and the attribute value false defines an offset of 0.3, which is also the default value. The offset specifies the marker's vertical position in a range from 0.0 to 1.0, where the value 0.0 means the geometry's bottom bound is aligned to the X axis of the local coordinate system of the marker geometry, and where the value 1.0 means the top bound to be aligned to the X axis of the local coordinate system of the marker geometry.

If the marker referenced by a draw:marker-start attribute, the marker
geometry is then rotated so that the Y axis is aligned to the
direction of the stroke in the start/end point direction. It then gets painted to the stroke so that the origin of the coordinate
system of the mapped marker geometry is positioned at the start point's
position.

If the marker is referenced by a draw:marker-end attribute, the marker
geometry is then rotated so that the X axis is aligned to the
direction of the stroke in the end/start point direction.  It then gets painted to the stroke so that the origin of the coordinate
system of the mapped marker geometry is positioned at the end point's
position.

Markers are not available as automatic styles. 

  was:
Change description of 16.40.8 <draw:marker> to:

The element <draw:marker> represents a marker, which is used to paint
polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start or draw:marker-end attribute.

The marker geometry is defined by a svg:d attribute. When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:

If the marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width attribute.
The aspect ratio of the geometry is in both cases kept.

The geometry then gets horizontally centered. It gets vertically positioned relative to an offset value which is specified by the
draw:marker-start-center attribute for markers referenced by a draw:marker-start attribute, and by the draw:marker-end-center attribute for markers referenced by a draw:marker-end attribute. The attribute value true defines an offset of 0.5 and the attribute value false defines an offset of 0.3, which is also the default value. The offset specifies the marker's horizontal position in a range from 0.0 to 1.0, where the value 0.0 means the geometry's bottom bound is aligned to the X axis of the local coordinate system of the marker geometry, and where the value 1.0 means the top bound to be aligned to the X axis of the local coordinate system of the marker geometry.

If the marker referenced by a draw:marker-start attribute, the marker
geometry is then rotated so that the Y axis is aligned to the
direction of the stroke in the start/end point direction. It then gets painted to the stroke so that the origin of the coordinate
system of the mapped marker geometry is positioned at the start point's
position.

For the marker is referenced by a draw:marker-end attribute, the marker
geometry is then rotated so that the X axis is aligned to the
direction of the stroke in the end/start point direction.  It then gets painted to the stroke so that the origin of the coordinate
system of the mapped marker geometry is positioned at the end point's
position.

Markers are not available as automatic styles. 


> 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 
>            Assignee: Patrick Durusau
>             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]