Beispiel #1
0
        //public EndObject EndObject;

        public AxmSequence(IStreamReader reader)
            : base(reader)
        {
            //AXM = YMult StartObject ATTACHEDLABEL EndObject

            //YMult
            this.YMult = (YMult)BiffRecord.ReadRecord(reader);

            //StartObject
            //this.StartObject = (StartObject)BiffRecord.ReadRecord(reader);

            //ATTACHEDLABEL
            this.AttachedLabelSequence = new AttachedLabelSequence(reader);

            //EndObject
            //this.EndObject = (EndObject)BiffRecord.ReadRecord(reader);
        }
            //public EndObject EndObject;

            public DataLabelGroup(IStreamReader reader)
            {
                // *([DataLabExt StartObject] ATTACHEDLABEL [EndObject])

                if (BiffRecord.GetNextRecordType(reader) == RecordType.DataLabExt)
                {
                    this.DataLabExt = (DataLabExt)BiffRecord.ReadRecord(reader);
                    //this.StartObject = (StartObject)BiffRecord.ReadRecord(reader);
                }

                this.AttachedLabelSequence = new AttachedLabelSequence(reader);

                //if (BiffRecord.GetNextRecordType(reader) == RecordType.EndObject)
                //{
                //    this.EndObject = (EndObject)BiffRecord.ReadRecord(reader);
                //}
            }
Beispiel #3
0
        public LdSequence(IStreamReader reader)
            : base(reader)
        {
            /// Legend Begin Pos ATTACHEDLABEL [FRAME] [CrtLayout12] [TEXTPROPS] [CRTMLFRT] End

            // Legend
            this.Legend = (Legend)BiffRecord.ReadRecord(reader);

            // Begin
            this.Begin = (Begin)BiffRecord.ReadRecord(reader);

            // Pos
            this.Pos = (Pos)BiffRecord.ReadRecord(reader);

            // [ATTACHEDLABEL]
            this.AttachedLabelSequence = new AttachedLabelSequence(reader);

            // [FRAME]
            if (BiffRecord.GetNextRecordType(reader) == RecordType.Frame)
            {
                this.FrameSequence = new FrameSequence(reader);
            }

            // [CrtLayout12]
            if (BiffRecord.GetNextRecordType(reader) == RecordType.CrtLayout12)
            {
                this.CrtLayout12 = (CrtLayout12)BiffRecord.ReadRecord(reader);
            }

            // [TEXTPROPS]
            if (BiffRecord.GetNextRecordType(reader) == RecordType.RichTextStream ||
                BiffRecord.GetNextRecordType(reader) == RecordType.TextPropsStream)
            {
                this.TextPropsSequence = new TextPropsSequence(reader);
            }

            //[CRTMLFRT]
            if (BiffRecord.GetNextRecordType(reader) == RecordType.CrtMlFrt)
            {
                this.CrtMlfrtSequence = new CrtMlfrtSequence(reader);
            }

            // End
            this.End = (End)BiffRecord.ReadRecord(reader);
        }
            public LegendExceptionGroup(IStreamReader reader)
                : base(reader)
            {
                // *(LegendException [Begin ATTACHEDLABEL End])
                this.LegendException = (LegendException)BiffRecord.ReadRecord(reader);

                // [Begin ATTACHEDLABEL End]
                if (BiffRecord.GetNextRecordType(reader) ==
                    RecordType.Begin)
                {
                    // Begin
                    this.Begin = (Begin)BiffRecord.ReadRecord(reader);
                    // ATTACHEDLABEL
                    this.AttachedLabelSequence = new AttachedLabelSequence(reader);



                    // End
                    this.End = (End)BiffRecord.ReadRecord(reader);
                }
            }
Beispiel #5
0
        //public EndObject EndObject;

        public DftTextSequence(IStreamReader reader)
            : base(reader)
        {
            // DFTTEXT = [DataLabExt StartObject] DefaultText ATTACHEDLABEL [EndObject]

            // [DataLabExt StartObject]
            if (BiffRecord.GetNextRecordType(reader) == RecordType.DataLabExt)
            {
                this.DataLabExt = (DataLabExt)BiffRecord.ReadRecord(reader);
                //this.StartObject = (StartObject)BiffRecord.ReadRecord(reader);
            }

            // DefaultText
            this.DefaultText = (DefaultText)BiffRecord.ReadRecord(reader);

            // ATTACHEDLABEL
            this.AttachedLabelSequence = new AttachedLabelSequence(reader);

            // [EndObject]
            //if (BiffRecord.GetNextRecordType(reader) == RecordType.EndObject)
            //{
            //    this.EndObject = (EndObject)BiffRecord.ReadRecord(reader);
            //}
        }