search/mag_sel search/close
MailMergeRegionInfo.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 <cstdint>
13 
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace System { namespace Collections { namespace Generic { template <typename> class IList; } } }
17 namespace System { namespace Collections { namespace Generic { template <typename> class List; } } }
18 namespace Aspose { namespace Words { namespace MailMerging { class MailMerge; } } }
19 namespace Aspose { namespace Words { namespace Fields { class Field; } } }
20 namespace Aspose { namespace Words { namespace Fields { class FieldMergeField; } } }
21 
22 namespace Aspose {
23 
24 namespace Words {
25 
26 namespace MailMerging {
27 
70 class ASPOSE_WORDS_SHARED_CLASS MailMergeRegionInfo : public System::Object
71 {
73  typedef System::Object BaseType;
74 
75  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
76  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
77 
79 
80 public:
81 
125 
169 
212  ASPOSE_WORDS_SHARED_API System::String get_Name() const;
213 
257 
301 
344  ASPOSE_WORDS_SHARED_API int32_t get_Level() const;
345 
346 protected:
347 
350  ASPOSE_WORDS_SHARED_API void set_EndField(System::SharedPtr<Aspose::Words::Fields::FieldMergeField> value);
351 
353 
354  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(MailMergeRegionInfo, CODEPORTING_ARGS());
355 
357 
358  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(MailMergeRegionInfo, CODEPORTING_ARGS(System::SharedPtr<Aspose::Words::Fields::FieldMergeField> field));
359  void SetRegionLevel(int32_t val);
360 
361 private:
362 
364  System::String pr_Name;
367  int32_t pr_Level;
368 
369  ASPOSE_WORDS_SHARED_API void set_Level(int32_t value);
370 
373 
374 };
375 
376 }
377 }
378 }