search/mag_sel search/close
LayoutEnumerator.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/string.h>
12 #include <system/enum_helpers.h>
13 
14 #include <Aspose.Words.Cpp/Layout/LayoutEntityType.h>
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace System { namespace Drawing { class RectangleF; } }
18 namespace Aspose { namespace Words { namespace Layout { namespace Core { class Part; } } } }
19 namespace Aspose { namespace Words { class Document; } }
20 namespace System { namespace Collections { namespace Generic { template <typename> class List; } } }
21 namespace Aspose { namespace Words { namespace Layout { namespace Core { class CommentPart; } } } }
22 namespace Aspose { namespace Words { namespace Layout { namespace Core { class DocumentLayout; } } } }
23 namespace Aspose { namespace Words { namespace Layout { namespace Core { class PagePart; } } } }
24 
25 namespace Aspose {
26 
27 namespace Words {
28 
29 namespace Layout {
30 
180 class ASPOSE_WORDS_SHARED_CLASS LayoutEnumerator : public System::Object
181 {
182  typedef LayoutEnumerator ThisType;
183  typedef System::Object BaseType;
184 
185  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
186  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
187 
188 public:
189 
337 
484  ASPOSE_WORDS_SHARED_API System::Drawing::RectangleF get_Rectangle();
485 
632  ASPOSE_WORDS_SHARED_API System::String get_Kind();
633 
780  ASPOSE_WORDS_SHARED_API System::String get_Text();
781 
928  ASPOSE_WORDS_SHARED_API int32_t get_PageIndex();
929 
987  ASPOSE_WORDS_SHARED_API System::SharedPtr<System::Object> get_Current() const;
988 
990  ASPOSE_WORDS_SHARED_API void set_Current(System::SharedPtr<System::Object> value);
991 
1139 
1293 
1440  ASPOSE_WORDS_SHARED_API void Reset();
1441 
1590  ASPOSE_WORDS_SHARED_API bool MoveNext();
1591 
1740  ASPOSE_WORDS_SHARED_API bool MoveNextLogical();
1741 
1888  ASPOSE_WORDS_SHARED_API bool MovePrevious();
1889 
2038  ASPOSE_WORDS_SHARED_API bool MovePreviousLogical();
2039 
2186  ASPOSE_WORDS_SHARED_API bool MoveFirstChild();
2187 
2334  ASPOSE_WORDS_SHARED_API bool MoveLastChild();
2335 
2482  ASPOSE_WORDS_SHARED_API bool MoveParent();
2483 
2632  ASPOSE_WORDS_SHARED_API bool MoveParent(Aspose::Words::Layout::LayoutEntityType types);
2633 
2634 protected:
2635 
2637 
2638 private:
2639 
2641 
2644 
2655 
2656 };
2657 
2658 }
2659 }
2660 }