ASP.NET Core

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExternSheetRecord

    Show / Hide Table of Contents

    Class ExternSheetRecord

    The record stores a list with indexes to SUPBOOK records.

    Inheritance
    System.Object
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
    BiffRecordRawWithArray
    ExternSheetRecord
    Implements
    System.ICloneable
    IBiffStorage
    System.IDisposable
    Inherited Members
    BiffRecordRawWithArray.m_data
    BiffRecordRawWithArray.FillStream(BinaryWriter, DataProvider, IEncryptor, Int32)
    BiffRecordRawWithArray.FillStream(BinaryWriter, IEncryptor, Int32)
    BiffRecordRawWithArray.ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
    BiffRecordRawWithArray.CheckOffsetAndLength(Int32, Int32)
    BiffRecordRawWithArray.GetBytes(Int32, Int32)
    BiffRecordRawWithArray.GetByte(Int32)
    BiffRecordRawWithArray.GetUInt16(Int32)
    BiffRecordRawWithArray.GetInt16(Int32)
    BiffRecordRawWithArray.GetInt32(Int32)
    BiffRecordRawWithArray.GetUInt32(Int32)
    BiffRecordRawWithArray.GetInt64(Int32)
    BiffRecordRawWithArray.GetUInt64(Int32)
    BiffRecordRawWithArray.GetFloat(Int32)
    BiffRecordRawWithArray.GetDouble(Int32)
    BiffRecordRawWithArray.GetBit(Int32, Int32)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32, Boolean)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32)
    BiffRecordRawWithArray.GetStringUpdateOffset(Int32, Int32)
    BiffRecordRawWithArray.GetStringByteLen(Int32)
    BiffRecordRawWithArray.GetStringByteLen(Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32, Boolean)
    BiffRecordRawWithArray.GetUnkTypeString(Int32, IList<Int32>, Int32, Int32, Int32, Byte[], Byte[])
    BiffRecordRawWithArray.GetAddr(Int32)
    BiffRecordRawWithArray.GetAddrAsRectangle(Int32)
    BiffRecordRawWithArray.EnlargeDataStorageIfNeeded(Int32, Int32)
    BiffRecordRawWithArray.Reserve(Int32)
    BiffRecordRawWithArray.SetBytes(Int32, Byte[], Int32, Int32)
    BiffRecordRawWithArray.SetBytes(Int32, Byte[])
    BiffRecordRawWithArray.SetByte(Int32, Byte)
    BiffRecordRawWithArray.SetByte(Int32, Byte, Int32)
    BiffRecordRawWithArray.SetUInt16(Int32, UInt16)
    BiffRecordRawWithArray.SetInt16(Int32, Int16)
    BiffRecordRawWithArray.SetInt32(Int32, Int32)
    BiffRecordRawWithArray.SetUInt32(Int32, UInt32)
    BiffRecordRawWithArray.SetInt64(Int32, Int64)
    BiffRecordRawWithArray.SetUInt64(Int32, UInt64)
    BiffRecordRawWithArray.SetFloat(Int32, Single)
    BiffRecordRawWithArray.SetDouble(Int32, Double)
    BiffRecordRawWithArray.SetBit(Int32, Boolean, Int32)
    BiffRecordRawWithArray.SetStringNoLenUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetStringNoLenDetectEncoding(Int32, String)
    BiffRecordRawWithArray.IsAsciiString(String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetStringByteLen(Int32, String)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetAddr(Int32, TAddr)
    BiffRecordRawWithArray.SetAddr(Int32, Rectangle)
    BiffRecordRawWithArray.GetSortedFields()
    BiffRecordRawWithArray.AutoExtractFields()
    BiffRecordRawWithArray.GetValueByAttributeType(BiffRecordPosAttribute)
    BiffRecordRawWithArray.AutoInfillFromFields()
    BiffRecordRawWithArray.SetValueByAttributeType(BiffRecordPosAttribute, Object)
    BiffRecordRawWithArray.ClearData()
    BiffRecordRawWithArray.IsEqual(BiffRecordRaw)
    BiffRecordRawWithArray.CopyTo(BiffRecordRaw)
    BiffRecordRawWithArray.Dispose()
    BiffRecordRawWithArray.OnDispose()
    BiffRecordRawWithArray.Data
    BiffRecordRawWithArray.AutoGrowData
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    [Biff(TBIFFRecord.ExternSheet)]
    [CLSCompliant(false)]
    public class ExternSheetRecord : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable

    Constructors

    ExternSheetRecord()

    Default constructor.

    Declaration
    public ExternSheetRecord()

    ExternSheetRecord(Int32)

    Reserves for record's internal data array iReserve bytes.

    Declaration
    public ExternSheetRecord(int iReserve)
    Parameters
    Type Name Description
    System.Int32 iReserve

    Amount of bytes for data array.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    If amount of bytes requested is less than zero.

    ExternSheetRecord(Stream, out Int32)

    Read / initialize constructor.

    Declaration
    public ExternSheetRecord(Stream stream, out int itemSize)
    Parameters
    Type Name Description
    System.IO.Stream stream

    Stream from which record data should be read.

    System.Int32 itemSize

    Size of read item.

    Exceptions
    Type Condition
    System.ArgumentNullException

    If stream is not specified.

    System.ApplicationException

    If stream does not support read or seek operations.

    Fields

    MaximumRefsCount

    Maximum references in one record.

    Declaration
    public const int MaximumRefsCount = 1370
    Field Value
    Type Description
    System.Int32

    Properties

    MinimumRecordSize

    Read-only. Minimum possible size of the record.

    Declaration
    public override int MinimumRecordSize { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MinimumRecordSize

    RefCount

    Number of following REF structures.

    Declaration
    public ushort RefCount { get; set; }
    Property Value
    Type Description
    System.UInt16

    RefList

    Gets list of references.

    Declaration
    public List<ExternSheetRecord.TREF> RefList { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ExternSheetRecord.TREF>

    Refs

    List of REF structures.

    Declaration
    public ExternSheetRecord.TREF[] Refs { get; set; }
    Property Value
    Type Description
    ExternSheetRecord.TREF[]

    Methods

    AddReference(Int32, Int32, Int32)

    This method adds one TREF structure to the list.

    Declaration
    public int AddReference(int supIndex, int firstSheet, int lastSheet)
    Parameters
    Type Name Description
    System.Int32 supIndex

    SUPBOOK index.

    System.Int32 firstSheet

    Index to first SUPBOOK sheet.

    System.Int32 lastSheet

    Index to last SUPBOOK sheet.

    Returns
    Type Description
    System.Int32

    Index of the old REF structure (if there was one) or new REF structure.

    AppendReference(ExternSheetRecord.TREF)

    Append Reference

    Declaration
    public void AppendReference(ExternSheetRecord.TREF reference)
    Parameters
    Type Name Description
    ExternSheetRecord.TREF reference

    AppendReferences(IList<ExternSheetRecord.TREF>)

    Append References

    Declaration
    public void AppendReferences(IList<ExternSheetRecord.TREF> refs)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ExternSheetRecord.TREF> refs

    Clone()

    Creates new instance

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.Clone()

    GetBookReference(Int32)

    Declaration
    public int GetBookReference(int iBookIndex)
    Parameters
    Type Name Description
    System.Int32 iBookIndex
    Returns
    Type Description
    System.Int32

    GetStoreSize(ExcelVersion)

    Size of the required storage space. Read-only.

    Declaration
    public override int GetStoreSize(ExcelVersion version)
    Parameters
    Type Name Description
    ExcelVersion version
    Returns
    Type Description
    System.Int32
    Overrides
    BiffRecordRawWithArray.GetStoreSize(ExcelVersion)

    ParseStructure()

    Parse structure of record. Converts data buffer to special values according to record specification.

    Declaration
    public override void ParseStructure()
    Overrides
    BiffRecordRawWithArray.ParseStructure()

    PrependReferences(IList<ExternSheetRecord.TREF>)

    Prepend References

    Declaration
    public void PrependReferences(IList<ExternSheetRecord.TREF> refs)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ExternSheetRecord.TREF> refs

    Implements

    System.ICloneable
    IBiffStorage
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved