diff options
author | dante <dante19031999@gmail.com> | 2021-08-20 04:35:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-20 12:46:40 +0200 |
commit | 58a5bd793a2ed57077fc598281cc74e16373b877 (patch) | |
tree | 9f3161ee7d32ba8f0380a12dc0b439f829e88c96 /starmath/inc | |
parent | 4f7dd4985dd11e2e797f0ab05eaa7982b5a83b46 (diff) |
Fine tune new sm import / export
Change-Id: I7e7ec875b3d0f8f1d62f22270a306bc2f57421ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120768
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/mathml/export.hxx | 5 | ||||
-rw-r--r-- | starmath/inc/mathml/import.hxx | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/starmath/inc/mathml/export.hxx b/starmath/inc/mathml/export.hxx index fa442b10d881..3209c5aadb46 100644 --- a/starmath/inc/mathml/export.hxx +++ b/starmath/inc/mathml/export.hxx @@ -82,6 +82,7 @@ public: , m_bFlat(true) , m_bUseHTMLMLEntities(false) , m_pElementTree(nullptr) + , m_bUseExportTag(false) { } @@ -101,7 +102,7 @@ protected: const css::uno::Reference<css::lang::XComponent>& xComponent, css::uno::Reference<css::uno::XComponentContext> const& rxContext, css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pComponentName); + const char16_t* pComponentName, int_fast16_t nSyntaxVersion); /** export through an XML exporter component (storage version) */ @@ -110,7 +111,7 @@ protected: const char16_t* pStreamName, css::uno::Reference<css::uno::XComponentContext> const& rxContext, css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pComponentName); + const char16_t* pComponentName, int_fast16_t nSyntaxVersion); /** export through an XML exporter component (memory stream version) */ diff --git a/starmath/inc/mathml/import.hxx b/starmath/inc/mathml/import.hxx index ae72b7b89b6e..6266b5ede6c0 100644 --- a/starmath/inc/mathml/import.hxx +++ b/starmath/inc/mathml/import.hxx @@ -62,7 +62,8 @@ public: const css::uno::Reference<css::lang::XComponent>& xModelComponent, css::uno::Reference<css::uno::XComponentContext> const& rxContext, css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pFilterName, bool bEncrypted); + const char16_t* pFilterName, bool bEncrypted, + int_fast16_t nSyntaxVersion); /** read a component from storage */ @@ -71,7 +72,7 @@ public: const char16_t* pStreamName, css::uno::Reference<css::uno::XComponentContext> const& rxContext, css::uno::Reference<css::beans::XPropertySet> const& rPropSet, - const char16_t* pFilterName); + const char16_t* pFilterName, int_fast16_t nSyntaxVersion); /** read a component from text */ |