Sha256: 44aacc3265740e75f6f513b58d398e906feb396760048da143be12ee477eb355
Contents?: true
Size: 780 Bytes
Versions: 5
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require 'libis/format/tool/spreadsheet_to_ods' require 'libis/format/type_database' module Libis module Format module Converter class SpreadsheetConverter < Libis::Format::Converter::Base def self.input_types %i[ MSXLS MSXLSX OO_CALC ] end def self.output_types(format = nil) return [] unless input_types.include?(format) [:OO_CALC] end def spreadsheet_convert(_) # force usage of this converter end def convert(source, target, format, opts = {}) super Format::Tool::SpreadsheetToOds.run(source, target) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems