search/mag_sel search/close
TxtListIndentation.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/object.h>
12 #include <cstdint>
13 
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace Aspose { namespace Words { namespace RW { namespace Txt { namespace Writer { class TxtWriter; } } } } }
17 namespace System { class String; }
18 
19 namespace Aspose {
20 
21 namespace Words {
22 
23 namespace Saving {
24 
60 class ASPOSE_WORDS_SHARED_CLASS TxtListIndentation : public System::Object
61 {
63  typedef System::Object BaseType;
64 
65  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
66  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
67 
68  friend class Aspose::Words::RW::Txt::Writer::TxtWriter;
69 
70 public:
71 
108  ASPOSE_WORDS_SHARED_API int32_t get_Count() const;
109 
111  ASPOSE_WORDS_SHARED_API void set_Count(int32_t value);
112 
149  ASPOSE_WORDS_SHARED_API char16_t get_Character() const;
150 
152  ASPOSE_WORDS_SHARED_API void set_Character(char16_t value);
153 
154  ASPOSE_WORDS_SHARED_API TxtListIndentation();
155 
156 protected:
157 
158  System::String GetIndent(int32_t levelNumber);
159 
160 private:
161 
162  bool get_HasIndentation();
163 
164  int32_t mCount;
165  char16_t mCharacter;
166 
167 };
168 
169 }
170 }
171 }