GoToRemoteAction.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/GoToAction.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Annotations
12 {
13 class ExplicitDestination;
14 class IAppointment;
15 class PdfAction;
16 } // namespace Annotations
17 namespace Engine
18 {
19 namespace Data
20 {
21 class IPdfDictionary;
22 } // namespace Data
23 } // namespace Engine
24 enum class ExtendedBoolean;
25 class FileSpecification;
26 } // namespace Pdf
27 } // namespace Aspose
28 namespace System
29 {
30 class String;
31 } // namespace System
32 
33 namespace Aspose {
34 
35 namespace Pdf {
36 
37 namespace Annotations {
38 
42 class ASPOSE_PDF_SHARED_CLASS GoToRemoteAction final : public Aspose::Pdf::Annotations::GoToAction
43 {
44  typedef GoToRemoteAction ThisType;
46 
47  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
49 
51 
52 public:
53 
57  ASPOSE_PDF_SHARED_API System::SharedPtr<FileSpecification> get_File();
61  ASPOSE_PDF_SHARED_API void set_File(System::SharedPtr<FileSpecification> value);
65  ASPOSE_PDF_SHARED_API ExtendedBoolean get_NewWindow();
69  ASPOSE_PDF_SHARED_API void set_NewWindow(ExtendedBoolean value);
73  ASPOSE_PDF_SHARED_API System::SharedPtr<IAppointment> get_Destination() override;
77  ASPOSE_PDF_SHARED_API void set_Destination(System::SharedPtr<IAppointment> value) override;
78 
84  ASPOSE_PDF_SHARED_API GoToRemoteAction(System::String remotePdf, int32_t remotePageNumber);
90  ASPOSE_PDF_SHARED_API GoToRemoteAction(System::String remotePdf, System::SharedPtr<ExplicitDestination> destination);
91 
92 protected:
93 
95 
96  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(GoToRemoteAction, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfDictionary> action));
97 
98 };
99 
100 } // namespace Annotations
101 } // namespace Pdf
102 } // namespace Aspose
103 
104 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Represents a go-to action that changes the view to a specified destination (page, location...
Definition: GoToAction.h:42
Represents a remote go-to action that is similar to an ordinary go-to action but jumps to a destinati...
Definition: GoToRemoteAction.h:42
Definition: Artifact.h:67
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.