InlineStory.h
1 // 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 
13 #include <Aspose.Words.Cpp/IInline.h>
14 #include <Aspose.Words.Cpp/StoryType.h>
15 #include <Aspose.Words.Cpp/CompositeNode.h>
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace Aspose
19 {
20 namespace Words
21 {
22 
23 class DocumentBase;
24 
25 class Font;
26 class INodeCloningListener;
27 class Node;
28 
29 class Paragraph;
30 class ParagraphCollection;
31 class RunPr;
32 enum class RunPrExpandFlags;
33 
34 namespace Tables
35 {
36 class TableCollection;
37 }
38 
39 }
40 }
41 
42 namespace Aspose {
43 
44 namespace Words {
45 
114 class ASPOSE_WORDS_SHARED_CLASS InlineStory : public Aspose::Words::CompositeNode, public Aspose::Words::IInline
115 {
116  typedef InlineStory ThisType;
118  typedef Aspose::Words::IInline BaseType1;
119 
120  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
121  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
122 
123 public:
124  using Aspose::Words::CompositeNode::Clone;
125 
126 public:
127 
185  virtual ASPOSE_WORDS_SHARED_API Aspose::Words::StoryType get_StoryType() = 0;
186 
245 
309 
368 
432 
491 
538  ASPOSE_WORDS_SHARED_API bool get_IsInsertRevision();
539 
586  ASPOSE_WORDS_SHARED_API bool get_IsDeleteRevision();
587 
634  ASPOSE_WORDS_SHARED_API bool get_IsMoveFromRevision();
635 
682  ASPOSE_WORDS_SHARED_API bool get_IsMoveToRevision();
683 
742 
800  ASPOSE_WORDS_SHARED_API void EnsureMinimum();
801 
802 protected:
803 
805  ASPOSE_WORDS_SHARED_API bool CanInsert(System::SharedPtr<Aspose::Words::Node> ) override;
806 
807  virtual ASPOSE_WORDS_SHARED_API ~InlineStory();
808 
809 private:
810 
811  System::SharedPtr<Aspose::Words::RunPr> get_RunPr_IInline() override;
812  void set_RunPr_IInline(System::SharedPtr<Aspose::Words::RunPr> ) override;
813  System::SharedPtr<Aspose::Words::Paragraph> get_ParentParagraph_IInline() override;
814  System::SharedPtr<Aspose::Words::DocumentBase> get_Document_IInline() override;
815 
820 
821  System::SharedPtr<Aspose::Words::RunPr> GetExpandedRunPr_IInline(Aspose::Words::RunPrExpandFlags ) override;
822  System::SharedPtr<System::Object> GetDirectRunAttr(int32_t ) override;
823  System::SharedPtr<System::Object> FetchInheritedRunAttr(int32_t ) override;
824  void SetRunAttr(int32_t , System::SharedPtr<System::Object> ) override;
825  void RemoveRunAttr(int32_t ) override;
826  void ClearRunAttrs() override;
827 
828 };
829 
830 }
831 }