FieldChar.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 <Aspose.Words.Cpp/SpecialChar.h>
12 #include <Aspose.Words.Cpp/Fields/FieldType.h>
13 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
14 
15 namespace Aspose
16 {
17 namespace Words
18 {
19 class DocumentBase;
20 
21 namespace Fields
22 {
23 class Field;
24 
25 }
26 
27 class RunPr;
28 
29 }
30 }
31 
32 namespace Aspose {
33 
34 namespace Words {
35 
36 namespace Fields {
37 
77 class ASPOSE_WORDS_SHARED_CLASS FieldChar : public Aspose::Words::SpecialChar
78 {
79  typedef FieldChar ThisType;
81 
82  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
83  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
84 
85 public:
86 
115  ASPOSE_WORDS_SHARED_API Aspose::Words::Fields::FieldType get_FieldType() const;
116 
145  ASPOSE_WORDS_SHARED_API bool get_IsLocked() const;
146 
148  ASPOSE_WORDS_SHARED_API void set_IsLocked(bool value);
149 
179  ASPOSE_WORDS_SHARED_API bool get_IsDirty() const;
180 
182  ASPOSE_WORDS_SHARED_API void set_IsDirty(bool value);
183 
215 
216 protected:
217 
218  virtual ASPOSE_WORDS_SHARED_API ~FieldChar();
219 
220 private:
221 
222  __TypeStub<4,4,4,4>::type mField0;
223  __TypeStub<1,1,1,1>::type mField1;
224  __TypeStub<1,1,1,1>::type mField2;
225  __TypeStub<1,1,1,1>::type mField3;
226 
227 };
228 
229 }
230 }
231 }