oxipdf-ir 0.1.0

Intermediate representation types for the oxipdf PDF engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Table cell style properties.

/// Table cell style properties applied to cell content nodes.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
pub struct TableCellStyle {
    /// Vertical alignment of content within the cell.
    pub vertical_align: CellVerticalAlign,
}

/// Vertical alignment within a table cell.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
pub enum CellVerticalAlign {
    #[default]
    Top,
    Middle,
    Bottom,
}