formatting commit
addressing testcase failures
adding one more scenario to case
adding one more scenario to case
Adding update and unmerge functions for merge cell handling
adding one more case to testcase
adding testcases to base code
adding testcase for import/export
adding documentation to some of the PUB function
fixing warnings and test warnings
adding merge cell part cell update restriction to public sytle set fns
addressing reviwers comment : Changed Mergedcell structure and its side effercts
reverting it back to non pub.
renaming update_merge_cells to just merge_cells in model
renaming *unmerge_merged_cell* to *unmerge_cells*
addressing other reviewer's comment + cosmetica naming adjustments
cosmetic changes
* Font family is Inter, font size 13, line-width 22
* Correct vertical align for multiline text
* Entering multiline text sets the height of the row (!)
* UPDATE: Adds cell and formula editing
* FIX: Do not loose focus when clicking on the formula we are editing
* FIX: Minimal implementation of browse mode
* FIX: Initial browse mode within sheets
* UPDATE: Webapp
Minimal Web Application
What are we trying to achieve ?
++ Currently all the major public set functions is panic prone and does not handle and return error. This PR tries to address to all those functions.
What major errors that could happen in these functions ?
++ All the functions which are being made as error safe is being tested against invalid sheet, row and column values, which could given by user
What are the list of functions whose return type has been altered ?
**base/src/model.rs**
1. update_cell_with_text
2. update_cell_with_bool
3. update_cell_with_number
4. set_user_input
5. get_cell_style_index
6. get_style_for_cell
7. set_cell_with_string
++> New functions being added
1. set_cell_with_boolean
2. set_cell_with_number
**base/src/styles.rs**
1. get_style_with_quote_prefix
3. get_style_with_format
4. get_style_without_quote_prefix
5. get_style
**base/src/worksheet.rs**
1. update_cell
2. set_cell_style
3. set_cell_with_formula
4. set_cell_with_number
6. set_cell_with_string
8. set_cell_with_boolean
9. set_cell_with_error
10. cell_clear_contents
11. cell_clear_contents_with_style
++> Above is the comprehensive list of all functions being ( most are public, some are private ) altered for better error handling. As a side effect of changing function signature, there are many changes being done to other functions ( mostly adding "?" to enable to error propagation further )