BasePackagingPolicy BasePackagingPolicy BasePackagingPolicy BasePackagingPolicy Class

Definition

Defines the base class for XPS package serialization policies. This class is abstract.

public ref class BasePackagingPolicy abstract : IDisposable
public abstract class BasePackagingPolicy : IDisposable
type BasePackagingPolicy = class
    interface IDisposable
Public MustInherit Class BasePackagingPolicy
Implements IDisposable
Inheritance
BasePackagingPolicyBasePackagingPolicyBasePackagingPolicyBasePackagingPolicy
Derived
Implements

Remarks

Packaging policy classes provide methods for acquiring serialization readers and writers for different types of parts in an XpsDocument.

Constructors

BasePackagingPolicy() BasePackagingPolicy() BasePackagingPolicy() BasePackagingPolicy()

When overridden in a derived class, initializes a new instance of the BasePackagingPolicy class.

Properties

CurrentFixedDocumentUri CurrentFixedDocumentUri CurrentFixedDocumentUri CurrentFixedDocumentUri

When overridden in a derived class, gets the uniform resource identifier (URI) of the fixed document that is processing.

CurrentFixedPageUri CurrentFixedPageUri CurrentFixedPageUri CurrentFixedPageUri

When overridden in a derived class, gets the uniform resource identifier (URI) of the fixed page that is processing.

Methods

AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String)

When overridden in a derived class, acquires a resource stream for an XpsColorContext object.

AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont()

When overridden in a derived class, acquires a resource stream for an XpsFont object.

AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String)

When overridden in a derived class, acquires an XpsResourceStream for an XpsFont with a specified resource ID.

AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String)

When overridden in a derived class, acquires a resource stream for an XpsImage object.

AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String)

When overridden in a derived class, acquires a resource stream for an XpsResourceDictionary object.

AcquireStreamForLinkTargets() AcquireStreamForLinkTargets() AcquireStreamForLinkTargets() AcquireStreamForLinkTargets()

When overridden in a derived class, gets a list of strings, each expressing a LinkTarget element.

AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument()

When overridden in a derived class, returns an XmlWriter for a FixedDocument.

AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence()

When overridden in a derived class, returns an XmlWriter for a FixedDocumentSequence.

AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage()

When overridden in a derived class, returns an XmlWriter for a FixedPage.

AcquireXmlWriterForPage() AcquireXmlWriterForPage() AcquireXmlWriterForPage() AcquireXmlWriterForPage()

When overridden in a derived class, returns an XmlWriter for the current page.

AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary()

When overridden in a derived class, returns an XmlWriter for an XpsResourceDictionary.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket)

When overridden in a derived class, writes a print ticket to a package or to a part of the package.

PreCommitCurrentPage() PreCommitCurrentPage() PreCommitCurrentPage() PreCommitCurrentPage()

When overridden in a derived class, performs any required maintenance tasks before the page is committed, for example, flushes streams.

RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String)

When overridden in a derived class, adds a relationship from the current page to some internal or external resource.

RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri)

When overridden in a derived class, adds a relationship from the current page to a font.

ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext()

When overridden in a derived class, releases the XpsResourceStream for the current XpsColorContext object.

ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont()

When overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.

ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String)

When overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.

ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage()

When overridden in a derived class, releases the XpsResourceStream for the current XpsImage object.

ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary()

When overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.

ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument()

When overridden in a derived class, releases the XmlWriter for the current FixedDocument.

ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence()

When overridden in a derived class, releases the XmlWriter for the current FixedDocumentSequence.

ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage()

When overridden in a derived class, releases the XmlWriter for the current FixedPage.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to

See Also