Class DocxInserted
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A document inserted into this one (w:altChunk). A DOCX is read in place into Document, with its own styles and lists; other formats, such as HTML or RTF, and a DOCX that can't be opened (Unreadable) are recorded by Hash, which is null when the inserted file is missing.
public sealed record DocxInserted : DocxBlock, IEquatable<DocxBlock>, IEquatable<DocxInserted>
- Inheritance
-
DocxInserted
- Implements
- Inherited Members
Properties
Document
The inserted DOCX as read, or null for another format, a DOCX that can't be opened or is missing, or one nested more than five inserted documents deep.
public DocxDocument? Document { get; init; }
Property Value
Hash
The first 16 hex digits of the SHA-256 of the inserted file, when it isn't read into Document; null when the file is missing.
public string? Hash { get; init; }
Property Value
Kind
The inserted file's type, such as "docx", "html" or "rtf", or null when it can't be told.
public string? Kind { get; init; }
Property Value
Unreadable
Whether the inserted file is a DOCX that couldn't be opened, such as one that's broken or too large.
public bool Unreadable { get; init; }