FieldNoteRef.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 <cstdint>
12 
13 #include <Aspose.Words.Cpp/Fields/IFieldCodeTokenInfoProvider.h>
14 #include <Aspose.Words.Cpp/Fields/Field.h>
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace Aspose
18 {
19 namespace Words
20 {
21 
22 namespace Fields
23 {
24 enum class FieldSwitchType;
25 class FieldUpdateAction;
26 }
27 class NodeRange;
28 
29 }
30 }
31 namespace System
32 {
33 class String;
34 }
35 
36 namespace Aspose {
37 
38 namespace Words {
39 
40 namespace Fields {
41 
108 class ASPOSE_WORDS_SHARED_CLASS FieldNoteRef : public Aspose::Words::Fields::Field, public Aspose::Words::Fields::IFieldCodeTokenInfoProvider
109 {
110  typedef FieldNoteRef ThisType;
112  typedef Aspose::Words::Fields::IFieldCodeTokenInfoProvider BaseType1;
113 
114  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
115  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
116 
117 public:
118 
185  ASPOSE_WORDS_SHARED_API System::String get_BookmarkName();
186 
188  ASPOSE_WORDS_SHARED_API void set_BookmarkName(const System::String& value);
189 
257  ASPOSE_WORDS_SHARED_API bool get_InsertReferenceMark();
258 
260  ASPOSE_WORDS_SHARED_API void set_InsertReferenceMark(bool value);
261 
328  ASPOSE_WORDS_SHARED_API bool get_InsertHyperlink();
329 
331  ASPOSE_WORDS_SHARED_API void set_InsertHyperlink(bool value);
332 
399  ASPOSE_WORDS_SHARED_API bool get_InsertRelativePosition();
400 
402  ASPOSE_WORDS_SHARED_API void set_InsertRelativePosition(bool value);
403 
404 protected:
405 
406  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
407 
408  virtual ASPOSE_WORDS_SHARED_API ~FieldNoteRef();
409 
410 private:
411 
412  Aspose::Words::Fields::FieldSwitchType GetSwitchType(System::String ) override;
413 
414 };
415 
416 }
417 }
418 }