mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge branch 'master' into feature/arrow
This commit is contained in:
commit
498f3a6f71
|
@ -1508,14 +1508,14 @@ void workbook::garbage_collect_formulae()
|
||||||
|
|
||||||
void workbook::update_sheet_properties()
|
void workbook::update_sheet_properties()
|
||||||
{
|
{
|
||||||
if (has_extended_property(extended_property::titles_of_parts))
|
if (has_extended_property(xlnt::extended_property::titles_of_parts))
|
||||||
{
|
{
|
||||||
extended_property(extended_property::titles_of_parts, sheet_titles());
|
extended_property(xlnt::extended_property::titles_of_parts, sheet_titles());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (has_extended_property(extended_property::heading_pairs))
|
if (has_extended_property(xlnt::extended_property::heading_pairs))
|
||||||
{
|
{
|
||||||
extended_property(extended_property::heading_pairs,
|
extended_property(xlnt::extended_property::heading_pairs,
|
||||||
std::vector<variant>{variant("Worksheets"), variant(static_cast<int>(sheet_count()))});
|
std::vector<variant>{variant("Worksheets"), variant(static_cast<int>(sheet_count()))});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user