public HeaderFooter(Properties attributes) : base(0, 0, 0, 0) { string value; if ((value = attributes.Remove(ElementTags.NUMBERED)) != null) { this.numbered = bool.Parse(value); } if ((value = attributes.Remove(ElementTags.ALIGN)) != null) { this.SetAlignment(value); } if ((value = attributes.Remove("border")) != null) { this.Border = int.Parse(value); } else { this.Border = TOP_BORDER + BOTTOM_BORDER; } }