PdfAction.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/InteractiveFeatures/IAppointment.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Annotations
14 {
15 class ActionCollection;
16 class DestinationFactory;
17 class DocumentActionCollection;
18 class ImportDataAction;
19 class LinkAnnotation;
20 class NamedAction;
21 class PdfActionCollection;
22 class ScreenAnnotation;
23 class SubmitFormAction;
24 class WidgetAnnotation;
25 } // namespace Annotations
26 class BaseActionCollection;
27 class Document;
28 namespace Engine
29 {
30 namespace Data
31 {
32 class IPdfDictionary;
33 class IPdfObject;
34 } // namespace Data
35 namespace IO
36 {
37 namespace ConvertStrategies
38 {
39 class PdfUaConvertStrategy;
40 } // namespace ConvertStrategies
41 } // namespace IO
42 } // namespace Engine
43 namespace Forms
44 {
45 class Field;
46 class TextBoxField;
47 } // namespace Forms
48 class OutlineCollection;
49 class OutlineItemCollection;
50 namespace Tests
51 {
52 class RegressionTests_v17_12;
53 class RegressionTests_v22_07;
54 class RegressionTests_v7_0;
55 class RegressionTests_v8_3;
56 class RegressionTests_v8_4;
57 class RegressionTests_v8_8;
58 namespace Text
59 {
60 class TextFragmentTests;
61 } // namespace Text
62 } // namespace Tests
63 } // namespace Pdf
64 } // namespace Aspose
65 
66 namespace Aspose {
67 
68 namespace Pdf {
69 
70 namespace Annotations {
71 
75 class ASPOSE_PDF_SHARED_CLASS PdfAction : public Aspose::Pdf::Annotations::IAppointment
76 {
77  typedef PdfAction ThisType;
79 
80  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
81  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
82 
85  friend class Aspose::Pdf::Engine::IO::ConvertStrategies::PdfUaConvertStrategy;
95  friend class Aspose::Pdf::Annotations::DestinationFactory;
100  friend class Aspose::Pdf::Tests::RegressionTests_v7_0;
101  friend class Aspose::Pdf::Tests::RegressionTests_v8_3;
102  friend class Aspose::Pdf::Tests::RegressionTests_v8_4;
103  friend class Aspose::Pdf::Tests::RegressionTests_v8_8;
104  friend class Aspose::Pdf::Tests::Text::TextFragmentTests;
105  friend class Aspose::Pdf::Tests::RegressionTests_v17_12;
106  friend class Aspose::Pdf::Tests::RegressionTests_v22_07;
107 
108 public:
109 
113  ASPOSE_PDF_SHARED_API System::SharedPtr<ActionCollection> get_Next();
114 
119  ASPOSE_PDF_SHARED_API System::String GetECMAScriptString();
124  ASPOSE_PDF_SHARED_API System::String ToString() const override;
125 
126 protected:
127 
132 
133  virtual ASPOSE_PDF_SHARED_API void Execute(const System::SharedPtr<Document>& document);
135 
136  virtual ASPOSE_PDF_SHARED_API ~PdfAction();
137 
138 private:
139 
146 
147  System::String ToString_NonConst();
148 
149 };
150 
151 } // namespace Annotations
152 } // namespace Pdf
153 } // namespace Aspose
154 
155 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Upon invocation of an import-data action, Forms Data Format (FDF) data shall be imported into the doc...
Definition: ImportDataAction.h:33
Represents document outline hierarchy.
Definition: OutlineCollection.h:50
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
Represents outline entry in outline hierarchy of PDF document.
Definition: OutlineItemCollection.h:68
Represents named actions that PDF viewer applications are expected to support.
Definition: NamedAction.h:38
Class representing widget annotation.
Definition: WidgetAnnotation.h:93
Definition: signed_info.h:13
Class describes actions performed on some actions with document
Definition: DocumentActionCollection.h:37
Base class for acro form fields.
Definition: Field.h:130
Specifies that the member is a field.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Class representing text box field.
Definition: TextBoxField.h:88
Definition: AFRelationship.h:4
Collection of actions
Definition: ActionCollection.h:49
A screen annotation that specifies a region of a page upon which media clips may be played...
Definition: ScreenAnnotation.h:43
Represents Action in PDF document
Definition: PdfAction.h:75
Class describes list of actions.
Definition: PdfActionCollection.h:43
Class which describes submit-form action.
Definition: SubmitFormAction.h:34
Class incapsulates basic actions wuth page/annotation/field interactive actions
Definition: BaseActionCollection.h:43
Whole PDF file will be submitted.