pub struct TableStyleDef {
pub id: String,
pub name: String,
pub parts: Vec<(TablePart, TablePartStyle)>,
pub background: Option<TablePartStyle>,
pub raw: String,
}Expand description
A table style defined in the file (ppt/tableStyles.xml), as PowerPoint writes the built-in
styles a deck uses: how each part of a table (whole table, banded rows and columns, first and
last rows and columns, corner cells) is filled, bordered and lettered.
Fields§
§id: StringThe style’s GUID (a:tableStyleId on tables).
name: String§parts: Vec<(TablePart, TablePartStyle)>§background: Option<TablePartStyle>a:tblBg: a fill behind the whole table (only fill and fill_ref are used).
raw: StringThe definition as read, written back unchanged.
Implementations§
Source§impl TableStyleDef
impl TableStyleDef
pub fn part(&self, p: TablePart) -> Option<&TablePartStyle>
Trait Implementations§
Source§impl Clone for TableStyleDef
impl Clone for TableStyleDef
Source§impl Debug for TableStyleDef
impl Debug for TableStyleDef
Source§impl Default for TableStyleDef
impl Default for TableStyleDef
Source§impl<'de> Deserialize<'de> for TableStyleDefwhere
TableStyleDef: Default,
impl<'de> Deserialize<'de> for TableStyleDefwhere
TableStyleDef: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableStyleDef
impl PartialEq for TableStyleDef
Source§impl Serialize for TableStyleDef
impl Serialize for TableStyleDef
impl StructuralPartialEq for TableStyleDef
Auto Trait Implementations§
impl Freeze for TableStyleDef
impl RefUnwindSafe for TableStyleDef
impl Send for TableStyleDef
impl Sync for TableStyleDef
impl Unpin for TableStyleDef
impl UnsafeUnpin for TableStyleDef
impl UnwindSafe for TableStyleDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more