[][src]Struct msoffice_pptx::document::PPTXDocument

pub struct PPTXDocument {
    pub file_path: PathBuf,
    pub app: Option<Box<AppInfo>>,
    pub core: Option<Box<Core>>,
    pub presentation: Option<Box<Presentation>>,
    pub theme_map: HashMap<PathBuf, Box<OfficeStyleSheet>>,
    pub slide_master_map: HashMap<PathBuf, Box<SlideMaster>>,
    pub slide_layout_map: HashMap<PathBuf, Box<SlideLayout>>,
    pub slide_map: HashMap<PathBuf, Box<Slide>>,
    pub slide_master_rels_map: HashMap<PathBuf, Vec<Relationship>>,
    pub slide_layout_rels_map: HashMap<PathBuf, Vec<Relationship>>,
    pub slide_rels_map: HashMap<PathBuf, Vec<Relationship>>,
    pub medias: Vec<PathBuf>,
}

Fields

file_path: PathBufapp: Option<Box<AppInfo>>core: Option<Box<Core>>presentation: Option<Box<Presentation>>theme_map: HashMap<PathBuf, Box<OfficeStyleSheet>>slide_master_map: HashMap<PathBuf, Box<SlideMaster>>slide_layout_map: HashMap<PathBuf, Box<SlideLayout>>slide_map: HashMap<PathBuf, Box<Slide>>slide_master_rels_map: HashMap<PathBuf, Vec<Relationship>>slide_layout_rels_map: HashMap<PathBuf, Vec<Relationship>>slide_rels_map: HashMap<PathBuf, Vec<Relationship>>medias: Vec<PathBuf>

Methods

impl PPTXDocument[src]

pub fn from_file(pptx_path: &Path) -> Result<Self, Box<dyn Error>>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]