Issue 109123 - API: Custom shape does not flip via matrix but move
Summary: API: Custom shape does not flip via matrix but move
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: DEV300m70
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 19:18 UTC by Regina Henschel
Modified: 2017-05-20 11:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test document with macro to flip at y-axis (13.16 KB, application/vnd.oasis.opendocument.graphics)
2010-02-10 19:19 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2010-02-10 19:18:40 UTC
The attached document contains the macro “Change Shape via Matrix”. It reads the
property “Transformation” from the selected shape, multiplies it with the matrix
(-1 0 0   0 1 0   0 0 1) (read row wise) and writes the result back to the
property. When applying the macro, the shape should flip at the y-axis.
Set a break point in the macro “Examine shape” and watch the object “oShape” to
see this property.

The document contains a custom shape sector object. Select it, activate the
flipping tool from the toolbar, move the mirror axis to the y-axis and flip the
shape. You can watch, that the shape is able to flip correctly.
Reload the document and select the shape again. Click on the icon “Change Shape
via Matrix”. Notice, that the shape is not flipped, but moved.
You can use a classical sector, to proof, that the macro indeed applies flipping
at the y-axis.
Comment 1 Regina Henschel 2010-02-10 19:19:25 UTC
Created attachment 67736 [details]
test document with macro to flip at y-axis
Comment 2 wolframgarten 2010-02-11 09:40:26 UTC
Reproducible. Reassigned.
Comment 3 Marcus 2017-05-20 11:33:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".