Exemple #1
0
        private string GetBorderStyleContent(ExportCacheCellBorderStyle borderStyle)
        {
            string result = "";

            result += " width=\"" + Convert.ToString(borderStyle.Width) + "\"";
            result += " color=\"" + GetHtmlColor(borderStyle.Color_) + "\"";
            return(result);
        }
Exemple #2
0
 public bool IsEqual(ExportCacheCellBorderStyle borderStyle)
 {
     return(borderStyle.Width == 0 && Width == 0 ? true :
            borderStyle.IsDefault == IsDefault && borderStyle.Color_ == Color_ && borderStyle.Width == Width);
 }