Skip to main content

table_row_heights

Function table_row_heights 

Source
pub fn table_row_heights(
    rctx: &Ctx<'_>,
    t: &Table,
    fields: &dyn Fields,
) -> Vec<f64>
Expand description

Heights the rows are drawn at. A stored row height (a:tr/@h) is a minimum: the row grows so the text of each of its cells fits, as in PowerPoint. Files from pandoc or python-pptx store 0. Cells spanning several rows and vertical text keep the stored height.