search/mag_sel search/close
FieldImport.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/Fields/FieldSwitchType.h>
15 #include <Aspose.Words.Cpp/Fields/IFieldIncludePictureCode.h>
16 #include <Aspose.Words.Cpp/Fields/IFieldCodeTokenInfoProvider.h>
17 #include <Aspose.Words.Cpp/Fields/Field.h>
18 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
19 
20 namespace Aspose { namespace Words { namespace Fields { class FieldUpdateAction; } } }
21 
22 namespace Aspose {
23 
24 namespace Words {
25 
26 namespace Fields {
27 
61 class ASPOSE_WORDS_SHARED_CLASS FieldImport : public Aspose::Words::Fields::Field, public Aspose::Words::Fields::IFieldCodeTokenInfoProvider, public Aspose::Words::Fields::IFieldIncludePictureCode
62 {
63  typedef FieldImport ThisType;
65  typedef Aspose::Words::Fields::IFieldCodeTokenInfoProvider BaseType1;
66  typedef Aspose::Words::Fields::IFieldIncludePictureCode BaseType2;
67 
68  typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2> ThisTypeBaseTypesInfo;
69  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
70 
71 public:
72 
106  ASPOSE_WORDS_SHARED_API System::String get_SourceFullName() override;
107 
109  ASPOSE_WORDS_SHARED_API void set_SourceFullName(System::String value);
110 
144  ASPOSE_WORDS_SHARED_API System::String get_GraphicFilter();
145 
147  ASPOSE_WORDS_SHARED_API void set_GraphicFilter(System::String value);
148 
182  ASPOSE_WORDS_SHARED_API bool get_IsLinked() override;
183 
185  ASPOSE_WORDS_SHARED_API void set_IsLinked(bool value);
186 
187  ASPOSE_WORDS_SHARED_API Aspose::Words::Fields::FieldSwitchType GetSwitchType(System::String switchName) override;
188 
189 protected:
190 
191  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
192 
193  virtual ASPOSE_WORDS_SHARED_API ~FieldImport();
194 
195 private:
196 
197  static const int32_t SourceFullNameArgumentIndex;
198 
199  static const System::String& GraphicFilterSwitch();
200  static const System::String& IsLinkedSwitch();
201 
202 };
203 
204 }
205 }
206 }