You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/01/18 22:52:04 UTC

DO NOT REPLY [Bug 118817] New: svg: Polyline with marker does not break to polyline with array attribute but 2 objects

https://issues.apache.org/ooo/show_bug.cgi?id=118817

             Bug #: 118817
        Issue Type: DEFECT
           Summary: svg: Polyline with marker does not break to polyline
                    with array attribute but 2 objects
    Classification: Application
           Product: Drawing
           Version: current
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P5
         Component: editing
        AssignedTo: graphicsneedsconfirm@openoffice.org
        ReportedBy: rb.henschel@t-online.de
                CC: ooo-issues@incubator.apache.org


Created attachment 77148
  --> https://issues.apache.org/ooo/attachment.cgi?id=77148
polyline with svg-marker

Insert attached svg-graphic into a Draw document.
Break the graphic.
The polyline breaks into a polyline and polygon, corresponding the marker.

Expected behavior: It breaks into a polyline with arrow property.

The triangle-marker in the example is too far away from the polyline. Perhaps
that has the same root cause?

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118817] svg: Example does place markers wrong (with offset) at line start/end

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118817

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |STARTED
                 CC|                            |Armin.Le.Grand@me.com
         AssignedTo|graphicsneedsconfirm@openof |Armin.Le.Grand@me.com
                   |fice.org                    |
            Summary|svg: Polyline with marker   |svg: Example does place
                   |does not break to polyline  |markers wrong (with offset)
                   |with array attribute but 2  |at line start/end
                   |objects                     |

--- Comment #1 from Armin Le Grand <Ar...@me.com> 2012-01-19 15:50:36 UTC ---
ALG: The Break can currently not be changed, with the data transport using
metafile the break implementation simply does not know what may be start/end
markers or markers at all. Even with created primitives it would be hard to
have the context to detect that a marker is a linestart/end and could be set as
line attribute; when you think about Svg allowing arbitrarily complex markers
it is anyways not possible to directly use them as arrow heads in the office.

ALG: More interesting is the offset mentioned in the last paragraph. I'll take
this task for it.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118817] svg: Example does place markers wrong (with offset) at line start/end

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118817

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

DO NOT REPLY [Bug 118817] svg: Example does place markers wrong (with offset) at line start/end

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118817

--- Comment #2 from Armin Le Grand <Ar...@me.com> 2012-01-19 16:29:51 UTC ---
ALG: Problem identified in SvgStyleAttributes::prepare_singleMarker (the mapper
for markers). The Svg refX/refY were applied too early leading to a mapping of
the given viewBox with preserveAspectRatio="xMidYMid meet" which horizontally
centered the arrowhead (marker). Adapted this to always have refX/refY as the
zero point of the marker which gets mapped to the target coordinate.

ALG: comitted, done.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118817] svg: Example does place markers wrong (with offset) at line start/end

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118817

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|STARTED                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Armin Le Grand <Ar...@me.com> 2012-01-23 09:28:01 UTC ---
ALG: Forgot to set to solved, doing so.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[Bug 118817] svg: Example does place markers wrong (with offset) at line start/end

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118817

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |doneyourself@gmail.com

--- Comment #4 from liupingtan <do...@gmail.com> ---
verify on AOO350ml 1377620 on Win7-64bit,pass

-- 
You are receiving this mail because:
You are on the CC list for the bug.