class DocxCrConverter::Parser

Defined in:

docx_cr_converter/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(docx_path : String) #

@param docx_path [String] path to docx file @return [DocxCrConverter::Parser] @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse


[View source]

Instance Method Detail

def document : String #

[View source]
def docx_path : String #

[View source]
def errors : Array(String) #

[View source]
def errors? #

@return [Bool] true if errors are present @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse


[View source]
def parse #

@return [String] parsed document @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse


[View source]

[View source]