Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdfDocumentReaderExtensions

OfficeIMO.Reader.OpenDocument

Namespace
OfficeIMO.Reader.OpenDocument
Assembly
OfficeIMO.Reader.OpenDocument
Source revision
273d35d5ba8a with working tree changes
Modifiers
static

Projects caller-owned native OpenDocument models through the canonical Reader adapter.

Inheritance

  • object
  • OdfDocumentReaderExtensions

Methods

public static OfficeDocumentReadResult ReadDocument(OdfDocument document, string? sourceName = null, ReaderOptions? options = null, ReaderOpenDocumentOptions? formatOptions = null, CancellationToken cancellationToken = default) #

Reads a loaded native document into the shared document envelope without reopening or disposing it.

Parameters

document OfficeIMO.OpenDocument.OdfDocument required
sourceName string? = null optional
options OfficeIMO.Reader.ReaderOptions? = null optional
formatOptions OfficeIMO.Reader.OpenDocument.ReaderOpenDocumentOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeDocumentReadResult