FieldSeq.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 
20 namespace Words
21 {
22 
23 namespace Fields
24 {
25 
26 enum class FieldSwitchType;
27 class FieldUpdateAction;
28 
29 }
30 }
31 }
32 namespace System
33 {
34 class String;
35 }
36 
37 namespace Aspose {
38 
39 namespace Words {
40 
41 namespace Fields {
42 
244 class ASPOSE_WORDS_SHARED_CLASS FieldSeq : public Aspose::Words::Fields::Field, public Aspose::Words::Fields::IFieldCodeTokenInfoProvider
245 {
246  typedef FieldSeq ThisType;
248  typedef Aspose::Words::Fields::IFieldCodeTokenInfoProvider BaseType1;
249 
250  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
251  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
252 
253 public:
254 
386  ASPOSE_WORDS_SHARED_API System::String get_SequenceIdentifier();
387 
389  ASPOSE_WORDS_SHARED_API void set_SequenceIdentifier(const System::String& value);
390 
464  ASPOSE_WORDS_SHARED_API System::String get_BookmarkName();
465 
467  ASPOSE_WORDS_SHARED_API void set_BookmarkName(const System::String& value);
468 
530  ASPOSE_WORDS_SHARED_API bool get_InsertNextNumber();
531 
533  ASPOSE_WORDS_SHARED_API void set_InsertNextNumber(bool value);
534 
596  ASPOSE_WORDS_SHARED_API System::String get_ResetNumber();
597 
599  ASPOSE_WORDS_SHARED_API void set_ResetNumber(const System::String& value);
600 
663  ASPOSE_WORDS_SHARED_API System::String get_ResetHeadingLevel();
664 
666  ASPOSE_WORDS_SHARED_API void set_ResetHeadingLevel(const System::String& value);
667 
668 protected:
669 
670  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Fields::FieldUpdateAction> UpdateCore() override;
671 
672  virtual ASPOSE_WORDS_SHARED_API ~FieldSeq();
673 
674 private:
675 
676  Aspose::Words::Fields::FieldSwitchType GetSwitchType(System::String ) override;
677 
678 };
679 
680 }
681 }
682 }