mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Improved work with caption tables when html to ooxml conversion
This commit is contained in:
@ -317,7 +317,7 @@ namespace NSCSS
|
||||
oXmlElement.AddPropertiesInP(PProperties::P_ContextualSpacing, L"true");
|
||||
}
|
||||
|
||||
if (!oStyle.m_oBackground.Empty() && oStyle.HaveThisParent(L"table"))
|
||||
if (!oStyle.m_oBackground.Empty() && !oStyle.HaveThisParent(L"table"))
|
||||
oXmlElement.AddPropertiesInP(PProperties::P_Shd, oStyle.m_oBackground.IsNone() ? L"auto" : oStyle.m_oBackground.GetColor().ToWString());
|
||||
|
||||
if (!oStyle.m_oBorder.Empty() && !oStyle.HaveThisParent(L"table"))
|
||||
|
||||
Reference in New Issue
Block a user