1use crate::DocumentTableCell; 2 3/// 语义表格中的一行。 4/// 5/// 对应 OOXML `<w:tr>` 元素。 6/// 无直接 Java 对应,是 easydoc-rust 自创的语义模型。 7#[derive(Clone, Debug, Default, PartialEq)] 8pub struct DocumentTableRow { 9 /// 行内单元格。 10 pub cells: Vec<DocumentTableCell>, 11 /// 是否为表头行。 12 pub is_header: bool, 13}