List.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 #include <system/icomparable.h>
13 #include <cstdint>
14 
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace Aspose
18 {
19 
20 namespace Words
21 {
22 
23 class DocumentBase;
24 
25 namespace Lists
26 {
27 
28 class ListLevelCollection;
29 
30 }
31 
32 class Style;
33 
34 }
35 }
36 
37 namespace Aspose {
38 
39 namespace Words {
40 
41 namespace Lists {
42 
201 class ASPOSE_WORDS_SHARED_CLASS List : public System::IComparable<System::SharedPtr<Aspose::Words::Lists::List>>
202 {
203  typedef List ThisType;
205 
206  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
207  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
208 
209 public:
210 
265  ASPOSE_WORDS_SHARED_API int32_t get_ListId() const;
266 
291 
356  ASPOSE_WORDS_SHARED_API bool get_IsMultiLevel();
357 
417 
456  ASPOSE_WORDS_SHARED_API bool get_IsRestartAtEachSection();
457 
459  ASPOSE_WORDS_SHARED_API void set_IsRestartAtEachSection(bool value);
460 
531  ASPOSE_WORDS_SHARED_API bool get_IsListStyleDefinition();
532 
597  ASPOSE_WORDS_SHARED_API bool get_IsListStyleReference();
598 
666 
668  ASPOSE_WORDS_SHARED_API bool Equals(const System::SharedPtr<Aspose::Words::Lists::List>& list);
669  ASPOSE_WORDS_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
670 
672  ASPOSE_WORDS_SHARED_API int32_t GetHashCode() const override;
673 
675  ASPOSE_WORDS_SHARED_API int32_t CompareTo(System::SharedPtr<Aspose::Words::Lists::List> other) override;
676 
677 protected:
678 
679  virtual ASPOSE_WORDS_SHARED_API ~List();
680 
681 private:
682 
683  __TypeStub<4,4,4,4>::type mField0;
685  __TypeStub<4,4,4,4>::type mField2;
686  __TypeStub<4,4,4,4>::type mField3;
687  mutable System::SharedPtr<System::Object> mField4;
689 
690 };
691 
692 }
693 }
694 }