Class: OpenXml::Docx::Properties::Numbering
- Inherits:
-
ComplexProperty
- Object
- BaseProperty
- ComplexProperty
- OpenXml::Docx::Properties::Numbering
- Defined in:
- lib/openxml/docx/properties/numbering.rb
Constant Summary
Constants included from AttributeBuilder
AttributeBuilder::VALID_THEME_COLORS, AttributeBuilder::VALID_TYPES
Instance Attribute Summary
Attributes inherited from BaseProperty
Instance Method Summary collapse
Methods inherited from ComplexProperty
Methods included from AttributeBuilder
#attributes, included, #render?
Methods inherited from BaseProperty
#default_name, #default_tag, name, #name, #render?, tag, #tag
Instance Method Details
#to_xml(xml) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/openxml/docx/properties/numbering.rb', line 10 def to_xml(xml) return unless render? xml["w"].public_send(tag) { xml_attributes.each do |tag_name, value| xml.public_send(tag_name, "w:val" => value) end } end |