OfficeIMO

API Reference

Class

ReaderHandlerRegistration

Namespace OfficeIMO.Reader
Assembly OfficeIMO.Reader
Modifiers sealed

Custom handler registration model for extending DocumentReader without hard dependencies.

Inheritance

  • Object
  • ReaderHandlerRegistration

Constructors

public ReaderHandlerRegistration() #

Properties

public String Id { get; set; } #

Stable unique identifier for this handler (for example: "officeimo.reader.epub").

public String DisplayName { get; set; } #

Optional display name shown in capability listings.

public String Description { get; set; } #

Optional handler description shown in capability listings.

public ReaderInputKind Kind { get; set; } #

Kind advertised by this handler for detect/capability workflows.

public IReadOnlyList<String> Extensions { get; set; } #

File extensions handled by this registration (for example: ".epub", ".zip").

public Func<String, ReaderOptions, CancellationToken, IEnumerable<ReaderChunk>> ReadPath { get; set; } #

Path-based reader delegate.

public Func<Stream, String, ReaderOptions, CancellationToken, IEnumerable<ReaderChunk>> ReadStream { get; set; } #

Stream-based reader delegate.

public Nullable<Int64> DefaultMaxInputBytes { get; set; } #

Optional advertised default max input bytes for this handler. Null means "no handler-specific default advertised".

public ReaderWarningBehavior WarningBehavior { get; set; } #

Advertised warning model for this handler.

public Boolean DeterministicOutput { get; set; } #

True when this handler advertises deterministic chunk ordering/output for identical input.