internal BorderProperties(BorderProperties borderProps, ExcelBorderPart part) { if (borderProps != null) { m_color = borderProps.Color; m_style = borderProps.Style; m_width = borderProps.Width; } m_part = part; }
public BorderProperties(BorderProperties borderProps, ExcelBorderPart part) { if (borderProps != null) { this.m_color = borderProps.Color; this.m_style = borderProps.Style; this.m_width = borderProps.Width; } this.m_part = part; }
public BorderProperties(ExcelBorderPart part) { this.m_part = part; }
public BorderProperties(IColor color, ExcelBorderStyle style, ExcelBorderPart part) { this.m_color = color; this.m_style = style; this.m_part = part; }
private static BorderProperties FillBorderProperties(IExcelGenerator excel, BorderProperties currBorder, BorderProperties border, ExcelBorderPart part, object style, object width, object color) { BorderProperties borderProperties = currBorder; if (style != null) { if (borderProperties == null) { borderProperties = new BorderProperties(border, part); } borderProperties.Style = LayoutConvert.ToBorderLineStyle((RPLFormat.BorderStyles)style); } if (width != null) { if (borderProperties == null) { borderProperties = new BorderProperties(border, part); } borderProperties.Width = LayoutConvert.ToPoints((string)width); } if (color != null && !color.Equals("Transparent")) { if (borderProperties == null) { borderProperties = new BorderProperties(border, part); } borderProperties.Color = excel.AddColor((string)color); } return(borderProperties); }
internal BorderProperties(ExcelBorderPart part) { m_part = part; }
internal BorderProperties(IColor color, ExcelBorderStyle style, ExcelBorderPart part) { m_color = color; m_style = style; m_part = part; }