예제 #1
0
파일: XTI.cpp 프로젝트: ONLYOFFICE/core
void XTI::load(CFRecord& record)
{
	if (record.checkFitReadSafe(6) == false) //Version < 0x0600
		return;

	record >> iSupBook >> itabFirst >> itabLast;
}
예제 #2
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);
	}
}