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