# frozen_string_literal: true module Axlsx require 'axlsx/content_type/abstract_content_type' require 'axlsx/content_type/default' require 'axlsx/content_type/override' # ContentTypes used in the package. This is automatically managed by the package package. class ContentType < SimpleTypedList def initialize super [Override, Default] end # Serializes the object # @param [String] str # @return [String] def to_xml_string(str = +'') str << '' str << '' each { |type| type.to_xml_string(str) } str << '' end end end