BookmarkStart.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/string.h>
12 #include <cstdint>
13 
14 #include <Aspose.Words.Cpp/NodeType.h>
15 #include <Aspose.Words.Cpp/Node.h>
16 #include <Aspose.Words.Cpp/IDisplaceableByCustomXml.h>
17 #include <Aspose.Words.Cpp/IBookmarkNode.h>
18 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
19 
20 namespace Aspose
21 {
22 namespace Words
23 {
24 class Bookmark;
25 class DocumentBase;
26 
27 class DocumentVisitor;
28 
29 namespace Revisions
30 {
31 enum class DisplacedByType;
32 }
33 
34 }
35 }
36 
37 namespace Aspose {
38 
39 namespace Words {
40 
139 class ASPOSE_WORDS_SHARED_CLASS BookmarkStart : public Aspose::Words::Node, public Aspose::Words::IBookmarkNode, public Aspose::Words::IDisplaceableByCustomXml
140 {
141  typedef BookmarkStart ThisType;
143  typedef Aspose::Words::IBookmarkNode BaseType1;
144  typedef Aspose::Words::IDisplaceableByCustomXml BaseType2;
145 
146  typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2> ThisTypeBaseTypesInfo;
147  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
148 
149 public:
150 
195  ASPOSE_WORDS_SHARED_API Aspose::Words::NodeType get_NodeType() const override;
196 
287 
379  ASPOSE_WORDS_SHARED_API System::String get_Name() override;
380 
382  ASPOSE_WORDS_SHARED_API void set_Name(System::String value) override;
383 
476  ASPOSE_WORDS_SHARED_API BookmarkStart(const System::SharedPtr<Aspose::Words::DocumentBase>& doc, const System::String& name);
477 
575  ASPOSE_WORDS_SHARED_API bool Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override;
576 
668  ASPOSE_WORDS_SHARED_API System::String GetText() override;
669 
670 protected:
671 
672  virtual ASPOSE_WORDS_SHARED_API ~BookmarkStart();
673 
674 private:
675 
676  Aspose::Words::Revisions::DisplacedByType get_DisplacedByCustomXml() override;
677  void set_DisplacedByCustomXml(Aspose::Words::Revisions::DisplacedByType ) override;
678 
679  System::String mField0;
680  __TypeStub<4,4,4,4>::type mField1;
681  __TypeStub<4,4,4,4>::type mField2;
682 
683  ASPOSE_WORDS_SHARED_API ThisType* CppMemberwiseClone() const override;
684 
685 };
686 
687 }
688 }