Commit 3c8678f7 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

чарт в шейпе (1.0.0.238)

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57506 954022d7-b5bf-4e40-9824-e11837661b57
parent 56c40c7f
...@@ -1405,6 +1405,16 @@ namespace NSBinPptxRW ...@@ -1405,6 +1405,16 @@ namespace NSBinPptxRW
return m_lPos; return m_lPos;
} }
LONG GetSize()
{
return m_lSize;
}
BYTE* GetData()
{
return m_pData;
}
public: public:
void Deserialize(NSBinPptxRW::CImageManager2* pManager, LPSAFEARRAY pArray) void Deserialize(NSBinPptxRW::CImageManager2* pManager, LPSAFEARRAY pArray)
{ {
......
...@@ -264,6 +264,8 @@ namespace PPTX ...@@ -264,6 +264,8 @@ namespace PPTX
LONG lLenRec = pReader->GetLong(); LONG lLenRec = pReader->GetLong();
LONG lPosition = pReader->GetPos(); LONG lPosition = pReader->GetPos();
LONG lSize_Reader = pReader->GetSize();
BYTE* pData_Reader = pReader->GetData();
DocxFile2::IAVSOfficeDocxFile2* pDocxFile2 = NULL; DocxFile2::IAVSOfficeDocxFile2* pDocxFile2 = NULL;
pReader->m_pMainDocument->QueryInterface(DocxFile2::IID_IAVSOfficeDocxFile2, (void**)&pDocxFile2); pReader->m_pMainDocument->QueryInterface(DocxFile2::IID_IAVSOfficeDocxFile2, (void**)&pDocxFile2);
...@@ -279,7 +281,8 @@ namespace PPTX ...@@ -279,7 +281,8 @@ namespace PPTX
SysFreeString(bsXmlContent); SysFreeString(bsXmlContent);
pReader->Seek(lPosition + lLenRec); //pReader->Seek(lPosition + lLenRec);
pReader->Init(pData_Reader, lPosition + lLenRec, lSize_Reader - (lPosition + lLenRec));
} }
else else
{ {
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//1 //1
//0 //0
//0 //0
//237 //238
#define INTVER 1,0,0,237 #define INTVER 1,0,0,238
#define STRVER "1,0,0,237\0" #define STRVER "1,0,0,238\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