Unit test for text rotation inside textbox

Miklos Vajna vmiklos at collabora.co.uk
Thu Dec 14 15:55:33 UTC 2017


Hi,

On Thu, Dec 14, 2017 at 04:00:05PM +0100, Michael Stahl <mstahl at redhat.com> wrote:
> apparently  draw:text-rotate-angle="-270"  is what effects the rotation,
> no idea where to get that in the API, there must be something "generic"
> in com/sun/star/drawing/Enhanced...

Try the CustomShapeGeometry property of the shape, it gives you a
sequence of property values, the TextRotateAngle is what you need, I
guess.

sd/qa/unit/export-tests.cxx has a similar test already.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20171214/8c111998/attachment.sig>


More information about the LibreOffice mailing list