public void Deserialize(IntermediateFormatReader reader)
        {
            reader.RegisterDeclaration(OpenXmlBorderPropertiesModel.GetDeclaration());
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Color:
                    this.Color = reader.ReadString();
                    break;

                case MemberName.Width:
                    this._widthInEighthPoints = reader.ReadInt32();
                    break;

                case MemberName.Style:
                    this.Style = (BorderStyle)reader.ReadByte();
                    break;

                default:
                    WordOpenXmlUtils.FailSerializable();
                    break;
                }
            }
        }