mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
x2t - fix users files; fix bug #45439
This commit is contained in:
@ -730,10 +730,12 @@ public:
|
||||
{
|
||||
pCStringWriter->WriteString(L"<w:sz w:val=\"" + std::to_wstring(FontSize) + L"\"/>");
|
||||
}
|
||||
if(bFontSizeCs)
|
||||
{
|
||||
if(bFontSizeCs)
|
||||
{
|
||||
if(false == bFontSize)
|
||||
pCStringWriter->WriteString(L"<w:sz w:val=\"" + std::to_wstring(FontSizeCs) + L"\"/>");
|
||||
pCStringWriter->WriteString(L"<w:szCs w:val=\"" + std::to_wstring(FontSizeCs) + L"\"/>");
|
||||
}
|
||||
}
|
||||
if(bHighLight)
|
||||
{
|
||||
docRGB& H = HighLight;
|
||||
|
||||
@ -2918,7 +2918,15 @@ bool RtfParagraphPropDestination::ExecuteCommand(RtfDocument& oDocument, RtfRead
|
||||
// pNewChar->m_eType = RtfCharSpecial::rsc_chatn;
|
||||
// m_oCurParagraph->AddItem( pNewChar );
|
||||
//}
|
||||
else if ( "chftn" == sCommand )
|
||||
else if ( "chpgn" == sCommand ) //todooo - other special
|
||||
{//header & footer
|
||||
RtfCharSpecialPtr pNewChar ( new RtfCharSpecial() );
|
||||
|
||||
pNewChar->m_oProperty = oReader.m_oState->m_oCharProp;
|
||||
pNewChar->m_eType = RtfCharSpecial::rsc_chpgn;
|
||||
m_oCurParagraph->AddItem( pNewChar );
|
||||
}
|
||||
else if ( "chftn" == sCommand )
|
||||
{
|
||||
if ( 1 == oReader.m_nFootnote )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user