class DocxGenerator::Word::VerticalAlign
Represent the ‘w:vertAlign` element from Office Open XML specification. This class should not be used directly by the users of the library.
Public Class Methods
new(value)
click to toggle source
Create a new ‘w:vertAlign` element. @param value [String] The type of alignment. It should be `baseline`, `subscript` or `superscript`.
Calls superclass method
DocxGenerator::Element::new
# File lib/docx_generator/word/formatting.rb, line 128 def initialize(value) super("w:vertAlign", { "w:val" => value }) end