diff --git a/crates/idml/src/model/spread.rs b/crates/idml/src/model/spread.rs index c4d535f89..663c19482 100644 --- a/crates/idml/src/model/spread.rs +++ b/crates/idml/src/model/spread.rs @@ -188,6 +188,16 @@ impl Guide { pub fn liquid(&self) -> bool { self.values.get("GuideType") == Some("Liquid") } + + /// `Locked` is true. + pub fn locked(&self) -> bool { + self.values.boolean("Locked") == Some(true) + } + + /// `ItemLayer`: the identifier of the layer the guide belongs to. + pub fn item_layer(&self) -> Option<&str> { + self.values.item_layer() + } } /// What a page item is.