Fix bug 67390

This commit is contained in:
Daria Ermakova
2026-01-30 11:25:45 +03:00
parent 324f7b3933
commit 2d8701cd4f

View File

@ -218,6 +218,25 @@ namespace DocFileFormat
m_oXmlWriter.WriteNodeBegin( L"w:noPunctuationKerning", TRUE );
m_oXmlWriter.WriteNodeEnd( L"", TRUE );
}
if (dop->doptypography->iJustification != 0)
{
m_oXmlWriter.WriteNodeBegin(L"w:characterSpacingControl", TRUE);
const wchar_t* spacingValue = L"doNotCompress";
switch(dop->doptypography->iJustification)
{
case 1:
spacingValue = L"compressPunctuation";
break;
case 2:
spacingValue = L"compressPunctuationAndJapaneseKana";
break;
}
m_oXmlWriter.WriteAttribute(L"w:val", spacingValue);
m_oXmlWriter.WriteNodeEnd(L"", TRUE);
}
}
//footnote properties