Class: DocxGenerator::Word::ParagraphProperties

Inherits:
Element
  • Object
show all
Defined in:
lib/docx_generator/word/base.rb

Overview

Represent the ‘w:pPr` element from Office Open XML specification. This class should not be used directly by the users of the library.

Instance Method Summary collapse

Methods inherited from Element

#add, #generate

Constructor Details

#initialize(content = []) ⇒ ParagraphProperties

Create a new ‘w:pPr` XML element.



39
40
41
# File 'lib/docx_generator/word/base.rb', line 39

def initialize(content = [])
  super("w:pPr", {}, content)
end