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.

Inheritance

The IXpsOMDocumentStructureResource interface inherits from IXpsOMResource. IXpsOMDocumentStructureResource also has these types of members:

Methods

The IXpsOMDocumentStructureResource interface has these methods.

 
IXpsOMDocumentStructureResource::GetOwner

Gets a pointer to the IXpsOMDocument interface that contains the resource. (IXpsOMDocumentStructureResource.GetOwner)
IXpsOMDocumentStructureResource::GetStream

Gets a new, read-only copy of the stream that is associated with this resource. (IXpsOMDocumentStructureResource.GetStream)
IXpsOMDocumentStructureResource::SetContent

Sets the read-only stream to be associated with this resource. (IXpsOMDocumentStructureResource.SetContent)

Remarks

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.

Requirements

Requirement Value
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]
Target Platform Windows
Header xpsobjectmodel.h

See also

IXpsOMObjectFactory::CreateDocumentStructureResource

IXpsOMResource

IXpsOMStoryFragmentsResource

Interfaces

XML Paper Specification