FormExportImportResult.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace System
9 {
10 namespace Collections
11 {
12 namespace Generic
13 {
14 template <typename> class HashSet;
15 } // namespace Generic
16 } // namespace Collections
17 } // namespace System
18 
19 namespace Aspose {
20 
21 namespace Pdf {
22 
23 namespace Engine {
24 
25 namespace IO {
26 
27 namespace ConvertStrategies {
28 
29 namespace ConvertHelpers {
30 
35 {
39  Success,
43  Warning,
47  Error
48 };
49 
54 {
56 
57 public:
58 
59  static const System::String PageIsNull;
75 
76 public:
77  ExportImportMessages() = delete;
78 };
79 
83 class ASPOSE_PDF_SHARED_CLASS FieldSerializationResult : public System::Object
84 {
86  typedef System::Object BaseType;
87 
88  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
89  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
90 
91 public:
92 
99  ASPOSE_PDF_SHARED_API Aspose::Pdf::Engine::IO::ConvertStrategies::ConvertHelpers::FieldSerializationStatus get_FieldSerializationStatus() const;
106  ASPOSE_PDF_SHARED_API System::String get_FieldFullName() const;
113  ASPOSE_PDF_SHARED_API const System::SharedPtr<System::Collections::Generic::HashSet<System::String>>& get_WarningMessages() const;
120  ASPOSE_PDF_SHARED_API const System::SharedPtr<System::Collections::Generic::HashSet<System::String>>& get_ErrorMessages() const;
121 
122 protected:
123 
128 
129  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FieldSerializationResult, CODEPORTING_ARGS());
130 
136 
137  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FieldSerializationResult, CODEPORTING_ARGS(System::String fieldName));
138 
146 
147  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FieldSerializationResult, CODEPORTING_ARGS(System::String fieldName, Aspose::Pdf::Engine::IO::ConvertStrategies::ConvertHelpers::FieldSerializationStatus status, System::String message));
159 
160 private:
161 
163 
170  ASPOSE_PDF_SHARED_API void set_FieldSerializationStatus(Aspose::Pdf::Engine::IO::ConvertStrategies::ConvertHelpers::FieldSerializationStatus value);
171 
172  System::String pr_FieldFullName;
175 
176 };
177 
178 } // namespace ConvertHelpers
179 } // namespace ConvertStrategies
180 } // namespace IO
181 } // namespace Engine
182 } // namespace Pdf
183 } // namespace Aspose
184 
185 
static const System::String PartialNameIsNotSet
Definition: FormExportImportResult.h:67
static const System::String PageIsNull
Definition: FormExportImportResult.h:59
static const System::String RectangleImportError
Definition: FormExportImportResult.h:71
Contains various error messages for export and import operations of form fields.
Definition: FormExportImportResult.h:53
static const System::String UnknownExportError
Definition: FormExportImportResult.h:66
static const System::String PageNotFoundInDocument
Definition: FormExportImportResult.h:62
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Represents the result of a form field serialization process.
Definition: FormExportImportResult.h:83
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:71
static const System::String RectangleIsNotSet
Definition: FormExportImportResult.h:63
static const System::String AppearanceNNotPresented
Definition: FormExportImportResult.h:70
static const System::String NotImplemented
Definition: FormExportImportResult.h:74
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: SideBySidePdfComparer.h:24
static const System::String AppearanceRObjectNotImporting
Definition: FormExportImportResult.h:69
Definition: AFRelationship.h:4
static const System::String RectNotPresented
Definition: FormExportImportResult.h:60
FieldSerializationStatus
Represents the status of the form field serialization.
Definition: FormExportImportResult.h:34
static const System::String PageIndexIsNotSet
Definition: FormExportImportResult.h:61
static const System::String SupportExportOnly14StandardFonts
Definition: FormExportImportResult.h:73
static const System::String UnknownImportError
Definition: FormExportImportResult.h:65
static const System::String AppearanceDObjectNotImporting
Definition: FormExportImportResult.h:68
static const System::String BarcodeSymbologyValueNotValid
Definition: FormExportImportResult.h:72
static const System::String UnknownFieldType
Definition: FormExportImportResult.h:64
Whole PDF file will be submitted.