diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-03-24 17:35:51 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-04-17 16:20:18 +0200 |
commit | 77655fc3dca05d4bb2366e67ccea228e3886bfe2 (patch) | |
tree | 2afd600c70ff8758ff7b228d2082a7f2e1721238 /include | |
parent | 1ccb5a63cd3f16f46c3d8cb7d86374805705804d (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>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/drawingml/drawingmltypes.hxx | 3 |
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 { |