Module GoogleApps.Range

spreadsheet ranges

type t
val get_a1_notation : t -> string
val get_background : t -> string
val get_row : t -> int
val get_last_row : t -> int
val get_column : t -> int
val get_last_column : t -> int
val get_num_columns : t -> int
val get_num_rows : t -> int
val get_values : t -> Ojs.t array array
val get_formulas : t -> string array array
val get_display_values : t -> string array array
val set_background : t -> background:string -> t
val set_value : t -> new_val:Ojs.t -> t
val set_values : t -> new_vals:Ojs.t array array -> t
val offset : t -> row_offset:int -> column_offset:int -> num_rows:int -> num_columns:int -> t
val get_cell : t -> row:int -> column:int -> t

Returns a given cell within a range.

val set_border : t -> top:bool -> left:bool -> bottom:bool -> right:bool -> vertical:bool -> horizontal:bool -> t
val set_horizontal_alignment : t -> align:string -> t

'left', 'center' or 'right'

val set_vertical_alignment : t -> align:string -> t

'top', 'middle' or 'bottom'e

val set_number_format : t -> format:string -> t
val clear_format : t -> t
val clear_content : t -> t