Defines the MovieReference Class.When the object is serialized out as xml, its qualified name is w:movie.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
'Declaration Public Class MovieReference _ Inherits RelationshipType 'Usage Dim instance As MovieReference
public class MovieReference : RelationshipType
[ISO/IEC 29500-1 1st Edition]
18.104.22.168 movie (Embedded Video)
This element specifies a location within a document where the specified parent image shall be treated as a static placeholder for an embedded movie. [Note: A list of suggested video types in provided in §15.2.17. end note]The specified movie file's contents should be displayed when requested at this location in the document. The location of the embedded movie to be displayed when supported shall be specified by the relationship whose Id attribute matches the id attribute on this element.
If the relationship type of the relationship specified by this element is not http://schemas.openxmlformats.org/officeDocument/2006/movie, or is not present, then the document shall be considered non-conformant. If an application cannot process external content of the content type specified by the targeted part, then it can be ignored.
[Example: Consider a WordprocessingML document which contains a DrawingML shape holding the static image for a movie:
<w:object> <w:drawing> … </w:drawing> <w:movie r:id="rIdMovie" /> </w:object>
The movie element specifies that the part targeted by the relationship with an ID of rIdMovie must be imported at the beginning of the document. Examining the contents of the corresponding relationship part item, we can see the targets for that relationship:
<Relationships … > … <Relationship Id="rIdMovie" TargetMode="Internal" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/movie" Target="movie.mov" /> … </Relationships>
The corresponding relationship part item shows that the movie file is located next to the main document and is named movie.mov. end example]
id (Relationship to Part)
Specifies the relationship ID to a specified part.
The specified relationship shall match the relationship type required by the parent element:
[Example: Consider an XML element which has the following id attribute:
<… r:id="rId10" />
The markup specifies the associated relationship part with relationship ID rId1 contains the corresponding relationship information for the parent XML element. end example]
The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.214.171.124).
[Note: The W3C XML Schema definition of this element’s content model (CT_Rel) is located in §A.1. end note]
© ISO/IEC29500: 2008.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.