mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug #76691
This commit is contained in:
@ -79,8 +79,8 @@ void RtfDocumentProperty::SetDefault()
|
||||
m_nThemelangfe = PROP_DEF;
|
||||
m_nThemelangcs = PROP_DEF;
|
||||
|
||||
m_nPaperWidth = 12240;
|
||||
m_nPaperHeight = 15840;
|
||||
m_nPaperWidth = 11900;
|
||||
m_nPaperHeight = 16840;
|
||||
m_nMarginLeft = 1701;
|
||||
m_nMarginRight = 850;
|
||||
m_nMarginTop = 1134;
|
||||
|
||||
@ -268,7 +268,11 @@ bool OOXDocumentWriter::SaveBySection()
|
||||
_section section;
|
||||
if (m_oDocument.GetItem(section, 0))
|
||||
{
|
||||
sXmlSectProp = section.props->RenderToOOX(oNewParam);
|
||||
if (m_oDocument.GetCount() == 2)
|
||||
{
|
||||
section.props->m_bFinalize = false;
|
||||
}
|
||||
sXmlSectProp = section.props->RenderToOOX(oNewParam);
|
||||
}
|
||||
}
|
||||
RtfParagraph *para = dynamic_cast<RtfParagraph *>(m_oDocument[0].props->operator[](i).get());
|
||||
|
||||
Reference in New Issue
Block a user