Esempio n. 1
0
        /**
         * Constructs a DataFormat record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public DataFormatRecord(RecordInputStream in1)
        {
            field_1_pointNumber = in1.ReadShort();
            field_2_seriesIndex = in1.ReadShort();
            field_3_seriesNumber = in1.ReadShort();
            field_4_formatFlags = in1.ReadShort();
        }
        /**
         * Constructs a ObjectLink record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ObjectLinkRecord(RecordInputStream in1)
        {

            field_1_anchorId = in1.ReadShort();
            field_2_link1 = in1.ReadShort();
            field_3_link2 = in1.ReadShort();
        }
Esempio n. 3
0
 public AutoFilterRecord(RecordInputStream in1)
 {
     field_1_iEntry = in1.ReadShort();
     field_2_grbit = in1.ReadShort();
     field_3_doper1 = new DOPERRecord(in1);
     field_4_doper2 = new DOPERRecord(in1);
     if (field_3_doper1.DataType == DOPERType.String&&field_3_doper1.LengthOfString>0)
     {
         rgch1_multibyte = (in1.ReadByte() != 0);
         if (rgch1_multibyte)
         {
             field_5_rgch1 = in1.ReadUnicodeLEString(field_3_doper1.LengthOfString);
         }
         else
         {
             field_5_rgch1 = in1.ReadCompressedUnicode(field_3_doper1.LengthOfString);
         }
     }
     if (field_4_doper2.DataType == DOPERType.String && field_4_doper2.LengthOfString > 0)
     {
         rgch2_multibyte = (in1.ReadByte() != 0);
         if (rgch2_multibyte)
         {
             field_6_rgch2 = in1.ReadUnicodeLEString(field_4_doper2.LengthOfString);
         }
         else
         {
             field_6_rgch2 = in1.ReadCompressedUnicode(field_4_doper2.LengthOfString);
         }
     }
 }
Esempio n. 4
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;
     }
 }
Esempio n. 5
0
        /**
         * Constructs a Bar record and s its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public BarRecord(RecordInputStream in1)
        {

            field_1_barSpace = in1.ReadShort();
            field_2_categorySpace = in1.ReadShort();
            field_3_formatFlags = in1.ReadShort();
        }
Esempio n. 6
0
        /**
         * Constructs a LineFormat record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public LineFormatRecord(RecordInputStream in1)
        {
            field_1_lineColor = in1.ReadInt();
            field_2_linePattern = in1.ReadShort();
            field_3_weight = in1.ReadShort();
            field_4_format = in1.ReadShort();
            field_5_colourPaletteIndex = in1.ReadShort();
        }
        /**
         * Constructs a CategorySeriesAxis record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public CategorySeriesAxisRecord(RecordInputStream in1)
    {
        field_1_crossingPoint = in1.ReadShort();
        field_2_labelFrequency = in1.ReadShort();
        field_3_tickMarkFrequency = in1.ReadShort();
        field_4_options = in1.ReadShort(); 
    
    }
Esempio n. 8
0
        /**
         * Constructs a CategorySeriesAxis record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public CatSerRangeRecord(RecordInputStream in1)
        {
            field_1_catCross = in1.ReadShort();
            field_2_catLabel = in1.ReadShort();
            field_3_catMark = in1.ReadShort();
            field_4_options = in1.ReadShort();

        }
Esempio n. 9
0
 /**
  * Constructs a FontBasis record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public FontBasisRecord(RecordInputStream in1)
 {
     field_1_xBasis = in1.ReadShort();
     field_2_yBasis = in1.ReadShort();
     field_3_heightBasis = in1.ReadShort();
     field_4_scale = in1.ReadShort();
     field_5_indexToFontTable = in1.ReadShort();
 }
Esempio n. 10
0
 /**
  * Constructs a AreaFormat record and s its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AreaFormatRecord(RecordInputStream in1)
 {
     field_1_foregroundColor = in1.ReadInt();
     field_2_backgroundColor = in1.ReadInt();
     field_3_pattern = in1.ReadShort();
     field_4_formatFlags = in1.ReadShort();
     field_5_forecolorIndex = in1.ReadShort();
     field_6_backcolorIndex = in1.ReadShort();
 }
Esempio n. 11
0
        /**
         * Constructs a LinkedData record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public LinkedDataRecord(RecordInputStream in1)
        {
            field_1_linkType = (byte)in1.ReadByte();
            field_2_referenceType = (byte)in1.ReadByte();
            field_3_options = in1.ReadShort();
            field_4_indexNumberFmtRecord = in1.ReadShort();
            int encodedTokenLen = in1.ReadUShort();
            field_5_formulaOfLink = Formula.Read(encodedTokenLen, in1);
        }
Esempio n. 12
0
 public MarkerFormatRecord(RecordInputStream ris)
 {
     field_1_rgbFore = ris.ReadInt();
     field_2_rgbBack = ris.ReadInt();
     field_3_imk = ris.ReadShort();
     field_4_flag = ris.ReadShort();
     field_5_icvFore = ris.ReadShort();
     field_6_icvBack = ris.ReadShort();
     field_7_miSize = ris.ReadInt();
 }
Esempio n. 13
0
 public PosRecord(RecordInputStream in1)
 {
     mdTopLt = in1.ReadShort();
     mdBotRt = in1.ReadShort();
     x1 = in1.ReadShort();
     in1.ReadShort();    //unused1
     y1 = in1.ReadShort();
     in1.ReadShort();    //unused2
     x2 = in1.ReadShort();
     in1.ReadShort();    //unused3
     y2 = in1.ReadShort();
     in1.ReadShort();    //unused4
 }
Esempio n. 14
0
 public ChartTitleFormatRecord(RecordInputStream in1)
 {
     m_recs = in1.ReadUShort();
     int idx;
     CTFormat ctf;
     if (m_formats == null)
     {
         m_formats = new ArrayList(m_recs);
     }
     for (idx = 0; idx < m_recs; idx++)
     {
         ctf = new CTFormat(in1.ReadShort(), in1.ReadShort());
         m_formats.Add(ctf);
     }
 }
Esempio n. 15
0
 /**
  * Constructs a AxisOptions record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AxisOptionsRecord(RecordInputStream in1)
 {
     field_1_minimumCategory = in1.ReadShort();
     field_2_maximumCategory = in1.ReadShort();
     field_3_majorUnitValue = in1.ReadShort();
     field_4_majorUnit = in1.ReadShort();
     field_5_minorUnitValue = in1.ReadShort();
     field_6_minorUnit = in1.ReadShort();
     field_7_baseUnit = in1.ReadShort();
     field_8_crossingPoint = in1.ReadShort();
     field_9_options = in1.ReadShort();
 }
        /**
         * Constructs a SheetProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SheetPropertiesRecord(RecordInputStream in1)
        {

            field_1_flags = in1.ReadShort();
            field_2_empty = (byte)in1.ReadByte();
            field_3_reserved = (byte)in1.ReadByte();
        }
Esempio n. 17
0
        /**
         * Constructs a SheetProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ShtPropsRecord(RecordInputStream in1)
        {

            field_1_flags = in1.ReadShort();
            field_2_mdBlank = (byte)in1.ReadByte();
            field_3_reserved = (byte)in1.ReadByte();
        }
Esempio n. 18
0
 /**
  * Constructs a Axis record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AxisRecord(RecordInputStream in1)
 {
     field_1_axisType = in1.ReadShort();
     field_2_reserved1 = in1.ReadInt();
     field_3_reserved2 = in1.ReadInt();
     field_4_reserved3 = in1.ReadInt();
     field_5_reserved4 = in1.ReadInt();
 }
Esempio n. 19
0
 /**
  * Constructs a AxisParent record and s its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public AxisParentRecord(RecordInputStream in1)
 {
     field_1_axisType = in1.ReadShort();
     field_2_x = in1.ReadInt();
     field_3_y = in1.ReadInt();
     field_4_width = in1.ReadInt();
     field_5_height = in1.ReadInt();
 }
Esempio n. 20
0
 public StartBlockRecord(RecordInputStream in1)
 {
     rt = in1.ReadShort();
     grbitFrt = in1.ReadShort();
     iObjectKind = in1.ReadShort();
     iObjectContext = in1.ReadShort();
     iObjectInstance1 = in1.ReadShort();
     iObjectInstance2 = in1.ReadShort();
 }
Esempio n. 21
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();
 }
Esempio n. 22
0
        /**
         * Constructs a SeriesList record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */
        public SeriesListRecord(RecordInputStream in1)
        {
            int nItems = in1.ReadUShort();
            short[] ss = new short[nItems];
            for (int i = 0; i < nItems; i++) {
                ss[i] = in1.ReadShort();

            }
            field_1_seriesNumbers = ss;
        }
