internal override void SetXml(XmlNamespaceManager nsm, XmlNode node) { if (_xml == null) { if (string.IsNullOrEmpty(_fillPath)) { InitXml(nsm, node, ""); } else { CreateXmlHelper(); } } _xml.SetXmlNodeString("@prst", PatternType.ToEnumString()); var fgNode = _xml.CreateNode("a:fgClr"); ForegroundColor.SetXml(nsm, fgNode); var bgNode = _xml.CreateNode("a:bgClr"); BackgroundColor.SetXml(nsm, bgNode); }