From 8ac6920ec4a487b27d854e50e699a4e8f22e0680 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 13 Nov 2026 05:32:38 -0500 Subject: [PATCH] Write typed IDML table cells --- crates/idml/src/model/story.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/idml/src/model/story.rs b/crates/idml/src/model/story.rs index 7d9b4d48a..74da8c7c3 100644 --- a/crates/idml/src/model/story.rs +++ b/crates/idml/src/model/story.rs @@ -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(':')?;