mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
change SheetFormatPr
change "defaultRowHeight" not optional
This commit is contained in:
parent
7be7172ff5
commit
8f4248d9c3
|
@ -2351,11 +2351,9 @@ void xlsx_producer::write_worksheet(const relationship &rel)
|
|||
write_attribute("defaultColWidth",
|
||||
format_properties.default_column_width.get());
|
||||
}
|
||||
if (format_properties.default_row_height.is_set())
|
||||
{
|
||||
write_attribute("defaultRowHeight",
|
||||
format_properties.default_row_height.get());
|
||||
}
|
||||
|
||||
write_attribute("defaultRowHeight",
|
||||
format_properties.default_row_height);
|
||||
|
||||
if (format_properties.dy_descent.is_set())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user