示例#1
0
void RRTabId::readFields(CFRecord& record)
{
	while(!record.isEOF())
	{
		SheetIdPtr element(new SheetId);
		record >> *element;
		sheet_ids.push_back(element);
	}
}
示例#2
0
void Index::readFields(CFRecord& record)
{
	record.skipNunBytes(4); // reserved
	record >> rwMic >> rwMac >> ibXF;
	
	while(!record.isEOF())
	{
		FilePointerPtr element(new FilePointer);
		record >> *element;
		rgibRw.push_back(element);
	}
}
示例#3
0
void MDXSet::readFields(CFRecord& record)
{
	record.skipNunBytes(12);
#pragma message("############################ frtHeader skipped here")
	record >> istrConnName >> tfnSrc >> sso >> istrSetDef >> cistr;
	while(!record.isEOF())
	{
		MDXStrIndexPtr element(new MDXStrIndex);
		record >> *element;
		rgistr.push_back(element);
	}
}
示例#4
0
void Footer::readFields(CFRecord& record)
{
	if(!record.isEOF())
	{
		if (record.getGlobalWorkbookInfo()->Version < 0x0600)
		{
			ShortXLAnsiString name;
			record >> name;
			
			ast = name;
		}
		else
		{	
示例#5
0
void XFExtNoFRT::load(CFRecord& record)
{
	if (record.isEOF()) return;

	record.skipNunBytes(6); // reserved
	unsigned short cexts;
	record >> cexts;
	
	for(unsigned short i = 0; i < cexts; ++i)
	{
		if (record.checkFitReadSafe(4) == false)
			break;
		ExtProp prop;
		record >> prop;
		rgExt.push_back(prop);
	}
}