pub struct CT_TableStyle {Show 16 fields
pub style_id: String,
pub style_name: String,
pub background: Option<CT_TableBackgroundStyle>,
pub whole_table: Option<CT_TablePartStyle>,
pub band1_horizontal: Option<CT_TablePartStyle>,
pub band2_horizontal: Option<CT_TablePartStyle>,
pub band1_vertical: Option<CT_TablePartStyle>,
pub band2_vertical: Option<CT_TablePartStyle>,
pub first_column: Option<CT_TablePartStyle>,
pub last_column: Option<CT_TablePartStyle>,
pub first_row: Option<CT_TablePartStyle>,
pub last_row: Option<CT_TablePartStyle>,
pub north_west_cell: Option<CT_TablePartStyle>,
pub north_east_cell: Option<CT_TablePartStyle>,
pub south_west_cell: Option<CT_TablePartStyle>,
pub south_east_cell: Option<CT_TablePartStyle>,
/* private fields */
}Expand description
One named table style and its ordered region overlays.
Fields§
§style_id: String§style_name: String§background: Option<CT_TableBackgroundStyle>§whole_table: Option<CT_TablePartStyle>§band1_horizontal: Option<CT_TablePartStyle>§band2_horizontal: Option<CT_TablePartStyle>§band1_vertical: Option<CT_TablePartStyle>§band2_vertical: Option<CT_TablePartStyle>§first_column: Option<CT_TablePartStyle>§last_column: Option<CT_TablePartStyle>§first_row: Option<CT_TablePartStyle>§last_row: Option<CT_TablePartStyle>§north_west_cell: Option<CT_TablePartStyle>§north_east_cell: Option<CT_TablePartStyle>§south_west_cell: Option<CT_TablePartStyle>§south_east_cell: Option<CT_TablePartStyle>Implementations§
Source§impl CT_TableStyle
impl CT_TableStyle
Sourcepub fn builtin(style_id: &str) -> Option<Self>
pub fn builtin(style_id: &str) -> Option<Self>
Returns PowerPoint’s definition of one of its 74 built-in table styles.
A deck may name a built-in style by GUID in a:tableStyleId without
defining it in ppt/tableStyles.xml, as python-pptx does, and
PowerPoint then applies its own definition. Each definition is built
from its family’s rules and the variant’s colour as a:tblStyle XML,
which the ordinary parser reads. An unknown id returns None.
Trait Implementations§
Source§impl Clone for CT_TableStyle
impl Clone for CT_TableStyle
Source§impl Debug for CT_TableStyle
impl Debug for CT_TableStyle
Source§impl Default for CT_TableStyle
impl Default for CT_TableStyle
impl Eq for CT_TableStyle
Source§impl PartialEq for CT_TableStyle
impl PartialEq for CT_TableStyle
impl StructuralPartialEq for CT_TableStyle
Auto Trait Implementations§
impl Freeze for CT_TableStyle
impl RefUnwindSafe for CT_TableStyle
impl Send for CT_TableStyle
impl Sync for CT_TableStyle
impl Unpin for CT_TableStyle
impl UnsafeUnpin for CT_TableStyle
impl UnwindSafe for CT_TableStyle
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