Commit 96aca196 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

XlsFormat - подчищеы комменты

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68957 954022d7-b5bf-4e40-9824-e11837661b57
parent d2b1ca4e
#include "HelpFunc.h"
#ifndef _ASC_USE_UNICODE_CONVERTER_
......@@ -252,27 +250,7 @@ const std::string guid2str(const _GUID_ guid)
const bool bstr2guid(const std::wstring & guid_str, _GUID_& guid)
{
//#if defined(_WIN32) || defined(_WIN64)
//
// GUID guid1={};
// HRESULT res = IIDFromString((LPWSTR)(guid_str.c_str()), &guid1);
// if(S_OK != res)
// {
// switch(res)
// {
// case E_INVALIDARG:
// return false;
// case E_OUTOFMEMORY:
// throw;// EXCEPT::LE::WhatIsTheFuck("IIDFromString failed.", "bstr2guid");
// }
// }
// else memcpy(&guid, &guid1, sizeof(guid1));
//#else
// //todooooo
//
//#endif
return true;
return false;
}
......@@ -653,6 +631,16 @@ const std::wstring xti_indexes2sheet_name(const short itabFirst, const short ita
sheet_first = std::wstring(L"\'") + sheet_first + std::wstring(L"\'");
}
}
else
{
//todooo íàéòè õîòü îäèí ôàéë ãäå â àïîñòðîôàõ óæå åñòü âíóòðåííèé íå ýêðàíèðîâàííûé àïîñòðîô
//static boost::wregex test_sheet_name1(L"[\']+");
//if(boost::regex_search(sheet_first.begin() + 1, sheet_first.end() - 1, test_sheet_name1))
//{
// sheet_first = boost::algorithm::replace_all_copy(sheet_first.begin()+1, sheet_first.end() - 1 , L"'", L"''");
// sheet_first = std::wstring(L"\'") + sheet_first + std::wstring(L"\'");
//}
}
std::wstring sheet_last;
if (itabLast != itabFirst)
......
#include "HelpersTagsGenerator.h"
namespace AUX
{;
} // namespace AUX
#pragma once
namespace AUX
{;
//
//class HelpersTagsGenerator
//{
//public:
// HelpersTagsGenerator(BiffStructurePtr & document_root);
//
// //bool GenHelpers();
//
//private:
// //void GenColumnsRefs(MSXML2::IXMLDOMElementPtr helpers_tag);
// //void GenIndexedColors(MSXML2::IXMLDOMElementPtr helpers_tag);
//
// BiffStructurePtr document_root_;
//};
} // namespace AUX
......@@ -210,10 +210,9 @@ const size_t CFRecord::getRdPtr() const
}
// whether all the data have bean read
const bool CFRecord::isEOF() const
{
if(rdPtr > size_) // data buffer bounds crossing
if(rdPtr > size_)
{
throw;// EXCEPT::LE::WrongFormatInterpretation(__FUNCTION__);
}
......@@ -241,16 +240,12 @@ bool CFRecord::checkFitRead(const size_t size) const
}
// Checks whether the specified number of unsigned chars fits in max size of the buffer
// Doesn't generate an exception
const bool CFRecord::checkFitWriteSafe(const size_t size) const
{
return (size_ + size <= MAX_RECORD_SIZE);
}
// Checks whether the specified number of unsigned chars fits in max size of the buffer
// Generates an exception
void CFRecord::checkFitWrite(const size_t size) const
{
if(!checkFitWriteSafe(size))
......@@ -260,7 +255,6 @@ void CFRecord::checkFitWrite(const size_t size) const
}
// Skip the specified number of unsigned chars without reading
void CFRecord::skipNunBytes(const size_t n)
{
//ASSERT(data_); // This throws if we use skipNunBytes instead of reserveNunBytes
......@@ -271,7 +265,6 @@ void CFRecord::skipNunBytes(const size_t n)
}
// Skip the specified number of unsigned chars without reading
void CFRecord::RollRdPtrBack(const size_t n)
{
//ASSERT(data_); // This throws if we use RollRdPtrBack while storing data
......@@ -283,14 +276,12 @@ void CFRecord::RollRdPtrBack(const size_t n)
}
// Skip the specified number of unsigned chars filled them in with zeros
void CFRecord::reserveNunBytes(const size_t n)
{
reserveNunBytes(n, static_cast<unsigned int>(0));
}
// The following func is called every time the record is read again
void CFRecord::resetPointerToBegin()
{
rdPtr = 0;
......@@ -311,7 +302,6 @@ CFRecord& CFRecord::operator<<(bool& val)
}
// Registers data receiver place and reserves n unsigned chars for it
void CFRecord::registerDelayedDataReceiver(CFStream::DELAYED_DATA_SAVER fn, const size_t n, const CFRecordType::TypeId receiver_id)
{
//ASSERT(!data_); // This throws if used after Commit or while reading of binary
......@@ -325,7 +315,6 @@ void CFRecord::registerDelayedDataReceiver(CFStream::DELAYED_DATA_SAVER fn, cons
}
// Registers delayed source data as any user-defined unsigned int
void CFRecord::registerDelayedDataSource(const unsigned int data, const CFRecordType::TypeId receiver_id)
{
//ASSERT(!data_); // This throws if used after Commit or while reading of binary
......@@ -338,7 +327,6 @@ void CFRecord::registerDelayedDataSource(const unsigned int data, const CFRecor
}
// Registers delayed source data as file pointer of the start of the record
void CFRecord::registerDelayedFilePointerSource(const CFRecordType::TypeId receiver_id)
{
//ASSERT(!data_); // This throws if used after Commit or while reading of binary
......@@ -351,7 +339,6 @@ void CFRecord::registerDelayedFilePointerSource(const CFRecordType::TypeId recei
}
// Registers delayed source data as file pointer of the start of the record and the specified offset added
void CFRecord::registerDelayedFilePointerAndOffsetSource(const unsigned int offset, const CFRecordType::TypeId receiver_id)
{
//ASSERT(!data_); // This throws if used after Commit or while reading of binary
......
......@@ -22,10 +22,6 @@ public:
static const ElementType type = typeBegin;
//-----------------------------
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
......
......@@ -40,15 +40,6 @@ public:
BookExt_Conditional11 grbit1;
BookExt_Conditional12 grbit2;
//if(cb > 20)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(grbit1)
//}
//if(cb > 21)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(grbit2)
//}
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
Boolean<unsigned short> fFullPrec;
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fFullPrec)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
BIFF_BSTR fRefA1;
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fRefA1)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
FrtRefHeaderU frtRefHeaderU;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_COMPLEX(frtRefHeaderU)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,11 +25,6 @@ public:
//-----------------------------
BIFF_BYTE verOriginator;
BIFF_BYTE verWriter;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(verOriginator)
//BO_ATTRIB_MARKUP_ATTRIB(verWriter)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,10 +22,6 @@ public:
static const ElementType type = typeContinueFrt11;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,10 +22,6 @@ public:
static const ElementType type = typeCrtLink;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -28,11 +28,6 @@ public:
unsigned short fLinkConsole;
public:
//BO_ATTRIB_MARKUP_BEGIN
// //BO_ATTRIB_MARKUP_ATTRIB(userName)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -29,15 +29,6 @@ public:
BIFF_LONG idObj;
BIFF_DWORD idvMac;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fWnClosed)
//BO_ATTRIB_MARKUP_ATTRIB(xLeft)
//BO_ATTRIB_MARKUP_ATTRIB(yTop)
//BO_ATTRIB_MARKUP_ATTRIB(idObj)
//BO_ATTRIB_MARKUP_ATTRIB(idvMac)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> f1904DateSystem;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(f1904DateSystem)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
BiffStructurePtrVector rgidObj;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_VECTOR_COMPLEX(rgidObj, DropDownObjId)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -40,26 +40,6 @@ public:
DVParsedFormula formula1;
DVParsedFormula formula2;
SqRefU sqref;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(valType)
//BO_ATTRIB_MARKUP_ATTRIB(errStyle)
//BO_ATTRIB_MARKUP_ATTRIB(fStrLookup)
//BO_ATTRIB_MARKUP_ATTRIB(fAllowBlank)
//BO_ATTRIB_MARKUP_ATTRIB(fSuppressCombo)
//BO_ATTRIB_MARKUP_ATTRIB(mdImeMode)
//BO_ATTRIB_MARKUP_ATTRIB(fShowInputMsg)
//BO_ATTRIB_MARKUP_ATTRIB(fShowErrorMsg)
//BO_ATTRIB_MARKUP_ATTRIB(typOperator)
//BO_ATTRIB_MARKUP_ATTRIB(PromptTitle)
//BO_ATTRIB_MARKUP_ATTRIB(ErrorTitle)
//BO_ATTRIB_MARKUP_ATTRIB(Prompt)
//BO_ATTRIB_MARKUP_ATTRIB(Error)
//BO_ATTRIB_MARKUP_COMPLEX(formula1)
//BO_ATTRIB_MARKUP_COMPLEX(formula2)
//BO_ATTRIB_MARKUP_COMPLEX(formula2)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,10 +22,6 @@ public:
void readFields(CFRecord& record);
static const ElementType type = typeEOF_T;
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,10 +22,6 @@ public:
static const ElementType type = typeEnd;
//-----------------------------
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,10 +22,6 @@ public:
static const ElementType type = typeEntExU2;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,13 +22,6 @@ public:
static const ElementType type = typeExcel9File;
//-----------------------------
// XLUnicodeString userName;
public:
//BO_ATTRIB_MARKUP_BEGIN
// //BO_ATTRIB_MARKUP_ATTRIB(userName)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -46,11 +46,9 @@ public:
// {
// body = BiffStructurePtr(new AddinUdf);
// }
// //BO_ATTRIB_MARKUP_COMPLEX(*body)
//}
//else
//{
// throw;// EXCEPT::LE::NotImplemented(__FUNCTION__);
//}
};
......
......@@ -37,20 +37,6 @@ public:
FeatFormulaErr2 formula_err;
FeatSmartTag smart_tag;
public:
//switch(isf)
//{
// case SharedFeatureType::ISFPROTECTION:
// //BO_ATTRIB_MARKUP_COMPLEX(protection)
// break;
// case SharedFeatureType::ISFFEC2:
// //BO_ATTRIB_MARKUP_COMPLEX(formula_err)
// break;
// case SharedFeatureType::ISFFACTOID:
// //BO_ATTRIB_MARKUP_COMPLEX(smart_tag)
// break;
//}
};
} // namespace XLS
......
......@@ -30,13 +30,6 @@ public:
SharedFeatureType isf;
BIFF_DWORD idListNext;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_COMPLEX(frt)
//BO_ATTRIB_MARKUP_ATTRIB(isf)
//BO_ATTRIB_MARKUP_ATTRIB(idListNext)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,11 +22,6 @@ public:
static const ElementType type = typeFeature12;
public:
//BO_ATTRIB_MARKUP_BEGIN
// //BO_ATTRIB_MARKUP_ATTRIB(userName)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -33,22 +33,6 @@ public:
CRYPTO::RC4EncryptionHeader rc4Header;
CRYPTO::RC4CryptoAPIEncryptionHeader rc4CryptoAPIHeader;
public:
//BO_ATTRIB_MARKUP_ATTRIB(wEncryptionType)
//if(!wEncryptionType)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(key)
//}
//if(0x0001 == majorVer) // RC4 encryption header structure
//{
// //BO_ATTRIB_MARKUP_COMPLEX(rc4Header)
//}
//else // RC4 CryptoAPI encryption header structure
//{
// //BO_ATTRIB_MARKUP_COMPLEX(rc4CryptoAPIHeader)
//}
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
XLUnicodeString rgch;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(rgch)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
XLUnicodeString astFnGrp;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(astFnGrp)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> hcenter;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(hcenter)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,12 +25,6 @@ public:
//-----------------------------
BIFF_BSTR wzTooltip;
BackwardOnlyParam<std::wstring > ref_;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB_NAME(ref_, L"ref")
//BO_ATTRIB_MARKUP_ATTRIB(wzTooltip)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
HideObjEnum hideObj;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(hideObj)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -18,8 +18,7 @@ public:
void writeFields(CFRecord& record);
void readFields(CFRecord& record);
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -19,9 +19,7 @@ public:
static const ElementType type = typeLPr;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,10 +22,6 @@ public:
void readFields(CFRecord& record);
//-----------------------------
XLUnicodeString stFormulaName;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(stFormulaName)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -32,20 +32,6 @@ public:
List12BlockLevel rgbList12BlockLevel;
List12TableStyleClientInfo rgbList12TableStyleClientInfo;
List12DisplayName rgbList12DisplayName;
public:
//switch (lsd)
//{
// case 0:
// //BO_ATTRIB_MARKUP_COMPLEX(rgbList12BlockLevel)
// break;
// case 1:
// //BO_ATTRIB_MARKUP_COMPLEX(rgbList12TableStyleClientInfo)
// break;
// case 2:
// //BO_ATTRIB_MARKUP_COMPLEX(rgbList12DisplayName)
// break;
//}
};
} // namespace XLS
......
......@@ -22,11 +22,6 @@ public:
void readFields(CFRecord& record);
//-----------------------------
BiffStructurePtrVector rgmdir;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_VECTOR_COMPLEX(rgmdir, MDir)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -25,15 +25,6 @@ public:
BIFF_BYTE kpiprop;
BIFF_LONG istrKPIName;
BIFF_LONG istrMbrKPI;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(istrConnName)
//BO_ATTRIB_MARKUP_ATTRIB(tfnSrc)
//BO_ATTRIB_MARKUP_ATTRIB(kpiprop)
//BO_ATTRIB_MARKUP_ATTRIB(istrKPIName)
//BO_ATTRIB_MARKUP_ATTRIB(istrMbrKPI)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -24,13 +24,6 @@ public:
BIFF_BYTE tfnSrc;
BIFF_DWORD istrMbr;
BIFF_DWORD istrProp;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(istrConnName)
//BO_ATTRIB_MARKUP_ATTRIB(tfnSrc)
//BO_ATTRIB_MARKUP_ATTRIB(istrMbr)
//BO_ATTRIB_MARKUP_ATTRIB(istrProp)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -27,16 +27,6 @@ public:
BIFF_DWORD istrSetDef;
BIFF_LONG cistr;
BiffStructurePtrVector rgistr;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(istrConnName)
//BO_ATTRIB_MARKUP_ATTRIB(tfnSrc)
//BO_ATTRIB_MARKUP_ATTRIB(sso)
//BO_ATTRIB_MARKUP_ATTRIB(istrSetDef)
//BO_ATTRIB_MARKUP_ATTRIB(cistr)
//BO_ATTRIB_MARKUP_VECTOR_COMPLEX(rgistr, MDXStrIndex)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,10 +22,6 @@ public:
void readFields(CFRecord& record);
//-----------------------------
LPWideString st;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(st)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -28,13 +28,6 @@ public:
BIFF_BYTE tfnSrc;
BIFF_LONG cistr;
BiffStructurePtrVector rgistr;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(istrConnName)
//BO_ATTRIB_MARKUP_ATTRIB(tfnSrc)
//BO_ATTRIB_MARKUP_ATTRIB(cistr)
//BO_ATTRIB_MARKUP_VECTOR_COMPLEX(rgistr, MDXStrIndex)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -21,9 +21,6 @@ public:
void writeFields(CFRecord& record);
void readFields(CFRecord& record);
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
......
......@@ -20,10 +20,6 @@ public:
void writeFields(CFRecord& record);
void readFields(CFRecord& record);
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -22,12 +22,6 @@ public:
static const ElementType type = typeObNoMacros;
//-----------------------------
// XLUnicodeString userName;
public:
//BO_ATTRIB_MARKUP_BEGIN
// //BO_ATTRIB_MARKUP_ATTRIB(userName)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,12 +22,6 @@ public:
static const ElementType type = typeObProj;
//-----------------------------
// XLUnicodeString userName;
public:
//BO_ATTRIB_MARKUP_BEGIN
// //BO_ATTRIB_MARKUP_ATTRIB(userName)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -39,71 +39,23 @@ public:
static const ElementType type = typeObj;
//-----------------------------
FtCmo cmo;
FtCf pictFormat;
FtCmo cmo;
FtCf pictFormat;
FtPioGrbit pictFlags;
FtSbs sbs;
FtNts nts;
FtMacro macro;
FtPictFmla pictFmla;
ObjLinkFmla linkFmla;
FtCblsData checkBox;
FtRboData radioButton;
FtEdoData edit;
FtLbsData list;
FtGboData gbo;
MsoDrawingPtr mso_drawing_;
FtPioGrbit pictFlags;
FtSbs sbs;
FtNts nts;
FtMacro macro;
FtPictFmla pictFmla;
ObjLinkFmla linkFmla;
FtCblsData checkBox;
FtRboData radioButton;
FtEdoData edit;
FtLbsData list;
FtGboData gbo;
MsoDrawingPtr mso_drawing_;
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_COMPLEX(cmo)
//if(0x08 == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(pictFormat)
// //BO_ATTRIB_MARKUP_COMPLEX(pictFlags)
//}
//if(0x10 == cmo.ot || 0x11 == cmo.ot || 0x12 == cmo.ot || 0x14 == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(sbs)
//}
//if(0x19 == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(nts)
//}
//if(false) // TODO: Find out the condition
//{
// //BO_ATTRIB_MARKUP_COMPLEX(macro)
//}
//if(0x08 == cmo.ot)
//{
// ////BO_ATTRIB_MARKUP_COMPLEX(pictFmla)
//}
//if(0x0B == cmo.ot || 0x0C == cmo.ot || 0x10 == cmo.ot || 0x11 == cmo.ot || 0x12 == cmo.ot /*|| 0x14 == cmo.ot*/)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(linkFmla)
//}
//if(0x0B == cmo.ot || 0x0C == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(checkBox)
//}
//if(0x0C == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(radioButton)
//}
//if(0x0D == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(edit)
//}
//if(0x12 == cmo.ot || 0x14 == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(list)
//}
//if(0x13 == cmo.ot)
//{
// //BO_ATTRIB_MARKUP_COMPLEX(gbo)
//}
//BO_ATTRIB_MARKUP_END
};
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> fLockObj;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fLockObj)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
RefU ref_;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_COMPLEX(ref_)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
BIFF_BSTR wPassword;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(wPassword)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -27,11 +27,6 @@ public:
//-----------------------------
Phs phs;
SqRef sqref;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_COMPLEX(phs)
//BO_ATTRIB_MARKUP_COMPLEX(sqref)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -26,12 +26,6 @@ public:
//-----------------------------
OSHARED::FixedPoint dxPlotGrowth;
OSHARED::FixedPoint dyPlotGrowth;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(dxPlotGrowth)
//BO_ATTRIB_MARKUP_ATTRIB(dyPlotGrowth)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
bool fPrintGrid;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fPrintGrid)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
Boolean<unsigned short> printRwCol;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(printRwCol)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> fRevLock;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fRevLock)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -25,11 +25,6 @@ public:
//-----------------------------
BIFF_BSTR protPwdRev;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(protPwdRev)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -24,11 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> fLock;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fLock)
//BO_ATTRIB_MARKUP_END
};
} // namespace XLS
......
......@@ -25,10 +25,6 @@ public:
//-----------------------------
BIFF_DWORD dwBuild;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(dwBuild)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -22,13 +22,8 @@ public:
static const ElementType type = typeRefreshAll;
//-----------------------------
Boolean<unsigned short> refreshAll;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(refreshAll)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -24,10 +24,6 @@ public:
//-----------------------------
Boolean<unsigned short> fScenProtect;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(fScenProtect)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -28,17 +28,6 @@ public:
Boolean<unsigned char> fTeeTop;
BIFF_DOUBLE numValue;
BIFF_WORD cnum;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(sertm)
//BO_ATTRIB_MARKUP_ATTRIB(ebsrc)
//BO_ATTRIB_MARKUP_ATTRIB(fTeeTop)
//if(0x04 != ebsrc && 0x05 != ebsrc)
//{
// //BO_ATTRIB_MARKUP_ATTRIB(numValue)
//}
//BO_ATTRIB_MARKUP_ATTRIB(cnum)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -31,16 +31,6 @@ public:
Boolean<unsigned char> fRSquared;
BIFF_DOUBLE numForecast;
BIFF_DOUBLE numBackcast;
public:
//BO_ATTRIB_MARKUP_BEGIN
//BO_ATTRIB_MARKUP_ATTRIB(regt)
//BO_ATTRIB_MARKUP_ATTRIB(ordUser)
//BO_ATTRIB_MARKUP_ATTRIB(numIntercept)
//BO_ATTRIB_MARKUP_ATTRIB(fEquation)
//BO_ATTRIB_MARKUP_ATTRIB(fRSquared)
//BO_ATTRIB_MARKUP_ATTRIB(numForecast)
//BO_ATTRIB_MARKUP_ATTRIB(numBackcast)
//BO_ATTRIB_MARKUP_END
};
......
......@@ -35,10 +35,6 @@ public:
BIFF_BSTR r1;
BIFF_BSTR r2;
//if(fTbl2)
//{
// //BO_ATTRIB_MARKUP_ATTRIB(r2)
//}
};
} // namespace XLS
......
......@@ -27,11 +27,6 @@ public:
_UINT16 itab;
bool itab_exist;
//if(itab_exist)
//{
// //BO_ATTRIB_MARKUP_ATTRIB(itab)
//}
};
} // namespace XLS
......
......@@ -12,18 +12,6 @@ BiffStructurePtr BookExt_Conditional12::clone()
}
//void BookExt_Conditional12::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"fPublishedBookItems", fPublishedBookItems);
// xml_tag->setAttribute(L"fShowPivotChartFilter", fShowPivotChartFilter);
//}
//
//void BookExt_Conditional12::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// fPublishedBookItems = getStructAttribute(xml_tag, L"fPublishedBookItems");
// fShowPivotChartFilter = getStructAttribute(xml_tag, L"fShowPivotChartFilter");
//}
void BookExt_Conditional12::store(CFRecord& record)
{
......
......@@ -12,25 +12,6 @@ BiffStructurePtr BuiltInStyle::clone()
}
//void BuiltInStyle::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"istyBuiltIn", istyBuiltIn);
//// if(255 != iLevel)
//// {
// xml_tag->setAttribute(L"iLevel", iLevel);
//// }
//}
//
//void BuiltInStyle::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// istyBuiltIn = getStructAttribute(xml_tag, L"istyBuiltIn");
//// if(255 != iLevel)
//// {
// iLevel = getStructAttribute(xml_tag, L"iLevel");
//// }
//}
void BuiltInStyle::store(CFRecord& record)
{
record << istyBuiltIn << iLevel;
......
......@@ -12,29 +12,6 @@ BiffStructurePtr CFExNonCF12::clone()
}
//void CFExNonCF12::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"icf", icf);
// xml_tag->setAttribute(L"cp", cp);
// xml_tag->setAttribute(L"icfTemplate", icfTemplate);
// xml_tag->setAttribute(L"ipriority", ipriority);
// xml_tag->setAttribute(L"fActive", fActive);
// xml_tag->setAttribute(L"fStopIfTrue", fStopIfTrue);
// if(fHasDXF)
// {
// dxf.toXML(xml_tag);
// }
// rgbTemplateParms.toXML(xml_tag, icfTemplate);
//}
//
//void CFExNonCF12::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//#pragma message("####################### CFExNonCF12 record has no BiffStructure::fromXML() implemented")
// Log::error(" Error!!! CFExNonCF12 record has no BiffStructure::fromXML() implemented.");
//}
void CFExNonCF12::store(CFRecord& record)
{
#pragma message("####################### CFExNonCF12 record has no BiffStructure::store() implemented")
......
......@@ -11,21 +11,6 @@ BiffStructurePtr CFMStateItem::clone()
return BiffStructurePtr(new CFMStateItem(*this));
}
//
//void CFMStateItem::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// cfvo.toXML(xml_tag);
// xml_tag->setAttribute(L"fEqual", fEqual);
//}
//
//
//void CFMStateItem::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// cfvo.fromXML(xml_tag);
// fEqual.fromXML(xml_tag, L"fEqual");
//}
void CFMStateItem::store(CFRecord& record)
{
cfvo.store(record);
......
......@@ -12,36 +12,6 @@ BiffStructurePtr CFMultistate::clone()
}
//void CFMultistate::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"cStates", cStates);
// xml_tag->setAttribute(L"iIconSet", iIconSet);
// xml_tag->setAttribute(L"fIconOnly", fIconOnly);
// xml_tag->setAttribute(L"fReverse", fReverse);
// for(std::vector<CFMStateItemPtr>::iterator it = rgStates.begin(), itEnd = rgStates.end(); it != itEnd; ++it)
// {
// (*it)->toXML(xml_tag);
// }
//}
//void CFMultistate::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// cStates = getStructAttribute(xml_tag, L"cStates");
// iIconSet = getStructAttribute(xml_tag, L"iIconSet");
// fIconOnly = getStructAttribute(xml_tag, L"fIconOnly");
// fReverse = getStructAttribute(xml_tag, L"fReverse");
// for(size_t i = 0; i <= 255; ++i)
// {
// CFMStateItemPtr item(new CFMStateItem);
// if(!item->fromXML(xml_tag, i, false))
// {
// break;
// }
// rgStates.push_back(item);
// }
//}
void CFMultistate::store(CFRecord& record)
{
......
......@@ -11,27 +11,6 @@ BiffStructurePtr CFVO::clone()
return BiffStructurePtr(new CFVO(*this));
}
//
//void CFVO::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"cfvoType", cfvoType);
// fmla.toXML(xml_tag);
// if(!fmla.getCCE())
// {
// xml_tag->setAttribute(L"numValue", numValue);
// }
//}
//
//
//void CFVO::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// cfvoType = getStructAttribute(xml_tag, L"cfvoType");
// if(!fmla.fromXML(xml_tag))
// {
// numValue = getStructAttribute(xml_tag, L"numValue");
// }
//}
void CFVO::store(CFRecord& record)
{
......
......@@ -26,31 +26,6 @@ BiffStructurePtr Cell::clone()
}
//void Cell::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//// static std::wstring rw_str(L"rw");
//// static std::wstring col_str(L"col");
// static std::wstring ixfe_str(L"ixfe");
// static std::wstring ref_str(L"ref");
//// xml_tag->setAttribute(rw_str, rw);
//// "col" attribute is not used in XSLT
//// xml_tag->setAttribute(col_str, col);
// xml_tag->setAttribute(ixfe_str, ixfe);
// xml_tag->setAttribute(ref_str, getLocation().toString().c_str());
//}
//void Cell::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// static std::wstring rw_str(L"rw");
// static std::wstring col_str(L"col");
// static std::wstring ixfe_str(L"ixfe");
// rw = getStructAttribute(xml_tag, rw_str);
// col = getStructAttribute(xml_tag, col_str);
// ixfe = getStructAttribute(xml_tag, ixfe_str);
//}
void Cell::store(CFRecord& record)
{
record << rw << col << ixfe;
......
......@@ -12,24 +12,6 @@ BiffStructurePtr CellOffsetResender::clone()
return BiffStructurePtr(new CellOffsetResender(*this));
}
//
// // Stubbed to avoid generating unnecessary tags
//void CellOffsetResender::toXML(BiffStructurePtr & parent)
//{
//}
//
//
// // Stubbed to make class non-abstract
//void CellOffsetResender::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
//
//void CellOffsetResender::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// row_starts = getStructAttribute(xml_tag, L"row_starts");
//}
void CellOffsetResender::resend(CFStream& stream, const unsigned int data_place, const unsigned int data)
{
......
......@@ -22,19 +22,6 @@ XLS::BiffStructurePtr CompositeMoniker::clone()
return XLS::BiffStructurePtr(new CompositeMoniker(*this));
}
//
//void CompositeMoniker::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// std::for_each(monikerArray.begin(), monikerArray.end(), boost::bind(&HyperlinkMoniker::toXML, _1, xml_tag));
//}
//
//
//void CompositeMoniker::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//#pragma message("####################### CompositeMoniker record has no BiffStructure::fromXML() implemented")
// Log::error(" Error!!! CompositeMoniker record has no BiffStructure::fromXML() implemented.");
//}
void CompositeMoniker::store(XLS::CFRecord& record)
{
......
......@@ -12,26 +12,6 @@ BiffStructurePtr CondFmtStructure::clone()
}
//void CondFmtStructure::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"ccf", ccf);
// xml_tag->setAttribute(L"fToughRecalc", fToughRecalc);
// xml_tag->setAttribute(L"nID", nID);
// xml_tag->setAttribute(L"refBound", refBound);
// sqref.toXML(xml_tag);
//}
//
//
//void CondFmtStructure::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// ccf = getStructAttribute(xml_tag, L"ccf");
// fToughRecalc = getStructAttribute(xml_tag, L"fToughRecalc");
// nID = getStructAttribute(xml_tag, L"nID");
// refBound = static_cast<std::wstring >(getStructAttribute(xml_tag, L"refBound"));
// sqref.toXML(xml_tag);
//}
void CondFmtStructure::store(CFRecord& record)
{
record << ccf;
......
......@@ -11,18 +11,6 @@ BiffStructurePtr ControlInfo::clone()
return BiffStructurePtr(new ControlInfo(*this));
}
//void ControlInfo::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"fDefault", fDefault);
// xml_tag->setAttribute(L"fHelp", fHelp);
// xml_tag->setAttribute(L"fCancel", fCancel);
// xml_tag->setAttribute(L"fDismiss", fDismiss);
// xml_tag->setAttribute(L"accel1", accel1);
//}
//
//void ControlInfo::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
void ControlInfo::store(CFRecord& record)
{
......
......@@ -21,16 +21,6 @@ DXFN12List::~DXFN12List()
}
//void DXFN12List::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
//
//
//void DXFN12List::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
void DXFN12List::store(CFRecord& record)
{
}
......
......@@ -12,29 +12,6 @@ BiffStructurePtr Feat11FdaAutoFilter::clone()
}
//void Feat11FdaAutoFilter::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"cbAutoFilter", cbAutoFilter);
// unsigned int size = cbAutoFilter;
//
// if ( cbAutoFilter != 0 )
// {
// if (!recAutoFilter.m_bAutoFilter12)
// {
// if (recAutoFilter.doper1.vt == 0x06)
// xml_tag->setAttribute("autoFilter_str1", recAutoFilter.str1.getEscaped_ST_Xstring());
// if (recAutoFilter.doper2.vt == 0x06)
// xml_tag->setAttribute("autoFilter_str2", recAutoFilter.str2.getEscaped_ST_Xstring());
// }
// }
//}
//
//
//void Feat11FdaAutoFilter::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
void Feat11FdaAutoFilter::store(CFRecord& record)
{
}
......
......@@ -12,43 +12,6 @@ BiffStructurePtr Feat11FieldDataItem::clone()
}
//void Feat11FieldDataItem::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"idField", idField);
// xml_tag->setAttribute(L"lfdt", lfdt);
// xml_tag->setAttribute(L"lfxidt", lfxidt);
// xml_tag->setAttribute(L"ilta", ilta);
// xml_tag->setAttribute(L"cbFmtAgg", cbFmtAgg);
// xml_tag->setAttribute(L"istnAgg", istnAgg);
//
// xml_tag->setAttribute(L"fAutoFilter", fAutoFilter);
// xml_tag->setAttribute(L"fAutoFilterHidden", fAutoFilterHidden);
// xml_tag->setAttribute(L"fLoadXmapi", fLoadXmapi);
// xml_tag->setAttribute(L"fLoadFmla", fLoadFmla);
// xml_tag->setAttribute(L"fLoadTotalFmla", fLoadTotalFmla);
// xml_tag->setAttribute(L"fLoadTotalArray", fLoadTotalArray);
// xml_tag->setAttribute(L"fSaveStyleName", fSaveStyleName);
// xml_tag->setAttribute(L"fLoadTotalStr", fLoadTotalStr);
// xml_tag->setAttribute(L"fAutoCreateCalcCol", fAutoCreateCalcCol);
//
// xml_tag->setAttribute(L"cbFmtInsertRow", cbFmtInsertRow);
// xml_tag->setAttribute(L"istnInsertRow", istnInsertRow);
// xml_tag->setAttribute(L"strFieldName", strFieldName);
// xml_tag->setAttribute(L"strCaption", strCaption);
//
// if (cbFmtAgg > 0)
// dxfFmtAgg.toXML(xml_tag);
// if (cbFmtInsertRow > 0)
// dxfFmtInsertRow.toXML(xml_tag);
// if (fAutoFilter == 1)
// AutoFilter.toXML(xml_tag);
//}
//
//
//void Feat11FieldDataItem::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
void Feat11FieldDataItem::store(CFRecord& record)
{
......
......@@ -12,18 +12,6 @@ BiffStructurePtr FileOffset::clone()
}
//void FileOffset::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"offset", offset);
//}
//
//
//void FileOffset::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// offset = getStructAttribute(xml_tag, L"offset");
//}
void FileOffset::store(CFRecord& record)
{
record << offset;
......
......@@ -21,18 +21,7 @@ BiffStructurePtr FilePointer::clone()
{
return BiffStructurePtr(new FilePointer(*this));
}
//
//
//void FilePointer::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"offset", offset);
//}
//
//
//void FilePointer::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// offset = getStructAttribute(xml_tag, L"offset");
//}
void FilePointer::store(CFRecord& record)
......
......@@ -20,21 +20,6 @@ BiffStructurePtr FrtHeaderOld::clone()
return BiffStructurePtr(new FrtHeaderOld(*this));
}
//
//void FrtHeaderOld::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"rt", rt);
// xml_tag->setAttribute(L"rt_name", CFRecordType::getStringById(rt).c_str());
// xml_tag->setAttribute(L"fFrtRef", grbitFrt.fFrtRef);
// xml_tag->setAttribute(L"fFrtAlert", grbitFrt.fFrtAlert);
//}
//
//
//void FrtHeaderOld::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// throw;// EXCEPT::LE::WrongAPIUsage("FrtRefHeaderU must not get data from XML.", __FUNCTION__);
//}
void FrtHeaderOld::store(CFRecord& record)
{
......
......@@ -11,24 +11,6 @@ BiffStructurePtr FrtRefHeader::clone()
return BiffStructurePtr(new FrtRefHeader(*this));
}
//
//void FrtRefHeader::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"rt", rt);
// xml_tag->setAttribute(L"rt_name", CFRecordType::getStringById(rt).c_str());
// xml_tag->setAttribute(L"fFrtRef", grbitFrt.fFrtRef);
// xml_tag->setAttribute(L"fFrtAlert", grbitFrt.fFrtAlert);
// if(grbitFrt.fFrtRef)
// {
// xml_tag->setAttribute(L"ref8", ref8);
// }
//}
//
//
//void FrtRefHeader::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// throw;// EXCEPT::LE::WrongAPIUsage("FrtRefHeaderU must not get data from XML.", __FUNCTION__);
//}
void FrtRefHeader::store(CFRecord& record)
......
......@@ -12,25 +12,6 @@ BiffStructurePtr FrtRefHeaderU::clone()
return BiffStructurePtr(new FrtRefHeaderU(*this));
}
//
//void FrtRefHeaderU::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"rt", rt);
// xml_tag->setAttribute(L"rt_name", CFRecordType::getStringById(rt).c_str());
// xml_tag->setAttribute(L"fFrtRef", grbitFrt.fFrtRef);
// xml_tag->setAttribute(L"fFrtAlert", grbitFrt.fFrtAlert);
// if(rt != rt_Feature11 && rt != rt_Feature12)
// {
// xml_tag->setAttribute(L"ref8", ref8);
// }
//}
//
//
//void FrtRefHeaderU::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// throw;// EXCEPT::LE::WrongAPIUsage("FrtRefHeaderU must not get data from XML.", __FUNCTION__);
//}
void FrtRefHeaderU::store(CFRecord& record)
{
......
......@@ -13,21 +13,6 @@ BiffStructurePtr FtCblsData::clone()
}
//void FtCblsData::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"fChecked", fChecked);
// own_tag->setAttribute(L"accel", accel);
// own_tag->setAttribute(L"fNo3d", fNo3d);
//}
//
//
//void FtCblsData::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fChecked = getStructAttribute(own_tag, L"fChecked");
// accel = getStructAttribute(own_tag, L"accel");
// fNo3d = getStructAttribute(own_tag, L"fNo3d");
//}
void FtCblsData::store(CFRecord& record)
{
......
......@@ -11,17 +11,6 @@ BiffStructurePtr FtCf::clone()
return BiffStructurePtr(new FtCf(*this));
}
//
//void FtCf::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"cf", cf);
//}
//
//
//void FtCf::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// cf = getStructAttribute(own_tag, L"cf");
//}
void FtCf::store(CFRecord& record)
......
......@@ -12,38 +12,6 @@ BiffStructurePtr FtCmo::clone()
}
//void FtCmo::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"ot", ot);
// own_tag->setAttribute(L"id", id);
//
// own_tag->setAttribute(L"fLocked", fLocked);
// own_tag->setAttribute(L"fDefaultSize", fDefaultSize);
// own_tag->setAttribute(L"fPublished", fPublished);
// own_tag->setAttribute(L"fPrint", fPrint);
// own_tag->setAttribute(L"fDisabled", fDisabled);
// own_tag->setAttribute(L"fUIObj", fUIObj);
// own_tag->setAttribute(L"fRecalcObj", fRecalcObj);
// own_tag->setAttribute(L"fRecalcObjAlways", fRecalcObjAlways);
//}
//
//
//void FtCmo::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// ot = getStructAttribute(own_tag, L"ot");
// id = getStructAttribute(own_tag, L"id");
//
// fLocked = getStructAttribute(own_tag, L"fLocked");
// fDefaultSize = getStructAttribute(own_tag, L"fDefaultSize");
// fPublished = getStructAttribute(own_tag, L"fPublished");
// fPrint = getStructAttribute(own_tag, L"fPrint");
// fDisabled = getStructAttribute(own_tag, L"fDisabled");
// fUIObj = getStructAttribute(own_tag, L"fUIObj");
// fRecalcObj = getStructAttribute(own_tag, L"fRecalcObj");
// fRecalcObjAlways = getStructAttribute(own_tag, L"fRecalcObjAlways");
//}
//
void FtCmo::store(CFRecord& record)
{
unsigned short ft = 0x15; // reserved
......
......@@ -12,24 +12,6 @@ BiffStructurePtr FtEdoData::clone()
}
//void FtEdoData::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"ivtEdit", ivtEdit);
// own_tag->setAttribute(L"fMultiLine", fMultiLine);
// own_tag->setAttribute(L"fVScroll", fVScroll);
// own_tag->setAttribute(L"id", id);
//}
//
//
//void FtEdoData::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// ivtEdit = getStructAttribute(own_tag, L"ivtEdit");
// fMultiLine = static_cast<bool>(getStructAttribute(own_tag, L"fMultiLine"));
// fVScroll = getStructAttribute(own_tag, L"fVScroll");
// id = getStructAttribute(own_tag, L"id");
//}
void FtEdoData::store(CFRecord& record)
{
unsigned short ft = 0x0010; // reserved
......
......@@ -11,19 +11,6 @@ BiffStructurePtr FtGboData::clone()
return BiffStructurePtr(new FtGboData(*this));
}
//
//void FtGboData::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"accel", accel);
// own_tag->setAttribute(L"fNo3d", fNo3d);
//}
//
//
//void FtGboData::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// accel = getStructAttribute(own_tag, L"accel");
// fNo3d = getStructAttribute(own_tag, L"fNo3d");
//}
void FtGboData::store(CFRecord& record)
......
......@@ -16,18 +16,6 @@ BiffStructurePtr FtMacro::clone()
return BiffStructurePtr(new FtMacro(*this));
}
//
//void FtMacro::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fmla.toXML(own_tag);
//}
//
//
//void FtMacro::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fmla.fromXML(own_tag);
//}
void FtMacro::store(CFRecord& record)
{
......
......@@ -17,23 +17,6 @@ BiffStructurePtr FtPictFmla::clone()
}
//void FtPictFmla::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fmla.toXML(own_tag);
// own_tag->setAttribute(L"lPosInCtlStm", lPosInCtlStm);
// own_tag->setAttribute(L"cbBufInCtlStm", cbBufInCtlStm);
// key.toXML(own_tag);
//}
//
//
//void FtPictFmla::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fmla.fromXML(own_tag);
// lPosInCtlStm = getStructAttribute(own_tag, L"lPosInCtlStm");
// cbBufInCtlStm = getStructAttribute(own_tag, L"cbBufInCtlStm");
// key.fromXML(own_tag);
//}
void FtPictFmla::store(CFRecord& record, FtPioGrbit& pictFlags)
{
......
......@@ -12,34 +12,6 @@ BiffStructurePtr FtPioGrbit::clone()
}
//void FtPioGrbit::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"fAutoPict", fAutoPict);
// own_tag->setAttribute(L"fDde", fDde);
// own_tag->setAttribute(L"fPrintCalc", fPrintCalc);
// own_tag->setAttribute(L"fIcon", fIcon);
// own_tag->setAttribute(L"fCtl", fCtl);
// own_tag->setAttribute(L"fPrstm", fPrstm);
// own_tag->setAttribute(L"fCamera", fCamera);
// own_tag->setAttribute(L"fDefaultSize", fDefaultSize);
// own_tag->setAttribute(L"fAutoLoad", fAutoLoad);
//}
//
//
//void FtPioGrbit::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// fAutoPict = getStructAttribute(own_tag, L"fAutoPict");
// fDde = getStructAttribute(own_tag, L"fDde");
// fPrintCalc = getStructAttribute(own_tag, L"fPrintCalc");
// fIcon = getStructAttribute(own_tag, L"fIcon");
// fCtl = getStructAttribute(own_tag, L"fCtl");
// fPrstm = getStructAttribute(own_tag, L"fPrstm");
// fCamera = getStructAttribute(own_tag, L"fCamera");
// fDefaultSize = getStructAttribute(own_tag, L"fDefaultSize");
// fAutoLoad = getStructAttribute(own_tag, L"fAutoLoad");
//}
//
//
void FtPioGrbit::store(CFRecord& record)
{
unsigned short ft = 0x08; // reserved
......
......@@ -13,20 +13,6 @@ BiffStructurePtr FtRboData::clone()
}
//void FtRboData::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"fChecked", idRadNext);
// own_tag->setAttribute(L"fFirstBtn", fFirstBtn);
//}
//
//
//void FtRboData::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// idRadNext = getStructAttribute(own_tag, L"idRadNext");
// fFirstBtn = static_cast<bool>(getStructAttribute(own_tag, L"fFirstBtn"));
//}
void FtRboData::store(CFRecord& record)
{
unsigned short ft = 0x0011; // reserved
......
......@@ -12,40 +12,6 @@ BiffStructurePtr FtSbs::clone()
}
//void FtSbs::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"iVal", iVal);
// own_tag->setAttribute(L"iMin", iMin);
// own_tag->setAttribute(L"iMax", iMax);
// own_tag->setAttribute(L"dInc", dInc);
// own_tag->setAttribute(L"dPage", dPage);
// own_tag->setAttribute(L"fHoriz", fHoriz);
// own_tag->setAttribute(L"dxScroll", dxScroll);
//
// own_tag->setAttribute(L"fDraw", fDraw);
// own_tag->setAttribute(L"fDrawSliderOnly", fDrawSliderOnly);
// own_tag->setAttribute(L"fTrackElevator", fTrackElevator);
// own_tag->setAttribute(L"fNo3d", fNo3d);
//}
//
//
//void FtSbs::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// iVal = getStructAttribute(own_tag, L"iVal");
// iMin = getStructAttribute(own_tag, L"iMin");
// iMax = getStructAttribute(own_tag, L"iMax");
// dInc = getStructAttribute(own_tag, L"dInc");
// dPage = getStructAttribute(own_tag, L"dPage");
// fHoriz = static_cast<bool>(getStructAttribute(own_tag, L"fHoriz"));
// dxScroll = getStructAttribute(own_tag, L"dxScroll");
//
// fDraw = getStructAttribute(own_tag, L"fDraw");
// fDrawSliderOnly = getStructAttribute(own_tag, L"fDrawSliderOnly");
// fTrackElevator = getStructAttribute(own_tag, L"fTrackElevator");
// fNo3d = getStructAttribute(own_tag, L"fNo3d");
//}
//
//
void FtSbs::store(CFRecord& record)
{
unsigned short ft = 0x0C; // reserved
......
......@@ -12,22 +12,6 @@ BiffStructurePtr HorzBrk::clone()
}
//void HorzBrk::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"row", row);
// xml_tag->setAttribute(L"colStart", colStart);
// xml_tag->setAttribute(L"colEnd", colEnd);
//}
//
//
//void HorzBrk::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// row = getStructAttribute(xml_tag, L"row");
// colStart = getStructAttribute(xml_tag, L"colStart");
// colEnd = getStructAttribute(xml_tag, L"colEnd");
//}
void HorzBrk::store(CFRecord& record)
{
record << row << colStart << colEnd;
......
......@@ -12,19 +12,6 @@ BiffStructurePtr ISSTInf::clone()
}
//void ISSTInf::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"ib", ib);
// xml_tag->setAttribute(L"cbOffset", cbOffset);
//}
//
//void ISSTInf::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// ib = getStructAttribute(xml_tag, L"ib");
// cbOffset = getStructAttribute(xml_tag, L"cbOffset");
//}
void ISSTInf::store(CFRecord& record)
{
record << ib << cbOffset;
......
......@@ -22,21 +22,6 @@ XLS::BiffStructurePtr ItemMoniker::clone()
return XLS::BiffStructurePtr(new ItemMoniker(*this));
}
//
//void ItemMoniker::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"delimiterAnsi", delimiterAnsi.c_str());
// xml_tag->setAttribute(L"delimiterUnicode", delimiterUnicode.c_str());
// xml_tag->setAttribute(L"itemAnsi", delimiterAnsi.c_str());
// xml_tag->setAttribute(L"itemUnicode", delimiterUnicode.c_str());
//}
//
//
//void ItemMoniker::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//#pragma message("####################### ItemMoniker record has no BiffStructure::fromXML() implemented")
// Log::error(" Error!!! ItemMoniker record has no BiffStructure::fromXML() implemented.");
//}
void ItemMoniker::store(XLS::CFRecord& record)
......
......@@ -13,26 +13,6 @@ BiffStructurePtr LbsDropData::clone()
}
//void LbsDropData::setXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// own_tag->setAttribute(L"wStyle", wStyle);
// own_tag->setAttribute(L"fFiltered", fFiltered);
// own_tag->setAttribute(L"cLine", cLine);
// own_tag->setAttribute(L"dxMin", dxMin);
// own_tag->setAttribute(L"str", str);
//}
//
//
//void LbsDropData::getXMLAttributes(MSXML2::IXMLDOMElementPtr own_tag)
//{
// wStyle = getStructAttribute(own_tag, L"wStyle");
// fFiltered = getStructAttribute(own_tag, L"fFiltered");
// cLine = getStructAttribute(own_tag, L"cLine");
// dxMin = getStructAttribute(own_tag, L"dxMin");
// str = static_cast<std::wstring >(getStructAttribute(own_tag, L"str"));
//}
//
//
void LbsDropData::store(CFRecord& record)
{
unsigned short flags = 0;
......
......@@ -20,45 +20,6 @@ List12BlockLevel::~List12BlockLevel()
{
}
//void List12BlockLevel::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"cbdxfHeader", cbdxfHeader);
// xml_tag->setAttribute(L"cbdxfData", cbdxfData);
// xml_tag->setAttribute(L"cbdxfAgg", cbdxfAgg);
// xml_tag->setAttribute(L"cbdxfBorder", cbdxfBorder);
// xml_tag->setAttribute(L"cbdxfHeaderBorder", cbdxfHeaderBorder);
// xml_tag->setAttribute(L"cbdxfAggBorder", cbdxfAggBorder);
// xml_tag->setAttribute(L"istnHeader", istnHeader);
// xml_tag->setAttribute(L"istnData", istnData);
// xml_tag->setAttribute(L"istnAgg", istnAgg);
//
// /*if (cbdxfHeader)
// dxfHeader.toXML(xml_tag);;
// if (cbdxfData)
// dxfData.toXML(xml_tag);;
// if (cbdxfAgg)
// dxfAgg.toXML(xml_tag);;
// if (cbdxfBorder)
// dxfBorder.toXML(xml_tag);;
// if (cbdxfHeaderBorder)
// dxfHeaderBorder.toXML(xml_tag);;
// if (cbdxfAggBorder)
// dxfAggBorder.toXML(xml_tag);;
// if (istnHeader != -1)
// stHeader.toXML(xml_tag);;
// if (istnData != -1)
// stData.toXML(xml_tag);;
// if (istnAgg != -1)
// stAgg.toXML(xml_tag);;*/
//}
//
//void List12BlockLevel::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
//
void List12BlockLevel::store(CFRecord& record)
{
}
......
......@@ -21,18 +21,6 @@ List12DisplayName::~List12DisplayName()
}
//void List12DisplayName::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"stListName", stListName);
// xml_tag->setAttribute(L"stListComment", stListComment);
//}
//
//
//void List12DisplayName::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
//
void List12DisplayName::store(CFRecord& record)
{
}
......
......@@ -20,22 +20,6 @@ List12TableStyleClientInfo::~List12TableStyleClientInfo()
{
}
//
//void List12TableStyleClientInfo::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"fFirstColumn", fFirstColumn);
// xml_tag->setAttribute(L"fLastColumn", fLastColumn);
// xml_tag->setAttribute(L"fRowStripes", fRowStripes);
// xml_tag->setAttribute(L"fColumnStripes", fColumnStripes);
// xml_tag->setAttribute(L"fDefaultStyle", fDefaultStyle);
// xml_tag->setAttribute(L"stListStyleName", stListStyleName);
//}
//
//void List12TableStyleClientInfo::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
//}
void List12TableStyleClientInfo::store(CFRecord& record)
{
......
......@@ -12,18 +12,6 @@ BiffStructurePtr MDXStrIndex::clone()
}
//void MDXStrIndex::setXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// xml_tag->setAttribute(L"index", index);
//}
//
//
//void MDXStrIndex::getXMLAttributes(MSXML2::IXMLDOMElementPtr xml_tag)
//{
// index = getStructAttribute(xml_tag, L"index");
//}
//
void MDXStrIndex::store(CFRecord& record)
{
record >> index;
......
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