mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Merge pull request 'Fix bug 67390' (#631) from fix/bug67390 into release/v9.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/631
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user