Sha256: aeec3c976dc88e8b1cee55600569a892d08f1df326ef1bf2d74703f0db8923ae

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

module OoxmlParser
  # This element specifies the type of numbering defined by a given abstract numbering type
  class MultilevelType < OOXMLDocumentObject
    # @return [String] value of Multilevel Type
    attr_accessor :value

    # Parse MultilevelType
    # @param [Nokogiri::XML:Node] node with MultilevelType
    # @return [MultilevelType] result of parsing
    def parse(node)
      node.attributes.each do |key, value|
        case key
        when 'val'
          @value = value_to_symbol(value)
        end
      end
      self
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ooxml_parser-0.4.1 lib/ooxml_parser/docx_parser/docx_data/document_structure/numbering/abstract_numbering/multilevel_type.rb
ooxml_parser-0.4.0 lib/ooxml_parser/docx_parser/docx_data/document_structure/numbering/abstract_numbering/multilevel_type.rb
ooxml_parser-0.3.0 lib/ooxml_parser/docx_parser/docx_data/document_structure/numbering/abstract_numbering/multilevel_type.rb
ooxml_parser-0.2.0 lib/ooxml_parser/docx_parser/docx_data/document_structure/numbering/abstract_numbering/multilevel_type.rb