update table_cell_width, table_indent (#796)

main
morugetsm 2025-01-17 22:57:54 +09:00 committed by GitHub
parent 1e6227e4f7
commit 5095e3d6d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ impl BuildXML for TableCellWidth {
stream: xml::writer::EventWriter<W>,
) -> xml::writer::Result<xml::writer::EventWriter<W>> {
XMLBuilder::from(stream)
.table_cell_width(self.width as i32, WidthType::Dxa)?
.table_cell_width(self.width as i32, self.width_type)?
.into_inner()
}
}

View File

@ -24,7 +24,7 @@ impl BuildXML for TableIndent {
stream: xml::writer::EventWriter<W>,
) -> xml::writer::Result<xml::writer::EventWriter<W>> {
XMLBuilder::from(stream)
.table_indent(self.width, WidthType::Dxa)?
.table_indent(self.width, self.width_type)?
.into_inner()
}
}