search/mag_sel search/close
TextColumnCollection.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 { class PageSetup; } }
17 namespace Aspose { namespace Words { class TextColumnCollectionInternal; } }
18 namespace Aspose { namespace Words { class TextColumn; } }
19 
20 namespace Aspose {
21 
22 namespace Words {
23 
58 class ASPOSE_WORDS_SHARED_CLASS TextColumnCollection : public System::Object
59 {
61  typedef System::Object BaseType;
62 
63  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
64  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
65 
66  friend class Aspose::Words::PageSetup;
67 
68 public:
69 
104  ASPOSE_WORDS_SHARED_API bool get_EvenlySpaced();
105 
107  ASPOSE_WORDS_SHARED_API void set_EvenlySpaced(bool value);
108 
128  ASPOSE_WORDS_SHARED_API double get_Spacing();
129 
131  ASPOSE_WORDS_SHARED_API void set_Spacing(double value);
132 
136  ASPOSE_WORDS_SHARED_API double get_Width();
137 
162  ASPOSE_WORDS_SHARED_API bool get_LineBetween();
163 
165  ASPOSE_WORDS_SHARED_API void set_LineBetween(bool value);
166 
168  ASPOSE_WORDS_SHARED_API int32_t get_Count();
169 
195  ASPOSE_WORDS_SHARED_API void SetCount(int32_t newCount);
196 
231  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::TextColumn> idx_get(int32_t index);
232 
233 protected:
234 
236 
237  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TextColumnCollection, CODEPORTING_ARGS(System::SharedPtr<Aspose::Words::PageSetup> pageSetup));
238 
239 private:
240 
241  int32_t get_ColumnsCount();
242  void set_ColumnsCount(int32_t value);
244 
246  static const int32_t MaxColumns;
247 
248  System::SharedPtr<System::Object> FetchAttr(int32_t key);
249  void SetAttr(int32_t key, System::SharedPtr<System::Object> value);
250 
251 };
252 
253 }
254 }