search/mag_sel search/close
FieldShape.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 <cstdint>
12 
13 #include <Aspose.Words.Cpp/Fields/Field.h>
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace System { class String; }
17 namespace Aspose { namespace Words { namespace Fields { class FieldUpdateAction; } } }
18 namespace System { template <typename> class SmartPtr; }
19 namespace System { template <typename T0> using SharedPtr = System::SmartPtr<T0>; }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Fields {
26 
92 class ASPOSE_WORDS_SHARED_CLASS FieldShape : public Aspose::Words::Fields::Field
93 {
94  typedef FieldShape ThisType;
96 
97  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
98  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
99 
100 public:
101 
167  ASPOSE_WORDS_SHARED_API System::String get_Text();
168 
170  ASPOSE_WORDS_SHARED_API void set_Text(System::String value);
171 
172 protected:
173 
174  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
175 
176  virtual ASPOSE_WORDS_SHARED_API ~FieldShape();
177 
178 private:
179 
180  static const int32_t TextArgumentIndex;
181 
182 };
183 
184 }
185 }
186 }