mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
x2t fix bugs
This commit is contained in:
@ -423,8 +423,11 @@ namespace DocFileFormat
|
||||
}break;
|
||||
case lineWidth:
|
||||
{
|
||||
EmuValue eLineWidth ((int)iter->op );
|
||||
m_pXmlWriter->WriteAttribute(_T("strokeweight"), FormatUtils::DoubleToWideString(eLineWidth.ToPoints()) + _T("pt"));
|
||||
if (iter->op > 0)
|
||||
{
|
||||
EmuValue eLineWidth ((int)iter->op );
|
||||
m_pXmlWriter->WriteAttribute(_T("strokeweight"), FormatUtils::DoubleToWideString(eLineWidth.ToPoints()) + _T("pt"));
|
||||
}
|
||||
}break;
|
||||
case lineDashing:
|
||||
{
|
||||
@ -1530,6 +1533,11 @@ namespace DocFileFormat
|
||||
{
|
||||
appendStyleProperty(oStyle, _T("mso-position-vertical-relative"), mapVerticalPositionRelative(m_pSpa->bx));
|
||||
}
|
||||
if (!m_isInlineShape && !bZIndex)
|
||||
{
|
||||
appendStyleProperty( oStyle, _T( "z-index" ), FormatUtils::IntToWideString(zIndex + 0x7ffff));
|
||||
bZIndex = true;
|
||||
}
|
||||
|
||||
//if (!bPosH)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user