LibreOffice Module starmath (master) 1
ooxmlexport.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include "wordexportbase.hxx"
13
14#include <sax/fshelper.hxx>
16#include <oox/export/utils.hxx>
17
22{
23public:
25 oox::drawingml::DocumentType documentType);
26 void ConvertFromStarMath(const ::sax_fastparser::FSHelperPtr& m_pSerializer, const sal_Int8);
27
28private:
29 void HandleVerticalStack(const SmNode* pNode, int nLevel) override;
30 void HandleText(const SmNode* pNode, int nLevel) override;
31 void HandleFractions(const SmNode* pNode, int nLevel, const char* type) override;
32 void HandleRoot(const SmRootNode* pNode, int nLevel) override;
33 void HandleAttribute(const SmAttributeNode* pNode, int nLevel) override;
34 void HandleOperator(const SmOperNode* pNode, int nLevel) override;
35 void HandleSubSupScriptInternal(const SmSubSupNode* pNode, int nLevel, int flags) override;
36 void HandleMatrix(const SmMatrixNode* pNode, int nLevel) override;
37 void HandleBrace(const SmBraceNode* pNode, int nLevel) override;
38 void HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLevel) override;
39 void HandleBlank() override;
44};
45
46/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Attribute node.
Definition: node.hxx:1890
Node for brace construction.
Definition: node.hxx:1646
Matrix node.
Definition: node.hxx:2000
Definition: node.hxx:125
Class implementing writing of formulas to OOXML.
Definition: ooxmlexport.hxx:22
void HandleAttribute(const SmAttributeNode *pNode, int nLevel) override
SmOoxmlExport(const SmNode *pIn, oox::core::OoxmlVersion version, oox::drawingml::DocumentType documentType)
Definition: ooxmlexport.cxx:20
oox::drawingml::DocumentType const m_DocumentType
needed to determine markup for nested run properties
Definition: ooxmlexport.hxx:43
void HandleFractions(const SmNode *pNode, int nLevel, const char *type) override
void HandleVerticalStack(const SmNode *pNode, int nLevel) override
Definition: ooxmlexport.cxx:82
void HandleSubSupScriptInternal(const SmSubSupNode *pNode, int nLevel, int flags) override
::sax_fastparser::FSHelperPtr m_pSerializer
Definition: ooxmlexport.hxx:40
void HandleOperator(const SmOperNode *pNode, int nLevel) override
void HandleBrace(const SmBraceNode *pNode, int nLevel) override
void HandleRoot(const SmRootNode *pNode, int nLevel) override
void HandleVerticalBrace(const SmVerticalBraceNode *pNode, int nLevel) override
void HandleText(const SmNode *pNode, int nLevel) override
Definition: ooxmlexport.cxx:97
void ConvertFromStarMath(const ::sax_fastparser::FSHelperPtr &m_pSerializer, const sal_Int8)
Definition: ooxmlexport.cxx:28
void HandleMatrix(const SmMatrixNode *pNode, int nLevel) override
oox::core::OoxmlVersion version
Definition: ooxmlexport.hxx:41
void HandleBlank() override
Operation Node.
Definition: node.hxx:1811
Root node.
Definition: node.hxx:1307
Super- and subscript node.
Definition: node.hxx:1559
Node for vertical brace construction.
Definition: node.hxx:1750
Base class implementing writing of formulas to Word.
std::shared_ptr< FastSerializerHelper > FSHelperPtr
signed char sal_Int8
ResultType type