Esempio n. 23
0
 /**
  * Constructs a Legend record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public LegendRecord(RecordInputStream in1)
 {
     field_1_xAxisUpperLeft = in1.ReadInt();
     field_2_yAxisUpperLeft = in1.ReadInt();
     field_3_xSize = in1.ReadInt();
     field_4_ySize = in1.ReadInt();
     field_5_type = (byte)in1.ReadByte();
     field_6_spacing = (byte)in1.ReadByte();
     field_7_options = in1.ReadShort();
 }
Esempio n. 24
0
 public Chart3dRecord(RecordInputStream in1)
 {
     field_1_anRot = in1.ReadShort();
     field_2_anElev = in1.ReadShort();
     field_3_pcDist = in1.ReadShort();
     field_4_pcHeight = in1.ReadShort();
     field_5_pcDepth = in1.ReadShort();
     field_6_pcGap = in1.ReadShort();
     field_7_option = in1.ReadShort();
 }
Esempio n. 25
0
 /**
  * Constructs a Series record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public SeriesRecord(RecordInputStream in1)
 {
     field_1_categoryDataType = in1.ReadShort();
     field_2_valuesDataType = in1.ReadShort();
     field_3_numCategories = in1.ReadShort();
     field_4_numValues = in1.ReadShort();
     field_5_bubbleSeriesType = in1.ReadShort();
     field_6_numBubbleValues = in1.ReadShort();
 }
Esempio n. 26
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);
            }
        }
Esempio n. 27
0
        /*
         * Constructs a AxisOptions record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public AxcExtRecord(RecordInputStream in1)
        {
            field_1_catMin = in1.ReadShort();
            field_2_catMax = in1.ReadShort();
            field_3_catMajor = in1.ReadShort();
            field_4_duMajor = in1.ReadShort();
            field_5_catMinor = in1.ReadShort();
            field_6_duMinor = in1.ReadShort();
            field_7_duBase = in1.ReadShort();
            field_8_catCrossDate = in1.ReadShort();
            field_9_options = in1.ReadShort();

        }
Esempio n. 28
0
 /**
  * Constructs a Dat record and Sets its fields appropriately.
  *
  * @param in the RecordInputstream to Read the record from
  */
 public DatRecord(RecordInputStream in1)
 {
     field_1_options = in1.ReadShort();
 }
        /**
         * Constructs a NumberFormatIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public NumberFormatIndexRecord(RecordInputStream in1)
        {
            field_1_formatIndex = in1.ReadShort();

        }
Esempio n. 30
0
        /**
         * Constructs a NumberFormatIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public IFmtRecordRecord(RecordInputStream in1)
        {
            field_1_formatIndex = in1.ReadShort();
        }
Esempio n. 31
0
        /**
         * Constructs a Area record and s its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public AreaRecord(RecordInputStream in1)
        {
            field_1_formatFlags = in1.ReadShort();
        }
Esempio n. 32
0
        /**
         * Constructs a SheetProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SheetPropertiesRecord(RecordInputStream in1)
        {
            field_1_flags    = in1.ReadShort();
            field_2_empty    = (byte)in1.ReadByte();
            field_3_reserved = (byte)in1.ReadByte();
        }
Esempio n. 33
0
        /**
         * Constructs a FontIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public FontXRecord(RecordInputStream in1)
        {
            field_1_fontIndex = in1.ReadShort();
        }
Esempio n. 34
0
 public CFRTID(RecordInputStream in1)
 {
     rtFirst = in1.ReadShort();
     rtLast  = in1.ReadShort();
 }
Esempio n. 35
0
        /**
         * Constructs a SeriesIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SeriesIndexRecord(RecordInputStream in1)
        {
            field_1_index = in1.ReadShort();
        }
Esempio n. 36
0
        /**
         * Constructs a SheetProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ShtPropsRecord(RecordInputStream in1)
        {
            field_1_flags    = in1.ReadShort();
            field_2_mdBlank  = (byte)in1.ReadByte();
            field_3_reserved = (byte)in1.ReadByte();
        }
Esempio n. 37
0
        /**
         * Constructs a NumberFormatIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public NumberFormatIndexRecord(RecordInputStream in1)
        {
            field_1_formatIndex = in1.ReadShort();
        }
Esempio n. 38
0
 public short ReadShort()
 {
     return(_in.ReadShort());
 }
Esempio n. 39
0
        /**
         * Constructs a SeriesChartGroupIndex record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SeriesChartGroupIndexRecord(RecordInputStream in1)
        {
            field_1_chartGroupIndex = in1.ReadShort();
        }
Esempio n. 40
0
        /**
         * Constructs a SeriesLabels record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public AttachedLabelRecord(RecordInputStream in1)
        {
            field_1_formatFlags = in1.ReadShort();
        }
Esempio n. 41
0
        /**
         * Constructs a AxisUsed record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public AxisUsedRecord(RecordInputStream in1)
        {
            field_1_numAxis = in1.ReadShort();
        }
Esempio n. 42
0
        /**
         * Constructs a Frame record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public FrameRecord(RecordInputStream in1)
        {
            field_1_borderType = in1.ReadShort();
            field_2_options    = in1.ReadShort();
        }
Esempio n. 43
0
 public ViewSourceRecord(RecordInputStream in1)
 {
     vs = in1.ReadShort();
 }
Esempio n. 44
0
        /**
         * Constructs a DefaultDataLabelTextProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public DefaultTextRecord(RecordInputStream in1)
        {
            field_1_categoryDataType = in1.ReadShort();
        }
Esempio n. 45
0
        /**
         * Constructs a AxisLineFormat record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public AxisLineFormatRecord(RecordInputStream in1)
        {
            field_1_axisType = in1.ReadShort();
        }
Esempio n. 46
0
 public FieldInfo(RecordInputStream in1)
 {
     _isxvi = in1.ReadShort();
     _isxvd = in1.ReadShort();
     _idObj = in1.ReadShort();
 }
Esempio n. 47
0
        /**
         * Constructs a Bar record and s its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public BarRecord(RecordInputStream in1)
        {
            field_1_barSpace      = in1.ReadShort();
            field_2_categorySpace = in1.ReadShort();
            field_3_formatFlags   = in1.ReadShort();
        }
Esempio n. 48
0
 public DataLabExtRecord(RecordInputStream in1)
 {
     rt       = in1.ReadShort();
     grbitFrt = in1.ReadShort();
     in1.ReadFully(unused);
 }
Esempio n. 49
0
 public PageItemRecord(RecordInputStream in1)
 {
     isxvi = in1.ReadShort();
     isxvd = in1.ReadShort();
     idObj = in1.ReadShort();
 }
Esempio n. 50
0
 public PieFormatRecord(RecordInputStream ris)
 {
     field_1_pcExplode = ris.ReadShort();
 }
Esempio n. 51
0
 public StreamIDRecord(RecordInputStream in1)
 {
     idstm = in1.ReadShort();
 }
Esempio n. 52
0
        /**
         * Constructs a Dat record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public DatRecord(RecordInputStream in1)
        {
            field_1_options = in1.ReadShort();
        }
Esempio n. 53
0
 public OfficeArtRecordHeader(RecordInputStream ris)
 {
     field_1_recVer_Instance = ris.ReadShort();
     field_2_recType         = (ushort)ris.ReadUShort();
     field_3_recLen          = ris.ReadInt();
 }
Esempio n. 54
0
 /** Creates new FontFormatting */
 public PatternFormatting(RecordInputStream in1)
 {
     field_15_pattern_style         = in1.ReadShort();
     field_16_pattern_color_indexes = in1.ReadShort();
 }
Esempio n. 55
0
        /**
         * Constructs a ObjectLink record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public ObjectLinkRecord(RecordInputStream in1)
        {
            field_1_anchorId = in1.ReadShort();
            field_2_link1    = in1.ReadShort();
            field_3_link2    = in1.ReadShort();
        }
Esempio n. 56
0
 public AutoFilterInfoRecord(RecordInputStream in1)
 {
     field_1_cEntries = in1.ReadShort();
 }
        /**
         * Constructs a DefaultDataLabelTextProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public DefaultDataLabelTextPropertiesRecord(RecordInputStream in1)
        {
            field_1_categoryDataType = in1.ReadShort();
        }
Esempio n. 58
0
        /**
         * Constructs a SeriesLabels record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public SeriesLabelsRecord(RecordInputStream in1)
        {
            field_1_formatFlags = in1.ReadShort();
        }
Esempio n. 59
0
        /**
         * Constructs a DefaultDataLabelTextProperties record and Sets its fields appropriately.
         *
         * @param in the RecordInputstream to Read the record from
         */

        public DefaultTextRecord(RecordInputStream in1)
        {
            field_1_categoryDataType = in1.ReadShort();

        }
Esempio n. 60
0
 public CrtLinkRecord(RecordInputStream in1)
 {
     in1.ReadInt();
     in1.ReadInt();
     in1.ReadShort();
 }