Namespace DocWright.Core.Formats
Classes
- DocumentFormatDescriptor
Describes a document format a reader or writer handles.
- DocumentFormatRegistry
An instance-scoped registry of document readers and writers, keyed by format name and file extension. New formats plug in by registering an IDocumentReader or IDocumentWriter — the core contracts never widen for a new format.
- DocumentReadOptions
Options controlling how a reader materializes a document. This options bag grows additively; the IDocumentReader interface itself never changes within a major version.
- DocumentWriteOptions
Options controlling how a writer serializes a document. Grows additively, like DocumentReadOptions.
Interfaces
- IDocWrightDocument
Marker interface for a mutable DocWright document model. The concrete model lives in DocWright.Dom; format packages (readers/writers) produce and consume it through this seam so DocWright.Core stays dependency-free.
- IDocumentReader
Reads a document format into the mutable DocWright document model. Implementations ship in format packages (for example DocWright.Formats.Docx) and register with a DocumentFormatRegistry.
- IDocumentWriter
Writes the mutable DocWright document model to a document format.