XmpPdfAExtensionValueType.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/array.h>
5 
6 #include "Aspose.PDF.Cpp/XmpPdfAExtension/XmpPdfAExtensionObject.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 class XmpPdfAExtensionField;
14 class XmpPdfAExtensionSchema;
15 } // namespace Pdf
16 } // namespace Aspose
17 namespace System
18 {
19 namespace Collections
20 {
21 namespace Generic
22 {
23 template <typename> class IList;
24 template <typename> class List;
25 } // namespace Generic
26 } // namespace Collections
27 namespace Xml
28 {
29 class XmlDocument;
30 class XmlElement;
31 class XmlNode;
32 } // namespace Xml
33 } // namespace System
34 
35 namespace Aspose {
36 
37 namespace Pdf {
38 
49 class ASPOSE_PDF_SHARED_CLASS XmpPdfAExtensionValueType final : public Aspose::Pdf::XmpPdfAExtensionObject
50 {
53 
54  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
55  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
56 
58 
59 public:
60 
64  ASPOSE_PDF_SHARED_API System::String get_Type() const;
68  ASPOSE_PDF_SHARED_API System::String get_NamespaceUri() const;
72  ASPOSE_PDF_SHARED_API System::String get_Prefix() const;
77 
85  ASPOSE_PDF_SHARED_API XmpPdfAExtensionValueType(System::String type, System::String namespaceUri, System::String prefix, System::String description);
86 
91  ASPOSE_PDF_SHARED_API void Add(System::SharedPtr<XmpPdfAExtensionField> field);
96  ASPOSE_PDF_SHARED_API void AddRange(System::ArrayPtr<System::SharedPtr<XmpPdfAExtensionField>> fields);
101  ASPOSE_PDF_SHARED_API void Remove(System::SharedPtr<XmpPdfAExtensionField> field);
105  ASPOSE_PDF_SHARED_API void Clear();
112 
113 protected:
114 
133 
134 private:
135 
139  System::String _type;
143  System::String _namespaceUri;
147  System::String _prefix;
152 
153 };
154 
155 } // namespace Pdf
156 } // namespace Aspose
157 
158 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:17
ASPOSE_PDF_SHARED_API void Add(System::SharedPtr< XmpPdfAExtensionObject > obj)
Adds new object into schema.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
ASPOSE_PDF_SHARED_API void Remove(System::SharedPtr< XmpPdfAExtensionObject > obj)
Removes the object from schema.
Represents the base class for field, property, value type instances.
Definition: XmpPdfAExtensionObject.h:39
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
means saving in XML format
Definition: AFRelationship.h:4
Describes the XMP extension schema which is provided by PDF/A-1.
Definition: XmpPdfAExtensionSchema.h:64
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
The PDF/A ValueType schema is required for all property value types which are not defined in the XMP ...
Definition: XmpPdfAExtensionValueType.h:49
Whole PDF file will be submitted.