using System; using System.Collections.Generic; using System.Text; namespace Biff8Excel.Excel { public sealed class DBCell : IDisposable { Biff8Excel.Records.DBCell m_dbcell; uint m_rowOffset; int[] m_cellOffset; //List m_cellOffset; int m_streamOffset; public int[] CellOffsets //public List CellOffsets { internal set { m_cellOffset = value; m_dbcell.CellOffsets = value; } get { return m_cellOffset; } } public DBCell() { m_dbcell = new Biff8Excel.Records.DBCell(); } public uint RowOffset { set { m_rowOffset = value; m_dbcell.RowOffset = value; } get { return m_rowOffset; } } internal int StreamOffset { set { m_streamOffset = value; } get { return m_streamOffset; } } internal byte[] WriteRecord() { return m_dbcell.GetByte(); } #region IDisposable ³ΙΤ± public void Dispose() { m_dbcell = null; } #endregion } }