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 
19 namespace Aspose { namespace Words { class Document; } }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Layout {
26 
176 class ASPOSE_WORDS_SHARED_CLASS LayoutEnumerator : public System::Object
177 {
178  typedef LayoutEnumerator ThisType;
179  typedef System::Object BaseType;
180 
181  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
182  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
183 
184 public:
185 
333 
480  ASPOSE_WORDS_SHARED_API System::Drawing::RectangleF get_Rectangle();
481 
628  ASPOSE_WORDS_SHARED_API System::String get_Kind();
629 
776  ASPOSE_WORDS_SHARED_API System::String get_Text();
777 
924  ASPOSE_WORDS_SHARED_API int32_t get_PageIndex();
925 
983  ASPOSE_WORDS_SHARED_API System::SharedPtr<System::Object> get_Current() const;
984 
986  ASPOSE_WORDS_SHARED_API void set_Current(const System::SharedPtr<System::Object>& value);
987 
1135 
1288  ASPOSE_WORDS_SHARED_API LayoutEnumerator(const System::SharedPtr<Aspose::Words::Document>& document);
1289 
1436  ASPOSE_WORDS_SHARED_API void Reset();
1437 
1586  ASPOSE_WORDS_SHARED_API bool MoveNext();
1587 
1736  ASPOSE_WORDS_SHARED_API bool MoveNextLogical();
1737 
1884  ASPOSE_WORDS_SHARED_API bool MovePrevious();
1885 
2034  ASPOSE_WORDS_SHARED_API bool MovePreviousLogical();
2035 
2182  ASPOSE_WORDS_SHARED_API bool MoveFirstChild();
2183 
2330  ASPOSE_WORDS_SHARED_API bool MoveLastChild();
2331 
2478  ASPOSE_WORDS_SHARED_API bool MoveParent();
2479 
2628  ASPOSE_WORDS_SHARED_API bool MoveParent(Aspose::Words::Layout::LayoutEntityType types);
2629 
2630 protected:
2631 
2632 private:
2633 
2636 
2637 };
2638 
2639 }
2640 }
2641 }