Class
OdfDocumentReaderExtensions
OfficeIMO.Reader.OpenDocument
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
- sourceName string? = null
- options OfficeIMO.Reader.ReaderOptions? = null
- formatOptions OfficeIMO.Reader.OpenDocument.ReaderOpenDocumentOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeDocumentReadResult