Ejemplo n.º 1
0
 /**
  * Constructs a ValueRange record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public ValueRangeRecord(RecordInputStream in1)
 {
     field_1_minimumAxisValue = in1.ReadDouble();
     field_2_maximumAxisValue = in1.ReadDouble();
     field_3_majorIncrement = in1.ReadDouble();
     field_4_minorIncrement = in1.ReadDouble();
     field_5_categoryAxisCross = in1.ReadDouble();
     field_6_options = in1.ReadShort();
 }
Ejemplo n.º 2
0
        /**
         * Constructs a ValueRange record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ValueRangeRecord(RecordInputStream in1)
        {
            field_1_minimumAxisValue  = in1.ReadDouble();
            field_2_maximumAxisValue  = in1.ReadDouble();
            field_3_majorIncrement    = in1.ReadDouble();
            field_4_minorIncrement    = in1.ReadDouble();
            field_5_categoryAxisCross = in1.ReadDouble();
            field_6_options           = in1.ReadShort();
        }
Ejemplo n.º 3
0
 public DOPERRecord(RecordInputStream in1)
 {
     vt=(DOPERType)in1.ReadByte();
     switch (vt)
     { 
         case DOPERType.RKNumber:
             grbitSgn = (byte)in1.ReadByte();
             _RK = new RKRecord(in1);
             in1.ReadInt();  //reserved
             break;
         case DOPERType.IEEENumber:
             grbitSgn = (byte)in1.ReadByte();
             _IEEENumber = in1.ReadDouble();
             break;          
         case DOPERType.String:
             grbitSgn = (byte)in1.ReadByte();
             in1.ReadInt();  //reserved
             CCH = (byte)in1.ReadByte();
             in1.ReadByte();     //reserved
             in1.ReadShort();    //reserved
             break;
         case DOPERType.BooleanOrErrors:
             grbitSgn = (byte)in1.ReadByte();
             fError=(byte)in1.ReadByte();
             bBoolErr=(byte)in1.ReadByte();
             in1.ReadShort();    //reserved
             in1.ReadInt();      //reserved
             break;
         default:    //FilterCondition,MatchAllBlanks,MatchNoneBlank
             grbitSgn = 0;
             in1.ReadByte();    //reserved
             in1.ReadLong();    //reserved
             break;
     }
 }
Ejemplo n.º 4
0
 public CrtLayout12Record(RecordInputStream ris)
 {
     field_1_frtHeader_rt       = ris.ReadShort();
     field_2_frtHeader_grbitFrt = ris.ReadShort();
     ris.ReadLong();
     field_5_dwCheckSum   = ris.ReadInt();
     field_6_option       = ris.ReadShort();
     field_7_wXMode       = ris.ReadShort();
     field_8_wYMode       = ris.ReadShort();
     field_9_wWidthMode   = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x           = ris.ReadDouble();
     field_12_y           = ris.ReadDouble();
     field_13_dx          = ris.ReadDouble();
     field_14_dy          = ris.ReadDouble();
     ris.ReadShort();
 }
Ejemplo n.º 5
0
 public CrtLayout12ARecord(RecordInputStream ris)
 {
     frtHeader.rt       = (ushort)ris.ReadUShort();
     frtHeader.grbitFrt = (ushort)ris.ReadUShort();
     ris.ReadLong();
     field_1_dwCheckSum   = ris.ReadInt();
     field_2_option       = ris.ReadShort();
     field_3_xTL          = ris.ReadShort();
     field_4_yTL          = ris.ReadShort();
     field_5_xBR          = ris.ReadShort();
     field_6_yBR          = ris.ReadShort();
     field_7_wXMode       = ris.ReadShort();
     field_8_wYMode       = ris.ReadShort();
     field_9_wWidthMode   = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x           = ris.ReadDouble();
     field_12_y           = ris.ReadDouble();
     field_13_dx          = ris.ReadDouble();
     field_14_dy          = ris.ReadDouble();
     reserved2            = ris.ReadShort();
 }
Ejemplo n.º 6
0
        public OldNumberRecord(RecordInputStream in1) : base(in1, in1.Sid == biff2_sid)
        {
            Value = in1.ReadDouble();

            if (in1.Remaining > 0)
            {
                logger.Log(POILogger.INFO,
                           "OldNumberRecord data remains: " + in1.Remaining +
                           " : " + HexDump.ToHex(in1.ReadRemainder())
                           );
            }
        }
Ejemplo n.º 7
0
        public DOPERRecord(RecordInputStream in1)
        {
            vt = (DOPERType)in1.ReadByte();
            switch (vt)
            {
            case DOPERType.RKNumber:
                grbitSgn = (byte)in1.ReadByte();
                _RK      = new RKRecord(in1);
                in1.ReadInt();      //reserved
                break;

            case DOPERType.IEEENumber:
                grbitSgn    = (byte)in1.ReadByte();
                _IEEENumber = in1.ReadDouble();
                break;

            case DOPERType.String:
                grbitSgn = (byte)in1.ReadByte();
                in1.ReadInt();      //reserved
                CCH = (byte)in1.ReadByte();
                in1.ReadByte();     //reserved
                in1.ReadShort();    //reserved
                break;

            case DOPERType.BooleanOrErrors:
                grbitSgn = (byte)in1.ReadByte();
                fError   = (byte)in1.ReadByte();
                bBoolErr = (byte)in1.ReadByte();
                in1.ReadShort();        //reserved
                in1.ReadInt();          //reserved
                break;

            default:            //FilterCondition,MatchAllBlanks,MatchNoneBlank
                grbitSgn = 0;
                in1.ReadByte(); //reserved
                in1.ReadLong(); //reserved
                break;
            }
        }
Ejemplo n.º 8
0
 public CrtLayout12ARecord(RecordInputStream ris)
 {
     frtHeader.rt = (ushort)ris.ReadUShort();
     frtHeader.grbitFrt = (ushort)ris.ReadUShort();
     ris.ReadLong();
     field_1_dwCheckSum = ris.ReadInt();
     field_2_option = ris.ReadShort();
     field_3_xTL = ris.ReadShort();
     field_4_yTL = ris.ReadShort();
     field_5_xBR = ris.ReadShort();
     field_6_yBR = ris.ReadShort();
     field_7_wXMode = ris.ReadShort();
     field_8_wYMode = ris.ReadShort();
     field_9_wWidthMode = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x = ris.ReadDouble();
     field_12_y = ris.ReadDouble();
     field_13_dx = ris.ReadDouble();
     field_14_dy = ris.ReadDouble();
     reserved2 = ris.ReadShort();
 }
Ejemplo n.º 9
0
 public CrtLayout12Record(RecordInputStream ris)
 {
     field_1_frtHeader_rt = ris.ReadShort();
     field_2_frtHeader_grbitFrt = ris.ReadShort();
     ris.ReadLong();
     field_5_dwCheckSum = ris.ReadInt();
     field_6_option = ris.ReadShort();
     field_7_wXMode = ris.ReadShort();
     field_8_wYMode = ris.ReadShort();
     field_9_wWidthMode = ris.ReadShort();
     field_10_wHeightMode = ris.ReadShort();
     field_11_x = ris.ReadDouble();
     field_12_y = ris.ReadDouble();
     field_13_dx = ris.ReadDouble();
     field_14_dy = ris.ReadDouble();
     ris.ReadShort();
 }
Ejemplo n.º 10
0
 public double ReadDouble()
 {
     return(_in.ReadDouble());
 }