diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-11-13 21:06:55 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-11-15 00:27:30 +0000 |
commit | 074f0ab1d76f16fe92493868e2f2de75e67792ef (patch) | |
tree | 75e27850211fc1d12618b795eaa2d6e853f1f711 /starmath/source/mathmlimport.hxx | |
parent | bb50b1609abe83265311613db4a18e992dc666c8 (diff) |
tdf#76296 Import MathML's <mspace>
as possibly multiple "~" and/or "`" by honoring its width attribute.
Change-Id: I17e361c3f8f5d061c856b72266332369497d16b9
Reviewed-on: https://gerrit.libreoffice.org/30809
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/mathmlimport.hxx')
-rw-r--r-- | starmath/source/mathmlimport.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx index 04d49c82950d..626ee0bb0fb8 100644 --- a/starmath/source/mathmlimport.hxx +++ b/starmath/source/mathmlimport.hxx @@ -78,6 +78,7 @@ class SmXMLImport : public SvXMLImport std::unique_ptr<SvXMLTokenMap> pPresTableElemTokenMap; std::unique_ptr<SvXMLTokenMap> pColorTokenMap; std::unique_ptr<SvXMLTokenMap> pActionAttrTokenMap; + std::unique_ptr<SvXMLTokenMap> pMspaceAttrTokenMap; SmNodeStack aNodeStack; bool bSuccess; @@ -236,6 +237,7 @@ public: const SvXMLTokenMap &GetPresTableElemTokenMap(); const SvXMLTokenMap &GetColorTokenMap(); const SvXMLTokenMap &GetActionAttrTokenMap(); + const SvXMLTokenMap &GetMspaceAttrTokenMap(); SmNodeStack & GetNodeStack() { return aNodeStack; } @@ -334,6 +336,10 @@ enum SmXMLActionAttrTokenMap XML_TOK_SELECTION }; +enum SmXMLMspaceAttrTokenMap +{ + XML_TOK_WIDTH +}; #endif |