12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- 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<int> m_cellOffset;
- int m_streamOffset;
- public int[] CellOffsets
- //public List<int> 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
- }
- }
|