class DocxCrConverter::Parser
- DocxCrConverter::Parser
- Reference
- Object
Defined in:
docx_cr_converter/parser.crConstructors
-
.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
Instance Method Summary
- #document : String
- #docx_path : String
- #errors : Array(String)
-
#errors?
@return [Bool] true if errors are present @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse
-
#parse
@return [String] parsed document @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse
- #xml : DocxCrConverter::ExtractFiles
Constructor Detail
@param docx_path [String] path to docx file @return [DocxCrConverter::Parser] @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse
Instance Method Detail
@return [Bool] true if errors are present @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse
@return [String] parsed document @example parser = DocxCrConverter::Parser.new("path/to/docx/file") parser.parse