UPDATE: Adds bindings to update timezone and locale
UPDATE: Update "generate locale" utility FIX: Minor fixes to UI and proper support for locales/timezones UPDATE: Adds "display language" setting to core
This commit is contained in:
@@ -4,7 +4,7 @@ use ironcalc::{
|
||||
};
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let mut model = Model::new_empty("hello-calc.xlsx", "en", "UTC")?;
|
||||
let mut model = Model::new_empty("hello-calc.xlsx", "en", "UTC", "en")?;
|
||||
// Adds a square of numbers in the first sheet
|
||||
for row in 1..100 {
|
||||
for column in 1..100 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use ironcalc::{base::Model, export::save_to_xlsx};
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let mut model = Model::new_empty("hello_styles", "en", "UTC")?;
|
||||
let mut model = Model::new_empty("hello_styles", "en", "UTC", "en")?;
|
||||
|
||||
// We are going to change styles in cell A1
|
||||
let (sheet, row, column) = (0, 1, 1);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use ironcalc::{base::Model, export::save_to_xlsx};
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let mut model = Model::new_empty("widths-and-heights", "en", "UTC")?;
|
||||
let mut model = Model::new_empty("widths-and-heights", "en", "UTC", "en")?;
|
||||
// Cell C5
|
||||
let (sheet, row, column) = (0, 5, 3);
|
||||
// Make the first column 4 times as width
|
||||
|
||||
Reference in New Issue
Block a user