ooxml strict ole

This commit is contained in:
ElenaSubbotina
2020-11-05 15:12:58 +03:00
parent 3be538f3d2
commit ececaee42b
6 changed files with 520 additions and 580 deletions

View File

@ -31,13 +31,9 @@
*/
#pragma once
#include "../../Base/Nullable.h"
#include "../Drawing/Drawing.h"
#include "../../Common/SimpleTypes_Word.h"
#include "../WritingElement.h"
#include "../RId.h"
#include "VmlOfficeDrawing.h"
#include "Vml.h"
@ -717,8 +713,13 @@ namespace OOX
break;
}
case 'w':
if ( _T("w:control") == sName )
if (L"w:control" == sName )
m_oControl = oSubReader;
else if (L"w:objectEmbed" == sName)
m_oOleObject = oSubReader;
else if (L"w:drawing" == sName)
m_oDrawing = oSubReader;
break;
}
@ -744,6 +745,7 @@ namespace OOX
nullable_int m_oDyaOrig;
nullable<OOX::Logic::CControl> m_oControl;
nullable<OOX::Logic::CDrawing> m_oDrawing;
nullable<OOX::Vml::CShapeType> m_oShapeType;
nullable<OOX::VmlOffice::COLEObject> m_oOleObject;

File diff suppressed because it is too large Load Diff