class OpenXml::Docx::Elements::AbstractNumbering
Public Class Methods
new(id)
click to toggle source
Calls superclass method
# File lib/openxml/docx/elements/abstract_numbering.rb, line 8 def initialize(id) super() self.id = id end
Public Instance Methods
property_xml(xml)
click to toggle source
value_property :tmpl - this is a UI property and likely not worth implementing value_property :name value_property :style_link value_property :num_style_link
# File lib/openxml/docx/elements/abstract_numbering.rb, line 25 def property_xml(xml) props = properties.keys.map(&method(:send)).compact return if props.none?(&:render?) props.each { |prop| prop.to_xml(xml) } end