w:tab (Tab Character)
Inserts a tab character at the current position within a run, advancing to the next tab stop.
Parent elements
Description
w:tab inserts a tab character at the current position in the run. It is defined in ECMA-376 Part 1 §17.3.3.32.
The tab stop it aligns to is determined by the w:tabs paragraph property of the containing paragraph, or by the document’s default tab stop (w:defaultTabStop in w:settings). w:tab is an empty element with no attributes.
Attributes
| Attribute | Type | Possible Values | Description |
|---|---|---|---|
| (none) | — | — | w:tab is an empty element; the tab stop is resolved from the paragraph’s w:tabs list or the document default. |
Examples
<w:r>
<w:tab/>
</w:r>
<w:r>
<w:t>Content after tab</w:t>
</w:r>
new Run(new TabChar()),
new Run(new Text("Content after tab"));