Expand description
Rich inline content carried inside a single Run.
Most runs hold plain text (modeled as RunContent::Text(String)),
but a handful of HWPX inline elements carry per-occurrence attributes
that cannot survive a String round-trip:
<hp:tab width="..." leader="..." type="..."/>— explicit tab stop position, leader glyph, and alignment, emitted inside<hp:t>mixed content
For runs that need to carry any such attribute payload, projection
emits RunContent::InlineText(InlineText) (a non-exhaustive enum
variant added alongside Text(String) for backward compatibility).
Plain text runs continue to use Text(String) so the 18-file
RunContent::Text surface is undisturbed.
See .docs/research/2026-05-26_tab_fidelity_bugs.md (Bug A / Phase 2)
for the underlying investigation.
Structs§
- Inline
TabAttr - Per-occurrence attributes for an inline
<hp:tab>element. - Inline
Text - A sequence of inline segments that compose a single
<hp:t>element with mixed content.
Enums§
- Inline
Segment - One typed segment inside an
InlineText.