UPDATE: Text spills now to adjacent cells if needed
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
107fc99409
commit
9852ce2504
@@ -705,4 +705,28 @@ impl Model {
|
||||
.delete_defined_name(name, scope)
|
||||
.map_err(|e| to_js_error(e.to_string()))
|
||||
}
|
||||
|
||||
#[wasm_bindgen(js_name = "getLastNonEmptyInRowBeforeColumn")]
|
||||
pub fn get_last_non_empty_in_row_before_column(
|
||||
&self,
|
||||
sheet: u32,
|
||||
row: i32,
|
||||
column: i32,
|
||||
) -> Result<Option<i32>, JsError> {
|
||||
self.model
|
||||
.get_last_non_empty_in_row_before_column(sheet, row, column)
|
||||
.map_err(to_js_error)
|
||||
}
|
||||
|
||||
#[wasm_bindgen(js_name = "getFirstNonEmptyInRowAfterColumn")]
|
||||
pub fn get_first_non_empty_in_row_after_column(
|
||||
&self,
|
||||
sheet: u32,
|
||||
row: i32,
|
||||
column: i32,
|
||||
) -> Result<Option<i32>, JsError> {
|
||||
self.model
|
||||
.get_first_non_empty_in_row_after_column(sheet, row, column)
|
||||
.map_err(to_js_error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user