use std::collections::HashMap;
use rdocx_oxml::core_properties::CoreProperties;
use rdocx_oxml::document::CT_Document;
use rdocx_oxml::footnotes::CT_Footnotes;
use rdocx_oxml::header_footer::CT_HdrFtr;
use rdocx_oxml::numbering::CT_Numbering;
use rdocx_oxml::styles::CT_Styles;
use rdocx_oxml::theme::Theme;
#[derive(Debug, Clone)]
pub struct ImageData {
pub data: Vec<u8>,
pub content_type: String,
}
#[derive(Debug, Clone)]
pub struct FontFile {
pub family: String,
pub data: Vec<u8>,
}
#[derive(Debug, Clone)]
pub struct LayoutInput {
pub document: CT_Document,
pub styles: CT_Styles,
pub numbering: Option<CT_Numbering>,
pub headers: HashMap<String, CT_HdrFtr>,
pub footers: HashMap<String, CT_HdrFtr>,
pub images: HashMap<String, ImageData>,
pub core_properties: Option<CoreProperties>,
pub hyperlink_urls: HashMap<String, String>,
pub footnotes: Option<CT_Footnotes>,
pub endnotes: Option<CT_Footnotes>,
pub theme: Option<Theme>,
pub fonts: Vec<FontFile>,
}