Exemplo n.º 1
0
 internal TXlsRecordLoader(TOle2File aDataStream, TBiff8XFMap aXFMap, TSST aSST, IFlexCelFontList aFontList, TBorderList aBorderList,
                           TPatternList aPatternList, TEncryptionData aEncryption, TXlsBiffVersion aXlsBiffVersion, TNameRecordList aNames, TVirtualReader VirtualReader)
     : base(aSST, aFontList, aEncryption, aXlsBiffVersion, aXFMap, aNames, VirtualReader)
 {
     DataStream  = aDataStream;
     BorderList  = aBorderList;
     PatternList = aPatternList;
 }
Exemplo n.º 2
0
 protected TBaseRecordLoader(TSST aSST, IFlexCelFontList aFontList, TEncryptionData aEncryption, TXlsBiffVersion aXlsBiffVersion,
                             TBiff8XFMap aXFMap, TNameRecordList aNames, TVirtualReader aVirtualReader)
 {
     RecordHeader   = new TRecordHeader();
     SST            = aSST;
     FontList       = aFontList;
     Encryption     = aEncryption;
     XlsBiffVersion = aXlsBiffVersion;
     XFMap          = aXFMap;
     Names          = aNames;
     VirtualReader  = aVirtualReader;
 }
Exemplo n.º 3
0
        internal TPxlRecordLoader(Stream aDataStream, TExternSheetList aExternSheetList,
                                  TEncryptionData aEncryption, TSST aSST, IFlexCelFontList aFontList, TBorderList aBorderList,
                                  TPatternList aPatternList, ExcelFile aWorkbook, TBiff8XFMap aXFMap, int aMainBookXFCount, TNameRecordList aNames, TVirtualReader VirtualReader)
            : base(aSST, aFontList, aEncryption, aWorkbook.XlsBiffVersion, aXFMap, aNames, VirtualReader)
        {
            DataStream         = aDataStream;
            FExternSheetList   = aExternSheetList;
            FormatId           = 233;
            FWorkbook          = aWorkbook;
            BorderList         = aBorderList;
            PatternList        = aPatternList;
            DataStreamLength   = DataStream.Length;
            DataStreamPosition = DataStream.Position;  //cached for performance.

            MainBookXFCount = aMainBookXFCount;
        }
Exemplo n.º 4
0
 internal void DestroyBiff8X()
 {
     FBiff8XF = null;
 }
Exemplo n.º 5
0
 internal void InitBiff8X()
 {
     FBiff8XF = new TBiff8XFMap(StyleXF, CellXF);
 }
Exemplo n.º 6
0
 internal TBoolErrRecord(int aId, byte[] aData, TBiff8XFMap XFMap) : base(aId, aData, XFMap)
 {
     BoolErr = aData[6]; ErrFlag = aData[7];
 }
Exemplo n.º 7
0
 internal TMulRKRecord(int aId, byte[] aData, TBiff8XFMap aXFMap) : base(aId, aData, aXFMap)
 {
 }
Exemplo n.º 8
0
 internal TMultipleValueRecord(int aId, byte[] aData, TBiff8XFMap aXFMap) : base(aId, aData)
 {
     XFMap = aXFMap;
 }
Exemplo n.º 9
0
 internal TRKRecord(int aId, byte[] aData, TBiff8XFMap XFMap) : base(aId, aData, XFMap)
 {
     RK = BitConverter.ToInt32(aData, 6);
 }
Exemplo n.º 10
0
 internal TNumberRecord(int aId, byte[] aData, TBiff8XFMap XFMap) : base(aId, aData, XFMap)
 {
     NumValue = BitConverter.ToDouble(aData, 6);
 }
Exemplo n.º 11
0
 internal TBlankRecord(int aId, byte[] aData, TBiff8XFMap XFMap) : base(aId, aData, XFMap)
 {
 }
Exemplo n.º 12
0
 internal TRStringRecord(int aId, byte[] aData, TBiff8XFMap XFMap) : base(aId, aData, XFMap)
 {
     Data = aData;
 }
Exemplo n.º 13
0
 internal TLabelSSTRecord(int aId, byte[] aData, TSST aSST, IFlexCelFontList aFontList, TBiff8XFMap XFMap)
     : base(aId, aData, XFMap)
 {
     AttachToSST(BitOps.GetCardinal(aData, 6), aSST, aFontList);
 }
Exemplo n.º 14
0
 private int GetXF(byte[] Data, int pos)
 {
     return(TBiff8XFMap.GetPxlCellXF2007(BitOps.GetWord(Data, pos), MainBookXFCount));
 }
Exemplo n.º 15
0
 protected TBinRecordLoader(TSST aSST, IFlexCelFontList aFontList, TEncryptionData aEncryption,
                            TXlsBiffVersion aXlsBiffVersion, TBiff8XFMap aXFMap, TNameRecordList aNames, TVirtualReader aVirtualReader)
     : base(aSST, aFontList, aEncryption, aXlsBiffVersion, aXFMap, aNames, aVirtualReader)
 {
 }
Exemplo n.º 16
0
 internal TColInfoRecord(int aId, byte[] aData, TBiff8XFMap aXFMap) : base(aId, aData)
 {
     XFMap = aXFMap;
 }