Commit 6ba500ca authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

XlsFile2 bug 21744

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63913 954022d7-b5bf-4e40-9824-e11837661b57
parent 09007574
...@@ -31,8 +31,7 @@ void OfficeArtBStoreContainer::loadFields(XLS::CFRecord& record) ...@@ -31,8 +31,7 @@ void OfficeArtBStoreContainer::loadFields(XLS::CFRecord& record)
OfficeArtBStoreContainerFileBlock *fileBlock = new OfficeArtBStoreContainerFileBlock();; OfficeArtBStoreContainerFileBlock *fileBlock = new OfficeArtBStoreContainerFileBlock();;
record >> *fileBlock; record >> *fileBlock;
if (fileBlock->result && (fileBlock->recType != OfficeArtRecord::BlipDIB)) rgfb.push_back(fileBlock);
rgfb.push_back(fileBlock);
} }
// OpenOffice // OpenOffice
......
...@@ -261,7 +261,6 @@ void OfficeArtFOPTE::ReadComplexData(XLS::CFRecord& record) ...@@ -261,7 +261,6 @@ void OfficeArtFOPTE::ReadComplexData(XLS::CFRecord& record)
record.skipNunBytes(op); // default is to skip complex data record.skipNunBytes(op); // default is to skip complex data
}; };
//void TextBooleanProperties::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag) //void TextBooleanProperties::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{ //{
// bool fFitShapeToText = GETBIT(op, 1); // bool fFitShapeToText = GETBIT(op, 1);
......
...@@ -103,10 +103,6 @@ class pib : public OfficeArtFOPTE ...@@ -103,10 +103,6 @@ class pib : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pib) BASE_STRUCTURE_DEFINE_CLASS_NAME(pib)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"op", op);
//}
}; };
class pictureId : public OfficeArtFOPTE class pictureId : public OfficeArtFOPTE
...@@ -114,9 +110,6 @@ class pictureId : public OfficeArtFOPTE ...@@ -114,9 +110,6 @@ class pictureId : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureId) BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureId)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
//}
}; };
class pictureRecolor : public OfficeArtFOPTE class pictureRecolor : public OfficeArtFOPTE
...@@ -124,9 +117,6 @@ class pictureRecolor : public OfficeArtFOPTE ...@@ -124,9 +117,6 @@ class pictureRecolor : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureRecolor) BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureRecolor)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
//}
}; };
...@@ -196,7 +186,6 @@ class fillShadeType : public OfficeArtFOPTE ...@@ -196,7 +186,6 @@ class fillShadeType : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(fillShadeType) BASE_STRUCTURE_DEFINE_CLASS_NAME(fillShadeType)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
}; };
class FillStyleBooleanProperties : public OfficeArtFOPTE class FillStyleBooleanProperties : public OfficeArtFOPTE
...@@ -204,7 +193,6 @@ class FillStyleBooleanProperties : public OfficeArtFOPTE ...@@ -204,7 +193,6 @@ class FillStyleBooleanProperties : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(FillStyleBooleanProperties) BASE_STRUCTURE_DEFINE_CLASS_NAME(FillStyleBooleanProperties)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
}; };
class fillBlip : public OfficeArtFOPTE class fillBlip : public OfficeArtFOPTE
...@@ -222,7 +210,6 @@ class fillBlipName : public OfficeArtFOPTE ...@@ -222,7 +210,6 @@ class fillBlipName : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(fillBlipName) BASE_STRUCTURE_DEFINE_CLASS_NAME(fillBlipName)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
virtual void ReadComplexData(XLS::CFRecord& record); virtual void ReadComplexData(XLS::CFRecord& record);
private: private:
...@@ -443,42 +430,36 @@ class reserved415 : public OfficeArtFOPTE ...@@ -443,42 +430,36 @@ class reserved415 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved415) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved415)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class reserved417 : public OfficeArtFOPTE class reserved417 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved417) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved417)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class reserved419 : public OfficeArtFOPTE class reserved419 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved419) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved419)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class reserved421 : public OfficeArtFOPTE class reserved421 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved421) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved421)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class reserved422 : public OfficeArtFOPTE class reserved422 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved422) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved422)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class reserved423 : public OfficeArtFOPTE class reserved423 : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved423) BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved423)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
}; };
class fillBackColorExt : public OfficeArtFOPTE class fillBackColorExt : public OfficeArtFOPTE
...@@ -515,21 +496,18 @@ class ProtectionBooleanProperties : public OfficeArtFOPTE ...@@ -515,21 +496,18 @@ class ProtectionBooleanProperties : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(ProtectionBooleanProperties) BASE_STRUCTURE_DEFINE_CLASS_NAME(ProtectionBooleanProperties)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
}; };
class LineStyleBooleanProperties : public OfficeArtFOPTE class LineStyleBooleanProperties : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(LineStyleBooleanProperties) BASE_STRUCTURE_DEFINE_CLASS_NAME(LineStyleBooleanProperties)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
}; };
class ShadowStyleBooleanProperties : public OfficeArtFOPTE class ShadowStyleBooleanProperties : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(ShadowStyleBooleanProperties) BASE_STRUCTURE_DEFINE_CLASS_NAME(ShadowStyleBooleanProperties)
public: public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
}; };
class lineWidth : public OfficeArtFOPTE class lineWidth : public OfficeArtFOPTE
...@@ -596,7 +574,7 @@ class pihlShape : public OfficeArtFOPTE ...@@ -596,7 +574,7 @@ class pihlShape : public OfficeArtFOPTE
{ {
BASE_STRUCTURE_DEFINE_CLASS_NAME(pihlShape) BASE_STRUCTURE_DEFINE_CLASS_NAME(pihlShape)
public: public:
virtual void ReadComplexData(XLS::CFRecord& record); void ReadComplexData(XLS::CFRecord& record);
IHlink IHlink_complex; IHlink IHlink_complex;
}; };
......
...@@ -442,9 +442,6 @@ void XlsConverter::convert(XLS::OBJECTS* objects) ...@@ -442,9 +442,6 @@ void XlsConverter::convert(XLS::OBJECTS* objects)
if (objects == NULL) return; if (objects == NULL) return;
ODRAW::OfficeArtSpgrContainer *spgr = dynamic_cast<ODRAW::OfficeArtSpgrContainer*>(objects->m_MsoDrawing.get()->rgChildRec.m_OfficeArtSpgrContainer.get()); ODRAW::OfficeArtSpgrContainer *spgr = dynamic_cast<ODRAW::OfficeArtSpgrContainer*>(objects->m_MsoDrawing.get()->rgChildRec.m_OfficeArtSpgrContainer.get());
//ODRAW::OfficeArtSpContainer *sp = dynamic_cast<ODRAW::OfficeArtSpContainer*>(objects->m_MsoDrawing.get()->rgChildRec.m_OfficeArtSpContainer.get());
//if (spgr == NULL/* && objects->m_MsoDrawing.get()->rgChildRec.m_OfficeArtSpContainer.size() < 1*/) return;
for (long i = 0 ; i < objects->m_OBJs.size(); i++) for (long i = 0 ; i < objects->m_OBJs.size(); i++)
{ {
......
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