package easy_xlsx

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Value : sig ... end

An easy read for XLSX files.

type sheet = {
  1. name : string;
  2. rows : Value.t list list;
}

One sheet from a workbook. Empty rows will be returned, and empty or missing columns will be returned as "".

include sig ... end
val rows : sheet -> Value.t list list
val name : sheet -> string
module Fields_of_sheet : sig ... end
val sexp_of_sheet : sheet -> Sexplib.Sexp.t
type t = sheet list
include sig ... end
val sexp_of_t : t -> Sexplib.Sexp.t
val read_file : string -> sheet list

read_file file_name synchronously reads the .xlsx document at file_name and returns all of the sheets in the document. Will throw an exception if the file doesn't exist, can't be read for any reason, isn't a valid ZIP file, or isn't a valid XLSX file.