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
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
Annot.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Movie::Movie
Movie(const Annot &ann)
Definition Movie.h:35
pdftron::PDF::Annots::Movie::IsToBePlayed
bool IsToBePlayed() const
pdftron::PDF::Annots::Movie::GetTitle
UString GetTitle() const
pdftron::PDF::Annots::Movie::Create
static Movie Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Movie::Movie
Movie(SDF::Obj d=0)
pdftron::PDF::Annots::Movie::SetToBePlayed
void SetToBePlayed(bool isplay=true)
pdftron::PDF::Annots::Movie::CreateAnnot
static Movie CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Movie::SetTitle
void SetTitle(const UString &title)
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::SDFDoc
Definition SDFDoc.h:68
pdftron::UString
Definition UString.h:28
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10