Editar

Compartir a través de


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
BasePackagingPolicy
Derived
Implements

Remarks

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

Constructors

BasePackagingPolicy()

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

Properties

CurrentFixedDocumentUri

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

CurrentFixedPageUri

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

Methods

AcquireResourceStreamForXpsColorContext(String)

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

AcquireResourceStreamForXpsFont()

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

AcquireResourceStreamForXpsFont(String)

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

AcquireResourceStreamForXpsImage(String)

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

AcquireResourceStreamForXpsResourceDictionary(String)

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

AcquireStreamForLinkTargets()

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

AcquireXmlWriterForFixedDocument()

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

AcquireXmlWriterForFixedDocumentSequence()

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

AcquireXmlWriterForFixedPage()

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

AcquireXmlWriterForPage()

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

AcquireXmlWriterForResourceDictionary()

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PersistPrintTicket(PrintTicket)

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

PreCommitCurrentPage()

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

RelateResourceToCurrentPage(Uri, String)

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

RelateRestrictedFontToCurrentDocument(Uri)

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

ReleaseResourceStreamForXpsColorContext()

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

ReleaseResourceStreamForXpsFont()

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

ReleaseResourceStreamForXpsFont(String)

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

ReleaseResourceStreamForXpsImage()

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

ReleaseResourceStreamForXpsResourceDictionary()

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

ReleaseXmlWriterForFixedDocument()

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

ReleaseXmlWriterForFixedDocumentSequence()

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

ReleaseXmlWriterForFixedPage()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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