public ColumnWidthRecord(RecordInputStream in1)
        {
            //this.sid = in1.Sid;
            //this.isBiff2 = isBiff2;

            FirstColumnIndex = in1.ReadUByte();
            LastColumnIndex  = in1.ReadUByte();
            ColumnWidth      = in1.ReadUShort();

            if (in1.Remaining > 0)
            {
                logger.Log(POILogger.INFO,
                           "ColumnWidthRecord data remains: " + in1.Remaining +
                           " : " + HexDump.ToHex(in1.ReadRemainder())
                           );
            }
        }
Ejemplo n.º 2
0
        /**
         * Constructs a SeriesText record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SeriesTextRecord(RecordInputStream in1)
        {

            field_1_id = in1.ReadShort();
            int field_2_textLength = (byte)in1.ReadByte();
            is16bit = (in1.ReadUByte() & 0x01) != 0;
            if (is16bit)
            {
                field_4_text = in1.ReadUnicodeLEString(field_2_textLength);
            }
            else
            {
                field_4_text = in1.ReadCompressedUnicode(field_2_textLength);
            }
        }
Ejemplo n.º 3
0
        /**
         * Constructs a SeriesText record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SeriesTextRecord(RecordInputStream in1)
        {
            field_1_id = in1.ReadShort();
            int field_2_textLength = (byte)in1.ReadByte();

            is16bit = (in1.ReadUByte() & 0x01) != 0;
            if (is16bit)
            {
                field_4_text = in1.ReadUnicodeLEString(field_2_textLength);
            }
            else
            {
                field_4_text = in1.ReadCompressedUnicode(field_2_textLength);
            }
        }
Ejemplo n.º 4
0
        public CellRangeAddress8Bit(RecordInputStream in1)
            : base(ReadUShortAndCheck(in1), in1.ReadUShort(), in1.ReadUByte(), in1.ReadUByte())
        {

        }
Ejemplo n.º 5
0
 public int ReadUByte()
 {
     return(_in.ReadUByte());
 }