MovieAnnotation.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/shared_ptr.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/InteractiveFeatures/Annotations/Annotation.h"
8 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
9 
10 namespace Aspose
11 {
12 namespace Pdf
13 {
14 namespace Annotations
15 {
16 class AnnotationSelector;
17 enum class AnnotationType;
18 } // namespace Annotations
19 class Document;
20 namespace Engine
21 {
22 namespace Data
23 {
24 class IPdfDictionary;
25 class IPdfObject;
26 } // namespace Data
27 } // namespace Engine
28 class FileSpecification;
29 class Page;
30 class Point;
31 class Rectangle;
32 } // namespace Pdf
33 } // namespace Aspose
34 namespace System
35 {
36 class String;
37 } // namespace System
38 
39 namespace Aspose {
40 
41 namespace Pdf {
42 
43 namespace Annotations {
44 
49 {
50  typedef MovieAnnotation ThisType;
53 
54  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
55  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
56 
58 
59 public:
60 
64  ASPOSE_PDF_SHARED_API System::String get_Title() override;
68  ASPOSE_PDF_SHARED_API void set_Title(System::String value) override;
72  ASPOSE_PDF_SHARED_API System::SharedPtr<FileSpecification> get_File();
76  ASPOSE_PDF_SHARED_API void set_File(System::SharedPtr<FileSpecification> value);
80  ASPOSE_PDF_SHARED_API bool get_Poster();
84  ASPOSE_PDF_SHARED_API void set_Poster(bool value);
88  ASPOSE_PDF_SHARED_API System::SharedPtr<Point> get_Aspect();
92  ASPOSE_PDF_SHARED_API void set_Aspect(System::SharedPtr<Point> value);
96  ASPOSE_PDF_SHARED_API int32_t get_Rotate();
100  ASPOSE_PDF_SHARED_API void set_Rotate(int32_t value);
104  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
105 
111  ASPOSE_PDF_SHARED_API MovieAnnotation(System::SharedPtr<Document> document, System::String movieFile);
119 
124  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
125 
126 protected:
127 
129 
130  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(MovieAnnotation, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfObject> engineAnnot, System::SharedPtr<Document> document));
131 
132  virtual ASPOSE_PDF_SHARED_API ~MovieAnnotation();
133 
134 private:
135 
137 
139 
140  void Initialize();
141 
142 };
143 
144 } // namespace Annotations
145 } // namespace Pdf
146 } // namespace Aspose
147 
148 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Definition: Artifact.h:67
This annotation allows to get/set Title property.
Definition: Annotation.h:512
virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType()=0
Gets type of annotation.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
void Initialize(System::SharedPtr< Document > doc)
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
A printer&#39;s point (1/72 of an inch).
The coordinates are in the page coordinate context.
virtual ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr< AnnotationSelector > visitor)=0
Accepts visitor for annotation processing.
Represents a movie annotation that contains animated graphics and sound to be presented on the comput...
Definition: MovieAnnotation.h:48
Class representing annotation object.
Definition: Annotation.h:303
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Whole PDF file will be submitted.