[][src]Struct ooxml::document::SpreadsheetParts

pub struct SpreadsheetParts {
    pub package: Rc<RefCell<OpenXmlPackage>>,
    pub relationships: Relationships,
    pub workbook: WorkbookPart,
    pub styles: StylesPart,
    pub shared_strings: SharedStringsPart,
    pub worksheets: LinkedHashMap<String, WorksheetPart>,
    // some fields omitted
}

Fields

package: Rc<RefCell<OpenXmlPackage>>relationships: Relationshipsworkbook: WorkbookPartstyles: StylesPartshared_strings: SharedStringsPartworksheets: LinkedHashMap<String, WorksheetPart>

Dict for worksheets, key is uri, value is worksheet part.

Implementations

impl SpreadsheetParts[src]

pub fn from_package(package: Rc<RefCell<OpenXmlPackage>>) -> Self[src]

pub fn get_shared_string(&self, idx: usize) -> Option<&str>[src]

pub fn get_cell_style<'a>(&'a self, id: usize) -> Option<CellStyleComponent<'a>>[src]

pub fn get_cell_format<'a>(
    &'a self,
    id: usize
) -> Option<CellFormatComponent<'a>>
[src]

pub fn get_worksheet_part<T: AsRef<str>>(
    &self,
    uri: T
) -> Option<&WorksheetPart>
[src]

pub fn sheet_names(&self) -> Vec<&str>[src]

Trait Implementations

impl Clone for SpreadsheetParts[src]

impl Debug for SpreadsheetParts[src]

impl Default for SpreadsheetParts[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.