class OoxmlParser::DocxParser

Basic class for DocxParser

Public Class Methods

parse_docx(path_to_file) click to toggle source

Parse docx file @param path_to_file [String] file path @return [DocumentStructure] result of parse

# File lib/ooxml_parser/docx_parser/docx_parser.rb, line 13
def self.parse_docx(path_to_file)
  Parser.parse_format(path_to_file) do
    DocumentStructure.parse
  end
end