internal override void LoadFromStream(TBaseRecordLoader RecordLoader, TBOFRecord First) { TWorkbookLoader WorkbookLoader = new TWorkbookLoader(RecordLoader); int RecordId; do { RecordId = RecordLoader.RecordHeader.Id; TBaseRecord R = RecordLoader.LoadRecord(true); if (R != null) { R.LoadIntoWorkbook(this, WorkbookLoader); } } while (RecordId != (int)xlr.EOF); ThemeRecord.LoadFromBiff8(); //done after continues are loaded. if (WorkbookLoader.XFCount == RecordLoader.XFCount && WorkbookLoader.XFCRC == RecordLoader.XFCRC && WorkbookLoader.XFExtList.Count > 0 && RecordLoader.XlsBiffVersion != TXlsBiffVersion.Excel2003) //We won't check First.BiffVersion to see if this was saved with Excel 2007. CRC should be enough. { Biff8XF.AddExt(WorkbookLoader.XFExtList, this); } EnsureRequiredRecords(); FStyles.AddBiff8Outlines(); if (First != null) { sBOF = First; //Last statement } }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.RecalcId = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.OleObjectSize = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { //Do nothing, should be ignored }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { WorkbookLoader.RecordLoader.SST.Load(this); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.Palette = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.BookExt = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.BoundSheets.AddTabIdFromFile(this); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.IsXltTemplate = true; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { XlsMessages.ThrowException(XlsErr.ErrExcelInvalid); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.FileEncryption.WriteProt = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.WorkbookProtection.Prot4RevPass = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.WorkbookProtection.WindowProtect = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.FileEncryption.FileSharing = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.UserBView.Add(this); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { base.LoadIntoWorkbook(Globals, WorkbookLoader); Globals.LoadingInterfaceHdr = false; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.RealTimeData.Add(this); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.CodeNameRecord = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.DConn.Add(this); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.ObNoMacros = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.HeaderImages.LoadFromStream(WorkbookLoader.RecordLoader, this, false); }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.Excel9File = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.ClrtClient = this; }
internal override void LoadIntoWorkbook(TWorkbookGlobals Globals, TWorkbookLoader WorkbookLoader) { Globals.PivotCache.Add(this); }