Class: OpenXml::Docx::Properties::Underline

Inherits:
ComplexProperty show all
Defined in:
lib/openxml/docx/properties/underline.rb

Constant Summary collapse

VALID_UNDERLINE_TYPES =
with_namespace :w do
  attribute :color, expects: :hex_color
  attribute :theme_color, one_of: OpenXml::Docx::THEME_COLORS
  attribute :theme_shade, expects: :hex_digit
  attribute :theme_tint, expects: :hex_digit
  attribute :type, displays_as: :val, one_of: %i(dash dashDotDotHeavy
                                                dashDotHeavy dashedHeavy
                                                dashLong dashLongHeavy
                                                dotDash dotDotDash
                                                dotted dottedHeavy double
                                                none single thick wave
                                                wavyDouble wavyHeavy words)
end

Instance Attribute Summary

Attributes inherited from BaseProperty

#value

Method Summary

Methods inherited from ComplexProperty

#render?, #to_xml

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::BaseProperty