Class: DocxGenerator::Word::RunProperties

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

Overview

Represent the w:rPr 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 = []) ⇒ RunProperties

Create a new w:rPr XML element.



56
57
58
# File 'lib/docx_generator/word/base.rb', line 56

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