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)
OfficeArtBStoreContainerFileBlock *fileBlock = new OfficeArtBStoreContainerFileBlock();;
record >> *fileBlock;
if (fileBlock->result && (fileBlock->recType != OfficeArtRecord::BlipDIB))
rgfb.push_back(fileBlock);
rgfb.push_back(fileBlock);
}
// OpenOffice
......
......@@ -261,7 +261,6 @@ void OfficeArtFOPTE::ReadComplexData(XLS::CFRecord& record)
record.skipNunBytes(op); // default is to skip complex data
};
//void TextBooleanProperties::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// bool fFitShapeToText = GETBIT(op, 1);
......
......@@ -103,10 +103,6 @@ class pib : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pib)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"op", op);
//}
};
class pictureId : public OfficeArtFOPTE
......@@ -114,9 +110,6 @@ class pictureId : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureId)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
//}
};
class pictureRecolor : public OfficeArtFOPTE
......@@ -124,9 +117,6 @@ class pictureRecolor : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(pictureRecolor)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
//}
};
......@@ -196,7 +186,6 @@ class fillShadeType : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(fillShadeType)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
};
class FillStyleBooleanProperties : public OfficeArtFOPTE
......@@ -204,7 +193,6 @@ class FillStyleBooleanProperties : public OfficeArtFOPTE
BASE_STRUCTURE_DEFINE_CLASS_NAME(FillStyleBooleanProperties)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
};
class fillBlip : public OfficeArtFOPTE
......@@ -222,7 +210,6 @@ class fillBlipName : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(fillBlipName)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
virtual void ReadComplexData(XLS::CFRecord& record);
private:
......@@ -443,42 +430,36 @@ class reserved415 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved415)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class reserved417 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved417)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class reserved419 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved419)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class reserved421 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved421)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class reserved422 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved422)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class reserved423 : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(reserved423)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag){}
};
class fillBackColorExt : public OfficeArtFOPTE
......@@ -515,21 +496,18 @@ class ProtectionBooleanProperties : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(ProtectionBooleanProperties)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
};
class LineStyleBooleanProperties : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(LineStyleBooleanProperties)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
};
class ShadowStyleBooleanProperties : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(ShadowStyleBooleanProperties)
public:
//virtual void setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag);
};
class lineWidth : public OfficeArtFOPTE
......@@ -596,7 +574,7 @@ class pihlShape : public OfficeArtFOPTE
{
BASE_STRUCTURE_DEFINE_CLASS_NAME(pihlShape)
public:
virtual void ReadComplexData(XLS::CFRecord& record);
void ReadComplexData(XLS::CFRecord& record);
IHlink IHlink_complex;
};
......
......@@ -442,9 +442,6 @@ void XlsConverter::convert(XLS::OBJECTS* objects)
if (objects == NULL) return;
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++)
{
......
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