summaryrefslogtreecommitdiff
path: root/include/oox/mathml
diff options
context:
space:
mode:
authorAttila Bakos <bakos.attilakaroly@nisz.hu>2020-05-07 17:23:48 +0200
committerLászló Németh <nemeth@numbertext.org>2020-05-26 09:37:46 +0200
commit46695f3d66cc77b38865c1817b09d95e9c4b6683 (patch)
treea5046041dda09549aba26bc315458aa32e384fbc /include/oox/mathml
parentfd238380ae7820f12ac1f7c52d0f7180a93f3ba3 (diff)
tdf#133030: DOCX export: fix formula alignment - part 3
Follow-up of commit 1237acf9851f8b12d1ccd929e2aa8b184c06d552 (tdf#132811 DOCX: fix formula alignment – part 2) Co-authored-by: Tibor Nagy (NISZ) Change-Id: I5466649a2aa6b7ffdb0def723f79dfbecdf1495f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93665 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include/oox/mathml')
-rw-r--r--include/oox/mathml/export.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oox/mathml/export.hxx b/include/oox/mathml/export.hxx
index 571133755e4b..e9589a0d1f46 100644
--- a/include/oox/mathml/export.hxx
+++ b/include/oox/mathml/export.hxx
@@ -28,8 +28,9 @@ class OOX_DLLPUBLIC FormulaExportBase
public:
virtual void writeFormulaOoxml(::sax_fastparser::FSHelperPtr pSerializer,
oox::core::OoxmlVersion version,
- oox::drawingml::DocumentType documentType) = 0;
+ oox::drawingml::DocumentType documentType, sal_Int8 nAlign) = 0;
virtual void writeFormulaRtf( OStringBuffer& rBuffer, rtl_TextEncoding nEncoding ) = 0;
+ enum eFormulaAlign { INLINE, CENTER, GROUPEDCENTER, LEFT, RIGHT };
protected:
FormulaExportBase();