- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Movie.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsMovie
6 #define PDFTRON_H_CPPPDFAnnotsMovie
7
8 #include <PDF/Annot.h>
9
10 namespace pdftron {
11 namespace PDF {
12 namespace Annots {
18 class Movie : public Annot
19 {
20 public:
27 Movie(SDF::Obj d = 0);
28
35 Movie(const Annot& ann) : Annot(ann.GetSDFObj()) {}
36
45 static Movie Create(SDF::SDFDoc& doc, const Rect& pos);
46 static Movie CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
53 UString GetTitle() const;
54
62 void SetTitle(const UString& title);
63
73 bool IsToBePlayed() const;
74
86 void SetToBePlayed(bool isplay=true);
87
88
89 // @cond PRIVATE_DOC
90 #ifndef SWIGHIDDEN
91 Movie(TRN_Annot movie);
92 #endif
93 // @endcond
94
95 }; //class Movie
96 }; //namespace Annot
97 }; //namespace PDF
98 }; //namespace pdftron
99 #include <Impl/Page.inl>
100
101 #endif // PDFTRON_H_CPPPDFAnnotsMovie
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Movie::SetTitle
void SetTitle(const UString &title)
pdftron::PDF::Annots::Movie::Create
static Movie Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Movie::GetTitle
UString GetTitle() const
pdftron::PDF::Annots::Movie::Movie
Movie(const Annot &ann)
Definition: Movie.h:35
pdftron::PDF::Rect
Definition: Rect.h:28
pdftron::PDF::Annots::Movie::IsToBePlayed
bool IsToBePlayed() const
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Movie
Definition: Movie.h:18
pdftron::PDF::Annots::Movie::CreateAnnot
static Movie CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::PDF::Annots::Movie::Movie
Movie(SDF::Obj d=0)
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::PDF::Annots::Movie::SetToBePlayed
void SetToBePlayed(bool isplay=true)
Annot.h
pdftron::UString
Definition: UString.h:27