Esempio n. 1
0
        //public EndObject EndObject;

        public FontListSequence(IStreamReader reader) : base(reader)
        {
            //FrtFontList
            this.FrtFontList = (FrtFontList)BiffRecord.ReadRecord(reader);

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

            //*(Font [Fbi])
            this.Fonts = new List <FontFbiGroup>();
            while (BiffRecord.GetNextRecordType(reader) == RecordType.Font)
            {
                var font = (Font)BiffRecord.ReadRecord(reader);
                Fbi fbi  = null;
                if (BiffRecord.GetNextRecordType(reader) == RecordType.Fbi)
                {
                    fbi = (Fbi)BiffRecord.ReadRecord(reader);
                }
                this.Fonts.Add(new FontFbiGroup(font, fbi));
            }

            //EndObject
            //this.EndObject = (EndObject)BiffRecord.ReadRecord(reader);
        }
Esempio n. 2
0
 public FontFbiGroup(Font font, Fbi fbi)
 {
     this._font = font;
     this._fbi  = fbi;
 }