Commit 8c52d88d authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

DocFormat - embeded fix в НАЧАЛАМГ 21-05-02.doc

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@65816 954022d7-b5bf-4e40-9824-e11837661b57
parent 2bb332bc
......@@ -476,7 +476,8 @@ namespace DocFileFormat
std::wstring form ( _T( " FORM" ) );
std::wstring excel ( _T( " Excel" ) );
std::wstring word ( _T( " Word" ) );
std::wstring mergeformat ( _T( " MERGEFORMAT" ) );
std::wstring equation ( _T( " Equation" ) ) ;
std::wstring mergeformat( _T( " MERGEFORMAT" ) );
if ( search( f.begin(), f.end(), form.begin(), form.end() ) != f.end() )
{
......@@ -501,9 +502,11 @@ namespace DocFileFormat
this->_fldCharCounter++;
}
else if ((search(f.begin(), f.end(), mergeformat.begin(), mergeformat.end()) != f.end()) ||
((search(f.begin(), f.end(), excel.begin(), excel.end()) != f.end() ||
search(f.begin(), f.end(), word.begin(), word.end()) != f.end()) &&
else if (( search(f.begin(), f.end(), mergeformat.begin(), mergeformat.end()) != f.end()) ||
(( search(f.begin(), f.end(), excel.begin(), excel.end()) != f.end() ||
search(f.begin(), f.end(), equation.begin(), equation.end()) != f.end() ||
search(f.begin(), f.end(), word.begin(), word.end()) != f.end())
&&
search(f.begin(), f.end(), embed.begin(), embed.end()) != f.end()))
{
int cpPic = searchNextTextMark(m_document->Text, cpFieldStart, TextMark::Picture);
......
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