RusDox parity contract v1
examples/invoice.yaml
Semantic comparison of the typed source, reopened DOCX package, and the projection consumed by the native PDF renderer.
Open this exampleChecks21
PDF pages1
Blocks5
Images0
Contract checks
| ID | Assertion | Status | Evidence |
|---|---|---|---|
normalized_text | Normalized text | PASS | source = DOCX = PDF projection |
block_order | Block order | PASS | source = DOCX = PDF projection |
headings | Heading sequence | PASS | source = DOCX = PDF projection |
table_content | Table rows and cells | PASS | source = DOCX = PDF projection |
images | Image count and alt text | PASS | source = DOCX = PDF projection |
page_breaks | Explicit page breaks | PASS | source = DOCX = PDF projection |
section_breaks | Explicit section breaks | PASS | source = DOCX = PDF projection |
hyperlinks | Hyperlink text and targets | PASS | source = DOCX = PDF projection |
bookmarks | Bookmark anchors | PASS | source = DOCX = PDF projection |
fields | Dynamic fields | PASS | source = DOCX = PDF projection |
footnotes | Footnote text | PASS | source = DOCX = PDF projection |
table_layout | Table row and rich-cell controls | PASS | source = DOCX = PDF projection |
metadata | Document metadata | PASS | source = DOCX = PDF projection |
page_setup | Page setup | PASS | source = DOCX = PDF projection |
headers_footers | Headers and footers | PASS | source = DOCX = PDF projection |
page_numbering | Page-number fields | PASS | source = DOCX = PDF projection |
image_alt_text | Non-empty image alternative text | SKIP | source contains no images |
document_language | Document language metadata | SKIP | source does not declare metadata.language |
docx_package | DOCX package integrity | PASS | required OOXML parts and relationships are present |
pdf_file | PDF file integrity | PASS | PDF header, trailer, pages, and renderer evidence are present |
visual_diff | Rendered-page visual threshold | SKIP | no baseline supplied; deterministic page snapshots were still generated |
Generated artifacts
- generated/invoice.docx4204 bytes
90adb11a2ea15d6723d055a96036ba9a3a0e25a1d7a125781d8ba8adf0458a3b - rendered/invoice.pdf1532407 bytes
5dbc4771948fe8a832e1e432b9ddd0c543f8175282a95695299122e23edae0ef
Visual layout comparison
Page snapshots are deterministic geometry rasters generated from the same layout operations as the PDF. They detect movement, wrapping, page-count, table, image, and spacing regressions; they are not screenshots from Microsoft Word or a PDF viewer.

Page 1 — snapshot generated; no visual baseline supplied