mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug #68073
This commit is contained in:
@ -1509,7 +1509,13 @@ public:
|
|||||||
|
|
||||||
void PageBreakBefore()
|
void PageBreakBefore()
|
||||||
{
|
{
|
||||||
m_oDocXml.WriteString(L"<w:p><w:pPr><w:pageBreakBefore/></w:pPr></w:p>");
|
if (!m_bInP)
|
||||||
|
m_oDocXml.WriteString(L"<w:p>");
|
||||||
|
|
||||||
|
m_oDocXml.WriteString(L"<w:pPr><w:pageBreakBefore/></w:pPr>");
|
||||||
|
|
||||||
|
if (!m_bInP)
|
||||||
|
m_oDocXml.WriteString(L"</w:p>");
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -1994,7 +2000,7 @@ private:
|
|||||||
oXml->WriteString(oTS.sRStyle);
|
oXml->WriteString(oTS.sRStyle);
|
||||||
oXml->WriteString(L"</w:rPr>");
|
oXml->WriteString(L"</w:rPr>");
|
||||||
}
|
}
|
||||||
oXml->WriteString(L"</w:rPr><w:t xml:space=\"preserve\">"</w:t></w:r>");
|
oXml->WriteString(L"<w:t xml:space=\"preserve\">"</w:t></w:r>");
|
||||||
}
|
}
|
||||||
// Текст верхнего регистра
|
// Текст верхнего регистра
|
||||||
else if(sName == L"rt" || sName == L"sup")
|
else if(sName == L"rt" || sName == L"sup")
|
||||||
|
|||||||
Reference in New Issue
Block a user