pub enum TableBorderModel {
Collapsing,
Separating,
}Expand description
20.415 table:border-model
The table:border-model attribute specifies what border model to use when creating a table with a border.
The defined values for the table:border-model attribute are:
- collapsing: when two adjacent cells have different borders, the wider border appears as the border between the cells. Each cell receives half of the width of the border.
- separating: borders appear within the cell that specifies the border.
In OpenDocument, a row height or column width includes any space required to display borders or padding. This means that, while the width and height of the content area is less than the column width and row height, the sum of the widths of all columns is equal to the total width of the table.
Variants§
Trait Implementations§
Source§impl Clone for TableBorderModel
impl Clone for TableBorderModel
Source§fn clone(&self) -> TableBorderModel
fn clone(&self) -> TableBorderModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableBorderModel
impl Debug for TableBorderModel
Source§impl Display for TableBorderModel
impl Display for TableBorderModel
Source§impl PartialEq for TableBorderModel
impl PartialEq for TableBorderModel
impl Eq for TableBorderModel
impl StructuralPartialEq for TableBorderModel
Auto Trait Implementations§
impl Freeze for TableBorderModel
impl RefUnwindSafe for TableBorderModel
impl Send for TableBorderModel
impl Sync for TableBorderModel
impl Unpin for TableBorderModel
impl UnwindSafe for TableBorderModel
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
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
Compare self to
key and return true if they are equal.