diff --git a/googleApps.mli b/googleApps.mli index c044cee..e7cd9ef 100644 --- a/googleApps.mli +++ b/googleApps.mli @@ -116,7 +116,8 @@ sig (** 'top', 'middle' or 'bottom'e *) val set_vertical_alignment: t -> align:string-> t [@@js.call] val set_number_format : t -> format:string -> t [@@js.call] - val clear_format: t -> t [@@js.call] + val clear_format: t -> t [@@js.call] + val clear_content: t -> t [@@js.call] end module SandboxMode : sig @@ -145,7 +146,10 @@ module Menu : (** Access and modify spreadsheet sheets. *) module Sheet : sig + type spreadsheet + val open_spreadsheet : File.t -> spreadsheet [@@js.global "SpreadsheetApp.open"] type t + val get_sheet_by_name : spreadsheet -> name:string -> t [@@js.call] val get_active_sheet : unit -> t [@@js.global "SpreadsheetApp.getActiveSheet"] val get_last_row : t -> int [@@js.call] val get_last_column : t -> int [@@js.call] diff --git a/ocaml-google-apps.opam b/ocaml-google-apps.opam index 18e00e6..6264e09 100644 --- a/ocaml-google-apps.opam +++ b/ocaml-google-apps.opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "ocaml-google-apps" -version: "0.2" +version: "0.3" synopsis: "OCaml binding to Google Apps" description: """ Binding to Google Apps using gen_js_api (https://github.com/LexiFi/gen_js_api):