JavaScriptCollection.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 // C# preprocessor directive: #if NETCORE && (NETSTANDARD2_1 || NET5_0 || NET6_0 || NET7_0 || NET8_0)
5 
6 // C# INACTIVE CODE:
7 // using KeyValuePair = Aspose.Pdf.Engine.CommonData.KeyValuePair;
8 
9 // C# preprocessor directive: #endif
10 
11 
12 #include <system/object.h>
13 
14 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
15 
16 namespace Aspose
17 {
18 namespace Pdf
19 {
20 class Document;
21 namespace Engine
22 {
23 namespace CommonData
24 {
25 class ITreeNode;
26 } // namespace CommonData
27 namespace Data
28 {
29 class IPdfDictionary;
30 class IPdfPrimitive;
31 } // namespace Data
32 } // namespace Engine
33 } // namespace Pdf
34 } // namespace Aspose
35 namespace System
36 {
37 namespace Collections
38 {
39 namespace Generic
40 {
41 template <typename> class IList;
42 template <typename> class List;
43 } // namespace Generic
44 } // namespace Collections
45 class String;
46 } // namespace System
47 
48 namespace Aspose {
49 
50 namespace Pdf {
51 
55 class ASPOSE_PDF_SHARED_CLASS JavaScriptCollection : public System::Object
56 {
58  typedef System::Object BaseType;
59 
60  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
61  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
62 
63  friend class Aspose::Pdf::Document;
64 
65 public:
66 
71 
77  ASPOSE_PDF_SHARED_API System::String idx_get(System::String key);
83  ASPOSE_PDF_SHARED_API void idx_set(System::String key, System::String value);
84 
90  ASPOSE_PDF_SHARED_API bool Remove(System::String key);
91 
92 protected:
93 
95 
97 
98 private:
99 
102 
108  void CreateJavascriptEntry();
109 
110 };
111 
112 } // namespace Pdf
113 } // namespace Aspose
114 
115 
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Document, CODEPORTING_ARGS(PdfVersion version))
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
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Class representing PDF document
Definition: Document.h:625
Definition: Artifact.h:67
This class represents collection of JavaScript.
Definition: JavaScriptCollection.h:55
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
List forward declaration.
Definition: Artifact.h:74
Whole PDF file will be submitted.