Row.h
1 // Copyright 2001-2021 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/Revisions/ITrackableNode.h>
14 #include <Aspose.Words.Cpp/NodeType.h>
15 #include <Aspose.Words.Cpp/CompositeNode.h>
16 #include <Aspose.Words.Cpp/IRowAttrSource.h>
17 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
18 
19 namespace Aspose { namespace Words { namespace Tables { class Cell; } } }
20 namespace Aspose { namespace Words { namespace Tables { class Table; } } }
21 
22 namespace Aspose { namespace Words { namespace Tables { class CellCollection; } } }
23 namespace Aspose { namespace Words { namespace Tables { class RowFormat; } } }
24 
25 namespace Aspose { namespace Words { namespace Revisions { class EditRevision; } } }
26 namespace Aspose { namespace Words { namespace Revisions { class MoveRevision; } } }
27 namespace Aspose { namespace Words { class DocumentBase; } }
28 namespace Aspose { namespace Words { class Node; } }
29 namespace Aspose { namespace Words { class INodeCloningListener; } }
30 namespace Aspose { namespace Words { class DocumentVisitor; } }
31 namespace Aspose { namespace Words { enum class VisitorAction; } }
32 namespace System { class String; }
33 namespace System { class Object; }
34 
35 namespace Aspose {
36 
37 namespace Words {
38 
39 namespace Tables {
40 
166 class ASPOSE_WORDS_SHARED_CLASS Row : public Aspose::Words::CompositeNode, public Aspose::Words::IRowAttrSource, public Aspose::Words::Revisions::ITrackableNode
167 {
168  typedef Row ThisType;
170  typedef Aspose::Words::IRowAttrSource BaseType1;
171  typedef Aspose::Words::Revisions::ITrackableNode BaseType2;
172 
173  typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2> ThisTypeBaseTypesInfo;
174  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
175 
176 public:
177  using Aspose::Words::CompositeNode::Clone;
178 
179 public:
180 
225  ASPOSE_WORDS_SHARED_API Aspose::Words::NodeType get_NodeType() const override;
226 
399 
571  ASPOSE_WORDS_SHARED_API bool get_IsFirstRow();
572 
599  ASPOSE_WORDS_SHARED_API bool get_IsLastRow();
600 
773 
946 
991 
1041 
1103  ASPOSE_WORDS_SHARED_API Row(const System::SharedPtr<Aspose::Words::DocumentBase>& doc);
1104 
1284  ASPOSE_WORDS_SHARED_API bool Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override;
1285 
1462  ASPOSE_WORDS_SHARED_API System::String GetText() override;
1463 
1485  ASPOSE_WORDS_SHARED_API void EnsureMinimum();
1486 
1487 protected:
1488 
1490 
1491  ASPOSE_WORDS_SHARED_API Aspose::Words::VisitorAction AcceptStart(System::SharedPtr<Aspose::Words::DocumentVisitor> ) override;
1492  ASPOSE_WORDS_SHARED_API Aspose::Words::VisitorAction AcceptEnd(System::SharedPtr<Aspose::Words::DocumentVisitor> ) override;
1493  ASPOSE_WORDS_SHARED_API System::String GetEndText() override;
1494  ASPOSE_WORDS_SHARED_API bool CanInsert(System::SharedPtr<Aspose::Words::Node> ) override;
1495 
1496  virtual ASPOSE_WORDS_SHARED_API ~Row();
1497 
1498 private:
1499 
1500  System::SharedPtr<Aspose::Words::Revisions::EditRevision> get_InsertRevision() override;
1501  void set_InsertRevision(System::SharedPtr<Aspose::Words::Revisions::EditRevision> ) override;
1502  System::SharedPtr<Aspose::Words::Revisions::EditRevision> get_DeleteRevision() override;
1503  void set_DeleteRevision(System::SharedPtr<Aspose::Words::Revisions::EditRevision> ) override;
1504  System::SharedPtr<Aspose::Words::Revisions::MoveRevision> get_MoveFromRevision() override;
1505  void set_MoveFromRevision(System::SharedPtr<Aspose::Words::Revisions::MoveRevision> ) override;
1506  System::SharedPtr<Aspose::Words::Revisions::MoveRevision> get_MoveToRevision() override;
1507  void set_MoveToRevision(System::SharedPtr<Aspose::Words::Revisions::MoveRevision> ) override;
1508 
1509  __TypeStub<4,4,4,4>::type mField194;
1510  __TypeStub<4,4,4,4>::type mField195;
1514 
1515  System::SharedPtr<System::Object> GetDirectRowAttr(int32_t ) override;
1516  System::SharedPtr<System::Object> FetchRowAttr(int32_t ) override;
1517  System::SharedPtr<System::Object> FetchInheritedRowAttr(int32_t ) override;
1518  void SetRowAttr(int32_t , System::SharedPtr<System::Object> ) override;
1519  void ClearRowAttrs() override;
1520  void ResetToDefaultAttrs() override;
1521  void RemoveMoveRevisions() override;
1522  ThisType* CppMemberwiseClone() const override ;
1523 
1524 };
1525 
1526 }
1527 }
1528 }