Beispiel #1
0
 public static ExcelColumnRowBase ToHeading2(this ExcelColumnRowBase range)
 {
     return(range.ToColorBackground(Heading2Background)
            .ToColorForeground(Heading2Foreground)
            .ToFontSize(Heading2FontSize)
            .ToBold());
 }
Beispiel #2
0
 public static ExcelColumnRowBase ToHeading3(this ExcelColumnRowBase range)
 {
     return(range.ToColorBackground(Heading3Background)
            .ToColorForeground(Heading3Foreground)
            .ToFontSize(Heading3FontSize)
            .ToItalic());
 }
Beispiel #3
0
 public static ExcelColumnRowBase ToPercent(this ExcelColumnRowBase range)
 {
     range.Style.ToPercent();
     return(range);
 }
Beispiel #4
0
 public static ExcelColumnRowBase ToDate(this ExcelColumnRowBase range)
 {
     range.Style.ToDate();
     return(range);
 }
Beispiel #5
0
 public static ExcelColumnRowBase ToCurrency(this ExcelColumnRowBase range, bool includeSymbol = true, bool includeChange = true)
 {
     range.Style.ToCurrency(includeSymbol, includeChange);
     return(range);
 }
Beispiel #6
0
 public static ExcelColumnRowBase To2Digits(this ExcelColumnRowBase range)
 {
     range.Style.To2Digits();
     return(range);
 }
Beispiel #7
0
 public static ExcelColumnRowBase ToColorBackground(this ExcelColumnRowBase range, SpreadsheetColor color)
 {
     range.Style.ToColorBackground(color);
     return(range);
 }
Beispiel #8
0
 public static ExcelColumnRowBase ToFontSize(this ExcelColumnRowBase range, int fontSize)
 {
     range.Style.ToFontSize(fontSize);
     return(range);
 }
Beispiel #9
0
 public static ExcelColumnRowBase ToUnderline(this ExcelColumnRowBase range, UnderlineStyle underlineStyle = UnderlineStyle.Single)
 {
     range.Style.ToUnderline(underlineStyle);
     return(range);
 }