Sha256: d74be3527a15953a4ee12af6d0b3c449d55d02ab9645bf4c23218308cc02184d

Contents?: true

Size: 397 Bytes

Versions: 24

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require_relative 'pptx_data/presentation'

module OoxmlParser
  # Basic class for parsing pptx
  class PptxParser
    # Parse pptx file
    # @param path_to_file [String] file path
    # @return [Presentation] result of parse
    def self.parse_pptx(path_to_file)
      Parser.parse_format(path_to_file) do
        Presentation.new.parse
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ooxml_parser-0.23.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.22.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.21.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.20.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.19.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.18.1 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.18.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.17.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.16.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.15.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.14.2 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.14.1-mingw32 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.14.1 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.14.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.13.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.12.2 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.12.1 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.12.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.11.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.10.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb