pub trait TableCellExt {
// Required methods
fn text_body(&self) -> Option<&TextBody>;
fn text(&self) -> String;
fn row_span(&self) -> u32;
fn col_span(&self) -> u32;
fn has_row_span(&self) -> bool;
fn has_col_span(&self) -> bool;
fn is_h_merge(&self) -> bool;
fn is_v_merge(&self) -> bool;
}Expand description
Extension trait for CTTableCell providing convenience methods.
Required Methods§
Sourcefn has_row_span(&self) -> bool
fn has_row_span(&self) -> bool
Check if this cell spans multiple rows.
Sourcefn has_col_span(&self) -> bool
fn has_col_span(&self) -> bool
Check if this cell spans multiple columns.
Sourcefn is_h_merge(&self) -> bool
fn is_h_merge(&self) -> bool
Check if this cell is merged horizontally (continuation of previous cell).
Sourcefn is_v_merge(&self) -> bool
fn is_v_merge(&self) -> bool
Check if this cell is merged vertically (continuation of cell above).
Implementors§
impl TableCellExt for CTTableCell
Available on crate feature
dml-tables only.