Commit 4d3c7799 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

DocFile - fix WordArt в doc, полученного из docx

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63550 954022d7-b5bf-4e40-9824-e11837661b57
parent e3b89345
......@@ -627,15 +627,16 @@ namespace DocFileFormat
if ((oPicture.mfp.mm > 98) && (NULL != oPicture.shapeContainer))
{
m_pXmlWriter->WriteNodeBegin (_T("w:pict"));
if (oPicture.blipStoreEntry)
if (oPicture.shapeContainer)
{
VMLPictureMapping oVMLPicture(m_context, m_pXmlWriter, false, _caller);
oPicture.Convert (&oVMLPicture);
VMLShapeMapping oVmlWriter (m_context, m_pXmlWriter, NULL, &oPicture, _caller);
oPicture.shapeContainer->Convert(&oVmlWriter);
}
else
{
VMLShapeMapping oVmlWriter (m_context, m_pXmlWriter, NULL, &oPicture, _caller);
oPicture.shapeContainer->Convert(&oVmlWriter);
VMLPictureMapping oVMLPicture(m_context, m_pXmlWriter, false, _caller);
oPicture.Convert (&oVMLPicture);
}
m_pXmlWriter->WriteNodeEnd (_T("w:pict"));
}
......
......@@ -2,6 +2,6 @@
//1
//0
//1
//233
#define INTVER 1,0,1,233
#define STRVER "1,0,1,233\0"
//234
#define INTVER 1,0,1,234
#define STRVER "1,0,1,234\0"
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