pub enum VerticalMerge {
Restart,
Continue,
}Expand description
A table cell’s role in a vertical merge (w:vMerge, CT_VMerge’s val attribute, ST_Merge —
exactly 2 values).
A vertical merge spanning several rows is expressed as ONE cell per row, all in the same column,
not a single cell with a “row span” count the way horizontal_span works for a horizontal merge
— WordprocessingML has no row-span concept at all, only this restart/continue chain: the topmost
cell of the merged group is VerticalMerge::Restart, and every cell directly below it, for as
many rows as the merge covers, is VerticalMerge::Continue. Word derives the merge’s actual
content from the Restart cell alone; a Continue cell’s own paragraphs are conventionally
left empty (not enforced here) since they’re never displayed.
Variants§
Restart
Starts a new vertically merged group of cells in this column.
Continue
Continues the vertically merged group started by the nearest Restart cell above it in the
same column.
Implementations§
Source§impl VerticalMerge
impl VerticalMerge
Sourcepub fn attribute_value(self) -> &'static str
pub fn attribute_value(self) -> &'static str
This merge role’s w:val attribute value (ST_Merge).
Trait Implementations§
Source§impl Clone for VerticalMerge
impl Clone for VerticalMerge
Source§fn clone(&self) -> VerticalMerge
fn clone(&self) -> VerticalMerge
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 VerticalMerge
Source§impl Debug for VerticalMerge
impl Debug for VerticalMerge
impl Eq for VerticalMerge
Source§impl PartialEq for VerticalMerge
impl PartialEq for VerticalMerge
impl StructuralPartialEq for VerticalMerge
Auto Trait Implementations§
impl Freeze for VerticalMerge
impl RefUnwindSafe for VerticalMerge
impl Send for VerticalMerge
impl Sync for VerticalMerge
impl Unpin for VerticalMerge
impl UnsafeUnpin for VerticalMerge
impl UnwindSafe for VerticalMerge
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.