DOCX Text Formatting
In the DOCX format, paragraphs (<w:p>) are broken down into discrete runs (<w:r>) whenever the text formatting changes. The formatting rules are stored in the run properties (<w:rPr>).
This means a single word like "Bold" might be split into two separate XML runs. This variant tests your parser's ability to continuously stitch these runs back together into a cohesive string while preserving the bold, italic, and underline semantic boundaries during HTML/Markdown conversion.
Formatting
A dense document aggressively alternating between bold, italic, underline, and strikethrough styling to test run-stitching and HTML conversion logic.
Frequently Asked Questions
Use Cases
- Validating DOCX-to-HTML conversion tools properly emit `<strong>` and `<em>` tags.
- Ensuring full-text extraction doesn't accidentally insert spaces between adjacent text runs with different formatting.
- Testing regular expression parsing against heavily fragmented XML runs.