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;
|
optional<double> base_col_width;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The default row height
|
/// The default row height is required
|
||||||
/// </summary>
|
/// </summary>
|
||||||
optional<double> default_row_height;
|
double default_row_height = 15.0;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The default column width
|
/// The default column width
|
||||||
|
|
|
@ -2353,11 +2353,9 @@ void xlsx_producer::write_worksheet(const relationship &rel)
|
||||||
write_attribute("defaultColWidth",
|
write_attribute("defaultColWidth",
|
||||||
format_properties.default_column_width.get());
|
format_properties.default_column_width.get());
|
||||||
}
|
}
|
||||||
if (format_properties.default_row_height.is_set())
|
|
||||||
{
|
|
||||||
write_attribute("defaultRowHeight",
|
write_attribute("defaultRowHeight",
|
||||||
format_properties.default_row_height.get());
|
format_properties.default_row_height);
|
||||||
}
|
|
||||||
|
|
||||||
if (format_properties.dy_descent.is_set())
|
if (format_properties.dy_descent.is_set())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user