x2t fix bugs

This commit is contained in:
ElenaSubbotina
2016-09-01 19:05:31 +03:00
parent 2af6c6c8c6
commit 8bf416157e
10 changed files with 78 additions and 505 deletions

View File

@ -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)
//{