internal ExcelBorderXml(XmlNamespaceManager nsm, XmlNode topNode) : base(nsm, topNode) { _left = new ExcelBorderItemXml(nsm, topNode.SelectSingleNode(leftPath, nsm)); _right = new ExcelBorderItemXml(nsm, topNode.SelectSingleNode(rightPath, nsm)); _top = new ExcelBorderItemXml(nsm, topNode.SelectSingleNode(topPath, nsm)); _bottom = new ExcelBorderItemXml(nsm, topNode.SelectSingleNode(bottomPath, nsm)); _diagonal = new ExcelBorderItemXml(nsm, topNode.SelectSingleNode(diagonalPath, nsm)); }
internal ExcelBorderItemXml Copy() { ExcelBorderItemXml borderItem = new ExcelBorderItemXml(NameSpaceManager); borderItem.Style = _borderStyle; borderItem.Color = _color.Copy(); return borderItem; }