Need help in UNO
Regina Henschel
rb.henschel at t-online.de
Mon Apr 2 14:56:42 PDT 2012
Hi Szabolcs,
Dézsi Szabolcs schrieb:
>
> Hi all!
>
> 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.
Do you want to add rotation to the Writer kind image or do you want to
make an UI for converting a Writer kind image to a Draw kind image?
You are aware that both kind of images have different properties? For
example Writer kind images have Contour wrap and ImageMap.
Kind regards
Regina
More information about the LibreOffice
mailing list