summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-06-13 17:27:15 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-06-13 17:29:32 +0200
commita1dda85b46592b46ae290da43964b22eb0a84e29 (patch)
tree831c072a395a18a72681d20efc357c8814f95f06
parent4a143c44fe7ad266ab9ab7dca317b0099b1438d0 (diff)
fdo#58819 VML export of ESCHER_Prop_Rotation
Change-Id: I3deb8f914cabd58a284bef825092a6980b1f6310
-rw-r--r--oox/source/export/vmlexport.cxx7
1 files changed, 7 insertions, 0 deletions
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",