![]() |
#include <Movie.h>
Public Member Functions | |
Movie (SDF::Obj d=0) | |
Creates a Movie annotation and initializes it using given Cos/SDF object. | |
Movie (const Annot &ann) | |
Creates a Movie annotation and initializes it using given annotation object. | |
UString | GetTitle () const |
Returns the title of the Movie Annotation. | |
void | SetTitle (const UString &title) |
Sets the title of the Movie Annotation. | |
bool | IsToBePlayed () const |
Returns the option of whether the Movie is to be played. | |
void | SetToBePlayed (bool isplay=true) |
Sets the option of whether the Movie is to be played. | |
Static Public Member Functions | |
static Movie | Create (SDF::SDFDoc &doc, const Rect &pos) |
Creates a new Movie annotation in the specified document. |
When the annotation is activated, the movie is played.
pdftron::PDF::Annots::Movie::Movie | ( | SDF::Obj | d = 0 |
) |
Creates a Movie annotation and initializes it using given Cos/SDF object.
pdftron::PDF::Annots::Movie::Movie | ( | const Annot & | ann | ) | [inline] |
Creates a Movie annotation and initializes it using given annotation object.
static Movie pdftron::PDF::Annots::Movie::Create | ( | SDF::SDFDoc & | doc, | |
const Rect & | pos | |||
) | [static] |
UString pdftron::PDF::Annots::Movie::GetTitle | ( | ) | const |
void pdftron::PDF::Annots::Movie::SetTitle | ( | const UString & | title | ) |
bool pdftron::PDF::Annots::Movie::IsToBePlayed | ( | ) | const |
Returns the option of whether the Movie is to be played.
void pdftron::PDF::Annots::Movie::SetToBePlayed | ( | bool | isplay = true |
) |
Sets the option of whether the Movie is to be played.
(Optional)
isplay | A boolean value telling if the movie is to be played. Default value: true. |