private static void FillBottomBorderProperties(RPLStyleProps style, IExcelGenerator excel, ref BorderProperties bottomBorder) { BorderProperties currBorder = BorderInfo.FillBorderProperties(excel, null, bottomBorder, ExcelBorderPart.Bottom, style[5], style[10], style[0]); currBorder = BorderInfo.FillBorderProperties(excel, currBorder, bottomBorder, ExcelBorderPart.Bottom, style[9], style[14], style[4]); if (currBorder != null) { bottomBorder = currBorder; } }
private static void FillRightBorderProperties(RPLStyleProps style, IExcelGenerator excel, ref BorderProperties rightBorder) { BorderProperties currBorder = BorderInfo.FillBorderProperties(excel, null, rightBorder, ExcelBorderPart.Right, style[5], style[10], style[0]); currBorder = BorderInfo.FillBorderProperties(excel, currBorder, rightBorder, ExcelBorderPart.Right, style[7], style[12], style[2]); if (currBorder != null) { rightBorder = currBorder; } }
private static void FillTopBorderProperties(RPLStyleProps style, IExcelGenerator excel, ref BorderProperties topBorder) { BorderProperties currBorder = BorderInfo.FillBorderProperties(excel, null, topBorder, ExcelBorderPart.Top, style[5], style[10], style[0]); currBorder = BorderInfo.FillBorderProperties(excel, currBorder, topBorder, ExcelBorderPart.Top, style[8], style[13], style[3]); if (currBorder != null) { topBorder = currBorder; } }
private static void FillLeftBorderProperties(RPLStyleProps style, IExcelGenerator excel, ref BorderProperties leftBorder) { BorderProperties currBorder = BorderInfo.FillBorderProperties(excel, null, leftBorder, ExcelBorderPart.Left, style[5], style[10], style[0]); currBorder = BorderInfo.FillBorderProperties(excel, currBorder, leftBorder, ExcelBorderPart.Left, style[6], style[11], style[1]); if (currBorder != null) { leftBorder = currBorder; } }