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-2023 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
SDF::Obj GetSDFObj() const
void SetTitle(const UString &title)
static Movie Create(SDF::SDFDoc &doc, const Rect &pos)
UString GetTitle() const
Movie(const Annot &ann)
Definition: Movie.h:35
static Movie CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
void SetToBePlayed(bool isplay=true)