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 RecordLabelSST { public ushort opcode; public ushort length; public ushort row; public ushort col; public ushort xf; public uint sstIdx; } internal class LabelSST : IRecords { RecordLabelSST labelsst; public LabelSST() { labelsst.opcode = 0xFD; labelsst.length = 0xA; } public ushort Row { set {labelsst.row = value;} } public ushort Column { set {labelsst.col = value;} } public ushort CellStyle { set {labelsst.xf = value;} } public uint SSTIndex { set { labelsst.sstIdx = value; } } #region IRecords ³ΙΤ± public byte[] GetByte() { return Globals.GetStructToBytes(labelsst); } #endregion } }