summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@collabora.com>2023-03-24 17:35:51 +0300
committerSarper Akdemir <sarper.akdemir@collabora.com>2023-05-12 12:18:53 +0200
commit1215aefee8d314a9cc0816e93399d8dc0fb3835e (patch)
treedd779b4991af280037a5ec644c1c740b00990830 /include
parent1e2cc2b9a2af7b92c91e131676cf1aac55bb073f (diff)
pptx export: consider RotateAngle for tcPr on export
It appears the RotateAngle property is imported, even though it has no effect on how table cell is displayed right now. Let's export the property so that we are able to roundtrip the <a:tcPr vert="vert"> & <a:tcPr vert="vert270"> Change-Id: Idc23f3b0677fdc5ed12fa5494f0f1823bb89683f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149545 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir@collabora.com> (cherry picked from commit 77655fc3dca05d4bb2366e67ccea228e3886bfe2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151527 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/drawingmltypes.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/drawingml/drawingmltypes.hxx b/include/oox/drawingml/drawingmltypes.hxx
index 239d3283e55c..fda24edb0f92 100644
--- a/include/oox/drawingml/drawingmltypes.hxx
+++ b/include/oox/drawingml/drawingmltypes.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_OOX_DRAWINGML_DRAWINGMLTYPES_HXX
#include <memory>
+#include <optional>
#include <string_view>
#include <com/sun/star/awt/Point.hpp>
@@ -149,6 +150,8 @@ OOX_DLLPUBLIC const char* GetTextVerticalAdjust( css::drawing::TextVerticalAdjus
// Converts a Hatch object to an ooxml pattern.
const char* GetHatchPattern( const css::drawing::Hatch& rHatch );
+/// Converts nRotate angle to TextVerticalType string appearing in ooxml
+std::optional<OString> GetTextVerticalType(sal_Int32 nRotateAngle);
// CT_IndexRange
struct IndexRange {