aboutsummaryrefslogtreecommitdiff
path: root/lib/analysers/headers.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/analysers/headers.mli')
-rw-r--r--lib/analysers/headers.mli11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/analysers/headers.mli b/lib/analysers/headers.mli
new file mode 100644
index 0000000..03e384b
--- /dev/null
+++ b/lib/analysers/headers.mli
@@ -0,0 +1,11 @@
+module SheeetMap : Map.S with type key = ImportDataTypes.Table.t
+
+type t = string array SheeetMap.t
+
+val columns : ImportConf.Syntax.t -> t -> string list
+(** Get the headers. The function has to be called after reading each document,
+ and will reformat the first line with the values from the cell. The
+ functions will not be evaluated (instead they will be displayed "as is".
+
+ When there is no value for this path, return empty string.
+ *)