Class: DocxGenerator::Word::VerticalAlign
- Defined in:
- lib/docx_generator/word/formatting.rb
Overview
Represent the ‘w:vertAlign` 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) ⇒ VerticalAlign
constructor
Create a new ‘w:vertAlign` element.
Methods inherited from Element
Constructor Details
#initialize(value) ⇒ VerticalAlign
Create a new ‘w:vertAlign` element.
128 129 130 |
# File 'lib/docx_generator/word/formatting.rb', line 128 def initialize(value) super("w:vertAlign", { "w:val" => value }) end |