mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-21 20:40:12 +00:00
fix(xlsb): format CellRef with Display instead of nonexistent to_a1
This commit is contained in:
@@ -278,7 +278,7 @@ fn external_link_part_xml(link: &craft_xlsx::ExternalLink) -> (String, Vec<Prese
|
||||
for (r, cells) in rows {
|
||||
let _ = write!(xml, "<row r=\"{}\">", r + 1);
|
||||
for (pos, val) in cells {
|
||||
let r_attr = CellRef::new(pos.row, pos.col).to_a1();
|
||||
let r_attr = CellRef::new(pos.row, pos.col);
|
||||
match val {
|
||||
craft_xlsx::Value::Empty => {
|
||||
let _ = write!(xml, "<cell r=\"{r_attr}\"/>");
|
||||
|
||||
Reference in New Issue
Block a user