mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge pull request #320 from sukoi26/SheetFormatPr
SheetformatPr issue #287
This commit is contained in:
commit
94faf01b72
|
@ -40,9 +40,9 @@ public:
|
|||
optional<double> base_col_width;
|
||||
|
||||
/// <summary>
|
||||
/// The default row height
|
||||
/// The default row height is required
|
||||
/// </summary>
|
||||
optional<double> default_row_height;
|
||||
double default_row_height = 15.0;
|
||||
|
||||
/// <summary>
|
||||
/// The default column width
|
||||
|
|
|
@ -2353,11 +2353,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());
|
||||
}
|
||||
format_properties.default_row_height);
|
||||
|
||||
if (format_properties.dy_descent.is_set())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user