ListLevel.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/string.h>
12 #include <cstdint>
13 
14 #include <Aspose.Words.Cpp/NumberStyle.h>
15 #include <Aspose.Words.Cpp/Lists/ListTrailingCharacter.h>
16 #include <Aspose.Words.Cpp/Lists/ListLevelAlignment.h>
17 #include <Aspose.Words.Cpp/IRunAttrSource.h>
18 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
19 
20 namespace Aspose
21 {
22 
23 namespace Words
24 {
25 
26 namespace Drawing
27 {
28 class ImageData;
29 
30 }
31 
32 class Font;
33 
34 class Style;
35 
36 }
37 }
38 
39 namespace Aspose {
40 
41 namespace Words {
42 
43 namespace Lists {
44 
108 class ASPOSE_WORDS_SHARED_CLASS ListLevel : public Aspose::Words::IRunAttrSource
109 {
110  typedef ListLevel ThisType;
111  typedef Aspose::Words::IRunAttrSource BaseType;
112 
113  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
114  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
115 
116 public:
118 
119 public:
120 
217  ASPOSE_WORDS_SHARED_API int32_t get_StartAt();
218 
220  ASPOSE_WORDS_SHARED_API void set_StartAt(int32_t value);
221 
338  ASPOSE_WORDS_SHARED_API Aspose::Words::NumberStyle get_NumberStyle() const;
339 
341  ASPOSE_WORDS_SHARED_API void set_NumberStyle(Aspose::Words::NumberStyle value);
342 
366  ASPOSE_WORDS_SHARED_API System::String get_CustomNumberStyleFormat();
367 
493  ASPOSE_WORDS_SHARED_API System::String get_NumberFormat() const;
494 
496  ASPOSE_WORDS_SHARED_API void set_NumberFormat(const System::String& value);
497 
557 
559  ASPOSE_WORDS_SHARED_API void set_Alignment(Aspose::Words::Lists::ListLevelAlignment value);
560 
624  ASPOSE_WORDS_SHARED_API bool get_IsLegal() const;
625 
627  ASPOSE_WORDS_SHARED_API void set_IsLegal(bool value);
628 
694  ASPOSE_WORDS_SHARED_API int32_t get_RestartAfterLevel() const;
695 
697  ASPOSE_WORDS_SHARED_API void set_RestartAfterLevel(int32_t value);
698 
756 
759 
817 
879  ASPOSE_WORDS_SHARED_API double get_TabPosition() const;
880 
882  ASPOSE_WORDS_SHARED_API void set_TabPosition(double value);
883 
945  ASPOSE_WORDS_SHARED_API double get_NumberPosition() const;
946 
948  ASPOSE_WORDS_SHARED_API void set_NumberPosition(double value);
949 
1011  ASPOSE_WORDS_SHARED_API double get_TextPosition() const;
1012 
1014  ASPOSE_WORDS_SHARED_API void set_TextPosition(double value);
1015 
1083 
1085  ASPOSE_WORDS_SHARED_API void set_LinkedStyle(const System::SharedPtr<Aspose::Words::Style>& value);
1086 
1089 
1119  ASPOSE_WORDS_SHARED_API void CreatePictureBullet();
1120 
1150  ASPOSE_WORDS_SHARED_API void DeletePictureBullet();
1151 
1190  static ASPOSE_WORDS_SHARED_API System::String GetEffectiveValue(int32_t index, Aspose::Words::NumberStyle numberStyle, const System::String& customNumberStyleFormat);
1191 
1193  ASPOSE_WORDS_SHARED_API bool Equals(const System::SharedPtr<Aspose::Words::Lists::ListLevel>& level);
1194 
1196  ASPOSE_WORDS_SHARED_API int32_t GetHashCode() const override;
1197 
1198 protected:
1199 
1200  __TypeStub<1,1,1,1>::type mField0;
1201 
1202  virtual ASPOSE_WORDS_SHARED_API ~ListLevel();
1203 
1204 private:
1205 
1207  __TypeStub<4,4,4,4>::type mField2;
1208  __TypeStub<4,4,4,4>::type mField3;
1209  __TypeStub<4,4,4,4>::type mField4;
1210  System::String mField5;
1211  System::String mField6;
1212  __TypeStub<4,4,4,4>::type mField7;
1213  __TypeStub<1,1,1,1>::type mField8;
1214  __TypeStub<4,4,4,4>::type mField9;
1215  __TypeStub<4,4,4,4>::type mField10;
1218  __TypeStub<4,4,4,4>::type mField13;
1219  __TypeStub<1,1,1,1>::type mField14;
1220  __TypeStub<4,4,4,4>::type mField15;
1221  __TypeStub<4,4,4,4>::type mField16;
1222  __TypeStub<1,1,1,1>::type mField17;
1223  __TypeStub<1,1,1,1>::type mField18;
1224  __TypeStub<4,4,4,4>::type mField19;
1228 
1229  System::SharedPtr<System::Object> GetDirectRunAttr(int32_t ) override;
1230  System::SharedPtr<System::Object> FetchInheritedRunAttr(int32_t ) override;
1231  void SetRunAttr(int32_t , System::SharedPtr<System::Object> ) override;
1232  void RemoveRunAttr(int32_t ) override;
1233  void ClearRunAttrs() override;
1234 
1235 };
1236 
1237 }
1238 }
1239 }