SubmitFormAction.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/shared_ptr.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/InteractiveFeatures/PdfAction.h"
8 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
9 
10 namespace Aspose
11 {
12 namespace Pdf
13 {
14 namespace Engine
15 {
16 namespace Data
17 {
18 class IPdfDictionary;
19 } // namespace Data
20 } // namespace Engine
21 class FileSpecification;
22 } // namespace Pdf
23 } // namespace Aspose
24 
25 namespace Aspose {
26 
27 namespace Pdf {
28 
29 namespace Annotations {
30 
34 class ASPOSE_PDF_SHARED_CLASS SubmitFormAction final : public Aspose::Pdf::Annotations::PdfAction
35 {
36  typedef SubmitFormAction ThisType;
38 
39  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
40  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
41 
43 
44 public:
45 
49  ASPOSE_PDF_SHARED_API int32_t get_Flags();
53  ASPOSE_PDF_SHARED_API void set_Flags(int32_t value);
57  ASPOSE_PDF_SHARED_API System::SharedPtr<FileSpecification> get_Url();
61  ASPOSE_PDF_SHARED_API void set_Url(System::SharedPtr<FileSpecification> value);
62 
66  ASPOSE_PDF_SHARED_API SubmitFormAction();
67 
68 protected:
69 
71 
72  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(SubmitFormAction, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfDictionary> action));
73 
74 private:
75 
76  int32_t flags;
78 
79 public:
80 
84  static constexpr ASPOSE_PDF_SHARED_API int32_t Exclude = 1;
88  static constexpr ASPOSE_PDF_SHARED_API int32_t IncludeNoValueFields = static_cast<int32_t>(1 << 1);
92  static constexpr ASPOSE_PDF_SHARED_API int32_t ExportFormat = static_cast<int32_t>(1 << 2);
96  static constexpr ASPOSE_PDF_SHARED_API int32_t GetMethod = static_cast<int32_t>(1 << 3);
100  static constexpr ASPOSE_PDF_SHARED_API int32_t SubmitCoordinates = static_cast<int32_t>(1 << 4);
104  static constexpr ASPOSE_PDF_SHARED_API int32_t Xfdf = static_cast<int32_t>(1 << 5);
108  static constexpr ASPOSE_PDF_SHARED_API int32_t IncludeAppendSaves = static_cast<int32_t>(1 << 6);
112  static constexpr ASPOSE_PDF_SHARED_API int32_t IncludeAnnotations = static_cast<int32_t>(1 << 7);
116  static constexpr ASPOSE_PDF_SHARED_API int32_t SubmitPdf = static_cast<int32_t>(1 << 8);
120  static constexpr ASPOSE_PDF_SHARED_API int32_t CanonicalFormat = static_cast<int32_t>(1 << 9);
124  static constexpr ASPOSE_PDF_SHARED_API int32_t ExclNonUserAnnots = static_cast<int32_t>(1 << 10);
128  static constexpr ASPOSE_PDF_SHARED_API int32_t ExclFKey = static_cast<int32_t>(1 << 11);
133  static constexpr ASPOSE_PDF_SHARED_API int32_t EmbedForm = static_cast<int32_t>(1 << 13);
134 
135 };
136 
137 /*
141  public const int Exclude = 1;
145  public const int IncludeNoValueFields = 1 << 1;
149  public const int ExportFormat = 1 << 2;
153  public const int GetMethod = 1 << 3;
157  public const int SubmitCoordinates = 1 << 4;
161  public const int Xfdf = 1 << 5;
165  public const int IncludeAppendSaves = 1 << 6;
169  public const int IncludeAnnotations = 1 << 7;
173  public const int SubmitPdf = 1 << 8;
177  public const int CanonicalFormat = 1 << 9;
181  public const int ExclNonUserAnnots = 1 << 10;
185  public const int ExclFKey = 1 << 11;
190  public const int EmbedForm = 1 << 13;
191  */
192 } // namespace Annotations
193 } // namespace Pdf
194 } // namespace Aspose
195 
196 
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Represents general interface for actions and destinations.
Definition: IAppointment.h:17
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
Represents Action in PDF document
Definition: PdfAction.h:75
Class which describes submit-form action.
Definition: SubmitFormAction.h:34
Whole PDF file will be submitted.