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>Double struck text</w:t>
</w:r>
new Run(
new RunProperties(new DoubleStrike()),
new Text("Double struck text"));