OfficeMath.h
1
2// Copyright 2001-2022 Aspose Pty Ltd. All Rights Reserved.
3//
4// This file is part of Aspose.Words. The source code in this file
5// is only intended as a supplement to the documentation, and is provided
6// "as is", without warranty of any kind, either expressed or implied.
9#pragma once
10
11#include <system/shared_ptr.h>
12#include <system/enum_helpers.h>
13
14#include <Aspose.Words.Cpp/IInline.h>
15#include <Aspose.Words.Cpp/Revisions/ITrackableNode.h>
16#include <Aspose.Words.Cpp/NodeType.h>
17#include <Aspose.Words.Cpp/CompositeNode.h>
18#include <Aspose.Words.Cpp/Math/OfficeMathJustification.h>
19#include <Aspose.Words.Cpp/Math/OfficeMathDisplayType.h>
20#include <Aspose.Words.Cpp/Math/MathObjectType.h>
21#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
22
23namespace Aspose
24{
25namespace Words
26{
27
28class DocumentBase;
29class DocumentVisitor;
30
31class INodeCloningListener;
32
33class Node;
34
35class Paragraph;
36namespace Rendering
37{
38class OfficeMathRenderer;
39}
40namespace Revisions
41{
42class EditRevision;
43class MoveRevision;
44}
45class RunPr;
46enum class RunPrExpandFlags;
47
48enum class VisitorAction;
49}
50}
51namespace System
52{
53class String;
54namespace Text
55{
56class Encoding;
57class StringBuilder;
58}
59}
60
61namespace Aspose {
62
63namespace Words {
64
65namespace Math {
66
99class ASPOSE_WORDS_SHARED_CLASS OfficeMath : public Aspose::Words::CompositeNode, public Aspose::Words::IInline, public Aspose::Words::Revisions::ITrackableNode
100{
101 typedef OfficeMath ThisType;
103 typedef Aspose::Words::IInline BaseType1;
104 typedef Aspose::Words::Revisions::ITrackableNode BaseType2;
105
106 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2> ThisTypeBaseTypesInfo;
107 ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
108
109public:
110 using Aspose::Words::CompositeNode::Clone;
111
112public:
113
139 ASPOSE_WORDS_SHARED_API Aspose::Words::NodeType get_NodeType() const override;
140
167
266
294
296 ASPOSE_WORDS_SHARED_API void set_EquationXmlEncoding(const System::SharedPtr<System::Text::Encoding>& value);
297
330
333
365
368
474 ASPOSE_WORDS_SHARED_API bool Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override;
475
501
502protected:
503
505 ASPOSE_WORDS_SHARED_API Aspose::Words::VisitorAction AcceptStart(System::SharedPtr<Aspose::Words::DocumentVisitor> ) override;
506 ASPOSE_WORDS_SHARED_API Aspose::Words::VisitorAction AcceptEnd(System::SharedPtr<Aspose::Words::DocumentVisitor> ) override;
507 ASPOSE_WORDS_SHARED_API bool CanInsert(System::SharedPtr<Aspose::Words::Node> ) override;
508
509 virtual ASPOSE_WORDS_SHARED_API ~OfficeMath();
510
511private:
512
513 System::SharedPtr<Aspose::Words::Paragraph> get_ParentParagraph_IInline() override;
514 System::SharedPtr<Aspose::Words::DocumentBase> get_Document_IInline() override;
515 System::SharedPtr<Aspose::Words::RunPr> get_RunPr_IInline() override;
516 void set_RunPr_IInline(System::SharedPtr<Aspose::Words::RunPr> ) override;
517
521 __TypeStub<1,1,1,1>::type mField3;
522 __TypeStub<1,1,1,1>::type mField4;
523
525 void set_InsertRevision(System::SharedPtr<Aspose::Words::Revisions::EditRevision> ) override;
527 void set_DeleteRevision(System::SharedPtr<Aspose::Words::Revisions::EditRevision> ) override;
528 System::SharedPtr<Aspose::Words::Revisions::MoveRevision> get_MoveFromRevision() override;
529 void set_MoveFromRevision(System::SharedPtr<Aspose::Words::Revisions::MoveRevision> ) override;
531 void set_MoveToRevision(System::SharedPtr<Aspose::Words::Revisions::MoveRevision> ) override;
532
533 System::SharedPtr<System::Object> GetDirectRunAttr(int32_t ) override;
534 System::SharedPtr<System::Object> FetchInheritedRunAttr(int32_t ) override;
535 void SetRunAttr(int32_t , System::SharedPtr<System::Object> ) override;
536 void RemoveRunAttr(int32_t ) override;
537 void ClearRunAttrs() override;
538 System::SharedPtr<Aspose::Words::RunPr> GetExpandedRunPr_IInline(Aspose::Words::RunPrExpandFlags ) override;
539 void RemoveMoveRevisions() override;
540 ASPOSE_WORDS_SHARED_API ThisType* CppMemberwiseClone() const override;
541
542};
543
544}
545}
546}