/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <node.hxx>
/** Base class implementing writing of formulas to Word.
*/ class SmWordExportBase
{ public: explicit SmWordExportBase(const SmNode* pIn); virtual ~SmWordExportBase();
protected: void HandleNode(const SmNode* pNode, int nLevel); void HandleAllSubNodes(const SmNode* pNode, int nLevel); void HandleTable(const SmNode* pNode, int nLevel); virtualvoid HandleVerticalStack(const SmNode* pNode, int nLevel) = 0; virtualvoid HandleText(const SmNode* pNode, int nLevel) = 0; void HandleMath(const SmNode* pNode, int nLevel); virtualvoid HandleFractions(const SmNode* pNode, int nLevel, constchar* type) = 0; void HandleUnaryOperation(const SmUnHorNode* pNode, int nLevel); void HandleBinaryOperation(const SmBinHorNode* pNode, int nLevel); virtualvoid HandleRoot(const SmRootNode* pNode, int nLevel) = 0; virtualvoid HandleAttribute(const SmAttributeNode* pNode, int nLevel) = 0; virtualvoid HandleOperator(const SmOperNode* pNode, int nLevel) = 0; void HandleSubSupScript(const SmSubSupNode* pNode, int nLevel); virtualvoid HandleSubSupScriptInternal(const SmSubSupNode* pNode, int nLevel, int flags) = 0; virtualvoid HandleMatrix(const SmMatrixNode* pNode, int nLevel) = 0; virtualvoid HandleBrace(const SmBraceNode* pNode, int nLevel) = 0; virtualvoid HandleVerticalBrace(const SmVerticalBraceNode* pNode, int nLevel) = 0; virtualvoid HandleBlank() = 0; const SmNode* GetTree() const { return m_pTree; }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.