88f5a00e389b
model.rs
//! Data returned by the DesignCraft-to-Presentation model adapter.
#[derive(Clone, Debug, Default)]
pub struct Slide {
/// Page size in points.
pub size: (f64, f64),
pub name: String,
/// Model shapes in stacking order.
pub shapes: Vec<craft_pptx::Shape>,
/// Media names keyed by picture shape id.
pub media: Vec<(u32, String, Option<String>)>,
}
#[derive(Clone, Debug)]
pub struct Media {
pub name: String,
pub bytes: Vec<u8>,
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.