private void ImportStyles(XmlReader reader)
        {
            while (reader.Read() && !(reader.Name == "Styles" && reader.NodeType == XmlNodeType.EndElement))
            {
                XmlStyle style = XmlStyle.Import(reader);

                if (style != null)
                {
                    Styles.Add(style);
                }
            }
        }