[Libreoffice-commits] core.git: oox/source

Miklos Vajna vmiklos at suse.cz
Thu Jun 13 08:29:55 PDT 2013


 oox/source/export/vmlexport.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit a1dda85b46592b46ae290da43964b22eb0a84e29
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Thu Jun 13 17:27:15 2013 +0200

    fdo#58819 VML export of ESCHER_Prop_Rotation
    
    Change-Id: I3deb8f914cabd58a284bef825092a6980b1f6310

diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index a93bdb5..63f27a3 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",


More information about the Libreoffice-commits mailing list