![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IMEDIASUITE } |
Public Member Functions | |
| virtual int32 | AddNavigationPoint (uint32 time)=0 |
| virtual bool | CanAddNavigationPoint () const =0 |
| virtual bool | CanConvertToMedia () const =0 |
| virtual bool | CanRemoveNavigationPoint (int32 indexAt) const =0 |
| virtual bool | CanSelectNavigationPoints () const =0 |
| virtual bool | CanSetPosterForIndex (uint32 optionIndex) const =0 |
| virtual bool | CanSetPosters () const =0 |
| virtual ErrorCode | ChangeNavigationPointDisplayName (const PMString &name, int32 indexAt)=0 |
| virtual bool | HasMissingLink () const =0 |
| virtual ErrorCode | GetAttribute (uint32 attributeID, int16 &value) const =0 |
| virtual ErrorCode | GetAttribute (uint32 attributeID, PMString &value) const =0 |
| virtual int | GetControllerOptions (K2Vector< PMString > &optionList) const =0 |
| virtual uint32 | GetControllerOptionIndex () const =0 |
| virtual bool | IsControllerOptionEnabled (uint32 optionIndex) const =0 |
| virtual bool | IsControllerSelectionEnabled () const =0 |
| virtual void | SetControllerOption (uint32 optionIndex)=0 |
| virtual UIDRef | GetEmptyFrameRef () const =0 |
| virtual bool | GetMediaLocation (MediaLocation &outLocation) const =0 |
| virtual bool | GetMediaURL (WideString &outURL) const =0 |
| virtual IMediaContent::MediaType | GetMediaType () const =0 |
| virtual bool | GetNavigationPointDisplayName (int32 indexAt, PMString &outName)=0 |
| virtual bool | GetNextNavigationPoint (INavigationPoints::NavigationPoint &navPoint) const =0 |
| virtual uint32 | GetNumberOfNavigationPoints () const =0 |
| virtual IMediaAttributes::PosterType | GetPosterType () const =0 |
| virtual bool16 | IsAttributeEnabled (uint32 attributeID) const =0 |
| virtual bool16 | IsFlagSet (uint32 attributeID) const =0 |
| virtual bool | IsMediaSelection () const =0 |
| virtual ErrorCode | RemoveNavigationPoints (const K2Vector< int32 > &indexList)=0 |
| virtual void | ResetNavigationPointsIterator ()=0 |
| virtual ErrorCode | SetAttribute (uint32 attributeID, int16 value)=0 |
| virtual ErrorCode | SetAttribute (uint32 attributeID, const PMString &value)=0 |
| virtual ErrorCode | SetAttribute (uint32 attributeID, const NamedUint32AttributeList &value)=0 |
| virtual ErrorCode | SetAttributes (const ISetMediaAttrCmdData *inData)=0 |
| virtual ErrorCode | SetPoster (IMediaAttributes::PosterType posterType, int32 time)=0 |
| virtual ErrorCode | SetPoster (IDFile &file)=0 |
| virtual ErrorCode | SetFlag (uint32 attributeID, bool16 b=kTrue)=0 |
| virtual ErrorCode | SetPoster (IMediaAttributes::PosterType posterType, IPMStream *posterStream, bool setUndoable=false)=0 |
| virtual int | GetPosterOptions (K2Vector< PMString > &stringList) const =0 |
| virtual uint32 | GetPosterOptionIndex () const =0 |
| virtual bool | IsPosterOptionEnabled (uint32 optionIndex) const =0 |
| virtual bool | IsPosterFromMediaEnabled () const =0 |
| virtual ErrorCode | SetMediaLocation (IMediaContent::MediaType mediaType, const WideString &loc, bool isURL=false)=0 |
| virtual uint32 | GetFloatingWindowPositionIndex () const =0 |
| virtual uint32 | GetFloatingWindowScaleIndex () const =0 |
| virtual bool16 | AreNavigationPointsEnabled () const =0 |
| virtual bool16 | CanChangePDFOptions () const =0 |
| virtual bool16 | CanPlaceMediaFromURL () const =0 |
| virtual bool | GetMediaName (WideString &outName) const =0 |
| virtual ErrorCode | PlaceMediaFromURL (IMediaContent::MediaType type, const WideString &url)=0 |
| virtual ErrorCode | StartMediaPreview (IMediaContent::MediaType type, IObserver *iObserver=nil)=0 |
| virtual ErrorCode | StopMediaPreview (IMediaContent::MediaType type)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Adds a new navigation point for a specified time.
| time | identifies a frame of the video to seek to in 1/100s of a second. |
| pure virtual |
Tests if navigation points are available for the current selection. Navigation points are currently available only for IMediaContent::enVideo.
| pure virtual |
Tests if a navigation point can be added.
| pure virtual |
Tests if PDF options can be changed for the current selection.
| pure virtual |
Tests if the selection can be converted into a media page item.
| pure virtual |
Tests if the current selection can be replaced by URL-based media.
| pure virtual |
Tests if the navigation point at the specified index can be removed.
| indexAt | specifies the index of an existing navigation point. |
| pure virtual |
Tests if navigation points can be selected.
| pure virtual |
Tests if a poster can be set for a poster selection option. Since an option may be strictly for information, this method should be called before attempting to change the poster.
| optionIndex | is an index in the list of poster options obtained from GetPosterOptions(). |
| pure virtual |
Tests if posters can be set.
| pure virtual |
Changes the display name for a navigation point.
| name | is a navigation point display name. |
| indexAt | is the index of the navigation point in the range 0 to GetNumberOfNavigationPoints() - 1. |
| pure virtual |
Retrieves the value of an attribute of type int16.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| value | a variable to contain the attribute's value. |
| pure virtual |
Retrieves the value of an attribute of type PMString.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| value | a variable to contain the attribute's value. |
| pure virtual |
Gets the model's current controller option index.
Retrieves the list of controller options for the current selection.
| optionList | is populated with the list of controller option PMStrings. |
| pure virtual |
Obtains an existing empty frame that can be converted into a multimedia frame.
| pure virtual |
Retrieves the index for the current floating window position choice for the current selection.
| pure virtual |
Retrieves the index for the current floating window scale choice for the current selection.
| pure virtual |
Obtains the MediaLocation for the page item's content.
| outLocation | is populated with the MediaLocation object. |
| pure virtual |
Retrieves the media name for the current selection. This is currently the base filename with extension.
| outName | is set to the media name. |
| pure virtual |
Gets the MultimediaType of the current selection. If the current selection consists of more than one page item or a non-multimedia page item, the MultimediaType is enUndefined.
| pure virtual |
Obtains the URL to the media page item's content.
| outLocation | is populated with the URL. |
| pure virtual |
Retrieves the display name for a specified navigation point.
| indexAt | is the index of the navigation point in the range 0 to GetNumberOfNavigationPoints() - 1. |
| outName | is populated with the display name. |
| pure virtual |
Retrieves the next navigation point or none if iteration passed the end of the list.
| navPoint | is populated with the next navigation point data. |
| pure virtual |
Returns the number of navigation points currently defined.
| pure virtual |
Gets the model's current poster option index.
Retrieves the list of poster selection options.
| stringList | is populated with the list of option PMStrings. |
| pure virtual |
Obtains the poster type associated with the media page item.
| pure virtual |
Tests if the current selection has a missing link.
| pure virtual |
Tests if a media attribute may be enabled for changing by the UI.
| pure virtual |
Tests if a specific controller option is enabled.
| optionIndex | is an index in the controller option list obtained by calling GetControllerOptions(). |
| pure virtual |
Tests if controller selection is enabled.
| pure virtual |
Tests if a flag attribute is set.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| pure virtual |
Tests the current selection for multimedia page items.
| pure virtual |
Tests if a poster can be obtained from the current selection's media content (i.e, tests if a poster can be obtained from a frame of the video).
| pure virtual |
Tests if a poster option is enabled.
| optionIndex | is a valid poster option index. |
| pure virtual |
Places a URL-based movie in an empty graphic frame or if the frame is not empty, replaces an existing movie.
| type | must be IMediaContent::enVideo. |
| url | a valid url to an FLV or F4V video. |
| pure virtual |
Removes one or more navigation points.
| indexList | is a list of indices. Each index must be in the range 0 to GetNumberOfNavigationPoints() - 1. |
| pure virtual |
Resets the navigation point list interator so that the next call to GetNextNavigationPoint() will return the first navigation point in the list.
| pure virtual |
Sets the value of an attribute of type int16.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| value | the contents of this are copied to the attribute. |
| pure virtual |
Sets the value of an attribute of type PMString.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| value | the contents of this are copied to the attribute. |
| pure virtual |
Sets the value of an attribute of type NamedUint32AttributeList.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| value | the contents of this are copied to the attribute. |
| pure virtual |
Sets one or more attributes taken from an ISetMediaAttrCmdData instance. This method has no effect if the ISetMediaAttrCmdData instance has no data.
| inData | an ISetMediaAttrCmdData prepopulated with attribute data. |
| pure virtual |
Sets the controller option for the current selection.
| optionIndex | index of an entry in the controller option list. |
| pure virtual |
Sets or clears a flag attribute.
| attributeID | may be either a MediaAttributeID or a media-specific ID. |
| b | flag value; specify kTrue to set the flag, or kFalse to clear it. |
| pure virtual |
Sets the IMediaContent::MediaType and location for the current selection.
| mediaType | the IMediaContent::MediaType to set. |
| a | valid location which can be either a file path or a url. |
| isURL | if true, specifies that the location is a url. |
| pure virtual |
Sets the poster pageitem to a specified PosterType.
| posterType | specifies the desired poster. |
| time | identifies the video frame to use as the poster for IMediaAttributes::eFromMedia. |
| pure virtual |
Sets the poster pageitem to a specified image.
| file | specifies an image file. |
| pure virtual |
Sets the poster to a stream image. The image data is embedded in the poster page item.
| posterType | specifies the type of poster to set. |
| posterStream | is a valid pointer to an IPMStream that will supply the poster image. |
| setUndoable | specifies whether the poster command is undoable. |
| pure virtual |
Starts previewing the media content for the current selection in the media player. Does not reload the media the player if there is no change in selection or media location.
| type | must be IMediaContent::enVideo, IMediaContent::enAudio or IMediaContent::enSWFAnimation. |
| iObserver | is an optional pointer to an IObserver to notify of player events. Notification occurs via IObserver::Update with protocol IID_IMEDIAPLAYERACCESS. The IObserver should update any widgets that depend on player functionality. |
| pure virtual |
Stops previewing the media content for a specified media type.
| type | must be IMediaContent::enVideo, IMediaContent::enAudio or IMediaContent::enSWFAnimation. |