IXpsOMDocumentStructureResource interface (xpsobjectmodel.h)
Provides access to the XML content of the resource stream of the DocumentStructure part.The IXpsOMDocumentStructureResource interface enables a program to read and replace the XML content of the DocumentStructure part.
The IXpsOMDocumentStructureResource interface inherits from IXpsOMResource. IXpsOMDocumentStructureResource also has these types of members:
The IXpsOMDocumentStructureResource interface has these methods.
Gets a pointer to the IXpsOMDocument interface that contains the resource. (IXpsOMDocumentStructureResource.GetOwner)
Gets a new, read-only copy of the stream that is associated with this resource. (IXpsOMDocumentStructureResource.GetStream)
Sets the read-only stream to be associated with this resource. (IXpsOMDocumentStructureResource.SetContent)
The DocumentStructure part of an XPS document contains the document outline, which, along with the StoryFragments parts, defines the reading order of every element that appears in the fixed pages of the document.
The reading order of an XPS document is organized into semantic blocks called stories. Stories are logical units of the document, in the same way that articles are units in a magazine. Stories are made up of one or more StoryFragments parts; StoryFragments parts contain the XML markup that defines the story's semantic blocks, which describe the structure of the document's content. Examples of a story's semantic blocks include paragraphs and tables.
The XML markup in the DocumentStructure and StoryFragments parts is described in the XML Paper Specification.
|Minimum supported client||Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]|