fix/bug76397

fix bug when text:section  is interpreted like text:properties
This commit is contained in:
Timofey Derevyankin
2025-09-02 18:05:49 +03:00
parent da705edfb8
commit da278aba0b

View File

@ -1659,7 +1659,7 @@ void style_page_layout_properties::docx_serialize(std::wostream & strm, oox::doc
CP_XML_NODE(L"w:type")
{
if (change_page_layout)
if (change_page_layout && Context.get_page_break()) // check bug 76397
{
CP_XML_ATTR(L"w:val", L"nextPage");
}