w:dStrike (Double Strikethrough)
Applies two horizontal strikethrough lines through the text of the run.
Parent elements
Description
w:dStrike draws two parallel horizontal lines through the centre of the run’s text glyphs. It is an on/off toggle property defined in ECMA-376 Part 1 §17.3.2.9.
Double strikethrough is a typographic convention used in some legal and financial documents. The single-line variant is w:strike. Both properties can coexist on the same run.
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
w:val |
ST_OnOff |
true, 1, on (enabled) / false, 0, off (disabled). Omitting the attribute is equivalent to true. |
Toggles double strikethrough on or off. |
Examples
<w:r>
<w:rPr>
<w:dStrike/>
</w:rPr>
<w:t>Legal revision</w:t>
</w:r>
new Run(
new RunProperties(new DoubleStrike()),
new Text("Legal revision"));
<!-- Combining with single strikethrough -->
<w:r>
<w:rPr>
<w:strike/>
<w:dStrike/>
</w:rPr>
<w:t>Emphatic deletion</w:t>
</w:r>
new Run(
new RunProperties(new Strike(), new DoubleStrike()),
new Text("Emphatic deletion"));
Notes
- Two horizontal lines through text center.
- Used in legal and financial documents for revisions.
- Can coexist with
w:strikefor additional visual emphasis. - Text content remains unchanged (visual only).
- All Office versions render consistently.