Run.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 <Aspose.Words.Cpp/Inline.h>
12#include <Aspose.Words.Cpp/NodeType.h>
13#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
14
15namespace Aspose
16{
17namespace Words
18{
19
20class DocumentBase;
21
22class DocumentVisitor;
23
24class RunPr;
25
26}
27}
28
29namespace Aspose {
30
31namespace Words {
32
145class ASPOSE_WORDS_SHARED_CLASS Run : public Aspose::Words::Inline
146{
147 typedef Run ThisType;
149
150 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
151 ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
152
153public:
154
199 ASPOSE_WORDS_SHARED_API Aspose::Words::NodeType get_NodeType() const override;
200
248 ASPOSE_WORDS_SHARED_API System::String get_Text() const;
249
251 ASPOSE_WORDS_SHARED_API void set_Text(const System::String& value);
252
308 ASPOSE_WORDS_SHARED_API Run(const System::SharedPtr<Aspose::Words::DocumentBase>& doc);
309
336 ASPOSE_WORDS_SHARED_API Run(const System::SharedPtr<Aspose::Words::DocumentBase>& doc, const System::String& text);
337
444 ASPOSE_WORDS_SHARED_API bool Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override;
445
546 ASPOSE_WORDS_SHARED_API System::String GetText() override;
547
548protected:
549
550 virtual ASPOSE_WORDS_SHARED_API ~Run();
551
552private:
553
554 System::String mField0;
555
556 ASPOSE_WORDS_SHARED_API ThisType* CppMemberwiseClone() const override;
557
558};
559
560}
561}