* docx-brightness-contrast-1.diff * docx-brightness-contrast-2.diff - bnc#875712 - LO-L3: DOC import: picture brigtness/contrast not imported * doc-brightness-contrast.diff - bnc#870240 - LO-L3: pptx import file has text rotated on slide * fix-text-rotation.diff - bnc#870234 - LO-L3: pptx file has text imported as black instead of white * import-gradfill-for-text-colors.diff - bnc#870228 - LO-L3: Text inside the circle is not centered * text-alignment-in-shape.diff - bnc#863021 - LO-L3: Allow setting language for slide or presentation entirely * set-language-in-impress.diff - fix build on openSUSE 12.3: * disable-firebird-unit-test.diff OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=154
27 lines
1018 B
Diff
27 lines
1018 B
Diff
From e3e12b1d1e36e1a0d4fc4c6423b584d677693897 Mon Sep 17 00:00:00 2001
|
|
From: Muthu Subramanian <sumuthu@collabora.com>
|
|
Date: Wed, 26 Mar 2014 10:35:44 +0000
|
|
Subject: n#862510: Fix text rotation.
|
|
|
|
Fix breaks document in n#783433 - the one there is
|
|
damaged - resaving it using mso 2010 should fix the problem there.
|
|
|
|
Change-Id: Ib2ee7ab20489d716dc189ac6810d705763a16476
|
|
---
|
|
diff --git a/oox/source/drawingml/transform2dcontext.cxx b/oox/source/drawingml/transform2dcontext.cxx
|
|
index e232b4d..0a1bb59 100644
|
|
--- a/oox/source/drawingml/transform2dcontext.cxx
|
|
+++ b/oox/source/drawingml/transform2dcontext.cxx
|
|
@@ -46,7 +46,8 @@ Transform2DContext::Transform2DContext( ContextHandler2Helper& rParent, const At
|
|
}
|
|
else
|
|
{
|
|
- mrShape.getTextBody()->getTextProperties().moRotation = rAttribs.getInteger( XML_rot );
|
|
+ if( rAttribs.hasAttribute( XML_rot ) )
|
|
+ mrShape.getTextBody()->getTextProperties().moRotation = -rAttribs.getInteger( XML_rot ).get();
|
|
}
|
|
}
|
|
|
|
--
|
|
cgit v0.9.0.2-2-gbebe
|