Skip to main content
Insert and control tab stops in documents. Advanced tab support including leaders, decimal alignment, and custom positions.

OOXML Structure

<w:p>
  <w:pPr>
    <w:tabs>
      <w:tab w:val="left" w:pos="2880"/>
      <w:tab w:val="right" w:pos="5760"/>
    </w:tabs>
  </w:pPr>
  <w:r>
    <w:t>Text</w:t>
  </w:r>
  <w:r>
    <w:tab/>
  </w:r>
  <w:r>
    <w:t>After tab</w:t>
  </w:r>
</w:p>

Use Case

  • Lists without bullets - Align text in columns
  • Forms - Create fill-in areas with dot leaders
  • Tables of contents - Page numbers with dot leaders
  • Financial documents - Decimal-aligned numbers
  • Headers/footers - Left, center, right alignment

Options

Configure the extension behavior:
htmlAttributes
Object
HTML attributes for tab elements

Attributes

Node attributes that can be set and retrieved:
tabSize
number
Width of the tab in pixels

Source Code

⌘I