Class: DocxGenerator::Word::Alignment
- Defined in:
- lib/docx_generator/word/formatting.rb
Overview
Represent the ‘w:jc` element from Office Open XML specification. This class should not be used directly by the users of the library.
Instance Method Summary collapse
-
#initialize(value) ⇒ Alignment
constructor
Create a new ‘w:jc` element.
Methods inherited from Element
Constructor Details
#initialize(value) ⇒ Alignment
Create a new ‘w:jc` element.
55 56 57 |
# File 'lib/docx_generator/word/formatting.rb', line 55 def initialize(value) super("w:jc", { "w:val" => value }) end |