Beispiel #1
0
 public static ExcelBorderStyle Map(SpreadsheetBorderStyle style)
 {
     return(style switch
     {
         SpreadsheetBorderStyle.None => ExcelBorderStyle.None,
         SpreadsheetBorderStyle.Thin => ExcelBorderStyle.Thin,
         SpreadsheetBorderStyle.Thick => ExcelBorderStyle.Thick,
         SpreadsheetBorderStyle.Dotted => ExcelBorderStyle.Dotted,
         SpreadsheetBorderStyle.Dashed => ExcelBorderStyle.Dashed,
         SpreadsheetBorderStyle.Double => ExcelBorderStyle.Double,
         _ => SpreadsheetLibraryDefaults.BorderStyle
     });
Beispiel #2
0
 public SpreadsheetBorderStyleBuilder(SpreadsheetBorderStyle settings)
 {
     container = settings;
 }