FieldFileName.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/Fields/IFieldInfoResultProvider.h>
12 #include <Aspose.Words.Cpp/Fields/IFieldCodeTokenInfoProvider.h>
13 #include <Aspose.Words.Cpp/Fields/Field.h>
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace Aspose
17 {
18 namespace Words
19 {
20 class Document;
21 namespace Fields
22 {
23 namespace Expressions
24 {
25 class Constant;
26 }
27 
28 enum class FieldSwitchType;
29 class FieldUpdateAction;
30 class IFieldCode;
31 }
32 }
33 }
34 namespace System
35 {
36 class String;
37 }
38 
39 namespace Aspose {
40 
41 namespace Words {
42 
43 namespace Fields {
44 
90 class ASPOSE_WORDS_SHARED_CLASS FieldFileName : public Aspose::Words::Fields::Field, public Aspose::Words::Fields::IFieldCodeTokenInfoProvider
91 {
92  typedef FieldFileName ThisType;
94  typedef Aspose::Words::Fields::IFieldCodeTokenInfoProvider BaseType1;
95 
96  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
97  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
98 
99 private:
100 
101 public:
102 
143  ASPOSE_WORDS_SHARED_API bool get_IncludeFullPath();
144 
146  ASPOSE_WORDS_SHARED_API void set_IncludeFullPath(bool value);
147 
148 protected:
149 
150  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
151 
152  virtual ASPOSE_WORDS_SHARED_API ~FieldFileName();
153 
154 private:
155 
156  Aspose::Words::Fields::FieldSwitchType GetSwitchType(System::String ) override;
157 
158 };
159 
160 }
161 }
162 }