Loading...
Searching...
No Matches
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
10namespace pdftron {
11 namespace PDF {
12 namespace Annots {
18class 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);
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
Annot(SDF::Obj d=0)
SDF::Obj GetSDFObj() const
Movie(const Annot &ann)
Definition Movie.h:35
static Movie Create(SDF::SDFDoc &doc, const Rect &pos)
void SetToBePlayed(bool isplay=true)
static Movie CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
void SetTitle(const UString &title)