Enum DocxProfile
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A ready-made set of sections and details to leave out of a DOCX snapshot, named after what a test guards. Apply one with Use(DocxProfile). The snapshot's header lists what it leaves out, so a profile that leaves out more in a later release shows up as a changed snapshot rather than a test that quietly checks less.
public enum DocxProfile
Fields
Strict = 0Compares everything, the same as using no profile.
Content = 1The text and its structure: paragraphs, tables, lists, headers, footers, notes and inline formatting such as bold. Leaves out the Sections and Styles sections, and fonts, font sizes, colors, spacing, indents and other formatting.