Exemple #1
0
        internal ExcelBorderItemXml Copy()
        {
            ExcelBorderItemXml borderItem = new ExcelBorderItemXml(NameSpaceManager);

            borderItem.Style = _borderStyle;
            borderItem.Color = _color.Copy();
            return(borderItem);
        }
Exemple #2
0
        //internal Fill Copy()
        //{
        //    Fill newFill = new Fill(NameSpaceManager, TopNode.Clone());
        //    return newFill;
        //}

        internal virtual ExcelFillXml Copy()
        {
            ExcelFillXml newFill = new ExcelFillXml(NameSpaceManager);

            newFill.PatternType     = _fillPatternType;
            newFill.BackgroundColor = _backgroundColor.Copy();
            newFill.PatternColor    = _patternColor.Copy();
            return(newFill);
        }