MovieReference Class
Defines the MovieReference Class.When the object is serialized out as xml, its qualified name is w:movie.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.RelationshipType
DocumentFormat.OpenXml.Wordprocessing.MovieReference
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class MovieReference _
Inherits RelationshipType
'Применение
Dim instance As MovieReference
public class MovieReference : RelationshipType
Remarks
[ISO/IEC 29500-1 редакция 1]
17.3.3.17 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 https://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="https://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]
Parent Elements |
---|
object (§17.3.3.19) |
Attributes |
Description |
---|---|
id (Relationship to Part) Namespace: .../officeDocument/2006/relationships |
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:
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.8.2.1). |
[Note: The W3C XML Schema definition of this element's content model (CT_Rel) is located in §A.1. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.