Write typed IDML table cells

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 09:05:19 -05:00
1 parent cb05c972fd
commit 8ac6920ec4
1 file changed
+4
+4
View File
@@ -418,6 +418,10 @@ impl Table {
}
impl Cell {
pub fn to_el(&self) -> El {
with_children(self.values.element("Cell"), &self.children)
}
/// `Name`: `column:row` of the cell's top left (`2:0`).
pub fn position(&self) -> Option<(u32, u32)> {
let (c, r) = self.values.name()?.split_once(':')?;