From a1dda85b46592b46ae290da43964b22eb0a84e29 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 13 Jun 2013 17:27:15 +0200 Subject: fdo#58819 VML export of ESCHER_Prop_Rotation Change-Id: I3deb8f914cabd58a284bef825092a6980b1f6310 --- oox/source/export/vmlexport.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'oox/source') diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index a93bdb5277ad..63f27a324e20 100644 --- a/oox/source/export/vmlexport.cxx +++ b/oox/source/export/vmlexport.cxx @@ -718,6 +718,13 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const Rectangle& rRect bAlreadyWritten[ESCHER_Prop_gtextUNICODE] = true; } break; + case ESCHER_Prop_Rotation: + { + // The higher half of the variable contains the angle. + m_pShapeStyle->append(";rotation:").append(double(it->nPropValue >> 16)); + bAlreadyWritten[ESCHER_Prop_Rotation] = true; + } + break; default: #if OSL_DEBUG_LEVEL > 0 fprintf( stderr, "TODO VMLExport::Commit(), unimplemented id: %d, value: %" SAL_PRIuUINT32 ", data: [%" SAL_PRIuUINT32 ", %p]\n", -- cgit