On Mon, Apr 02, 2012 at 07:23:52PM +0200, Dézsi Szabolcs <dezsisz...@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. ;) _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice