![]() | InDesign SDK 20.5 |
#include <IMovieAttributes.h>

Public Types | |
| enum | { kDefaultIID = IID_IMOVIEATTRIBUTES } |
| enum | PlayMode { eOnce = 0, eOpen = 1, eRepeat = 2 } |
| enum | FloatingWindowScale { eOneFifth = 9, eOneForth = 10, eOneHalf = 11, eFull = 12, e2X = 13, e3X = 14, e4X = 15, eMax = 16 } |
| enum | { kNumberOfPlayModes = 3, kNumberOfFWScaleOptions = 8 } |
| enum | MovieAttributeID { enShowControls = kMoviePrefix + 0, enPlayMode = kMoviePrefix + 1, enFloatingWindowScale = kMoviePrefix + 2, enHasFloatingWindow = kMoviePrefix + 3, enFloatingWindowPosition = kMoviePrefix + 4 } |
Public Member Functions | |
| virtual const PMRect | GetBoundingBox ()=0 |
| virtual bool16 | ShowControls () const =0 |
| virtual PlayMode | GetPlayMode () const =0 |
| virtual FloatingWindowScale | GetFloatingWindowScale () const =0 |
| virtual bool16 | HasFloatingWindow () const =0 |
| virtual const PMPoint | GetFloatingWindowPosition ()=0 |
| virtual void | SetFloatingWindowPosition (const PMPoint &p)=0 |
| virtual void | SetFloatingWindowScale (FloatingWindowScale s)=0 |
| virtual void | SetShowControls (bool16 b)=0 |
| virtual void | SetHasFloatingWindow (bool16 b)=0 |
| virtual void | SetPlayMode (PlayMode m)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface provides methods for accessing movie page item attributes.
this enum defines the size of the movie floating window, relative to the movie bounds
this enum defines the IDs of all attributes specific to movie media.
| Enumerator | |
|---|---|
| enShowControls | Displays movie controller during play if set |
| enPlayMode | The movie PlayMode as defined above. |
| enFloatingWindowScale | Movie FloatingWindowScale as defined above. |
| enHasFloatingWindow | Movie is played in a floating window if set. |
| enFloatingWindowPosition | The PMPoint position of the movie's floating window. |
| pure virtual |
Retrieves the movie's bounding box. If the movie is to play in a floating window, the bounding box is the movie's intrinsic bounds; otherwise, it is the bounds of the movie page item.
| pure virtual |
Retrieves the floating window position.
| pure virtual |
Retrieves the current FloatingWindowScale.
| pure virtual |
Retrieves the movie PlayMode.
| pure virtual |
Tests if the movie is to be shown in its own window by the PDF viewer.
| pure virtual |
Sets the floating window position.
| p | one of the predefined PMPoint floating window positions. |
| pure virtual |
Sets the FloatingWindowScale attribute.
| s | the FloatingWindowScale. |
| pure virtual |
Sets the floating window option.
| b | kTrue to show the movie in its own window by the PDF viewer; kFalse to show the movie on the page. |
| pure virtual |
Sets the movie PlayMode attribute.
| m | the movie PlayMode. |
| pure virtual |
Sets the show movie controls option.
| b | kTrue to show a movie controller in the PDF viewer while the movie is active; kFalse to omit the movie controller. |
| pure virtual |
Tests if movie controls should be displayed by the PDF reader.