ListCollection.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/collections/list.h>
13 #include <system/collections/ienumerable.h>
14 #include <cstdint>
15 
16 #include <Aspose.Words.Cpp/Lists/ListTemplate.h>
17 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
18 
19 namespace System { namespace Collections { namespace Generic { template <typename> class IEnumerator; } } }
20 namespace Aspose { namespace Words { namespace Lists { class List; } } }
21 namespace Aspose { namespace Words { namespace Lists { class ListNumberingRestarter; } } }
22 namespace Aspose { namespace Words { namespace ApsBuilder { namespace Dml { namespace Text { class DmlTextShapeToShapeConvertor; } } } } }
23 namespace Aspose { namespace Words { namespace Layout { class ParagraphPrConverter; } } }
24 namespace Aspose { namespace Words { namespace Comparing { class FormattingComparer; } } }
25 namespace Aspose { namespace Words { namespace Validation { class DuplicateStyleRemover; } } }
26 namespace Aspose { namespace Words { namespace Validation { class StyleIstdNormalizer; } } }
27 namespace Aspose { namespace Words { namespace RW { namespace Dml { namespace Writer { class DmlShapeValidator; } } } } }
28 namespace Aspose { namespace Words { class DocumentInserter; } }
29 namespace Aspose { namespace Words { namespace Fields { class HiddenParagraphTocEntry; } } }
30 namespace Aspose { namespace Words { namespace Formatting { namespace Intern { class InternManager; } } } }
31 namespace Aspose { namespace Words { namespace RW { namespace Markdown { namespace Reader { class MarkdownReaderContext; } } } } }
32 namespace Aspose { namespace Words { namespace RW { namespace Markdown { namespace Writer { class MarkdownParagraphWriter; } } } } }
33 namespace Aspose { namespace Words { namespace Validation { class DocumentCleaner; } } }
34 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Reader { namespace Word60 { class Word60ListHelper; } } } } } }
35 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Reader { class ListReader; } } } } }
36 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Writer { class ListWriter; } } } } }
37 namespace Aspose { namespace Words { class DocumentBase; } }
38 namespace Aspose { namespace Words { namespace Validation { class ListValidator; } } }
39 namespace Aspose { namespace Words { class Style; } }
40 namespace Aspose { namespace Words { namespace Validation { class DocumentPostLoader; } } }
41 namespace Aspose { namespace Words { namespace Validation { class RunPrCollectorBase; } } }
42 namespace Aspose { namespace Words { namespace Validation { class ShapeIdGenerator; } } }
43 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Dofr { class DofrFiler; } } } } }
44 namespace Aspose { namespace Words { namespace Fields { class FieldNumListLabelUpdater; } } }
45 namespace Aspose { namespace Words { class NodeImporter; } }
46 namespace Aspose { namespace Words { namespace Lists { class ListFactory; } } }
47 namespace Aspose { namespace Words { namespace Lists { class ListLevel; } } }
48 namespace Aspose { namespace Words { namespace MailMerging { class MailMerge; } } }
49 namespace Aspose { namespace Words { class StyleCollection; } }
50 namespace Aspose { namespace Words { namespace Lists { class ListFormat; } } }
51 namespace Aspose { namespace Words { class Paragraph; } }
52 namespace Aspose { namespace Words { namespace RW { namespace Docx { namespace Reader { class DocxDocumentReaderBase; } } } } }
53 namespace Aspose { namespace Words { namespace RW { namespace Nrx { namespace Reader { class NrxDocumentReaderBase; } } } } }
54 namespace Aspose { namespace Words { namespace RW { namespace Odt { namespace Reader { class OdtListStyleReader; } } } } }
55 namespace Aspose { namespace Words { namespace RW { namespace Txt { namespace Reader { class TxtReader; } } } } }
56 namespace Aspose { namespace Words { namespace RW { namespace Odt { namespace Reader { class OdtParagraphReader; } } } } }
57 namespace Aspose { namespace Words { namespace RW { namespace Docx { namespace Reader { class DocxNumberingReader; } } } } }
58 namespace Aspose { namespace Words { namespace RW { namespace Docx { namespace Writer { class DocxNumberingWriter; } } } } }
59 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Reader { class ModelBuilder; } } } } }
60 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Reader { class Parser; } } } } }
61 namespace Aspose { namespace Words { namespace RW { namespace Doc { namespace Writer { class DocWriter; } } } } }
62 namespace Aspose { namespace Words { namespace RW { namespace Html { namespace Reader { class HtmlListReader; } } } } }
63 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfPictureBulletHandler; } } } } }
64 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfGroupState; } } } } }
65 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfLegacyListHandler; } } } } }
66 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfListOverrideTableHandler; } } } } }
67 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfListTableHandler; } } } } }
68 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfParaPrReader; } } } } }
69 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfReader; } } } } }
70 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Reader { class RtfReaderContext; } } } } }
71 namespace Aspose { namespace Words { namespace RW { namespace Rtf { namespace Writer { class RtfListTableWriter; } } } } }
72 namespace Aspose { namespace Words { namespace RW { namespace Wml { namespace Reader { class WmlListsReader; } } } } }
73 namespace Aspose { namespace Words { namespace RW { namespace Wml { namespace Reader { class WmlReader; } } } } }
74 namespace Aspose { namespace Words { namespace RW { namespace Wml { namespace Writer { class WmlWriter; } } } } }
75 namespace Aspose { namespace Collections { class IntToIntDictionary; } }
76 namespace Aspose { namespace Words { namespace Lists { class ListDef; } } }
77 namespace Aspose { namespace Words { namespace Drawing { class Shape; } } }
78 namespace Aspose { namespace Words { namespace Lists { enum class ListType; } } }
79 namespace Aspose { namespace Words { class INodeCloningListener; } }
80 namespace Aspose { namespace Words { class ImportContext; } }
81 namespace Aspose { namespace Words { class ParaPr; } }
82 namespace Aspose { namespace Words { enum class RevisionsView; } }
83 
84 namespace Aspose {
85 
86 namespace Words {
87 
88 namespace Lists {
89 
248 class ASPOSE_WORDS_SHARED_CLASS ListCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Lists::List>>
249 {
250  typedef ListCollection ThisType;
252 
253  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
254  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
255 
256 public:
257 
259 
261 
263 
264 public:
265 
287  ASPOSE_WORDS_SHARED_API int32_t get_Count();
288 
311 
349 
472 
540 
626 
656  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Lists::List> GetListByListId(int32_t listId);
657 
704  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Lists::List> idx_get(int32_t index);
705 
706  ASPOSE_WORDS_SHARED_API iterator begin() noexcept;
707 
708  ASPOSE_WORDS_SHARED_API iterator end() noexcept;
709 
710  ASPOSE_WORDS_SHARED_API const_iterator begin() const noexcept;
711 
712  ASPOSE_WORDS_SHARED_API const_iterator end() const noexcept;
713 
714  ASPOSE_WORDS_SHARED_API const_iterator cbegin() const noexcept;
715 
716  ASPOSE_WORDS_SHARED_API const_iterator cend() const noexcept;
717 
718 protected:
719 
720  virtual ASPOSE_WORDS_SHARED_API ~ListCollection();
721 
722 private:
723 
724  System::WeakPtr<System::Object> mField40;
725  System::SharedPtr<System::Object> mField41;
726  System::SharedPtr<System::Object> mField42;
727  System::SharedPtr<System::Object> mField43;
728  System::SharedPtr<System::Object> mField44;
729  __TypeStub<4,4,4,4>::type mField45;
730  __TypeStub<4,4,4,4>::type mField46;
731  System::SharedPtr<System::Object> mField47;
732 
733 };
734 
735 }
736 }
737 }