From 0d1f9ff76aa6df3f17edd2d73c76ab444fec8528 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 2 Jan 2017 17:56:04 +0100 Subject: Corrected some issues with odf documents --- sheet.mli | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sheet.mli') diff --git a/sheet.mli b/sheet.mli index 59a1fa7..d3c8151 100755 --- a/sheet.mli +++ b/sheet.mli @@ -17,13 +17,17 @@ module Raw: sig val add: cell -> Expression.t -> t -> Cell.Set.t * t val remove: cell -> t -> Cell.Set.t * t - - val get_value: cell -> t -> ScTypes.result + + (** Get the value content. + @return None if the cell is not defined + *) + val get_value: cell -> t -> ScTypes.result option val get_expr: cell -> t -> Expression.t val get_sink: cell -> t -> Cell.Set.t + (** Fold over all the defined values *) val fold: ('a -> cell -> (Expression.t * ScTypes.result ) -> 'a) -> 'a -> t -> 'a end @@ -38,7 +42,7 @@ type t = { } type search = [ - | `Pattern of ScTypes.result + | `Pattern of ScTypes.result option | `Next | `Previous ] -- cgit v1.2.3