On Mon, Apr 02, 2012 at 07:23:52PM +0200, Dézsi Szabolcs <dezsiszabi@hotmail.com> wrote:
I'm working on Bug 34423 (more of a feature request).
There's this extension called OpenOffice Toolbox on the bug's page. It implements image rotation.
I want to port that to C++.
I added a menu item to the right click menu of the image (Rotate... <- will call a dialog), now
it just rotates the image with a hard coded value (90 degrees).
To be precise it should rotate the image, but I don't really know this UNO thing, so I'm not sure
what I'm doing (wrong) :)
My goal is to somehow get the selected image (XShape ?) and change its 'RotateAngle' property
(this was used in the extension code (basic)).
I hope someone can help me with this.
Not sure if you noticed that the RotationDescriptor service is
deprecated, just in case you plan to spend too much time on it. ;)
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.