pub struct TableCell {Show 20 fields
pub structure_id: Option<StructureId>,
pub blocks: Vec<CellBlock>,
pub width: f64,
pub height: f64,
pub grid_span: u32,
pub is_vmerge_continue: bool,
pub starts_vmerge: bool,
pub merged_height: f64,
pub merge_with_below: bool,
pub clip_content: bool,
pub col_index: usize,
pub borders: Option<CT_TblBorders>,
pub shading: Option<Color>,
pub margin_left: f64,
pub margin_right: f64,
pub margin_top: f64,
pub margin_bottom: f64,
pub is_first_row: bool,
pub is_last_row: bool,
pub v_align: Option<ST_VerticalJc>,
}Expand description
A laid-out table cell.
Fields§
§structure_id: Option<StructureId>Logical cell node allocated before pagination.
blocks: Vec<CellBlock>Source-ordered paragraph and nested-table blocks.
width: f64Cell width in points (may span multiple grid columns).
height: f64Cell height in points (set to row height).
grid_span: u32Number of grid columns this cell spans.
is_vmerge_continue: boolWhether this cell is part of a vertical merge continuation (render no content).
starts_vmerge: boolWhether this cell begins a vertical merge.
merged_height: f64Height of the complete vertical-merge span.
merge_with_below: boolWhether the same grid span continues in the next row.
clip_content: boolWhether overflowing cell content must be clipped to its painted span.
col_index: usizeColumn index in the grid.
borders: Option<CT_TblBorders>Cell-level borders.
shading: Option<Color>Cell background shading color.
margin_left: f64Cell margin left in points.
margin_right: f64Cell margin right in points.
margin_top: f64Cell margin top in points.
margin_bottom: f64Cell margin bottom in points.
is_first_row: boolWhether this cell is in the first row.
is_last_row: boolWhether this cell is in the last row.
v_align: Option<ST_VerticalJc>Vertical alignment of content within the cell.