123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Runtime.InteropServices;
- using Biff8Excel.Interfaces;
- namespace Biff8Excel.Records
- {
- [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 1)]
- struct RecordBlank
- {
- public ushort opcode; // 0x201;
- public ushort length; // 0x6;
- public ushort Row;
- public ushort Column;
- public ushort CellStyle;
- }
- internal class Blank : IRecords
- {
- RecordBlank blank;
- public Blank()
- {
- blank.opcode = 0x201;
- blank.length = 0x6;
- }
- public ushort Row
- {
- set { blank.Row = value; }
- }
- public ushort Column
- {
- set { blank.Column = value; }
- }
- public ushort CellStyle
- {
- set { blank.CellStyle = value; }
- }
- #region IRecords ³ÉÔ±
- public byte[] GetByte()
- {
- return Globals.GetStructToBytes(blank);
- }
- #endregion
- }
- }
|