Commit 109f7c3b authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

DocFormat - fix привязки шейпов

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68615 954022d7-b5bf-4e40-9824-e11837661b57
parent 750e712b
......@@ -1352,11 +1352,11 @@ namespace DocFileFormat
//append size and position ...
//if (pSpa->fAnchorLock )
if (pSpa->bx == TEXT && pSpa->by == TEXT)
{
appendStyleProperty( style, _T( "position" ), _T( "static" ) );
}
else
//if (pSpa->bx == TEXT && pSpa->by == TEXT)
//{
// appendStyleProperty( style, _T( "position" ), _T( "static" ) );
//}
//else
{
appendStyleProperty( style, _T( "position" ), _T( "absolute" ) );
}
......@@ -1845,11 +1845,11 @@ namespace DocFileFormat
//append size and position ...
//if (m_pSpa->fAnchorLock)// ,
if (m_pSpa->bx == TEXT && m_pSpa->by == TEXT)
{
appendStyleProperty( &style, _T( "position" ), _T( "static" ) );
}
else
//if (m_pSpa->bx == TEXT && m_pSpa->by == TEXT)
//{
// appendStyleProperty( &style, _T( "position" ), _T( "static" ) );
//}
//else
{
appendStyleProperty( &style, _T( "position" ), _T( "absolute" ) );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment