Class: Docxtor2::Package::Document::Heading
- Inherits:
-
Paragraph
- Object
- ElementList
- Element
- Paragraph
- Docxtor2::Package::Document::Heading
- Defined in:
- lib/docxtor2/package/document/heading.rb
Constant Summary collapse
- H1 =
1
- H2 =
2
Instance Method Summary collapse
-
#initialize(nesting = H1, *args, &block) ⇒ Heading
constructor
A new instance of Heading.
Methods inherited from Paragraph
#line_break, #preserve_whitespace, #render, #write