LaunchAction.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/PdfAction.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 class Document;
12 namespace Engine
13 {
14 namespace Data
15 {
16 class IPdfDictionary;
17 class ITrailerable;
18 } // namespace Data
19 } // namespace Engine
20 enum class ExtendedBoolean;
21 } // namespace Pdf
22 } // namespace Aspose
23 namespace System
24 {
25 class String;
26 } // namespace System
27 
28 namespace Aspose {
29 
30 namespace Pdf {
31 
32 namespace Annotations {
33 
37 class ASPOSE_PDF_SHARED_CLASS LaunchAction final : public Aspose::Pdf::Annotations::PdfAction
38 {
39  typedef LaunchAction ThisType;
41 
42  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
43  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
44 
46 
47 public:
48 
52  ASPOSE_PDF_SHARED_API System::String get_File();
56  ASPOSE_PDF_SHARED_API void set_File(System::String value);
60  ASPOSE_PDF_SHARED_API ExtendedBoolean get_NewWindow();
64  ASPOSE_PDF_SHARED_API void set_NewWindow(ExtendedBoolean value);
65 
70  ASPOSE_PDF_SHARED_API LaunchAction(System::String file);
76  ASPOSE_PDF_SHARED_API LaunchAction(System::SharedPtr<Document> document, System::String file);
77 
78 protected:
79 
81 
82  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(LaunchAction, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfDictionary> action));
83 
84 private:
85 
87 
88 };
89 
90 } // namespace Annotations
91 } // namespace Pdf
92 } // namespace Aspose
93 
94 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Represents a launch action that launches an application or opens or prints a document.
Definition: LaunchAction.h:37
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
Represents general interface for actions and destinations.
Definition: IAppointment.h:17
ExtendedBoolean
Represents boolean type that supports Undefined value.
Definition: ExtendedBoolean.h:16
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
Whole PDF file will be submitted.