Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Mon, Apr 02, 2012 at 08:20:18PM +0200, Dézsi Szabolcs <dezsiszabi@hotmail.com> wrote:
Not sure if you noticed that the RotationDescriptor service is
deprecated, just in case you plan to spend too much time on it. ;)


Yes, I noticed it, I think I have to use Transformation (?).

This is just a test to see if I can do it with RotateAngle (like in extension), after that I can 
use Transformation (I hope).

Hi Szabolcs,

Indeed, which API you use is irrelevant at the moment. :)

Seems your problem is that the extension first converts the picture
frame (SwXTextGraphicObject) to an SwXShape (you can see the position of
the shape is changed - though probably that's an accident), and then it
sets the RotationAngle property, since that object will have that
property then.

Check how that conversion is done in the extension, then you can do
something similar in SwGrfShell::Execute().

Miklos

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.