Class: OpenXml::Docx::Properties::TextAlignment

Inherits:
ValueProperty show all
Defined in:
lib/openxml/docx/properties/text_alignment.rb

Instance Attribute Summary

Attributes inherited from ValueProperty

#value

Attributes inherited from BaseProperty

#value

Instance Method Summary collapse

Methods inherited from ValueProperty

#initialize, #invalid_message, #render?, #to_xml, #valid?

Methods inherited from BaseProperty

#default_name, #default_namespace, #default_tag, #initialize, name, #name, #namespace, namespace, #render?, #tag, tag, tag_is_one_of

Constructor Details

This class inherits a constructor from OpenXml::Docx::Properties::ValueProperty

Instance Method Details

#ok_valuesObject


6
7
8
# File 'lib/openxml/docx/properties/text_alignment.rb', line 6

def ok_values
  %i(auto baseline bottom center top)
end