update table_cell_width, table_indent (#796)
parent
1e6227e4f7
commit
5095e3d6d7
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue