search/mag_sel search/close
FieldGoToButton.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 { class NodeRange; } }
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 
53 class ASPOSE_WORDS_SHARED_CLASS FieldGoToButton : public Aspose::Words::Fields::Field
54 {
55  typedef FieldGoToButton ThisType;
57 
58  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
59  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
60 
61 public:
62 
89  ASPOSE_WORDS_SHARED_API System::String get_Location();
90 
92  ASPOSE_WORDS_SHARED_API void set_Location(System::String value);
93 
120  ASPOSE_WORDS_SHARED_API System::String get_DisplayText();
121 
123  ASPOSE_WORDS_SHARED_API void set_DisplayText(System::String value);
124 
125 protected:
126 
127  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::NodeRange> GetFakeResult() override;
128 
129 private:
130 
131  static const int32_t LocationArgumentIndex;
132  static const int32_t DisplayTextArgumentIndex;
133 
134 };
135 
136 }
137 }
138 }