다음을 통해 공유


PresentationDocumentPartReader Class

Definition

Represents an implementation of OpenXmlPartReader that is aware of the strongly typed classes for a PresentationDocument.

public sealed class PresentationDocumentPartReader : DocumentFormat.OpenXml.OpenXmlPartReader
type PresentationDocumentPartReader = class
    inherit OpenXmlPartReader
Public NotInheritable Class PresentationDocumentPartReader
Inherits OpenXmlPartReader
Inheritance
PresentationDocumentPartReader

Constructors

PresentationDocumentPartReader(Stream, OpenXmlPartReaderOptions)

Initializes a new instance of the PresentationDocumentPartReader class.

Properties

Attributes

Gets the list of attributes of the current element.

(Inherited from OpenXmlPartReader)
Depth

Gets the depth of the current node in the XML document. The depth of the root element is 0.

(Inherited from OpenXmlPartReader)
ElementType

Gets the type of the corresponding strong typed class of the current element.

(Inherited from OpenXmlPartReader)
Encoding

Gets the encoding of the XML file.

(Inherited from OpenXmlPartReader)
EOF

Gets a value that indicates whether the reader is positioned at the end of the stream.

(Inherited from OpenXmlPartReader)
HasAttributes

Gets a value indicating whether the current node has any attributes.

(Inherited from OpenXmlReader)
IsEndElement

Gets a value that indicates whether the current node is an element end.

(Inherited from OpenXmlPartReader)
IsMiscNode

Gets a value that indicates whether the current node is a miscellaneous XML node (non element).

(Inherited from OpenXmlPartReader)
IsStartElement

Gets a value that indicates whether the current node is an element start.

(Inherited from OpenXmlPartReader)
LocalName

Gets the local name of the current node.

(Inherited from OpenXmlPartReader)
NamespaceDeclarations

Gets the namespace declarations of the current element.

(Inherited from OpenXmlPartReader)
NamespaceUri

Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.

(Inherited from OpenXmlPartReader)
Prefix

Gets the namespace prefix associated with the current node.

(Inherited from OpenXmlPartReader)
ReadMiscNodes

Gets a value indicating whether the OpenXmlReader will read or skip all miscellaneous nodes.

(Inherited from OpenXmlReader)
StandaloneXml

Gets the standalone property of the XML file. Returns false if there is no "standalone" in the XML declaration stream.

(Inherited from OpenXmlPartReader)

Methods

Close()

Closes the reader.

(Inherited from OpenXmlPartReader)
Dispose()

Closes the reader, and releases all resources.

(Inherited from OpenXmlReader)
Dispose(Boolean)

Closes the reader, and releases all resources.

(Inherited from OpenXmlReader)
GetLineInfo()

Gets an instance of IXmlLineInfo if available for the current reader.

(Inherited from OpenXmlPartReader)
GetText()

Gets the text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.

(Inherited from OpenXmlPartReader)
LoadCurrentElement()

Loads the element at the current cursor.

(Inherited from OpenXmlPartReader)
Read()

Moves to read the next element.

(Inherited from OpenXmlPartReader)
ReadFirstChild()

Moves to read the first child element.

(Inherited from OpenXmlPartReader)
ReadNextSibling()

Moves to read the next sibling element.

(Inherited from OpenXmlPartReader)
Skip()

Skips the child elements of the current node.

(Inherited from OpenXmlPartReader)
ThrowIfObjectDisposed()

Thrown if the object is disposed.

(Inherited from OpenXmlReader)

Applies to