pub enum TableStyleElementType {
WholeTable,
HeaderRow,
TotalRow,
FirstRowStripe,
SecondRowStripe,
FirstColumnStripe,
SecondColumnStripe,
FirstColumn,
LastColumn,
}Expand description
Which region of a table a TableStyleElement formats (ST_TableStyleType) — only the most
commonly used values are modeled (whole-table default, header/total rows, and row/column
banding); ST_TableStyleType’s remaining values (firstHeaderCell/
lastHeaderCell/firstTotalCell/lastTotalCell/firstSubtotalColumn/
secondSubtotalColumn/thirdSubtotalColumn/firstSubtotalRow/
secondSubtotalRow/thirdSubtotalRow/blankRow/
firstColumnSubheading/secondColumnSubheading/thirdColumnSubheading/
firstRowSubheading/secondRowSubheading/thirdRowSubheading/
pageFieldLabels/pageFieldValues, confirmed via sml.xsd) cover niche PivotTable-report and
outline-subtotal layouts out of this crate’s current scope.
Variants§
WholeTable
The whole table’s default formatting ("wholeTable").
HeaderRow
The header row ("headerRow").
TotalRow
The totals row ("totalRow").
FirstRowStripe
Odd data rows, 1-based from the header ("firstRowStripe").
SecondRowStripe
Even data rows ("secondRowStripe").
FirstColumnStripe
Odd data columns ("firstColumnStripe").
SecondColumnStripe
Even data columns ("secondColumnStripe").
FirstColumn
The table’s first (leftmost) column ("firstColumn").
LastColumn
The table’s last (rightmost) column ("lastColumn").
Trait Implementations§
Source§impl Clone for TableStyleElementType
impl Clone for TableStyleElementType
Source§fn clone(&self) -> TableStyleElementType
fn clone(&self) -> TableStyleElementType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for TableStyleElementType
Source§impl Debug for TableStyleElementType
impl Debug for TableStyleElementType
impl Eq for TableStyleElementType
Source§impl PartialEq for TableStyleElementType
impl PartialEq for TableStyleElementType
impl StructuralPartialEq for TableStyleElementType
Auto Trait Implementations§
impl Freeze for TableStyleElementType
impl RefUnwindSafe for TableStyleElementType
impl Send for TableStyleElementType
impl Sync for TableStyleElementType
impl Unpin for TableStyleElementType
impl UnsafeUnpin for TableStyleElementType
impl UnwindSafe for TableStyleElementType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.