Commit 6cd5fbca authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent 7c964b3f
...@@ -197,7 +197,7 @@ namespace PPTX ...@@ -197,7 +197,7 @@ namespace PPTX
virtual std::wstring toXML() const virtual std::wstring toXML() const
{ {
if (Fill.IsInit()) if (Fill.IsInit())
Fill->toXML(); return Fill->toXML();
return _T(""); return _T("");
} }
......
...@@ -251,31 +251,32 @@ namespace XmlUtils ...@@ -251,31 +251,32 @@ namespace XmlUtils
AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr) AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr)
{ {
return _T("<") + strName + _T(" ") + oAttr.m_strValue + _T(" />"); return L"<" + strName + (oAttr.m_strValue.empty() ? L"" : L" " + oAttr.m_strValue) + L"/>";
} }
AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CNodeValue& oNode) AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CNodeValue& oNode)
{ {
if (_T("") == oNode.m_strValue) if (oNode.m_strValue.empty())
return _T("<") + strName + _T("/>"); return L"<" + strName + L"/>";
return _T("<") + strName + _T(">") + oNode.m_strValue + _T("</") + strName + _T(">"); return L"<" + strName + L">" + oNode.m_strValue + L"</" + strName + L">";
} }
AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr, const CNodeValue& oNode) AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr, const CNodeValue& oNode)
{ {
if (_T("") == oNode.m_strValue) if ( oNode.m_strValue.empty())
return CreateNode(strName, oAttr); return CreateNode(strName, oAttr);
return _T("<") + strName + _T(" ") + oAttr.m_strValue + _T(">") + oNode.m_strValue + _T("</") + strName + _T(">"); return L"<" + strName + (oAttr.m_strValue.empty() ? L"" : L" " + oAttr.m_strValue) + L">" + oNode.m_strValue + L"</" + strName + L">";
} }
AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr, const std::wstring& strXml) AVSINLINE std::wstring CreateNode(const std::wstring& strName, const CAttribute& oAttr, const std::wstring& strXml)
{ {
if (_T("") != strXml) if (!strXml.empty())
return _T("<") + strName + _T(" ") + oAttr.m_strValue + _T(">") + strXml + _T("</") + strName + _T(">"); return L"<" + strName + (oAttr.m_strValue.empty() ? L"" : L" " + oAttr.m_strValue) + L">" + strXml + L"</" + strName + L">";
return _T("<") + strName + _T(" ") + oAttr.m_strValue + _T("/>");
return L"<" + strName + (oAttr.m_strValue.empty() ? L"" : L" " + oAttr.m_strValue) + L"/>";
} }
AVSINLINE std::wstring CreateNode(const std::wstring& strName, const std::wstring& strXml) AVSINLINE std::wstring CreateNode(const std::wstring& strName, const std::wstring& strXml)
{ {
return _T("<") + strName + _T(">") + strXml + _T("</") + strName + _T(">"); return L"<" + strName + L">" + strXml + L"</" + strName + L">";
} }
AVSINLINE void SaveToFile(const std::wstring& strFile, const std::wstring& strXml) AVSINLINE void SaveToFile(const std::wstring& strFile, const std::wstring& strXml)
......
...@@ -916,12 +916,12 @@ namespace BinXlsxRW ...@@ -916,12 +916,12 @@ namespace BinXlsxRW
else if(c_oserct_chartspaceSPPR == type) else if(c_oserct_chartspaceSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); res = ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_chartspaceTXPR == type) else if(c_oserct_chartspaceTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
//else if(c_oserct_chartspaceEXTERNALDATA == type) //else if(c_oserct_chartspaceEXTERNALDATA == type)
//{ //{
...@@ -1322,7 +1322,7 @@ namespace BinXlsxRW ...@@ -1322,7 +1322,7 @@ namespace BinXlsxRW
else if(c_oserct_legendentryTXPR == type) else if(c_oserct_legendentryTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_legendentryEXTLST == type) else if(c_oserct_legendentryEXTLST == type)
{ {
...@@ -1414,12 +1414,12 @@ namespace BinXlsxRW ...@@ -1414,12 +1414,12 @@ namespace BinXlsxRW
else if(c_oserct_legendSPPR == type) else if(c_oserct_legendSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_legendTXPR == type) else if(c_oserct_legendTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_legendEXTLST == type) else if(c_oserct_legendEXTLST == type)
{ {
...@@ -1594,12 +1594,12 @@ namespace BinXlsxRW ...@@ -1594,12 +1594,12 @@ namespace BinXlsxRW
else if(c_oserct_dtableSPPR == type) else if(c_oserct_dtableSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_dtableTXPR == type) else if(c_oserct_dtableTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_dtableEXTLST == type) else if(c_oserct_dtableEXTLST == type)
{ {
...@@ -1684,12 +1684,12 @@ namespace BinXlsxRW ...@@ -1684,12 +1684,12 @@ namespace BinXlsxRW
else if(c_oserct_seraxSPPR == type) else if(c_oserct_seraxSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_seraxTXPR == type) else if(c_oserct_seraxTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_seraxCROSSAX == type) else if(c_oserct_seraxCROSSAX == type)
{ {
...@@ -1820,7 +1820,7 @@ namespace BinXlsxRW ...@@ -1820,7 +1820,7 @@ namespace BinXlsxRW
if(c_oserct_chartlinesSPPR == type) if(c_oserct_chartlinesSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else else
res = c_oSerConstants::ReadUnknown; res = c_oSerConstants::ReadUnknown;
...@@ -1851,12 +1851,12 @@ namespace BinXlsxRW ...@@ -1851,12 +1851,12 @@ namespace BinXlsxRW
else if(c_oserct_titleSPPR == type) else if(c_oserct_titleSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_titleTXPR == type) else if(c_oserct_titleTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_titleEXTLST == type) else if(c_oserct_titleEXTLST == type)
{ {
...@@ -2128,12 +2128,12 @@ namespace BinXlsxRW ...@@ -2128,12 +2128,12 @@ namespace BinXlsxRW
else if(c_oserct_dateaxSPPR == type) else if(c_oserct_dateaxSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_dateaxTXPR == type) else if(c_oserct_dateaxTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_dateaxCROSSAX == type) else if(c_oserct_dateaxCROSSAX == type)
{ {
...@@ -2321,12 +2321,12 @@ namespace BinXlsxRW ...@@ -2321,12 +2321,12 @@ namespace BinXlsxRW
else if(c_oserct_cataxSPPR == type) else if(c_oserct_cataxSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_cataxTXPR == type) else if(c_oserct_cataxTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_cataxCROSSAX == type) else if(c_oserct_cataxCROSSAX == type)
{ {
...@@ -2411,12 +2411,12 @@ namespace BinXlsxRW ...@@ -2411,12 +2411,12 @@ namespace BinXlsxRW
else if(c_oserct_dispunitslblSPPR == type) else if(c_oserct_dispunitslblSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_dispunitslblTXPR == type) else if(c_oserct_dispunitslblTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else else
res = c_oSerConstants::ReadUnknown; res = c_oSerConstants::ReadUnknown;
...@@ -2557,12 +2557,12 @@ namespace BinXlsxRW ...@@ -2557,12 +2557,12 @@ namespace BinXlsxRW
else if(c_oserct_valaxSPPR == type) else if(c_oserct_valaxSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_valaxTXPR == type) else if(c_oserct_valaxTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_valaxCROSSAX == type) else if(c_oserct_valaxCROSSAX == type)
{ {
...@@ -2670,7 +2670,7 @@ namespace BinXlsxRW ...@@ -2670,7 +2670,7 @@ namespace BinXlsxRW
else if(c_oserct_bubbleserSPPR == type) else if(c_oserct_bubbleserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_bubbleserINVERTIFNEGATIVE == type) else if(c_oserct_bubbleserINVERTIFNEGATIVE == type)
{ {
...@@ -2793,7 +2793,7 @@ namespace BinXlsxRW ...@@ -2793,7 +2793,7 @@ namespace BinXlsxRW
else if(c_oserct_dptSPPR == type) else if(c_oserct_dptSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_dptPICTUREOPTIONS == type) else if(c_oserct_dptPICTUREOPTIONS == type)
{ {
...@@ -2830,7 +2830,7 @@ namespace BinXlsxRW ...@@ -2830,7 +2830,7 @@ namespace BinXlsxRW
else if(c_oserct_markerSPPR == type) else if(c_oserct_markerSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_markerEXTLST == type) else if(c_oserct_markerEXTLST == type)
{ {
...@@ -3064,7 +3064,7 @@ namespace BinXlsxRW ...@@ -3064,7 +3064,7 @@ namespace BinXlsxRW
poVal->m_ItemsElementName0.push_back(eElemtype); poVal->m_ItemsElementName0.push_back(eElemtype);
PPTX::Logic::SpPr * pNewElem = new PPTX::Logic::SpPr(); PPTX::Logic::SpPr * pNewElem = new PPTX::Logic::SpPr();
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, pNewElem); res = ReadCT_SpPr(0, length, pNewElem);
poVal->m_Items.push_back(pNewElem); poVal->m_Items.push_back(pNewElem);
} }
else if(c_oserct_dlblsTXPR == type) else if(c_oserct_dlblsTXPR == type)
...@@ -3203,7 +3203,7 @@ namespace BinXlsxRW ...@@ -3203,7 +3203,7 @@ namespace BinXlsxRW
poVal->m_ItemsElementName0.push_back(eElemtype); poVal->m_ItemsElementName0.push_back(eElemtype);
PPTX::Logic::SpPr *pNewElem = new PPTX::Logic::SpPr; PPTX::Logic::SpPr *pNewElem = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, pNewElem); res = ReadCT_SpPr(0, length, pNewElem);
poVal->m_Items.push_back(pNewElem); poVal->m_Items.push_back(pNewElem);
} }
else if(c_oserct_dlblTX == type) else if(c_oserct_dlblTX == type)
...@@ -3222,7 +3222,7 @@ namespace BinXlsxRW ...@@ -3222,7 +3222,7 @@ namespace BinXlsxRW
poVal->m_ItemsElementName0.push_back(eElemtype); poVal->m_ItemsElementName0.push_back(eElemtype);
PPTX::Logic::TxBody * pNewElem = new PPTX::Logic::TxBody(); PPTX::Logic::TxBody * pNewElem = new PPTX::Logic::TxBody();
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, pNewElem); res = ReadCT_SpPr(0, length, pNewElem);
poVal->m_Items.push_back(pNewElem); poVal->m_Items.push_back(pNewElem);
} }
else if(c_oserct_dlblEXTLST == type) else if(c_oserct_dlblEXTLST == type)
...@@ -3263,7 +3263,7 @@ namespace BinXlsxRW ...@@ -3263,7 +3263,7 @@ namespace BinXlsxRW
else if(c_oserct_trendlineSPPR == type) else if(c_oserct_trendlineSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_trendlineTRENDLINETYPE == type) else if(c_oserct_trendlineTRENDLINETYPE == type)
{ {
...@@ -3397,12 +3397,12 @@ namespace BinXlsxRW ...@@ -3397,12 +3397,12 @@ namespace BinXlsxRW
else if(c_oserct_trendlinelblSPPR == type) else if(c_oserct_trendlinelblSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_trendlinelblTXPR == type) else if(c_oserct_trendlinelblTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_trendlinelblEXTLST == type) else if(c_oserct_trendlinelblEXTLST == type)
{ {
...@@ -3463,7 +3463,7 @@ namespace BinXlsxRW ...@@ -3463,7 +3463,7 @@ namespace BinXlsxRW
else if(c_oserct_errbarsSPPR == type) else if(c_oserct_errbarsSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_errbarsEXTLST == type) else if(c_oserct_errbarsEXTLST == type)
{ {
...@@ -3867,7 +3867,7 @@ namespace BinXlsxRW ...@@ -3867,7 +3867,7 @@ namespace BinXlsxRW
else if(c_oserct_surfaceserSPPR == type) else if(c_oserct_surfaceserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_surfaceserCAT == type) else if(c_oserct_surfaceserCAT == type)
{ {
...@@ -3904,7 +3904,7 @@ namespace BinXlsxRW ...@@ -3904,7 +3904,7 @@ namespace BinXlsxRW
else if(c_oserct_bandfmtSPPR == type) else if(c_oserct_bandfmtSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else else
res = c_oSerConstants::ReadUnknown; res = c_oSerConstants::ReadUnknown;
...@@ -4105,7 +4105,7 @@ namespace BinXlsxRW ...@@ -4105,7 +4105,7 @@ namespace BinXlsxRW
else if(c_oserct_pieserSPPR == type) else if(c_oserct_pieserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_pieserEXPLOSION == type) else if(c_oserct_pieserEXPLOSION == type)
{ {
...@@ -4284,7 +4284,7 @@ namespace BinXlsxRW ...@@ -4284,7 +4284,7 @@ namespace BinXlsxRW
else if(c_oserct_barserSPPR == type) else if(c_oserct_barserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_barserINVERTIFNEGATIVE == type) else if(c_oserct_barserINVERTIFNEGATIVE == type)
{ {
...@@ -4614,7 +4614,7 @@ namespace BinXlsxRW ...@@ -4614,7 +4614,7 @@ namespace BinXlsxRW
else if(c_oserct_scatterserSPPR == type) else if(c_oserct_scatterserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_scatterserMARKER == type) else if(c_oserct_scatterserMARKER == type)
{ {
...@@ -4758,7 +4758,7 @@ namespace BinXlsxRW ...@@ -4758,7 +4758,7 @@ namespace BinXlsxRW
else if(c_oserct_radarserSPPR == type) else if(c_oserct_radarserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_radarserMARKER == type) else if(c_oserct_radarserMARKER == type)
{ {
...@@ -4934,7 +4934,7 @@ namespace BinXlsxRW ...@@ -4934,7 +4934,7 @@ namespace BinXlsxRW
else if(c_oserct_lineserSPPR == type) else if(c_oserct_lineserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_lineserMARKER == type) else if(c_oserct_lineserMARKER == type)
{ {
...@@ -5033,7 +5033,7 @@ namespace BinXlsxRW ...@@ -5033,7 +5033,7 @@ namespace BinXlsxRW
if(c_oserct_updownbarSPPR == type) if(c_oserct_updownbarSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else else
res = c_oSerConstants::ReadUnknown; res = c_oSerConstants::ReadUnknown;
...@@ -5265,7 +5265,7 @@ namespace BinXlsxRW ...@@ -5265,7 +5265,7 @@ namespace BinXlsxRW
else if(c_oserct_areaserSPPR == type) else if(c_oserct_areaserSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_areaserPICTUREOPTIONS == type) else if(c_oserct_areaserPICTUREOPTIONS == type)
{ {
...@@ -5568,7 +5568,7 @@ namespace BinXlsxRW ...@@ -5568,7 +5568,7 @@ namespace BinXlsxRW
else if(c_oserct_plotareaSPPR == type) else if(c_oserct_plotareaSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_plotareaEXTLST == type) else if(c_oserct_plotareaEXTLST == type)
{ {
...@@ -5607,7 +5607,7 @@ namespace BinXlsxRW ...@@ -5607,7 +5607,7 @@ namespace BinXlsxRW
else if(c_oserct_surfaceSPPR == type) else if(c_oserct_surfaceSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_surfacePICTUREOPTIONS == type) else if(c_oserct_surfacePICTUREOPTIONS == type)
{ {
...@@ -5758,12 +5758,12 @@ namespace BinXlsxRW ...@@ -5758,12 +5758,12 @@ namespace BinXlsxRW
else if(c_oserct_pivotfmtSPPR == type) else if(c_oserct_pivotfmtSPPR == type)
{ {
poVal->m_oSpPr = new PPTX::Logic::SpPr; poVal->m_oSpPr = new PPTX::Logic::SpPr;
res = Read1(length, &BinaryChartReader::ReadCT_SpPr, this, poVal->m_oSpPr.GetPointer()); ReadCT_SpPr(0, length, poVal->m_oSpPr.GetPointer());
} }
else if(c_oserct_pivotfmtTXPR == type) else if(c_oserct_pivotfmtTXPR == type)
{ {
poVal->m_oTxPr = new PPTX::Logic::TxBody; poVal->m_oTxPr = new PPTX::Logic::TxBody;
res = Read1(length, &BinaryChartReader::ReadCT_TxPr, this, poVal->m_oTxPr.GetPointer()); res = ReadCT_TxPr(0, length, poVal->m_oTxPr.GetPointer());
} }
else if(c_oserct_pivotfmtMARKER == type) else if(c_oserct_pivotfmtMARKER == type)
{ {
......
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