Class: Parchment::DOCX::Paragraph

Inherits:
Paragraph
  • Object
show all
Defined in:
lib/parchment/formats/docx/paragraph.rb

Instance Attribute Summary

Attributes inherited from Paragraph

#default_font_size, #style, #text_runs

Instance Method Summary collapse

Methods inherited from Paragraph

#font_size, #to_html, #to_s

Methods included from Helpers

#html_tag

Constructor Details

#initialize(node, document) ⇒ Paragraph

Returns a new instance of Paragraph.



9
10
11
12
13
14
15
# File 'lib/parchment/formats/docx/paragraph.rb', line 9

def initialize(node, document)
  @node = node
  @style_id = nil
  @document = document
  set_style
  super()
end