using DocumentFormat.OpenXml.Packaging; using Ap = DocumentFormat.OpenXml.ExtendedProperties; using Vt = DocumentFormat.OpenXml.VariantTypes; using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Spreadsheet; using Xdr = DocumentFormat.OpenXml.Drawing.Spreadsheet; using A = DocumentFormat.OpenXml.Drawing; using C = DocumentFormat.OpenXml.Drawing.Charts; using System.Linq; using System; using C14 = DocumentFormat.OpenXml.Office2010.Drawing.Charts; namespace ExcelExport { public class FLEXCalExport : ExportBase { // Creates a SpreadsheetDocument. public void CreatePackage(string filePath, string testRefNumber, string testTimeInfo, string testContent, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string carModel, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string cfc, string and1, string and2, double [] tibia1x, double [] tibia1y, double tibia1ReqMin, double tibia1ReqMax, double? tibia1RangeMin, double? tibia1RangeMax, double tibia1Min, double tibia1MinTime, double tibia1Max, double tibia1MaxTime, double [] tibia2x, double [] tibia2y, double tibia2ReqMin, double tibia2ReqMax, double? tibia2RangeMin, double? tibia2RangeMax, double tibia2Min, double tibia2MinTime, double tibia2Max, double tibia2MaxTime, double [] tibia3x, double [] tibia3y, double tibia3ReqMin, double tibia3ReqMax, double? tibia3RangeMin, double? tibia3RangeMax, double tibia3Min, double tibia3MinTime, double tibia3Max, double tibia3MaxTime, double [] tibia4x, double [] tibia4y, double tibia4ReqMin, double tibia4ReqMax, double? tibia4RangeMin, double? tibia4RangeMax, double tibia4Min, double tibia4MinTime, double tibia4Max, double tibia4MaxTime, double [] aclx, double [] acly, double aclReqMin, double aclReqMax, double? aclRangeMin, double? aclRangeMax, double aclMin, double aclMinTime, double aclMax, double aclMaxTime, double [] mclx, double [] mcly, double mclReqMin, double mclReqMax, double? mclRangeMin, double? mclRangeMax, double mclMin, double mclMinTime, double mclMax, double mclMaxTime, double [] pclx, double [] pcly, double pclReqMin, double pclReqMax, double? pclRangeMin, double? pclRangeMax, double pclMin, double pclMinTime, double pclMax, double pclMaxTime, string testType, string tibiaUnits, string aclUnits, string timeUnits ) { if( null == tibia1RangeMin || double.IsNaN((double)tibia1RangeMin) ){ tibia1RangeMin = null;} if (null == tibia1RangeMax || double.IsNaN((double)tibia1RangeMax)) { tibia1RangeMax = null; } if (null == tibia2RangeMin || double.IsNaN((double)tibia2RangeMin)) { tibia2RangeMin = null; } if (null == tibia2RangeMax || double.IsNaN((double)tibia2RangeMax)) { tibia2RangeMax = null; } if (null == tibia3RangeMin || double.IsNaN((double)tibia3RangeMin)) { tibia3RangeMin = null; } if (null == tibia3RangeMax || double.IsNaN((double)tibia3RangeMax)) { tibia3RangeMax = null; } if (null == tibia4RangeMin || double.IsNaN((double)tibia4RangeMin)) { tibia4RangeMin = null; } if (null == tibia4RangeMax || double.IsNaN((double)tibia4RangeMax)) { tibia4RangeMax = null; } if (null == aclRangeMin || double.IsNaN((double)aclRangeMin)) { aclRangeMin = null; } if (null == aclRangeMax || double.IsNaN((double)aclRangeMax)) { aclRangeMax = null; } if (null == mclRangeMin || double.IsNaN((double)mclRangeMin)) { mclRangeMin = null; } if (null == mclRangeMax || double.IsNaN((double)mclRangeMax)) { mclRangeMax = null; } if (null == pclRangeMin || double.IsNaN((double)pclRangeMin)) { pclRangeMin = null; } if (null == pclRangeMax || double.IsNaN((double)pclRangeMax)) { pclRangeMax = null; } using (SpreadsheetDocument package = SpreadsheetDocument.Create(filePath, SpreadsheetDocumentType.Workbook)) { CreateParts(package, testRefNumber, testTimeInfo, testContent, carName, testTemperature, measuringPoint, collisionSpeed, carModel, impactorId, impactorType, impactorWeight, studyPersonnel, cfc, and1, and2, tibia1x, tibia1y, tibia1ReqMin, tibia1ReqMax, tibia1RangeMin, tibia1RangeMax, tibia1Min, tibia1MinTime, tibia1Max, tibia1MaxTime, tibia2x, tibia2y, tibia2ReqMin, tibia2ReqMax, tibia2RangeMin, tibia2RangeMax, tibia2Min, tibia2MinTime, tibia2Max, tibia2MaxTime, tibia3x, tibia3y, tibia3ReqMin, tibia3ReqMax, tibia3RangeMin, tibia3RangeMax, tibia3Min, tibia3MinTime, tibia3Max, tibia3MaxTime, tibia4x, tibia4y, tibia4ReqMin, tibia4ReqMax, tibia4RangeMin, tibia4RangeMax, tibia4Min, tibia4MinTime, tibia4Max, tibia4MaxTime, aclx, acly, aclReqMin, aclReqMax, aclRangeMin, aclRangeMax, aclMin, aclMinTime, aclMax, aclMaxTime, mclx, mcly, mclReqMin, mclReqMax, mclRangeMin, mclRangeMax, mclMin, mclMinTime, mclMax, mclMaxTime, pclx, pcly, pclReqMin, pclReqMax, pclRangeMin, pclRangeMax, pclMin, pclMinTime, pclMax, pclMaxTime, testType, tibiaUnits, aclUnits, timeUnits ); } } // Adds child parts and generates content of the specified part. private void CreateParts(SpreadsheetDocument document, string testRefNumber, string testTimeInfo, string testContent, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string carModel, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string cfc, string and1, string and2, double[] tibia1x, double[] tibia1y, double tibia1ReqMin, double tibia1ReqMax, double? tibia1RangeMin, double? tibia1RangeMax, double tibia1Min, double tibia1MinTime, double tibia1Max, double tibia1MaxTime, double[] tibia2x, double[] tibia2y, double tibia2ReqMin, double tibia2ReqMax, double? tibia2RangeMin, double? tibia2RangeMax, double tibia2Min, double tibia2MinTime, double tibia2Max, double tibia2MaxTime, double[] tibia3x, double[] tibia3y, double tibia3ReqMin, double tibia3ReqMax, double? tibia3RangeMin, double? tibia3RangeMax, double tibia3Min, double tibia3MinTime, double tibia3Max, double tibia3MaxTime, double[] tibia4x, double[] tibia4y, double tibia4ReqMin, double tibia4ReqMax, double? tibia4RangeMin, double? tibia4RangeMax, double tibia4Min, double tibia4MinTime, double tibia4Max, double tibia4MaxTime, double[] aclx, double[] acly, double aclReqMin, double aclReqMax, double? aclRangeMin, double? aclRangeMax, double aclMin, double aclMinTime, double aclMax, double aclMaxTime, double[] mclx, double[] mcly, double mclReqMin, double mclReqMax, double? mclRangeMin, double? mclRangeMax, double mclMin, double mclMinTime, double mclMax, double mclMaxTime, double[] pclx, double[] pcly, double pclReqMin, double pclReqMax, double? pclRangeMin, double? pclRangeMax, double pclMin, double pclMinTime, double pclMax, double pclMaxTime, string testType, string tibiaUnits, string aclUnits, string timeUnits ) { ExtendedFilePropertiesPart extendedFilePropertiesPart1 = document.AddNewPart("rId3"); GenerateExtendedFilePropertiesPart1Content(extendedFilePropertiesPart1); WorkbookPart workbookPart1 = document.AddWorkbookPart(); GenerateWorkbookPart1Content(workbookPart1); _sharedStringTablePart = workbookPart1.AddNewPart("rId6"); _sharedStringTablePart.SharedStringTable = new SharedStringTable(); bool bFail = true; bFail = (tibia1Max < tibia1ReqMin || tibia1Max > tibia1ReqMax || tibia2Max < tibia2ReqMin || tibia2Max > tibia2ReqMax || tibia3Max < tibia3ReqMin || tibia3Max > tibia3ReqMax || tibia4Max < tibia4ReqMin || tibia4Max > tibia4ReqMax || aclMax < aclReqMin || aclMax > aclReqMax || mclMax < mclReqMin || mclMax > mclReqMax || pclMax < pclReqMin || pclMax > pclReqMax); WorksheetPart worksheetPart3 = workbookPart1.AddNewPart("rId1"); GenerateWorksheetPart3Content(worksheetPart3, testRefNumber, testTimeInfo, testContent, carName, carModel, testTemperature, measuringPoint, collisionSpeed, impactorId, impactorType, studyPersonnel, and1, and2, cfc, tibiaUnits, aclUnits, timeUnits, bFail, impactorWeight); WorksheetPart worksheetPart1 = workbookPart1.AddNewPart("rId3"); GenerateDatasheetContent(worksheetPart1, tibia1x, tibia1y, tibia1ReqMin, tibia1ReqMax, tibia2x, tibia2y, tibia2ReqMin, tibia2ReqMax, tibia3x, tibia3y, tibia3ReqMin, tibia3ReqMax, tibia4x, tibia4y, tibia4ReqMin, tibia4ReqMax, aclx, acly, aclReqMin, aclReqMax, mclx, mcly, mclReqMin, mclReqMax, pclx, pcly, pclReqMin, pclReqMax); WorksheetPart worksheetPart2 = workbookPart1.AddNewPart("rId2"); GenerateReportsheetContent(worksheetPart2, testRefNumber, testTimeInfo, testContent, carName, testTemperature, measuringPoint, collisionSpeed, carModel, impactorId, impactorType, impactorWeight, studyPersonnel, cfc, and1, and2, testType, tibia1x, tibia1y, tibia1Max, tibia1MaxTime, tibia1Min, tibia1MinTime, tibia1ReqMin, tibia1ReqMax, tibia2x, tibia2y, tibia2Max, tibia2MaxTime, tibia2Min, tibia2MinTime, tibia2ReqMin, tibia2ReqMax, tibia3x, tibia3y, tibia3Max, tibia3MaxTime, tibia3Min, tibia3MinTime, tibia3ReqMin, tibia3ReqMax, tibia4x, tibia4y, tibia4Max, tibia4MaxTime, tibia4Min, tibia4MinTime, tibia4ReqMin, tibia4ReqMax, aclx, acly, aclMax, aclMaxTime, aclMin, aclMinTime, aclReqMin, aclReqMax, mclx, mcly, mclMax, mclMaxTime, mclMin, mclMinTime, mclReqMin, mclReqMax, pclx, pcly, pclMax, pclMaxTime, pclMin, pclMinTime, pclReqMin, pclReqMax, tibiaUnits, aclUnits, timeUnits ); DrawingsPart drawingsPart1 = worksheetPart2.AddNewPart("rId2"); GenerateDrawingsPart1Content(drawingsPart1); ChartPart chartPart1 = drawingsPart1.AddNewPart("rId3"); GenerateTibia3ChartContent(chartPart1, tibia3x, tibia3y, tibia3ReqMin, tibia3ReqMax, tibia3RangeMin, tibia3RangeMax, tibiaUnits, timeUnits ); ChartPart chartPart2 = drawingsPart1.AddNewPart("rId7"); GeneratePCLChartContent(chartPart2, pclx, pcly, pclReqMin, pclReqMax, pclRangeMin, pclRangeMax, aclUnits, timeUnits); ChartPart chartPart3 = drawingsPart1.AddNewPart("rId2"); GenerateTibia2ChartContent(chartPart3, tibia2x, tibia2y, tibia2ReqMin, tibia2ReqMax, tibia2RangeMin, tibia2RangeMax, tibiaUnits, timeUnits); ChartPart chartPart4 = drawingsPart1.AddNewPart("rId1"); GenerateTibia1ChartContent(chartPart4, tibia1x, tibia1y, tibia1ReqMin, tibia1ReqMax, tibia1RangeMin, tibia1RangeMax, tibiaUnits, timeUnits); ChartPart chartPart5 = drawingsPart1.AddNewPart("rId6"); GenerateACLChartContent(chartPart5, aclx, acly, aclReqMin, aclReqMax, aclRangeMin, aclRangeMax, aclUnits, timeUnits); ChartPart chartPart6 = drawingsPart1.AddNewPart("rId5"); GenerateMCLChartContent(chartPart6, mclx, mcly, mclReqMin, mclReqMax, mclRangeMin, mclRangeMax, aclUnits, timeUnits); ChartPart chartPart7 = drawingsPart1.AddNewPart("rId4"); GenerateTibia4ChartContent(chartPart7, tibia4x, tibia4y, tibia4ReqMin, tibia4ReqMax, tibia4RangeMin, tibia4RangeMax, tibiaUnits, timeUnits); SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart1 = worksheetPart2.AddNewPart("rId1"); GenerateSpreadsheetPrinterSettingsPart1Content(spreadsheetPrinterSettingsPart1); CalculationChainPart calculationChainPart1 = workbookPart1.AddNewPart("rId17"); calculationChainPart1.CalculationChain = _calculationChain1; DrawingsPart drawingsPart2 = worksheetPart3.AddNewPart("rId2"); GenerateDrawingsPart2Content(drawingsPart2); SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart2 = worksheetPart3.AddNewPart("rId1"); GenerateSpreadsheetPrinterSettingsPart2Content(spreadsheetPrinterSettingsPart2); WorkbookStylesPart workbookStylesPart1 = workbookPart1.AddNewPart("rId5"); GenerateWorkbookStylesPart1Content(workbookStylesPart1); ThemePart themePart1 = workbookPart1.AddNewPart("rId4"); GenerateThemePart1Content(themePart1); SetPackageProperties(document); } // Generates content of extendedFilePropertiesPart1. private void GenerateExtendedFilePropertiesPart1Content(ExtendedFilePropertiesPart extendedFilePropertiesPart1) { Ap.Properties properties1 = new Ap.Properties(); properties1.AddNamespaceDeclaration("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"); Ap.Application application1 = new Ap.Application(); application1.Text = "Microsoft Excel"; Ap.DocumentSecurity documentSecurity1 = new Ap.DocumentSecurity(); documentSecurity1.Text = "0"; Ap.ScaleCrop scaleCrop1 = new Ap.ScaleCrop(); scaleCrop1.Text = "false"; Ap.HeadingPairs headingPairs1 = new Ap.HeadingPairs(); Vt.VTVector vTVector1 = new Vt.VTVector() { BaseType = Vt.VectorBaseValues.Variant, Size = (UInt32Value)4U }; Vt.Variant variant1 = new Vt.Variant(); Vt.VTLPSTR vTLPSTR1 = new Vt.VTLPSTR(); vTLPSTR1.Text = "Worksheets"; variant1.Append(vTLPSTR1); Vt.Variant variant2 = new Vt.Variant(); Vt.VTInt32 vTInt321 = new Vt.VTInt32(); vTInt321.Text = "3"; variant2.Append(vTInt321); Vt.Variant variant3 = new Vt.Variant(); Vt.VTLPSTR vTLPSTR2 = new Vt.VTLPSTR(); vTLPSTR2.Text = "Named Ranges"; variant3.Append(vTLPSTR2); Vt.Variant variant4 = new Vt.Variant(); Vt.VTInt32 vTInt322 = new Vt.VTInt32(); vTInt322.Text = "2"; variant4.Append(vTInt322); vTVector1.Append(variant1); vTVector1.Append(variant2); vTVector1.Append(variant3); vTVector1.Append(variant4); headingPairs1.Append(vTVector1); Ap.TitlesOfParts titlesOfParts1 = new Ap.TitlesOfParts(); Vt.VTVector vTVector2 = new Vt.VTVector() { BaseType = Vt.VectorBaseValues.Lpstr, Size = (UInt32Value)5U }; Vt.VTLPSTR vTLPSTR3 = new Vt.VTLPSTR(); vTLPSTR3.Text = "Top page"; Vt.VTLPSTR vTLPSTR4 = new Vt.VTLPSTR(); vTLPSTR4.Text = "Report"; Vt.VTLPSTR vTLPSTR5 = new Vt.VTLPSTR(); vTLPSTR5.Text = "Data"; Vt.VTLPSTR vTLPSTR6 = new Vt.VTLPSTR(); vTLPSTR6.Text = "Report!Print_Area"; Vt.VTLPSTR vTLPSTR7 = new Vt.VTLPSTR(); vTLPSTR7.Text = "\'Top page\'!Print_Area"; vTVector2.Append(vTLPSTR3); vTVector2.Append(vTLPSTR4); vTVector2.Append(vTLPSTR5); vTVector2.Append(vTLPSTR6); vTVector2.Append(vTLPSTR7); titlesOfParts1.Append(vTVector2); Ap.LinksUpToDate linksUpToDate1 = new Ap.LinksUpToDate(); linksUpToDate1.Text = "false"; Ap.SharedDocument sharedDocument1 = new Ap.SharedDocument(); sharedDocument1.Text = "false"; Ap.HyperlinksChanged hyperlinksChanged1 = new Ap.HyperlinksChanged(); hyperlinksChanged1.Text = "false"; Ap.ApplicationVersion applicationVersion1 = new Ap.ApplicationVersion(); applicationVersion1.Text = "12.0000"; properties1.Append(application1); properties1.Append(documentSecurity1); properties1.Append(scaleCrop1); properties1.Append(headingPairs1); properties1.Append(titlesOfParts1); properties1.Append(linksUpToDate1); properties1.Append(sharedDocument1); properties1.Append(hyperlinksChanged1); properties1.Append(applicationVersion1); extendedFilePropertiesPart1.Properties = properties1; } // Generates content of workbookPart1. private void GenerateWorkbookPart1Content(WorkbookPart workbookPart1) { Workbook workbook1 = new Workbook(); workbook1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); FileVersion fileVersion1 = new FileVersion() { ApplicationName = "xl", LastEdited = "4", LowestEdited = "4", BuildVersion = "4507" }; WorkbookProperties workbookProperties1 = new WorkbookProperties() { DefaultThemeVersion = (UInt32Value)124226U }; BookViews bookViews1 = new BookViews(); WorkbookView workbookView1 = new WorkbookView() { XWindow = -30, YWindow = -90, WindowWidth = (UInt32Value)11325U, WindowHeight = (UInt32Value)14880U }; bookViews1.Append(workbookView1); Sheets sheets1 = new Sheets(); Sheet sheet1 = new Sheet() { Name = "Top page", SheetId = (UInt32Value)3U, Id = "rId1" }; Sheet sheet2 = new Sheet() { Name = "Report", SheetId = (UInt32Value)2U, Id = "rId2" }; Sheet sheet3 = new Sheet() { Name = "Data", SheetId = (UInt32Value)1U, Id = "rId3" }; sheets1.Append(sheet1); sheets1.Append(sheet2); sheets1.Append(sheet3); DefinedNames definedNames1 = new DefinedNames(); DefinedName definedName1 = new DefinedName() { Name = "_xlnm.Print_Area", LocalSheetId = 1U }; definedName1.Text = "Report!$A$1:$R$134"; DefinedName definedName2 = new DefinedName() { Name = "_xlnm.Print_Area", LocalSheetId = (UInt32Value)0U }; definedName2.Text = "\'Top page\'!$A$1:$AD$53"; definedNames1.Append(definedName1); definedNames1.Append(definedName2); CalculationProperties calculationProperties1 = new CalculationProperties() { CalculationId = (UInt32Value)125725U }; workbook1.Append(fileVersion1); workbook1.Append(workbookProperties1); workbook1.Append(bookViews1); workbook1.Append(sheets1); workbook1.Append(definedNames1); workbook1.Append(calculationProperties1); workbookPart1.Workbook = workbook1; } private Cell InsertNumericCell(string column, int index, string value) { Cell c = new Cell() { CellReference = string.Format("{0}{1}", column, 2 + index) }; c.Append(new CellValue() { Text = value }); return c; } // Generates content of worksheetPart1. private void GenerateDatasheetContent(WorksheetPart worksheetPart1, double [] tibia1x, double [] tibia1y, double tibia1ReqMin, double tibia1ReqMax, double [] tibia2x, double [] tibia2y, double tibia2ReqMin, double tibia2ReqMax, double [] tibia3x, double [] tibia3y, double tibia3ReqMin, double tibia3ReqMax, double [] tibia4x, double [] tibia4y, double tibia4ReqMin, double tibia4ReqMax, double [] ACLx, double [] ACLy, double aclReqMin, double aclReqMax, double [] MCLx, double [] MCLy, double mclReqMin, double mclReqMax, double [] PCLx, double [] PCLy, double pclReqMin, double pclReqMax) { Worksheet worksheet1 = new Worksheet(); double tibia1DomainMin = tibia1x.Length > 0 ? tibia1x.Min() : 0; double tibia1DomainMax = tibia1x.Length > 0 ? tibia1x.Max() : 0; double tibia2DomainMin = tibia2x.Length > 0 ?tibia2x.Min() : 0; double tibia2DomainMax = tibia2x.Length > 0 ?tibia2x.Max() : 0; double tibia3DomainMin = tibia3x.Length > 0 ? tibia3x.Min() : 0; double tibia3DomainMax = tibia3x.Length > 0 ? tibia3x.Max() : 0; double tibia4DomainMin = tibia4x.Length > 0 ?tibia4x.Min() : 0; double tibia4DomainMax = tibia4x.Length > 0 ?tibia4x.Max() : 0; double aclDomainMin = ACLx.Length > 0 ? ACLx.Min() : 0; double aclDomainMax = ACLx.Length > 0 ? ACLx.Max() : 0; double mclDomainMin = MCLx.Length > 0 ? MCLx.Min() : 0; double mclDomainMax = MCLx.Length > 0 ? MCLx.Max() : 0; double pclDomainMin = PCLx.Length > 0 ? PCLx.Min() : 0; double pclDomainMax = PCLx.Length > 0 ? PCLx.Max() : 0; int maxLength = 0; { int[] lengths = new int[] {tibia1x.Length, tibia1y.Length, tibia2x.Length, tibia2y.Length, tibia3x.Length,tibia3y.Length, tibia4x.Length, tibia4y.Length, ACLx.Length, ACLy.Length, MCLx.Length, MCLy.Length, PCLx.Length, PCLy.Length}; maxLength = lengths.Max(); } worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension1 = new SheetDimension() { Reference = string.Format("A1:AP{0}",1+maxLength) }; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TopLeftCell = "A1", WorkbookViewId = 0U }; Selection selection1 = new Selection() { ActiveCell = "A1", SequenceOfReferences = new ListValue() { InnerText = "A1" } }; sheetView1.Append(selection1); sheetViews1.Append(sheetView1); SheetFormatProperties sheetFormatProperties1 = new SheetFormatProperties() { DefaultRowHeight = 15D }; Columns columns1 = new Columns(); Column column1 = new Column() { Min = 3U, Max = 6U, Width = 9.140625D, Style = 5U }; Column column2 = new Column() { Min = 9U, Max = 12U, Width = 9.140625D, Style = 5U }; Column column3 = new Column() { Min = 15U, Max = 18U, Width = 9.140625D, Style = 5U }; Column column4 = new Column() { Min = 21U, Max = 24U, Width = 9.140625D, Style = 5U }; Column column5 = new Column() { Min = 27U, Max = 30U, Width = 9.140625D, Style = 5U }; Column column6 = new Column() { Min = 33U, Max = 36U, Width = 9.140625D, Style = 5U }; columns1.Append(column1); columns1.Append(column2); columns1.Append(column3); columns1.Append(column4); columns1.Append(column5); columns1.Append(column6); SheetData sheetData1 = new SheetData(); Row r = new Row() { RowIndex = 1U, Spans = new ListValue() { InnerText = "1:42" } }; Cell c = new Cell() { CellReference = "A1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue() { Text = InsertSharedStringItem("T1-x").ToString() }); r.Append(c); c = new Cell() { CellReference = "B1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue() { Text = InsertSharedStringItem("T1-y").ToString() }); r.Append(c); c = new Cell() { CellReference = "C1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue() { Text = InsertSharedStringItem("T1-Min-x").ToString() }); r.Append(c); c = new Cell() { CellReference = "D1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue() { Text = InsertSharedStringItem("T1-Min-y").ToString() }); r.Append(c); c = new Cell() { CellReference = "E1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T1-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "F1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T1-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "G1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "H1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "I1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "J1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "K1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "L1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T2-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "M1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "N1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "O1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "P1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "Q1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "R1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T3-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "S1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "T1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "U1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "V1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "W1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "X1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("T4-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "Y1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "Z1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AA1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AB1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AC1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AD1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("ACL-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AE1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AF1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AG1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AH1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AI1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AJ1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("MCL-Max-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AK1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AL1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AM1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-Min-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AN1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-Min-y").ToString()}); r.Append(c); c = new Cell() { CellReference = "AO1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-Max-x").ToString()}); r.Append(c); c = new Cell() { CellReference = "AP1", StyleIndex = 5U, DataType = CellValues.SharedString }; c.Append(new CellValue(){Text = InsertSharedStringItem("PCL-Max-y").ToString()}); r.Append(c); sheetData1.Append(r); for( int i = 0; i < maxLength; i ++ ) { r = new Row(){RowIndex = Convert.ToUInt32(2+i), Spans = new ListValue(){InnerText = "1:42"}}; if( i < tibia1x.Length ){r.Append(InsertNumericCell("A", i, tibia1x[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("A{0}",2+i)}); } if( i < tibia1y.Length){ r.Append(InsertNumericCell("B",i, tibia1y[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("B{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("C",i, tibia1DomainMin.ToString())); r.Append(InsertNumericCell("D",i, tibia1ReqMin.ToString())); r.Append(InsertNumericCell("E",i, tibia1DomainMin.ToString())); r.Append(InsertNumericCell("F",i, tibia1ReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("C",i, tibia1DomainMax.ToString())); r.Append(InsertNumericCell("D",i, tibia1ReqMin.ToString())); r.Append(InsertNumericCell("E",i, tibia1DomainMax.ToString())); r.Append(InsertNumericCell("F",i, tibia1ReqMax.ToString())); } if( i < tibia2x.Length){ r.Append(InsertNumericCell("G", i, tibia2x[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("G{0}",2+i)});} if( i < tibia2y.Length){ r.Append(InsertNumericCell("H", i, tibia2y[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("H{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("I",i, tibia2DomainMin.ToString())); r.Append(InsertNumericCell("J",i, tibia2ReqMin.ToString())); r.Append(InsertNumericCell("K",i, tibia2DomainMin.ToString())); r.Append(InsertNumericCell("L",i, tibia2ReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("I",i, tibia2DomainMax.ToString())); r.Append(InsertNumericCell("J",i, tibia2ReqMin.ToString())); r.Append(InsertNumericCell("K",i, tibia2DomainMax.ToString())); r.Append(InsertNumericCell("L",i, tibia2ReqMax.ToString())); } if( i < tibia3x.Length){ r.Append(InsertNumericCell("M", i, tibia3x[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("M{0}",2+i)});} if( i < tibia3y.Length){ r.Append(InsertNumericCell("N", i, tibia3y[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("N{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("O",i, tibia3DomainMin.ToString())); r.Append(InsertNumericCell("P",i, tibia3ReqMin.ToString())); r.Append(InsertNumericCell("Q",i, tibia3DomainMin.ToString())); r.Append(InsertNumericCell("R",i, tibia3ReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("O",i, tibia3DomainMax.ToString())); r.Append(InsertNumericCell("P",i, tibia3ReqMin.ToString())); r.Append(InsertNumericCell("Q",i, tibia3DomainMax.ToString())); r.Append(InsertNumericCell("R",i, tibia3ReqMax.ToString())); } if( i < tibia4x.Length){ r.Append(InsertNumericCell("S", i, tibia4x[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("S{0}",2+i)});} if( i < tibia4y.Length){ r.Append(InsertNumericCell("T", i, tibia4y[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("T{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("U",i, tibia4DomainMin.ToString())); r.Append(InsertNumericCell("V",i, tibia4ReqMin.ToString())); r.Append(InsertNumericCell("W",i, tibia4DomainMin.ToString())); r.Append(InsertNumericCell("X",i, tibia4ReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("U",i, tibia4DomainMax.ToString())); r.Append(InsertNumericCell("V",i, tibia4ReqMin.ToString())); r.Append(InsertNumericCell("W",i, tibia4DomainMax.ToString())); r.Append(InsertNumericCell("X",i, tibia4ReqMax.ToString())); } if( i < ACLx.Length){ r.Append(InsertNumericCell("Y", i, ACLx[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("Y{0}",2+i)});} if( i < ACLy.Length){ r.Append(InsertNumericCell("Z", i, ACLy[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("Z{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("AA",i, aclDomainMin.ToString())); r.Append(InsertNumericCell("AB",i, aclReqMin.ToString())); r.Append(InsertNumericCell("AC",i, aclDomainMin.ToString())); r.Append(InsertNumericCell("AD",i, aclReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("AA",i, aclDomainMax.ToString())); r.Append(InsertNumericCell("AB",i, aclReqMin.ToString())); r.Append(InsertNumericCell("AC",i, aclDomainMax.ToString())); r.Append(InsertNumericCell("AD",i, aclReqMax.ToString())); } if( i < MCLx.Length){ r.Append(InsertNumericCell("AE", i, MCLx[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("AE{0}",2+i)});} if( i < MCLy.Length){ r.Append(InsertNumericCell("AF", i, MCLy[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("AF{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("AG",i, mclDomainMin.ToString())); r.Append(InsertNumericCell("AH",i, mclReqMin.ToString())); r.Append(InsertNumericCell("AI",i, mclDomainMin.ToString())); r.Append(InsertNumericCell("AJ",i, mclReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("AG",i, mclDomainMax.ToString())); r.Append(InsertNumericCell("AH",i, mclReqMin.ToString())); r.Append(InsertNumericCell("AI",i, mclDomainMax.ToString())); r.Append(InsertNumericCell("AJ",i, mclReqMax.ToString())); } if( i < PCLx.Length){ r.Append(InsertNumericCell("AK", i, PCLx[i].ToString()));} else{ r.Append(new Cell(){CellReference = string.Format("AK{0}",2+i)});} if( i < PCLy.Length){ r.Append(InsertNumericCell("AL", i, PCLy[i].ToString()));} else{ r.Append(new Cell(){ CellReference = string.Format("AL{0}",2+i)});} if( 0 == i ) { r.Append(InsertNumericCell("AM",i, pclDomainMin.ToString())); r.Append(InsertNumericCell("AN",i, pclReqMin.ToString())); r.Append(InsertNumericCell("AO",i, pclDomainMin.ToString())); r.Append(InsertNumericCell("AP",i, pclReqMax.ToString())); } else if(1 == i) { r.Append(InsertNumericCell("AM",i, pclDomainMax.ToString())); r.Append(InsertNumericCell("AN",i, pclReqMin.ToString())); r.Append(InsertNumericCell("AO",i, pclDomainMax.ToString())); r.Append(InsertNumericCell("AP",i, pclReqMax.ToString())); } sheetData1.Append(r); } PageMargins pageMargins1 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; worksheet1.Append(sheetDimension1); worksheet1.Append(sheetViews1); worksheet1.Append(sheetFormatProperties1); worksheet1.Append(columns1); worksheet1.Append(sheetData1); worksheet1.Append(pageMargins1); worksheetPart1.Worksheet = worksheet1; } private Row CreateBlankRow(uint row) { Row r = new Row() { RowIndex = (UInt32Value)row, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = string.Format("A{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("B{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("C{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("D{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("E{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("F{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("G{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("H{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("I{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("J{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("K{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("L{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("M{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("N{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("O{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("P{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",row), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("R{0}", row), StyleIndex = (UInt32Value)2U }); return r; } private Cell CreateStylizedNumericCell(string reference, uint style, string value) { Cell c = new Cell() { CellReference = reference, StyleIndex = (UInt32Value)style }; c.Append(new CellValue(value)); return c; } private Row CreatePassRow(uint idx) { Row r = new Row() { RowIndex = (UInt32Value)idx, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = string.Format("A{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)17U }); r.Append(CreateStylizedTextCell(string.Format("N{0}",idx), (UInt32Value)82U, "PASS")); r.Append(new Cell() { CellReference = string.Format("O{0}",idx), StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)84U }); r.Append(new Cell() { CellReference = string.Format("R{0}", idx), StyleIndex = (UInt32Value)12U }); return r; } private Row CreateFailRow(uint idx) { Row r = new Row() { RowIndex = (UInt32Value)idx, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = string.Format("A{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)16U}); r.Append(CreateStylizedTextCell(string.Format("N{0}",idx), (UInt32Value)79U, "FAIL")); r.Append(new Cell() { CellReference = string.Format("O{0}",idx), StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = string.Format("R{0}",idx), StyleIndex = (UInt32Value)16U }); return r; } // Generates content of worksheetPart2. private void GenerateReportsheetContent(WorksheetPart worksheetPart2, string testRefNumber, string testTimeInfo, string testContent, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string carModel, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string cfc, string and1, string and2, string testType, double [] tibia1x, double [] tibia1y, double tibia1Max, double tibia1MaxTime, double tibia1Min, double tibia1MinTime, double tibia1ReqMin, double tibia1ReqMax, double[] tibia2x, double[] tibia2y, double tibia2Max, double tibia2MaxTime, double tibia2Min, double tibia2MinTime, double tibia2ReqMin, double tibia2ReqMax, double[] tibia3x, double[] tibia3y, double tibia3Max, double tibia3MaxTime, double tibia3Min, double tibia3MinTime, double tibia3ReqMin, double tibia3ReqMax, double[] tibia4x, double[] tibia4y, double tibia4Max, double tibia4MaxTime, double tibia4Min, double tibia4MinTime, double tibia4ReqMin, double tibia4ReqMax, double[] aclx, double[] acly, double aclMax, double aclMaxTime, double aclMin, double aclMinTime, double aclReqMin, double aclReqMax, double[] mclx, double[] mcly, double mclMax, double mclMaxTime, double mclMin, double mclMinTime, double mclReqMin, double mclReqMax, double[] pclx, double[] pcly, double pclMax, double pclMaxTime, double pclMin, double pclMinTime, double pclReqMin, double pclReqMax, string tibiaUnits, string aclUnits, string timeUnits) { Worksheet worksheet2 = new Worksheet(); worksheet2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension2 = new SheetDimension() { Reference = "A1:R134" }; SheetViews sheetViews2 = new SheetViews(); SheetView sheetView2 = new SheetView() { WorkbookViewId = 0U }; Selection selection2 = new Selection() { ActiveCell = "A1", SequenceOfReferences = new ListValue() { InnerText = "A1:C1" } }; sheetView2.Append(selection2); sheetViews2.Append(sheetView2); SheetFormatProperties sheetFormatProperties2 = new SheetFormatProperties() { DefaultColumnWidth = 4.85546875D, DefaultRowHeight = 11.25D, CustomHeight = true }; Columns columns2 = new Columns(); Column column7 = new Column() { Min = 1U, Max = 16384U, Width = 4.85546875D, Style = 1U }; columns2.Append(column7); SheetData sheetData2 = new SheetData(); Row r = new Row() { RowIndex = 1U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A1", 29U, "LWRLEG(FLEX)")); r.Append(new Cell() { CellReference = "B1", StyleIndex = 30U }); r.Append(new Cell() { CellReference = "C1", StyleIndex = 31U }); r.Append(CreateStylizedTextCell("D1", 92U, "Tibia")); r.Append(new Cell() { CellReference = "E1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "F1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "G1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "H1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "I1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "J1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "K1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "L1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "M1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "N1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "O1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "P1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "Q1", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "R1", StyleIndex = 93U }); sheetData2.Append(r); r = new Row() { RowIndex = 2U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A2", 32U, "検定")); r.Append(new Cell() { CellReference = "B2", StyleIndex = 33U }); r.Append(new Cell() { CellReference = "C2", StyleIndex = 34U }); r.Append(CreateStylizedTextCell("D2", 92U, testType)); r.Append(new Cell() { CellReference = "E2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "F2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "G2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "H2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "I2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "J2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "K2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "L2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "M2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "N2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "O2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "P2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "Q2", StyleIndex = 93U }); r.Append(new Cell() { CellReference = "R2", StyleIndex = 93U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(3U)); //IMPACTOR_ID 試験担当者 TEST_CFC r = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A4", (UInt32Value)60U, "試験NO")); r.Append(new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)88U }); r.Append(CreateStylizedTextCell("C4", (UInt32Value)62U, testRefNumber, "試験NO")); r.Append(new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("E4", (UInt32Value)60U, "試験温度")); r.Append(new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H4", (UInt32Value)62U, testTemperature, "試験温度")); r.Append(new Cell() { CellReference = "I4", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J4", (UInt32Value)60U, "インパクタID")); r.Append(new Cell() { CellReference = "K4", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L4", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M4", (UInt32Value)62U, impactorId, "インパクタID")); r.Append(new Cell() { CellReference = "N4", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("O4", (UInt32Value)60U, "周波数クラス")); r.Append(new Cell() { CellReference = "P4", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q4", (UInt32Value)62U, cfc, "周波数クラス")); r.Append(new Cell() { CellReference = "R4", StyleIndex = (UInt32Value)62U }); sheetData2.Append(r); //MEASURING_POINT インパクタ種類 IMPACTOR_TYPE r = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A5", (UInt32Value)60U, "試験実施日")); r.Append(new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C5", (UInt32Value)61U, testTimeInfo, "試験実施日")); r.Append(new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E5", (UInt32Value)60U, "測定点")); r.Append(new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H5", (UInt32Value)61U, measuringPoint, "測定点")); r.Append(new Cell() { CellReference = "I5", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("J5", (UInt32Value)60U, "インパクタ種類")); r.Append(new Cell() { CellReference = "K5", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L5", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M5", (UInt32Value)61U, impactorType, "インパクタ種類")); r.Append(new Cell() { CellReference = "N5", StyleIndex = (UInt32Value)61U }); r.Append(new Cell() { CellReference = "O5", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P5", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q5", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R5", StyleIndex = (UInt32Value)2U }); sheetData2.Append(r); //COLLISION_SPEED インパクタ重量 IMPACTOR_WEIGHT 予備1 AND_1 r = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A6", (UInt32Value)60U, "検定内容")); r.Append(new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C6", (UInt32Value)61U, testContent, "検定内容")); r.Append(new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E6", (UInt32Value)60U, "衝突速度")); r.Append(new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H6", (UInt32Value)62U, collisionSpeed, "衝突速度")); r.Append(new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J6", (UInt32Value)60U, "インパクタ重量")); r.Append(new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L6", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M6", (UInt32Value)61U, impactorWeight, "インパクタ重量")); r.Append(new Cell() { CellReference = "N6", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("O6", (UInt32Value)60U, "予備1")); r.Append(new Cell() { CellReference = "P6", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q6", (UInt32Value)62U, and1, "予備1")); r.Append(new Cell() { CellReference = "R6", StyleIndex = (UInt32Value)54U }); sheetData2.Append(r); //CAR_MODEL 試験担当者 STUDY_PERSONNEL 予備2 AND_2 r = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A7", (UInt32Value)60U, "車名")); r.Append(new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C7", (UInt32Value)61U, carName, "車名")); r.Append(new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E7", (UInt32Value)60U, "型式")); r.Append(new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H7", (UInt32Value)62U, carModel, "型式")); r.Append(new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J7", (UInt32Value)60U, "試験担当者")); r.Append(new Cell() { CellReference = "K7", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L7", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M7", (UInt32Value)61U, studyPersonnel, "試験担当者")); r.Append(new Cell() { CellReference = "N7", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("O7", (UInt32Value)60U, "予備2")); r.Append(new Cell() { CellReference = "P7", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q7", (UInt32Value)62U, and2, "予備2")); r.Append(new Cell() { CellReference = "R7", StyleIndex = (UInt32Value)61U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A8", (UInt32Value)66U, "Tibia-1")); r.Append(new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "L8", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "M8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "N8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "O8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "P8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "Q8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R8", StyleIndex = (UInt32Value)9U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)9U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K9", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L9", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M9", (UInt32Value)64U, string.Format("Tibia-1({0})", tibiaUnits))); r.Append(new Cell() { CellReference = "N9", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "O9", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "P9", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "Q9", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "R9", StyleIndex = (UInt32Value)64U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L10", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M10", (UInt32Value)65U, "Max")); r.Append(new Cell() { CellReference = "N10", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O10", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P10", 63U, tibia1Max.ToString())); r.Append(new Cell() { CellReference = "Q10", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R10", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)11U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K11", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L11", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M11", (UInt32Value)65U, string.Format("Time of Max ({0})", timeUnits))); r.Append(new Cell() { CellReference = "N11", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O11", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P11", (UInt32Value)63U, tibia1MaxTime.ToString())); r.Append(new Cell() { CellReference = "Q11", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R11", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L12", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M12", (UInt32Value)65U, "Min")); r.Append(new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O12", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P12", (UInt32Value)63U, tibia1Min.ToString())); r.Append(new Cell() { CellReference = "Q12", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R12", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)13U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K13", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L13", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M13", (UInt32Value)65U, string.Format("Time of Min({0})",timeUnits))); r.Append(new Cell() { CellReference = "N13", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O13", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P13", (UInt32Value)63U, tibia1MinTime.ToString())); r.Append(new Cell() { CellReference = "Q13", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R13", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(14U)); r = new Row() { RowIndex = (UInt32Value)15U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K15", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L15", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M15", (UInt32Value)65U, "Required Min")); r.Append(new Cell() { CellReference = "N15", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O15", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P15", (UInt32Value)63U, tibia1ReqMin.ToString())); r.Append(new Cell() { CellReference = "Q15", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R15", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M16", (UInt32Value)65U, "Required Max")); r.Append(new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P16", (UInt32Value)63U, tibia1ReqMax.ToString())); r.Append(new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(17U)); sheetData2.Append(CreateBlankRow(18U)); bool bFail = (tibia1Max < tibia1ReqMin || tibia1Max > tibia1ReqMax); if( bFail ){sheetData2.Append(CreateFailRow(19U));} else{ sheetData2.Append(CreatePassRow(19U));} sheetData2.Append(CreateBlankRow(20U)); sheetData2.Append(CreateBlankRow(21U)); r = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A22", (UInt32Value)73U, "Tibia-2")); r.Append(new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "P22", StyleIndex = (UInt32Value)12U }); r.Append(new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)12U }); r.Append(new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)12U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)23U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L23", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M23", (UInt32Value)85U, string.Format("Tibia-2({0})", tibiaUnits))); r.Append(new Cell() { CellReference = "N23", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "O23", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "P23", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "Q23", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "R23", StyleIndex = (UInt32Value)85U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L24", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M24", (UInt32Value)90U, "Max")); r.Append(new Cell() { CellReference = "N24", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O24", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P24", (UInt32Value)63U, tibia2Max.ToString())); r.Append(new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)25U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L25", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M25", (UInt32Value)90U, string.Format("Time of Max ({0})", timeUnits))); r.Append(new Cell() { CellReference = "N25", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O25", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P25", (UInt32Value)63U, tibia2MaxTime.ToString())); r.Append(new Cell() { CellReference = "Q25", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R25", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M26", (UInt32Value)90U, "Min")); r.Append(new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P26", (UInt32Value)63U, tibia2Min.ToString())); r.Append(new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)27U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K27", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L27", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M27", (UInt32Value)90U, string.Format("Time of Min ({0})",timeUnits))); r.Append(new Cell() { CellReference = "N27", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O27", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P27", (UInt32Value)63U, tibia2MinTime.ToString())); r.Append(new Cell() { CellReference = "Q27", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R27", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(28U)); r = new Row() { RowIndex = (UInt32Value)29U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L29", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M29", (UInt32Value)90U, "Required Min")); r.Append(new Cell() { CellReference = "N29", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O29", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P29", (UInt32Value)63U, tibia2ReqMin.ToString())); r.Append(new Cell() { CellReference = "Q29", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R29", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "L30", StyleIndex = (UInt32Value)9U }); r.Append(CreateStylizedTextCell("M30", (UInt32Value)90U, "Required Max")); r.Append(new Cell() { CellReference = "N30", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O30", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P30", (UInt32Value)63U, tibia2ReqMax.ToString())); r.Append(new Cell() { CellReference = "Q30", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(31U)); sheetData2.Append(CreateBlankRow(32U)); bFail = (tibia2Max < tibia2ReqMin || tibia2Max > tibia2ReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(33U));} else{ sheetData2.Append(CreatePassRow(33U));} sheetData2.Append(CreateBlankRow(34U)); sheetData2.Append(CreateBlankRow(35U)); r = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A36", (UInt32Value)75U, "Tibia-3")); r.Append(new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "L36", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "M36", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "N36", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "O36", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "P36", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "Q36", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "R36", StyleIndex = (UInt32Value)14U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L37", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M37", (UInt32Value)86U,string.Format("Tibia-3({0})",tibiaUnits))); r.Append(new Cell() { CellReference = "N37", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "O37", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "P37", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "Q37", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "R37", StyleIndex = (UInt32Value)86U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L38", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M38", (UInt32Value)68U, "Max")); r.Append(new Cell() { CellReference = "N38", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O38", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P38", (UInt32Value)63U, tibia3Max.ToString())); r.Append(new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)39U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L39", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M39", (UInt32Value)68U, string.Format("Time of Max({0})", timeUnits))); r.Append(new Cell() { CellReference = "N39", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O39", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P39", (UInt32Value)63U, tibia3MaxTime.ToString())); r.Append(new Cell() { CellReference = "Q39", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R39", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L40", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M40", (UInt32Value)68U, "Min")); r.Append(new Cell() { CellReference = "N40", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O40", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P40", (UInt32Value)63U, tibia3Min.ToString())); r.Append(new Cell() { CellReference = "Q40", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R40", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)41U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K41", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L41", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M41", (UInt32Value)68U, string.Format("Time of Min({0})", timeUnits))); r.Append(new Cell() { CellReference = "N41", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O41", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P41", (UInt32Value)63U, tibia3MinTime.ToString())); r.Append(new Cell() { CellReference = "Q41", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R41", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(42U)); r = new Row() { RowIndex = (UInt32Value)43U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K43", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L43", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M43", (UInt32Value)68U, "Required Min")); r.Append(new Cell() { CellReference = "N43", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O43", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P43", (UInt32Value)63U, tibia3ReqMin.ToString())); r.Append(new Cell() { CellReference = "Q43", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R43", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L44", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M44", (UInt32Value)68U, "Required Max")); r.Append(new Cell() { CellReference = "N44", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O44", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P44", (UInt32Value)63U, tibia3ReqMax.ToString())); r.Append(new Cell() { CellReference = "Q44", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R44", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(45U)); sheetData2.Append(CreateBlankRow(46U)); bFail = (tibia3Max < tibia3ReqMin || tibia3Max > tibia3ReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(47U));} else{ sheetData2.Append(CreatePassRow(47U));} sheetData2.Append(CreateBlankRow(48U)); sheetData2.Append(CreateBlankRow(49U)); r = new Row() { RowIndex = (UInt32Value)50U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A50", (UInt32Value)77U, "Tibia-4")); r.Append(new Cell() { CellReference = "B50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "C50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "D50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "E50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "F50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "G50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "H50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "I50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "J50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "K50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "L50", StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = "M50", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "N50", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "O50", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "P50", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Q50", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "R50", StyleIndex = (UInt32Value)6U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)51U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K51", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L51", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M51", (UInt32Value)91U, string.Format("Tibia-4({0})",tibiaUnits))); r.Append(new Cell() { CellReference = "N51", StyleIndex = (UInt32Value)91U }); r.Append(new Cell() { CellReference = "O51", StyleIndex = (UInt32Value)91U }); r.Append(new Cell() { CellReference = "P51", StyleIndex = (UInt32Value)91U }); r.Append(new Cell() { CellReference = "Q51", StyleIndex = (UInt32Value)91U }); r.Append(new Cell() { CellReference = "R51", StyleIndex = (UInt32Value)91U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)52U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K52", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L52", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M52", (UInt32Value)89U, "Max") ); r.Append(new Cell() { CellReference = "N52", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O52", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P52", (UInt32Value)63U, tibia4Max.ToString())); r.Append(new Cell() { CellReference = "Q52", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R52", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)53U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K53", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L53", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M53", (UInt32Value)89U, string.Format("Time of Max({0})", tibia4MaxTime.ToString()))); r.Append(new Cell() { CellReference = "N53", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O53", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P53", 63U, tibia4MaxTime.ToString())); r.Append(new Cell() { CellReference = "Q53", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R53", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)54U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K54", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L54", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M54", (UInt32Value)89U, "Min")); r.Append(new Cell() { CellReference = "N54", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O54", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P54", 63U, tibia4Min.ToString())); r.Append(new Cell() { CellReference = "Q54", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R54", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)55U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K55", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L55", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M55", (UInt32Value)89U, "Time of Min")); r.Append(new Cell() { CellReference = "N55", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O55", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P55", (UInt32Value)63U, tibia4MinTime.ToString())); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(56U)); r = new Row() { RowIndex = (UInt32Value)57U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K57", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L57", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M57", (UInt32Value)89U, "Required Min")); r.Append(new Cell() { CellReference = "N57", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O57", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P57", 63U, tibia4ReqMin.ToString())); r.Append(new Cell() { CellReference = "Q57", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R57", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)58U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K58", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L58", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M58", (UInt32Value)89U, "Required Max")); r.Append(new Cell() { CellReference = "N58", StyleIndex = (UInt32Value)89U }); r.Append(new Cell() { CellReference = "O58", StyleIndex = (UInt32Value)89U }); r.Append(CreateStylizedNumericCell("P58", 63U, tibia4ReqMax.ToString())); r.Append(new Cell() { CellReference = "Q58", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R58", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(59U)); sheetData2.Append(CreateBlankRow(60U)); bFail = (tibia4Max < tibia4ReqMin || tibia4Max > tibia4ReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(61U));} else{ sheetData2.Append(CreatePassRow(61U));} for( uint i = 62U; i < 68U; i ++ ) { sheetData2.Append(CreateBlankRow(i)); } r = new Row() { RowIndex = (UInt32Value)68U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A68", (UInt32Value)29U, "LWR LEG(FLEX)")); r.Append(new Cell() { CellReference = "B68", StyleIndex = (UInt32Value)30U }); r.Append(new Cell() { CellReference = "C68", StyleIndex = (UInt32Value)31U }); r.Append(CreateStylizedTextCell("D68", (UInt32Value)92U, "MCL / ACL / PCL")); r.Append(new Cell() { CellReference = "E68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "F68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "G68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "H68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "I68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "J68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "K68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "L68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "M68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "N68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "O68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "P68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "Q68", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "R68", StyleIndex = (UInt32Value)93U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)69U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A69", (UInt32Value)32U, "検定")); r.Append(new Cell() { CellReference = "B69", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C69", StyleIndex = (UInt32Value)34U }); r.Append(CreateStylizedTextCell("D69", (UInt32Value)92U, testType)); r.Append(new Cell() { CellReference = "E69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "F69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "G69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "H69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "I69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "J69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "K69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "L69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "M69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "N69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "O69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "P69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "Q69", StyleIndex = (UInt32Value)93U }); r.Append(new Cell() { CellReference = "R69", StyleIndex = (UInt32Value)93U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(70U)); //試験NO TEST_REF_NUMBER 試験温度 TEST_TEMPERATURE インパクタID IMPACTOR_ID 試験担当者 TEST_CFC r = new Row() { RowIndex = (UInt32Value)71U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A71", (UInt32Value)60U, "試験NO")); r.Append(new Cell() { CellReference = "B71", StyleIndex = (UInt32Value)88U }); r.Append(CreateStylizedTextCell("C71", (UInt32Value)62U, testRefNumber, "試験NO")); r.Append(new Cell() { CellReference = "D71", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("E71", (UInt32Value)60U, "試験温度")); r.Append(new Cell() { CellReference = "F71", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G71", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H71", (UInt32Value)62U, testTemperature, "試験温度")); r.Append(new Cell() { CellReference = "I71", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J71", (UInt32Value)60U, "インパクタID")); r.Append(new Cell() { CellReference = "K71", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L71", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M71", (UInt32Value)62U, impactorId, "インパクタID")); r.Append(new Cell() { CellReference = "N71", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("O71", (UInt32Value)60U, "周波数クラス")); r.Append(new Cell() { CellReference = "P71", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q71", (UInt32Value)62U, cfc, "周波数クラス")); r.Append(new Cell() { CellReference = "R71", StyleIndex = (UInt32Value)62U }); sheetData2.Append(r); //試験実施日 TEST_TIME_INFO 測定点 MEASURING_POINT インパクタ種類 IMPACTOR_TYPE r = new Row() { RowIndex = (UInt32Value)72U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A72", (UInt32Value)60U, "試験実施日")); r.Append(new Cell() { CellReference = "B72", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C72", (UInt32Value)61U, testTimeInfo, "試験実施日")); r.Append(new Cell() { CellReference = "D72", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E72", (UInt32Value)60U, "測定点")); r.Append(new Cell() { CellReference = "F72", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G72", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H72", (UInt32Value)61U, measuringPoint, "測定点")); r.Append(new Cell() { CellReference = "I72", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("J72", (UInt32Value)60U, "インパクタ種類")); r.Append(new Cell() { CellReference = "K72", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L72", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M72", (UInt32Value)61U, impactorType, "インパクタ種類")); r.Append(new Cell() { CellReference = "N72", StyleIndex = (UInt32Value)61U }); r.Append(new Cell() { CellReference = "O72", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P72", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q72", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R72", StyleIndex = (UInt32Value)2U }); sheetData2.Append(r); //検定内容 TEST_CONTENT 衝突速度 COLLISION_SPEED インパクタ重量 IMPACTOR_WEIGHT 予備1 AND_1 r = new Row() { RowIndex = (UInt32Value)73U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A73", (UInt32Value)60U, "検定内容")); r.Append(new Cell() { CellReference = "B73", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C73", (UInt32Value)61U, testContent, "検定内容")); r.Append(new Cell() { CellReference = "D73", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E73", (UInt32Value)60U, "衝突速度")); r.Append(new Cell() { CellReference = "F73", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G73", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H73", (UInt32Value)62U, collisionSpeed, "衝突速度")); r.Append(new Cell() { CellReference = "I73", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J73", (UInt32Value)60U, "インパクタ重量")); r.Append(new Cell() { CellReference = "K73", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L73", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M73", (UInt32Value)61U, impactorWeight, "インパクタ重量")); r.Append(new Cell() { CellReference = "N73", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("O73", (UInt32Value)60U, "予備1")); r.Append(new Cell() { CellReference = "P73", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q73", (UInt32Value)62U, and1, "予備1")); r.Append(new Cell() { CellReference = "R73", StyleIndex = (UInt32Value)62U }); sheetData2.Append(r); //車名 CAR_NAME 型式 CAR_MODEL 試験担当者 STUDY_PERSONNEL 予備2 AND_2 r = new Row() { RowIndex = (UInt32Value)74U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateStylizedTextCell("A74", (UInt32Value)60U, "車名")); r.Append(new Cell() { CellReference = "B74", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("C74", (UInt32Value)61U, carName, "車名")); r.Append(new Cell() { CellReference = "D74", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("E74", (UInt32Value)60U, "型式")); r.Append(new Cell() { CellReference = "F74", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "G74", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("H74", (UInt32Value)62U, carModel, "型式")); r.Append(new Cell() { CellReference = "I74", StyleIndex = (UInt32Value)62U }); r.Append(CreateStylizedTextCell("J74", (UInt32Value)60U, "試験担当者")); r.Append(new Cell() { CellReference = "K74", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "L74", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("M74", (UInt32Value)61U, studyPersonnel, "試験担当者")); r.Append(new Cell() { CellReference = "N74", StyleIndex = (UInt32Value)61U }); r.Append(CreateStylizedTextCell("O74", (UInt32Value)60U, "予備2")); r.Append(new Cell() { CellReference = "P74", StyleIndex = (UInt32Value)54U }); r.Append(CreateStylizedTextCell("Q74", (UInt32Value)62U, and2, "予備2")); r.Append(new Cell() { CellReference = "R74", StyleIndex = (UInt32Value)61U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)75U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A75", (UInt32Value)66U, "MCL")); r.Append(new Cell() { CellReference = "B75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "C75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "D75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "E75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "F75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "G75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "H75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "I75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "J75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "K75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "L75", StyleIndex = (UInt32Value)67U }); r.Append(new Cell() { CellReference = "M75", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "N75", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "O75", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "P75", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "Q75", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R75", StyleIndex = (UInt32Value)9U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)76U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K76", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L76", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M76", (UInt32Value)64U, string.Format("MCL({0})",aclUnits))); r.Append(new Cell() { CellReference = "N76", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "O76", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "P76", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "Q76", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "R76", StyleIndex = (UInt32Value)64U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)77U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K77", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L77", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M77", (UInt32Value)65U, "Max")); r.Append(new Cell() { CellReference = "N77", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O77", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P77", 63U, mclMax.ToString())); r.Append(new Cell() { CellReference = "Q77", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R77", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)78U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K78", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L78", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M78", (UInt32Value)65U, string.Format("Time of Max({0})", timeUnits))); r.Append(new Cell() { CellReference = "N78", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O78", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P78", 63U, mclMaxTime.ToString())); r.Append(new Cell() { CellReference = "Q78", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R78", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)79U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K79", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L79", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M79", (UInt32Value)65U, "Min")); r.Append(new Cell() { CellReference = "N79", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O79", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P79", 63U, mclMin.ToString())); r.Append(new Cell() { CellReference = "Q79", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R79", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)80U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K80", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L80", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M80", (UInt32Value)65U, string.Format("Time of Min({0})", timeUnits))); r.Append(new Cell() { CellReference = "N80", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O80", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P80", 63U, mclMinTime.ToString())); r.Append(new Cell() { CellReference = "Q80", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R80", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(81U)); r = new Row() { RowIndex = (UInt32Value)82U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K82", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L82", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M82", (UInt32Value)65U, "Required Min")); r.Append(new Cell() { CellReference = "N82", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O82", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P82", 63U, mclReqMin.ToString())); r.Append(new Cell() { CellReference = "Q82", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R82", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)83U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K83", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L83", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M83", (UInt32Value)65U, "Required Max")); r.Append(new Cell() { CellReference = "N83", StyleIndex = (UInt32Value)65U }); r.Append(new Cell() { CellReference = "O83", StyleIndex = (UInt32Value)65U }); r.Append(CreateStylizedNumericCell("P83", 63U, mclReqMax.ToString())); r.Append(new Cell() { CellReference = "Q83", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R83", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(84U)); sheetData2.Append(CreateBlankRow(85U)); bFail = (mclMax < mclReqMin || mclMax > mclReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(86U));} else{ sheetData2.Append(CreatePassRow(86U));} sheetData2.Append(CreateBlankRow(87U)); sheetData2.Append(CreateBlankRow(88U)); r = new Row() { RowIndex = (UInt32Value)89U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A89", (UInt32Value)73U, "ACL")); r.Append(new Cell() { CellReference = "B89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "C89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "D89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "E89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "F89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "G89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "H89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "I89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "J89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "K89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "L89", StyleIndex = (UInt32Value)74U }); r.Append(new Cell() { CellReference = "M89", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "N89", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "O89", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "P89", StyleIndex = (UInt32Value)12U }); r.Append(new Cell() { CellReference = "Q89", StyleIndex = (UInt32Value)12U }); r.Append(new Cell() { CellReference = "R89", StyleIndex = (UInt32Value)12U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)90U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K90", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L90", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M90", (UInt32Value)85U, string.Format("ACL({0})",aclUnits))); r.Append(new Cell() { CellReference = "N90", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "O90", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "P90", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "Q90", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "R90", StyleIndex = (UInt32Value)85U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)91U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K91", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L91", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M91",(UInt32Value)90U, "Max")); r.Append(new Cell() { CellReference = "N91", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O91", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P91", 63U, aclMax.ToString())); r.Append(new Cell() { CellReference = "Q91", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R91", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)92U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K92", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L92", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M92", (UInt32Value)90U, string.Format("Time of Max({0})",timeUnits))); r.Append(new Cell() { CellReference = "N92", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O92", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P92", 63U, aclMaxTime.ToString())); r.Append(new Cell() { CellReference = "Q92", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R92", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)93U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K93", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L93", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M93", (UInt32Value)90U, "Min")); r.Append(new Cell() { CellReference = "N93", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O93", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P93", 63U, aclMin.ToString())); r.Append(new Cell() { CellReference = "Q93", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R93", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)94U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K94", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L94", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M94", (UInt32Value)90U, string.Format("Min of Time({0})", timeUnits))); r.Append(new Cell() { CellReference = "N94", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O94", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P94", 63U, aclMinTime.ToString())); r.Append(new Cell() { CellReference = "Q94", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R94", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(95U)); r = new Row() { RowIndex = (UInt32Value)96U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K96", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L96", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M96", (UInt32Value)90U, "Required Min")); r.Append(new Cell() { CellReference = "N96", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O96", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P96", 63U, aclReqMin.ToString())); r.Append(new Cell() { CellReference = "Q96", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R96", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)97U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "B97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "C97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "D97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "E97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "F97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "G97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "H97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "I97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "J97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "K97", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "L97", StyleIndex = (UInt32Value)9U }); r.Append(CreateStylizedTextCell("M97", (UInt32Value)90U, "Required Max")); r.Append(new Cell() { CellReference = "N97", StyleIndex = (UInt32Value)90U }); r.Append(new Cell() { CellReference = "O97", StyleIndex = (UInt32Value)90U }); r.Append(CreateStylizedNumericCell("P97", 63U, aclReqMax.ToString())); r.Append(new Cell() { CellReference = "Q97", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R97", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(98U)); sheetData2.Append(CreateBlankRow(99U)); bFail = (aclMax < aclReqMin || aclMax > aclReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(100U));} else{ sheetData2.Append(CreatePassRow(100U));} sheetData2.Append(CreateBlankRow(101U)); sheetData2.Append(CreateBlankRow(102U)); r = new Row() { RowIndex = (UInt32Value)103U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateStylizedTextCell("A103", (UInt32Value)75U, "PCL")); r.Append(new Cell() { CellReference = "B103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "C103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "D103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "E103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "F103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "G103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "H103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "I103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "J103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "K103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "L103", StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = "M103", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "N103", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "O103", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "P103", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "Q103", StyleIndex = (UInt32Value)14U }); r.Append(new Cell() { CellReference = "R103", StyleIndex = (UInt32Value)14U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)104U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K104", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L104", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M104", (UInt32Value)86U, string.Format("PCL({0})", aclUnits))); r.Append(new Cell() { CellReference = "N104", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "O104", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "P104", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "Q104", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "R104", StyleIndex = (UInt32Value)86U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)105U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K105", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L105", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M105", (UInt32Value)68U, "Max")); r.Append(new Cell() { CellReference = "N105", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O105", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P105", 63U, pclMax.ToString())); r.Append(new Cell() { CellReference = "Q105", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R105", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)106U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K106", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L106", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M106", (UInt32Value)68U, string.Format("Time of Max({0})", timeUnits))); r.Append(new Cell() { CellReference = "N106", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O106", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P106", 63U, pclMaxTime.ToString())); r.Append(new Cell() { CellReference = "Q106", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R106", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)107U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K107", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L107", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M107", (UInt32Value)68U, "Min")); r.Append(new Cell() { CellReference = "N107", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O107", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P107", 63U, pclMin.ToString())); r.Append(new Cell() { CellReference = "Q107", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R107", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)108U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K108", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L108", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M108", (UInt32Value)68U, string.Format("Time of Min({0})", timeUnits))); r.Append(new Cell() { CellReference = "N108", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O108", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P108", 63U, pclMinTime.ToString())); r.Append(new Cell() { CellReference = "Q108", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R108", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(109U)); r = new Row() { RowIndex = (UInt32Value)110U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K110", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L110", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M110", (UInt32Value)68U, "Required MIn")); r.Append(new Cell() { CellReference = "N110", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O110", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P110", 63U, pclReqMin.ToString())); r.Append(new Cell() { CellReference = "Q110", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R110", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)111U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "B111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "C111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "D111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "E111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "F111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "G111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "H111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "I111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "J111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "K111", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "L111", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("M111", (UInt32Value)68U, "Required Max")); r.Append(new Cell() { CellReference = "N111", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "O111", StyleIndex = (UInt32Value)68U }); r.Append(CreateStylizedNumericCell("P111", 63U, pclReqMax.ToString())); r.Append(new Cell() { CellReference = "Q111", StyleIndex = (UInt32Value)63U }); r.Append(new Cell() { CellReference = "R111", StyleIndex = (UInt32Value)63U }); sheetData2.Append(r); sheetData2.Append(CreateBlankRow(112U)); sheetData2.Append(CreateBlankRow(113U)); bFail = (pclMax < pclReqMin || pclMax > pclReqMax); if( bFail ){ sheetData2.Append(CreateFailRow(114U));} else{ sheetData2.Append(CreatePassRow(114U));} for( uint i = 115U; i < 135U; i ++ ){ sheetData2.Append(CreateBlankRow(i));} MergeCells m = new MergeCells() { Count = (UInt32Value)187U }; m.Append(new MergeCell() { Reference = "M125:O125" }); m.Append(new MergeCell() { Reference = "P125:R125" }); m.Append(new MergeCell() { Reference = "N33:Q33" }); m.Append(new MergeCell() { Reference = "N47:Q47" }); m.Append(new MergeCell() { Reference = "N61:Q61" }); m.Append(new MergeCell() { Reference = "M121:O121" }); m.Append(new MergeCell() { Reference = "P121:R121" }); m.Append(new MergeCell() { Reference = "M122:O122" }); m.Append(new MergeCell() { Reference = "P122:R122" }); m.Append(new MergeCell() { Reference = "M124:O124" }); m.Append(new MergeCell() { Reference = "P124:R124" }); m.Append(new MergeCell() { Reference = "M118:R118" }); m.Append(new MergeCell() { Reference = "M119:O119" }); m.Append(new MergeCell() { Reference = "P119:R119" }); m.Append(new MergeCell() { Reference = "M120:O120" }); m.Append(new MergeCell() { Reference = "P120:R120" }); m.Append(new MergeCell() { Reference = "M110:O110" }); m.Append(new MergeCell() { Reference = "P110:R110" }); m.Append(new MergeCell() { Reference = "M111:O111" }); m.Append(new MergeCell() { Reference = "P111:R111" }); m.Append(new MergeCell() { Reference = "M93:O93" }); m.Append(new MergeCell() { Reference = "P93:R93" }); m.Append(new MergeCell() { Reference = "M94:O94" }); m.Append(new MergeCell() { Reference = "P94:R94" }); m.Append(new MergeCell() { Reference = "A117:L117" }); m.Append(new MergeCell() { Reference = "M106:O106" }); m.Append(new MergeCell() { Reference = "P106:R106" }); m.Append(new MergeCell() { Reference = "M107:O107" }); m.Append(new MergeCell() { Reference = "P107:R107" }); m.Append(new MergeCell() { Reference = "M108:O108" }); m.Append(new MergeCell() { Reference = "P108:R108" }); m.Append(new MergeCell() { Reference = "M97:O97" }); m.Append(new MergeCell() { Reference = "P97:R97" }); m.Append(new MergeCell() { Reference = "A103:L103" }); m.Append(new MergeCell() { Reference = "M104:R104" }); m.Append(new MergeCell() { Reference = "M105:O105" }); m.Append(new MergeCell() { Reference = "P105:R105" }); m.Append(new MergeCell() { Reference = "M96:O96" }); m.Append(new MergeCell() { Reference = "P96:R96" }); m.Append(new MergeCell() { Reference = "M90:R90" }); m.Append(new MergeCell() { Reference = "M91:O91" }); m.Append(new MergeCell() { Reference = "P91:R91" }); m.Append(new MergeCell() { Reference = "M92:O92" }); m.Append(new MergeCell() { Reference = "P92:R92" }); m.Append(new MergeCell() { Reference = "M83:O83" }); m.Append(new MergeCell() { Reference = "P83:R83" }); m.Append(new MergeCell() { Reference = "N86:Q86" }); m.Append(new MergeCell() { Reference = "N100:Q100" }); m.Append(new MergeCell() { Reference = "N114:Q114" }); m.Append(new MergeCell() { Reference = "N88:Q88" }); m.Append(new MergeCell() { Reference = "A89:L89" }); m.Append(new MergeCell() { Reference = "M79:O79" }); m.Append(new MergeCell() { Reference = "P79:R79" }); m.Append(new MergeCell() { Reference = "M80:O80" }); m.Append(new MergeCell() { Reference = "P80:R80" }); m.Append(new MergeCell() { Reference = "M82:O82" }); m.Append(new MergeCell() { Reference = "P82:R82" }); m.Append(new MergeCell() { Reference = "A75:L75" }); m.Append(new MergeCell() { Reference = "M76:R76" }); m.Append(new MergeCell() { Reference = "M77:O77" }); m.Append(new MergeCell() { Reference = "P77:R77" }); m.Append(new MergeCell() { Reference = "M78:O78" }); m.Append(new MergeCell() { Reference = "P78:R78" }); m.Append(new MergeCell() { Reference = "M73:N73" }); m.Append(new MergeCell() { Reference = "O73:P73" }); m.Append(new MergeCell() { Reference = "Q73:R73" }); m.Append(new MergeCell() { Reference = "J74:L74" }); m.Append(new MergeCell() { Reference = "M74:N74" }); m.Append(new MergeCell() { Reference = "O74:P74" }); m.Append(new MergeCell() { Reference = "Q74:R74" }); m.Append(new MergeCell() { Reference = "A73:B73" }); m.Append(new MergeCell() { Reference = "C73:D73" }); m.Append(new MergeCell() { Reference = "E73:G73" }); m.Append(new MergeCell() { Reference = "H73:I73" }); m.Append(new MergeCell() { Reference = "J73:L73" }); m.Append(new MergeCell() { Reference = "M71:N71" }); m.Append(new MergeCell() { Reference = "O71:P71" }); m.Append(new MergeCell() { Reference = "Q71:R71" }); m.Append(new MergeCell() { Reference = "A72:B72" }); m.Append(new MergeCell() { Reference = "C72:D72" }); m.Append(new MergeCell() { Reference = "E72:G72" }); m.Append(new MergeCell() { Reference = "H72:I72" }); m.Append(new MergeCell() { Reference = "J72:L72" }); m.Append(new MergeCell() { Reference = "M72:N72" }); m.Append(new MergeCell() { Reference = "A71:B71" }); m.Append(new MergeCell() { Reference = "C71:D71" }); m.Append(new MergeCell() { Reference = "E71:G71" }); m.Append(new MergeCell() { Reference = "H71:I71" }); m.Append(new MergeCell() { Reference = "J71:L71" }); m.Append(new MergeCell() { Reference = "A68:C68" }); m.Append(new MergeCell() { Reference = "D68:R68" }); m.Append(new MergeCell() { Reference = "A69:C69" }); m.Append(new MergeCell() { Reference = "D69:R69" }); m.Append(new MergeCell() { Reference = "M57:O57" }); m.Append(new MergeCell() { Reference = "M30:O30" }); m.Append(new MergeCell() { Reference = "M58:O58" }); m.Append(new MergeCell() { Reference = "P24:R24" }); m.Append(new MergeCell() { Reference = "P25:R25" }); m.Append(new MergeCell() { Reference = "P26:R26" }); m.Append(new MergeCell() { Reference = "P27:R27" }); m.Append(new MergeCell() { Reference = "P29:R29" }); m.Append(new MergeCell() { Reference = "P30:R30" }); m.Append(new MergeCell() { Reference = "P41:R41" }); m.Append(new MergeCell() { Reference = "P52:R52" }); m.Append(new MergeCell() { Reference = "P53:R53" }); m.Append(new MergeCell() { Reference = "P54:R54" }); m.Append(new MergeCell() { Reference = "P55:R55" }); m.Append(new MergeCell() { Reference = "P57:R57" }); m.Append(new MergeCell() { Reference = "P58:R58" }); m.Append(new MergeCell() { Reference = "M53:O53" }); m.Append(new MergeCell() { Reference = "M54:O54" }); m.Append(new MergeCell() { Reference = "M55:O55" }); m.Append(new MergeCell() { Reference = "M41:O41" }); m.Append(new MergeCell() { Reference = "M27:O27" }); m.Append(new MergeCell() { Reference = "M29:O29" }); m.Append(new MergeCell() { Reference = "M51:R51" }); m.Append(new MergeCell() { Reference = "M24:O24" }); m.Append(new MergeCell() { Reference = "M25:O25" }); m.Append(new MergeCell() { Reference = "M26:O26" }); m.Append(new MergeCell() { Reference = "M52:O52" }); m.Append(new MergeCell() { Reference = "M39:O39" }); m.Append(new MergeCell() { Reference = "M40:O40" }); m.Append(new MergeCell() { Reference = "P39:R39" }); m.Append(new MergeCell() { Reference = "P40:R40" }); m.Append(new MergeCell() { Reference = "P43:R43" }); m.Append(new MergeCell() { Reference = "P44:R44" }); m.Append(new MergeCell() { Reference = "M43:O43" }); m.Append(new MergeCell() { Reference = "M44:O44" }); m.Append(new MergeCell() { Reference = "N21:Q21" }); m.Append(new MergeCell() { Reference = "M23:R23" }); m.Append(new MergeCell() { Reference = "M37:R37" }); m.Append(new MergeCell() { Reference = "A1:C1" }); m.Append(new MergeCell() { Reference = "A2:C2" }); m.Append(new MergeCell() { Reference = "C4:D4" }); m.Append(new MergeCell() { Reference = "C5:D5" }); m.Append(new MergeCell() { Reference = "M6:N6" }); m.Append(new MergeCell() { Reference = "M7:N7" }); m.Append(new MergeCell() { Reference = "A4:B4" }); m.Append(new MergeCell() { Reference = "A5:B5" }); m.Append(new MergeCell() { Reference = "A6:B6" }); m.Append(new MergeCell() { Reference = "E4:G4" }); m.Append(new MergeCell() { Reference = "E5:G5" }); m.Append(new MergeCell() { Reference = "E6:G6" }); m.Append(new MergeCell() { Reference = "J4:L4" }); m.Append(new MergeCell() { Reference = "M15:O15" }); m.Append(new MergeCell() { Reference = "M16:O16" }); m.Append(new MergeCell() { Reference = "P15:R15" }); m.Append(new MergeCell() { Reference = "P16:R16" }); m.Append(new MergeCell() { Reference = "D1:R1" }); m.Append(new MergeCell() { Reference = "D2:R2" }); m.Append(new MergeCell() { Reference = "Q4:R4" }); m.Append(new MergeCell() { Reference = "Q6:R6" }); m.Append(new MergeCell() { Reference = "Q7:R7" }); m.Append(new MergeCell() { Reference = "C6:D6" }); m.Append(new MergeCell() { Reference = "H4:I4" }); m.Append(new MergeCell() { Reference = "H5:I5" }); m.Append(new MergeCell() { Reference = "H6:I6" }); m.Append(new MergeCell() { Reference = "J5:L5" }); m.Append(new MergeCell() { Reference = "J6:L6" }); m.Append(new MergeCell() { Reference = "J7:L7" }); m.Append(new MergeCell() { Reference = "O4:P4" }); m.Append(new MergeCell() { Reference = "O6:P6" }); m.Append(new MergeCell() { Reference = "O7:P7" }); m.Append(new MergeCell() { Reference = "M4:N4" }); m.Append(new MergeCell() { Reference = "M5:N5" }); m.Append(new MergeCell() { Reference = "A7:B7" }); m.Append(new MergeCell() { Reference = "C7:D7" }); m.Append(new MergeCell() { Reference = "E7:G7" }); m.Append(new MergeCell() { Reference = "H7:I7" }); m.Append(new MergeCell() { Reference = "A74:B74" }); m.Append(new MergeCell() { Reference = "C74:D74" }); m.Append(new MergeCell() { Reference = "E74:G74" }); m.Append(new MergeCell() { Reference = "H74:I74" }); m.Append(new MergeCell() { Reference = "P11:R11" }); m.Append(new MergeCell() { Reference = "P12:R12" }); m.Append(new MergeCell() { Reference = "P13:R13" }); m.Append(new MergeCell() { Reference = "M9:R9" }); m.Append(new MergeCell() { Reference = "M10:O10" }); m.Append(new MergeCell() { Reference = "M11:O11" }); m.Append(new MergeCell() { Reference = "M12:O12" }); m.Append(new MergeCell() { Reference = "A8:L8" }); m.Append(new MergeCell() { Reference = "M38:O38" }); m.Append(new MergeCell() { Reference = "M13:O13" }); m.Append(new MergeCell() { Reference = "P10:R10" }); m.Append(new MergeCell() { Reference = "P38:R38" }); m.Append(new MergeCell() { Reference = "A22:L22" }); m.Append(new MergeCell() { Reference = "A36:L36" }); m.Append(new MergeCell() { Reference = "A50:L50" }); m.Append(new MergeCell() { Reference = "N19:Q19" }); PageMargins pageMargins2 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup1 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" }; RowBreaks rowBreaks1 = new RowBreaks() { Count = (UInt32Value)1U, ManualBreakCount = (UInt32Value)1U }; Break break1 = new Break() { Id = (UInt32Value)67U, Max = (UInt32Value)17U, ManualPageBreak = true }; rowBreaks1.Append(break1); Drawing drawing1 = new Drawing() { Id = "rId2" }; worksheet2.Append(sheetDimension2); worksheet2.Append(sheetViews2); worksheet2.Append(sheetFormatProperties2); worksheet2.Append(columns2); worksheet2.Append(sheetData2); worksheet2.Append(m); worksheet2.Append(pageMargins2); worksheet2.Append(pageSetup1); worksheet2.Append(rowBreaks1); worksheet2.Append(drawing1); worksheetPart2.Worksheet = worksheet2; } /* // Generates content of drawingsPart1. private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1) { Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing(); worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker1 = new Xdr.FromMarker(); Xdr.ColumnId columnId1 = new Xdr.ColumnId(); columnId1.Text = "0"; Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset(); columnOffset1.Text = "28575"; Xdr.RowId rowId1 = new Xdr.RowId(); rowId1.Text = "8"; Xdr.RowOffset rowOffset1 = new Xdr.RowOffset(); rowOffset1.Text = "0"; fromMarker1.Append(columnId1); fromMarker1.Append(columnOffset1); fromMarker1.Append(rowId1); fromMarker1.Append(rowOffset1); Xdr.ToMarker toMarker1 = new Xdr.ToMarker(); Xdr.ColumnId columnId2 = new Xdr.ColumnId(); columnId2.Text = "11"; Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset(); columnOffset2.Text = "304800"; Xdr.RowId rowId2 = new Xdr.RowId(); rowId2.Text = "20"; Xdr.RowOffset rowOffset2 = new Xdr.RowOffset(); rowOffset2.Text = "123825"; toMarker1.Append(columnId2); toMarker1.Append(columnOffset2); toMarker1.Append(rowId2); toMarker1.Append(rowOffset2); Xdr.GraphicFrame graphicFrame1 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties1 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)4U, Name = "Chart 3" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties1.Append(nonVisualDrawingProperties1); nonVisualGraphicFrameProperties1.Append(nonVisualGraphicFrameDrawingProperties1); Xdr.Transform transform1 = new Xdr.Transform(); A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents1 = new A.Extents() { Cx = 0L, Cy = 0L }; transform1.Append(offset1); transform1.Append(extents1); A.Graphic graphic1 = new A.Graphic(); A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference1 = new C.ChartReference() { Id = "rId1" }; chartReference1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData1.Append(chartReference1); graphic1.Append(graphicData1); graphicFrame1.Append(nonVisualGraphicFrameProperties1); graphicFrame1.Append(transform1); graphicFrame1.Append(graphic1); Xdr.ClientData clientData1 = new Xdr.ClientData(); twoCellAnchor1.Append(fromMarker1); twoCellAnchor1.Append(toMarker1); twoCellAnchor1.Append(graphicFrame1); twoCellAnchor1.Append(clientData1); Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker2 = new Xdr.FromMarker(); Xdr.ColumnId columnId3 = new Xdr.ColumnId(); columnId3.Text = "0"; Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset(); columnOffset3.Text = "28575"; Xdr.RowId rowId3 = new Xdr.RowId(); rowId3.Text = "22"; Xdr.RowOffset rowOffset3 = new Xdr.RowOffset(); rowOffset3.Text = "0"; fromMarker2.Append(columnId3); fromMarker2.Append(columnOffset3); fromMarker2.Append(rowId3); fromMarker2.Append(rowOffset3); Xdr.ToMarker toMarker2 = new Xdr.ToMarker(); Xdr.ColumnId columnId4 = new Xdr.ColumnId(); columnId4.Text = "11"; Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset(); columnOffset4.Text = "304800"; Xdr.RowId rowId4 = new Xdr.RowId(); rowId4.Text = "34"; Xdr.RowOffset rowOffset4 = new Xdr.RowOffset(); rowOffset4.Text = "123825"; toMarker2.Append(columnId4); toMarker2.Append(columnOffset4); toMarker2.Append(rowId4); toMarker2.Append(rowOffset4); Xdr.GraphicFrame graphicFrame2 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties2 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)12U, Name = "Chart 11" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties2.Append(nonVisualDrawingProperties2); nonVisualGraphicFrameProperties2.Append(nonVisualGraphicFrameDrawingProperties2); Xdr.Transform transform2 = new Xdr.Transform(); A.Offset offset2 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents2 = new A.Extents() { Cx = 0L, Cy = 0L }; transform2.Append(offset2); transform2.Append(extents2); A.Graphic graphic2 = new A.Graphic(); A.GraphicData graphicData2 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference2 = new C.ChartReference() { Id = "rId2" }; chartReference2.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData2.Append(chartReference2); graphic2.Append(graphicData2); graphicFrame2.Append(nonVisualGraphicFrameProperties2); graphicFrame2.Append(transform2); graphicFrame2.Append(graphic2); Xdr.ClientData clientData2 = new Xdr.ClientData(); twoCellAnchor2.Append(fromMarker2); twoCellAnchor2.Append(toMarker2); twoCellAnchor2.Append(graphicFrame2); twoCellAnchor2.Append(clientData2); Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker3 = new Xdr.FromMarker(); Xdr.ColumnId columnId5 = new Xdr.ColumnId(); columnId5.Text = "0"; Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset(); columnOffset5.Text = "28575"; Xdr.RowId rowId5 = new Xdr.RowId(); rowId5.Text = "36"; Xdr.RowOffset rowOffset5 = new Xdr.RowOffset(); rowOffset5.Text = "0"; fromMarker3.Append(columnId5); fromMarker3.Append(columnOffset5); fromMarker3.Append(rowId5); fromMarker3.Append(rowOffset5); Xdr.ToMarker toMarker3 = new Xdr.ToMarker(); Xdr.ColumnId columnId6 = new Xdr.ColumnId(); columnId6.Text = "11"; Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset(); columnOffset6.Text = "304800"; Xdr.RowId rowId6 = new Xdr.RowId(); rowId6.Text = "48"; Xdr.RowOffset rowOffset6 = new Xdr.RowOffset(); rowOffset6.Text = "123825"; toMarker3.Append(columnId6); toMarker3.Append(columnOffset6); toMarker3.Append(rowId6); toMarker3.Append(rowOffset6); Xdr.GraphicFrame graphicFrame3 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties3 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)13U, Name = "Chart 12" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties3 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties3.Append(nonVisualDrawingProperties3); nonVisualGraphicFrameProperties3.Append(nonVisualGraphicFrameDrawingProperties3); Xdr.Transform transform3 = new Xdr.Transform(); A.Offset offset3 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents3 = new A.Extents() { Cx = 0L, Cy = 0L }; transform3.Append(offset3); transform3.Append(extents3); A.Graphic graphic3 = new A.Graphic(); A.GraphicData graphicData3 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference3 = new C.ChartReference() { Id = "rId3" }; chartReference3.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData3.Append(chartReference3); graphic3.Append(graphicData3); graphicFrame3.Append(nonVisualGraphicFrameProperties3); graphicFrame3.Append(transform3); graphicFrame3.Append(graphic3); Xdr.ClientData clientData3 = new Xdr.ClientData(); twoCellAnchor3.Append(fromMarker3); twoCellAnchor3.Append(toMarker3); twoCellAnchor3.Append(graphicFrame3); twoCellAnchor3.Append(clientData3); Xdr.TwoCellAnchor twoCellAnchor4 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker4 = new Xdr.FromMarker(); Xdr.ColumnId columnId7 = new Xdr.ColumnId(); columnId7.Text = "0"; Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset(); columnOffset7.Text = "19050"; Xdr.RowId rowId7 = new Xdr.RowId(); rowId7.Text = "50"; Xdr.RowOffset rowOffset7 = new Xdr.RowOffset(); rowOffset7.Text = "9525"; fromMarker4.Append(columnId7); fromMarker4.Append(columnOffset7); fromMarker4.Append(rowId7); fromMarker4.Append(rowOffset7); Xdr.ToMarker toMarker4 = new Xdr.ToMarker(); Xdr.ColumnId columnId8 = new Xdr.ColumnId(); columnId8.Text = "11"; Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset(); columnOffset8.Text = "295275"; Xdr.RowId rowId8 = new Xdr.RowId(); rowId8.Text = "62"; Xdr.RowOffset rowOffset8 = new Xdr.RowOffset(); rowOffset8.Text = "133350"; toMarker4.Append(columnId8); toMarker4.Append(columnOffset8); toMarker4.Append(rowId8); toMarker4.Append(rowOffset8); Xdr.GraphicFrame graphicFrame4 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties4 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)14U, Name = "Chart 13" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties4 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties4.Append(nonVisualDrawingProperties4); nonVisualGraphicFrameProperties4.Append(nonVisualGraphicFrameDrawingProperties4); Xdr.Transform transform4 = new Xdr.Transform(); A.Offset offset4 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents4 = new A.Extents() { Cx = 0L, Cy = 0L }; transform4.Append(offset4); transform4.Append(extents4); A.Graphic graphic4 = new A.Graphic(); A.GraphicData graphicData4 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference4 = new C.ChartReference() { Id = "rId4" }; chartReference4.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData4.Append(chartReference4); graphic4.Append(graphicData4); graphicFrame4.Append(nonVisualGraphicFrameProperties4); graphicFrame4.Append(transform4); graphicFrame4.Append(graphic4); Xdr.ClientData clientData4 = new Xdr.ClientData(); twoCellAnchor4.Append(fromMarker4); twoCellAnchor4.Append(toMarker4); twoCellAnchor4.Append(graphicFrame4); twoCellAnchor4.Append(clientData4); Xdr.TwoCellAnchor twoCellAnchor5 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker5 = new Xdr.FromMarker(); Xdr.ColumnId columnId9 = new Xdr.ColumnId(); columnId9.Text = "0"; Xdr.ColumnOffset columnOffset9 = new Xdr.ColumnOffset(); columnOffset9.Text = "19050"; Xdr.RowId rowId9 = new Xdr.RowId(); rowId9.Text = "75"; Xdr.RowOffset rowOffset9 = new Xdr.RowOffset(); rowOffset9.Text = "9525"; fromMarker5.Append(columnId9); fromMarker5.Append(columnOffset9); fromMarker5.Append(rowId9); fromMarker5.Append(rowOffset9); Xdr.ToMarker toMarker5 = new Xdr.ToMarker(); Xdr.ColumnId columnId10 = new Xdr.ColumnId(); columnId10.Text = "11"; Xdr.ColumnOffset columnOffset10 = new Xdr.ColumnOffset(); columnOffset10.Text = "295275"; Xdr.RowId rowId10 = new Xdr.RowId(); rowId10.Text = "87"; Xdr.RowOffset rowOffset10 = new Xdr.RowOffset(); rowOffset10.Text = "133350"; toMarker5.Append(columnId10); toMarker5.Append(columnOffset10); toMarker5.Append(rowId10); toMarker5.Append(rowOffset10); Xdr.GraphicFrame graphicFrame5 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties5 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)15U, Name = "Chart 14" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties5 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties5.Append(nonVisualDrawingProperties5); nonVisualGraphicFrameProperties5.Append(nonVisualGraphicFrameDrawingProperties5); Xdr.Transform transform5 = new Xdr.Transform(); A.Offset offset5 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents5 = new A.Extents() { Cx = 0L, Cy = 0L }; transform5.Append(offset5); transform5.Append(extents5); A.Graphic graphic5 = new A.Graphic(); A.GraphicData graphicData5 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference5 = new C.ChartReference() { Id = "rId5" }; chartReference5.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData5.Append(chartReference5); graphic5.Append(graphicData5); graphicFrame5.Append(nonVisualGraphicFrameProperties5); graphicFrame5.Append(transform5); graphicFrame5.Append(graphic5); Xdr.ClientData clientData5 = new Xdr.ClientData(); twoCellAnchor5.Append(fromMarker5); twoCellAnchor5.Append(toMarker5); twoCellAnchor5.Append(graphicFrame5); twoCellAnchor5.Append(clientData5); Xdr.TwoCellAnchor twoCellAnchor6 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker6 = new Xdr.FromMarker(); Xdr.ColumnId columnId11 = new Xdr.ColumnId(); columnId11.Text = "0"; Xdr.ColumnOffset columnOffset11 = new Xdr.ColumnOffset(); columnOffset11.Text = "19050"; Xdr.RowId rowId11 = new Xdr.RowId(); rowId11.Text = "89"; Xdr.RowOffset rowOffset11 = new Xdr.RowOffset(); rowOffset11.Text = "0"; fromMarker6.Append(columnId11); fromMarker6.Append(columnOffset11); fromMarker6.Append(rowId11); fromMarker6.Append(rowOffset11); Xdr.ToMarker toMarker6 = new Xdr.ToMarker(); Xdr.ColumnId columnId12 = new Xdr.ColumnId(); columnId12.Text = "11"; Xdr.ColumnOffset columnOffset12 = new Xdr.ColumnOffset(); columnOffset12.Text = "295275"; Xdr.RowId rowId12 = new Xdr.RowId(); rowId12.Text = "101"; Xdr.RowOffset rowOffset12 = new Xdr.RowOffset(); rowOffset12.Text = "123825"; toMarker6.Append(columnId12); toMarker6.Append(columnOffset12); toMarker6.Append(rowId12); toMarker6.Append(rowOffset12); Xdr.GraphicFrame graphicFrame6 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties6 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)16U, Name = "Chart 15" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties6 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties6.Append(nonVisualDrawingProperties6); nonVisualGraphicFrameProperties6.Append(nonVisualGraphicFrameDrawingProperties6); Xdr.Transform transform6 = new Xdr.Transform(); A.Offset offset6 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents6 = new A.Extents() { Cx = 0L, Cy = 0L }; transform6.Append(offset6); transform6.Append(extents6); A.Graphic graphic6 = new A.Graphic(); A.GraphicData graphicData6 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference6 = new C.ChartReference() { Id = "rId6" }; chartReference6.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData6.Append(chartReference6); graphic6.Append(graphicData6); graphicFrame6.Append(nonVisualGraphicFrameProperties6); graphicFrame6.Append(transform6); graphicFrame6.Append(graphic6); Xdr.ClientData clientData6 = new Xdr.ClientData(); twoCellAnchor6.Append(fromMarker6); twoCellAnchor6.Append(toMarker6); twoCellAnchor6.Append(graphicFrame6); twoCellAnchor6.Append(clientData6); Xdr.TwoCellAnchor twoCellAnchor7 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker7 = new Xdr.FromMarker(); Xdr.ColumnId columnId13 = new Xdr.ColumnId(); columnId13.Text = "0"; Xdr.ColumnOffset columnOffset13 = new Xdr.ColumnOffset(); columnOffset13.Text = "19050"; Xdr.RowId rowId13 = new Xdr.RowId(); rowId13.Text = "103"; Xdr.RowOffset rowOffset13 = new Xdr.RowOffset(); rowOffset13.Text = "9525"; fromMarker7.Append(columnId13); fromMarker7.Append(columnOffset13); fromMarker7.Append(rowId13); fromMarker7.Append(rowOffset13); Xdr.ToMarker toMarker7 = new Xdr.ToMarker(); Xdr.ColumnId columnId14 = new Xdr.ColumnId(); columnId14.Text = "11"; Xdr.ColumnOffset columnOffset14 = new Xdr.ColumnOffset(); columnOffset14.Text = "295275"; Xdr.RowId rowId14 = new Xdr.RowId(); rowId14.Text = "115"; Xdr.RowOffset rowOffset14 = new Xdr.RowOffset(); rowOffset14.Text = "133350"; toMarker7.Append(columnId14); toMarker7.Append(columnOffset14); toMarker7.Append(rowId14); toMarker7.Append(rowOffset14); Xdr.GraphicFrame graphicFrame7 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties7 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties7 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)17U, Name = "Chart 16" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties7 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties7.Append(nonVisualDrawingProperties7); nonVisualGraphicFrameProperties7.Append(nonVisualGraphicFrameDrawingProperties7); Xdr.Transform transform7 = new Xdr.Transform(); A.Offset offset7 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents7 = new A.Extents() { Cx = 0L, Cy = 0L }; transform7.Append(offset7); transform7.Append(extents7); A.Graphic graphic7 = new A.Graphic(); A.GraphicData graphicData7 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference7 = new C.ChartReference() { Id = "rId7" }; chartReference7.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData7.Append(chartReference7); graphic7.Append(graphicData7); graphicFrame7.Append(nonVisualGraphicFrameProperties7); graphicFrame7.Append(transform7); graphicFrame7.Append(graphic7); Xdr.ClientData clientData7 = new Xdr.ClientData(); twoCellAnchor7.Append(fromMarker7); twoCellAnchor7.Append(toMarker7); twoCellAnchor7.Append(graphicFrame7); twoCellAnchor7.Append(clientData7); worksheetDrawing1.Append(twoCellAnchor1); worksheetDrawing1.Append(twoCellAnchor2); worksheetDrawing1.Append(twoCellAnchor3); worksheetDrawing1.Append(twoCellAnchor4); worksheetDrawing1.Append(twoCellAnchor5); worksheetDrawing1.Append(twoCellAnchor6); worksheetDrawing1.Append(twoCellAnchor7); drawingsPart1.WorksheetDrawing = worksheetDrawing1; } */ // Generates content of drawingsPart1. private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1) { Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing(); worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker1 = new Xdr.FromMarker(); Xdr.ColumnId columnId1 = new Xdr.ColumnId(); columnId1.Text = "0"; Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset(); columnOffset1.Text = "28575"; Xdr.RowId rowId1 = new Xdr.RowId(); rowId1.Text = "8"; Xdr.RowOffset rowOffset1 = new Xdr.RowOffset(); rowOffset1.Text = "0"; fromMarker1.Append(columnId1); fromMarker1.Append(columnOffset1); fromMarker1.Append(rowId1); fromMarker1.Append(rowOffset1); Xdr.ToMarker toMarker1 = new Xdr.ToMarker(); Xdr.ColumnId columnId2 = new Xdr.ColumnId(); columnId2.Text = "11"; Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset(); columnOffset2.Text = "304800"; Xdr.RowId rowId2 = new Xdr.RowId(); rowId2.Text = "20"; Xdr.RowOffset rowOffset2 = new Xdr.RowOffset(); rowOffset2.Text = "123825"; toMarker1.Append(columnId2); toMarker1.Append(columnOffset2); toMarker1.Append(rowId2); toMarker1.Append(rowOffset2); Xdr.GraphicFrame graphicFrame1 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties1 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)4U, Name = "Chart 3" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties1.Append(nonVisualDrawingProperties1); nonVisualGraphicFrameProperties1.Append(nonVisualGraphicFrameDrawingProperties1); Xdr.Transform transform1 = new Xdr.Transform(); A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents1 = new A.Extents() { Cx = 0L, Cy = 0L }; transform1.Append(offset1); transform1.Append(extents1); A.Graphic graphic1 = new A.Graphic(); A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference1 = new C.ChartReference() { Id = "rId1" }; chartReference1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData1.Append(chartReference1); graphic1.Append(graphicData1); graphicFrame1.Append(nonVisualGraphicFrameProperties1); graphicFrame1.Append(transform1); graphicFrame1.Append(graphic1); Xdr.ClientData clientData1 = new Xdr.ClientData(); twoCellAnchor1.Append(fromMarker1); twoCellAnchor1.Append(toMarker1); twoCellAnchor1.Append(graphicFrame1); twoCellAnchor1.Append(clientData1); Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker2 = new Xdr.FromMarker(); Xdr.ColumnId columnId3 = new Xdr.ColumnId(); columnId3.Text = "0"; Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset(); columnOffset3.Text = "28575"; Xdr.RowId rowId3 = new Xdr.RowId(); rowId3.Text = "22"; Xdr.RowOffset rowOffset3 = new Xdr.RowOffset(); rowOffset3.Text = "0"; fromMarker2.Append(columnId3); fromMarker2.Append(columnOffset3); fromMarker2.Append(rowId3); fromMarker2.Append(rowOffset3); Xdr.ToMarker toMarker2 = new Xdr.ToMarker(); Xdr.ColumnId columnId4 = new Xdr.ColumnId(); columnId4.Text = "11"; Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset(); columnOffset4.Text = "304800"; Xdr.RowId rowId4 = new Xdr.RowId(); rowId4.Text = "34"; Xdr.RowOffset rowOffset4 = new Xdr.RowOffset(); rowOffset4.Text = "123825"; toMarker2.Append(columnId4); toMarker2.Append(columnOffset4); toMarker2.Append(rowId4); toMarker2.Append(rowOffset4); Xdr.GraphicFrame graphicFrame2 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties2 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)12U, Name = "Chart 11" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties2.Append(nonVisualDrawingProperties2); nonVisualGraphicFrameProperties2.Append(nonVisualGraphicFrameDrawingProperties2); Xdr.Transform transform2 = new Xdr.Transform(); A.Offset offset2 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents2 = new A.Extents() { Cx = 0L, Cy = 0L }; transform2.Append(offset2); transform2.Append(extents2); A.Graphic graphic2 = new A.Graphic(); A.GraphicData graphicData2 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference2 = new C.ChartReference() { Id = "rId2" }; chartReference2.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData2.Append(chartReference2); graphic2.Append(graphicData2); graphicFrame2.Append(nonVisualGraphicFrameProperties2); graphicFrame2.Append(transform2); graphicFrame2.Append(graphic2); Xdr.ClientData clientData2 = new Xdr.ClientData(); twoCellAnchor2.Append(fromMarker2); twoCellAnchor2.Append(toMarker2); twoCellAnchor2.Append(graphicFrame2); twoCellAnchor2.Append(clientData2); Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker3 = new Xdr.FromMarker(); Xdr.ColumnId columnId5 = new Xdr.ColumnId(); columnId5.Text = "0"; Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset(); columnOffset5.Text = "28575"; Xdr.RowId rowId5 = new Xdr.RowId(); rowId5.Text = "36"; Xdr.RowOffset rowOffset5 = new Xdr.RowOffset(); rowOffset5.Text = "0"; fromMarker3.Append(columnId5); fromMarker3.Append(columnOffset5); fromMarker3.Append(rowId5); fromMarker3.Append(rowOffset5); Xdr.ToMarker toMarker3 = new Xdr.ToMarker(); Xdr.ColumnId columnId6 = new Xdr.ColumnId(); columnId6.Text = "11"; Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset(); columnOffset6.Text = "304800"; Xdr.RowId rowId6 = new Xdr.RowId(); rowId6.Text = "48"; Xdr.RowOffset rowOffset6 = new Xdr.RowOffset(); rowOffset6.Text = "123825"; toMarker3.Append(columnId6); toMarker3.Append(columnOffset6); toMarker3.Append(rowId6); toMarker3.Append(rowOffset6); Xdr.GraphicFrame graphicFrame3 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties3 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)13U, Name = "Chart 12" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties3 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties3.Append(nonVisualDrawingProperties3); nonVisualGraphicFrameProperties3.Append(nonVisualGraphicFrameDrawingProperties3); Xdr.Transform transform3 = new Xdr.Transform(); A.Offset offset3 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents3 = new A.Extents() { Cx = 0L, Cy = 0L }; transform3.Append(offset3); transform3.Append(extents3); A.Graphic graphic3 = new A.Graphic(); A.GraphicData graphicData3 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference3 = new C.ChartReference() { Id = "rId3" }; chartReference3.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData3.Append(chartReference3); graphic3.Append(graphicData3); graphicFrame3.Append(nonVisualGraphicFrameProperties3); graphicFrame3.Append(transform3); graphicFrame3.Append(graphic3); Xdr.ClientData clientData3 = new Xdr.ClientData(); twoCellAnchor3.Append(fromMarker3); twoCellAnchor3.Append(toMarker3); twoCellAnchor3.Append(graphicFrame3); twoCellAnchor3.Append(clientData3); Xdr.TwoCellAnchor twoCellAnchor4 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker4 = new Xdr.FromMarker(); Xdr.ColumnId columnId7 = new Xdr.ColumnId(); columnId7.Text = "0"; Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset(); columnOffset7.Text = "19050"; Xdr.RowId rowId7 = new Xdr.RowId(); rowId7.Text = "50"; Xdr.RowOffset rowOffset7 = new Xdr.RowOffset(); rowOffset7.Text = "9525"; fromMarker4.Append(columnId7); fromMarker4.Append(columnOffset7); fromMarker4.Append(rowId7); fromMarker4.Append(rowOffset7); Xdr.ToMarker toMarker4 = new Xdr.ToMarker(); Xdr.ColumnId columnId8 = new Xdr.ColumnId(); columnId8.Text = "11"; Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset(); columnOffset8.Text = "295275"; Xdr.RowId rowId8 = new Xdr.RowId(); rowId8.Text = "62"; Xdr.RowOffset rowOffset8 = new Xdr.RowOffset(); rowOffset8.Text = "133350"; toMarker4.Append(columnId8); toMarker4.Append(columnOffset8); toMarker4.Append(rowId8); toMarker4.Append(rowOffset8); Xdr.GraphicFrame graphicFrame4 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties4 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)14U, Name = "Chart 13" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties4 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties4.Append(nonVisualDrawingProperties4); nonVisualGraphicFrameProperties4.Append(nonVisualGraphicFrameDrawingProperties4); Xdr.Transform transform4 = new Xdr.Transform(); A.Offset offset4 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents4 = new A.Extents() { Cx = 0L, Cy = 0L }; transform4.Append(offset4); transform4.Append(extents4); A.Graphic graphic4 = new A.Graphic(); A.GraphicData graphicData4 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference4 = new C.ChartReference() { Id = "rId4" }; chartReference4.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData4.Append(chartReference4); graphic4.Append(graphicData4); graphicFrame4.Append(nonVisualGraphicFrameProperties4); graphicFrame4.Append(transform4); graphicFrame4.Append(graphic4); Xdr.ClientData clientData4 = new Xdr.ClientData(); twoCellAnchor4.Append(fromMarker4); twoCellAnchor4.Append(toMarker4); twoCellAnchor4.Append(graphicFrame4); twoCellAnchor4.Append(clientData4); Xdr.TwoCellAnchor twoCellAnchor5 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker5 = new Xdr.FromMarker(); Xdr.ColumnId columnId9 = new Xdr.ColumnId(); columnId9.Text = "0"; Xdr.ColumnOffset columnOffset9 = new Xdr.ColumnOffset(); columnOffset9.Text = "19050"; Xdr.RowId rowId9 = new Xdr.RowId(); rowId9.Text = "75"; Xdr.RowOffset rowOffset9 = new Xdr.RowOffset(); rowOffset9.Text = "9525"; fromMarker5.Append(columnId9); fromMarker5.Append(columnOffset9); fromMarker5.Append(rowId9); fromMarker5.Append(rowOffset9); Xdr.ToMarker toMarker5 = new Xdr.ToMarker(); Xdr.ColumnId columnId10 = new Xdr.ColumnId(); columnId10.Text = "11"; Xdr.ColumnOffset columnOffset10 = new Xdr.ColumnOffset(); columnOffset10.Text = "295275"; Xdr.RowId rowId10 = new Xdr.RowId(); rowId10.Text = "87"; Xdr.RowOffset rowOffset10 = new Xdr.RowOffset(); rowOffset10.Text = "133350"; toMarker5.Append(columnId10); toMarker5.Append(columnOffset10); toMarker5.Append(rowId10); toMarker5.Append(rowOffset10); Xdr.GraphicFrame graphicFrame5 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties5 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)15U, Name = "Chart 14" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties5 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties5.Append(nonVisualDrawingProperties5); nonVisualGraphicFrameProperties5.Append(nonVisualGraphicFrameDrawingProperties5); Xdr.Transform transform5 = new Xdr.Transform(); A.Offset offset5 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents5 = new A.Extents() { Cx = 0L, Cy = 0L }; transform5.Append(offset5); transform5.Append(extents5); A.Graphic graphic5 = new A.Graphic(); A.GraphicData graphicData5 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference5 = new C.ChartReference() { Id = "rId5" }; chartReference5.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData5.Append(chartReference5); graphic5.Append(graphicData5); graphicFrame5.Append(nonVisualGraphicFrameProperties5); graphicFrame5.Append(transform5); graphicFrame5.Append(graphic5); Xdr.ClientData clientData5 = new Xdr.ClientData(); twoCellAnchor5.Append(fromMarker5); twoCellAnchor5.Append(toMarker5); twoCellAnchor5.Append(graphicFrame5); twoCellAnchor5.Append(clientData5); Xdr.TwoCellAnchor twoCellAnchor6 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker6 = new Xdr.FromMarker(); Xdr.ColumnId columnId11 = new Xdr.ColumnId(); columnId11.Text = "0"; Xdr.ColumnOffset columnOffset11 = new Xdr.ColumnOffset(); columnOffset11.Text = "19050"; Xdr.RowId rowId11 = new Xdr.RowId(); rowId11.Text = "89"; Xdr.RowOffset rowOffset11 = new Xdr.RowOffset(); rowOffset11.Text = "0"; fromMarker6.Append(columnId11); fromMarker6.Append(columnOffset11); fromMarker6.Append(rowId11); fromMarker6.Append(rowOffset11); Xdr.ToMarker toMarker6 = new Xdr.ToMarker(); Xdr.ColumnId columnId12 = new Xdr.ColumnId(); columnId12.Text = "11"; Xdr.ColumnOffset columnOffset12 = new Xdr.ColumnOffset(); columnOffset12.Text = "295275"; Xdr.RowId rowId12 = new Xdr.RowId(); rowId12.Text = "101"; Xdr.RowOffset rowOffset12 = new Xdr.RowOffset(); rowOffset12.Text = "123825"; toMarker6.Append(columnId12); toMarker6.Append(columnOffset12); toMarker6.Append(rowId12); toMarker6.Append(rowOffset12); Xdr.GraphicFrame graphicFrame6 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties6 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)16U, Name = "Chart 15" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties6 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties6.Append(nonVisualDrawingProperties6); nonVisualGraphicFrameProperties6.Append(nonVisualGraphicFrameDrawingProperties6); Xdr.Transform transform6 = new Xdr.Transform(); A.Offset offset6 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents6 = new A.Extents() { Cx = 0L, Cy = 0L }; transform6.Append(offset6); transform6.Append(extents6); A.Graphic graphic6 = new A.Graphic(); A.GraphicData graphicData6 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference6 = new C.ChartReference() { Id = "rId6" }; chartReference6.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData6.Append(chartReference6); graphic6.Append(graphicData6); graphicFrame6.Append(nonVisualGraphicFrameProperties6); graphicFrame6.Append(transform6); graphicFrame6.Append(graphic6); Xdr.ClientData clientData6 = new Xdr.ClientData(); twoCellAnchor6.Append(fromMarker6); twoCellAnchor6.Append(toMarker6); twoCellAnchor6.Append(graphicFrame6); twoCellAnchor6.Append(clientData6); Xdr.TwoCellAnchor twoCellAnchor7 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker7 = new Xdr.FromMarker(); Xdr.ColumnId columnId13 = new Xdr.ColumnId(); columnId13.Text = "0"; Xdr.ColumnOffset columnOffset13 = new Xdr.ColumnOffset(); columnOffset13.Text = "19050"; Xdr.RowId rowId13 = new Xdr.RowId(); rowId13.Text = "103"; Xdr.RowOffset rowOffset13 = new Xdr.RowOffset(); rowOffset13.Text = "9525"; fromMarker7.Append(columnId13); fromMarker7.Append(columnOffset13); fromMarker7.Append(rowId13); fromMarker7.Append(rowOffset13); Xdr.ToMarker toMarker7 = new Xdr.ToMarker(); Xdr.ColumnId columnId14 = new Xdr.ColumnId(); columnId14.Text = "11"; Xdr.ColumnOffset columnOffset14 = new Xdr.ColumnOffset(); columnOffset14.Text = "295275"; Xdr.RowId rowId14 = new Xdr.RowId(); rowId14.Text = "115"; Xdr.RowOffset rowOffset14 = new Xdr.RowOffset(); rowOffset14.Text = "133350"; toMarker7.Append(columnId14); toMarker7.Append(columnOffset14); toMarker7.Append(rowId14); toMarker7.Append(rowOffset14); Xdr.GraphicFrame graphicFrame7 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties7 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties7 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)17U, Name = "Chart 16" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties7 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties7.Append(nonVisualDrawingProperties7); nonVisualGraphicFrameProperties7.Append(nonVisualGraphicFrameDrawingProperties7); Xdr.Transform transform7 = new Xdr.Transform(); A.Offset offset7 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents7 = new A.Extents() { Cx = 0L, Cy = 0L }; transform7.Append(offset7); transform7.Append(extents7); A.Graphic graphic7 = new A.Graphic(); A.GraphicData graphicData7 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference7 = new C.ChartReference() { Id = "rId7" }; chartReference7.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData7.Append(chartReference7); graphic7.Append(graphicData7); graphicFrame7.Append(nonVisualGraphicFrameProperties7); graphicFrame7.Append(transform7); graphicFrame7.Append(graphic7); Xdr.ClientData clientData7 = new Xdr.ClientData(); twoCellAnchor7.Append(fromMarker7); twoCellAnchor7.Append(toMarker7); twoCellAnchor7.Append(graphicFrame7); twoCellAnchor7.Append(clientData7); worksheetDrawing1.Append(twoCellAnchor1); worksheetDrawing1.Append(twoCellAnchor2); worksheetDrawing1.Append(twoCellAnchor3); worksheetDrawing1.Append(twoCellAnchor4); worksheetDrawing1.Append(twoCellAnchor5); worksheetDrawing1.Append(twoCellAnchor6); worksheetDrawing1.Append(twoCellAnchor7); drawingsPart1.WorksheetDrawing = worksheetDrawing1; } // Generates content of chartPart1. private void GenerateTibia3ChartContent(ChartPart chartPart1, double [] x, double [] y, double reqMin, double reqMax, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace1 = new C.ChartSpace(); chartSpace1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage1 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart1 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted1 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea1 = new C.PlotArea(); C.Layout layout1 = new C.Layout(); C.ScatterChart scatterChart1 = new C.ScatterChart(); C.ScatterStyle scatterStyle1 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries1 = new C.ScatterChartSeries(); C.Index index1 = new C.Index() { Val = (UInt32Value)0U }; C.Order order1 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText1 = new C.SeriesText(); C.NumericValue numericValue1 = new C.NumericValue(); numericValue1.Text = "Tibia-3"; seriesText1.Append(numericValue1); C.ChartShapeProperties chartShapeProperties1 = new C.ChartShapeProperties(); A.Outline outline1 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill1 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "00B050" }; solidFill1.Append(rgbColorModelHex1); outline1.Append(solidFill1); chartShapeProperties1.Append(outline1); C.Marker marker1 = new C.Marker(); C.Symbol symbol1 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker1.Append(symbol1); C.XValues xValues1 = new C.XValues(); C.NumberReference numberReference1 = new C.NumberReference(); C.Formula formula1 = new C.Formula(); formula1.Text = string.Format("Data!$M$2:$M${0}", 1+x.Length); C.NumberingCache numberingCache1 = new C.NumberingCache(); C.FormatCode formatCode1 = new C.FormatCode(); formatCode1.Text = "General"; C.PointCount pointCount1 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length) }; numberingCache1.Append(formatCode1); numberingCache1.Append(pointCount1); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache1.Append(p); } numberReference1.Append(formula1); numberReference1.Append(numberingCache1); xValues1.Append(numberReference1); C.YValues yValues1 = new C.YValues(); C.NumberReference numberReference2 = new C.NumberReference(); C.Formula formula2 = new C.Formula(); formula2.Text = string.Format("Data!$N$2:$N${0}", 1+y.Length); C.NumberingCache numberingCache2 = new C.NumberingCache(); C.FormatCode formatCode2 = new C.FormatCode(); formatCode2.Text = "General"; C.PointCount pointCount2 = new C.PointCount() { Val = (UInt32Value)11U }; numberingCache2.Append(formatCode2); numberingCache2.Append(pointCount2); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue(){Text = y[i].ToString()}); numberingCache2.Append(p); } numberReference2.Append(formula2); numberReference2.Append(numberingCache2); yValues1.Append(numberReference2); C.Smooth smooth1 = new C.Smooth() { Val = false }; scatterChartSeries1.Append(index1); scatterChartSeries1.Append(order1); scatterChartSeries1.Append(seriesText1); scatterChartSeries1.Append(chartShapeProperties1); scatterChartSeries1.Append(marker1); scatterChartSeries1.Append(xValues1); scatterChartSeries1.Append(yValues1); scatterChartSeries1.Append(smooth1); C.ScatterChartSeries scatterChartSeries2 = new C.ScatterChartSeries(); C.Index index2 = new C.Index() { Val = (UInt32Value)1U }; C.Order order2 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText2 = new C.SeriesText(); C.NumericValue numericValue24 = new C.NumericValue(); numericValue24.Text = "LOW"; seriesText2.Append(numericValue24); /* C.ChartShapeProperties chartShapeProperties2 = new C.ChartShapeProperties(); A.Outline outline2 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill2 = new A.SolidFill(); A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill2.Append(schemeColor1); outline2.Append(solidFill2); chartShapeProperties2.Append(outline2); */ C.ChartShapeProperties chartShapeProperties2 = new C.ChartShapeProperties(); A.Outline outline2 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill2 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill2.Append(rgbColorModelHex2); outline2.Append(solidFill2); chartShapeProperties2.Append(outline2); C.Marker marker2 = new C.Marker(); C.Symbol symbol2 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker2.Append(symbol2); C.XValues xValues2 = new C.XValues(); C.NumberReference numberReference3 = new C.NumberReference(); C.Formula formula3 = new C.Formula(); formula3.Text = "Data!$O$2:$O$3"; C.NumberingCache numberingCache3 = new C.NumberingCache(); C.FormatCode formatCode3 = new C.FormatCode(); formatCode3.Text = "General"; C.PointCount pointCount3 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint23 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue25 = new C.NumericValue(); numericValue25.Text = minX.ToString(); numericPoint23.Append(numericValue25); C.NumericPoint numericPoint24 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue26 = new C.NumericValue(); numericValue26.Text = maxX.ToString(); numericPoint24.Append(numericValue26); numberingCache3.Append(formatCode3); numberingCache3.Append(pointCount3); numberingCache3.Append(numericPoint23); numberingCache3.Append(numericPoint24); numberReference3.Append(formula3); numberReference3.Append(numberingCache3); xValues2.Append(numberReference3); C.YValues yValues2 = new C.YValues(); C.NumberReference numberReference4 = new C.NumberReference(); C.Formula formula4 = new C.Formula(); formula4.Text = "Data!$P$2:$P$3"; C.NumberingCache numberingCache4 = new C.NumberingCache(); C.FormatCode formatCode4 = new C.FormatCode(); formatCode4.Text = "General"; C.PointCount pointCount4 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint25 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue27 = new C.NumericValue(); numericValue27.Text = reqMin.ToString(); numericPoint25.Append(numericValue27); C.NumericPoint numericPoint26 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue28 = new C.NumericValue(); numericValue28.Text = reqMin.ToString(); numericPoint26.Append(numericValue28); numberingCache4.Append(formatCode4); numberingCache4.Append(pointCount4); numberingCache4.Append(numericPoint25); numberingCache4.Append(numericPoint26); numberReference4.Append(formula4); numberReference4.Append(numberingCache4); yValues2.Append(numberReference4); C.Smooth smooth2 = new C.Smooth() { Val = false }; scatterChartSeries2.Append(index2); scatterChartSeries2.Append(order2); scatterChartSeries2.Append(seriesText2); scatterChartSeries2.Append(chartShapeProperties2); scatterChartSeries2.Append(marker2); scatterChartSeries2.Append(xValues2); scatterChartSeries2.Append(yValues2); scatterChartSeries2.Append(smooth2); C.ScatterChartSeries scatterChartSeries3 = new C.ScatterChartSeries(); C.Index index3 = new C.Index() { Val = (UInt32Value)2U }; C.Order order3 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText3 = new C.SeriesText(); C.NumericValue numericValue29 = new C.NumericValue(); numericValue29.Text = "HIGH"; seriesText3.Append(numericValue29); /* C.ChartShapeProperties chartShapeProperties3 = new C.ChartShapeProperties(); A.Outline outline3 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill3 = new A.SolidFill(); A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill3.Append(schemeColor2); outline3.Append(solidFill3); chartShapeProperties3.Append(outline3); */ C.ChartShapeProperties chartShapeProperties3 = new C.ChartShapeProperties(); A.Outline outline3 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill3 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill3.Append(rgbColorModelHex3); outline3.Append(solidFill3); chartShapeProperties3.Append(outline3); C.Marker marker3 = new C.Marker(); C.Symbol symbol3 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker3.Append(symbol3); C.XValues xValues3 = new C.XValues(); C.NumberReference numberReference5 = new C.NumberReference(); C.Formula formula5 = new C.Formula(); formula5.Text = "Data!$Q$2:$Q$3"; C.NumberingCache numberingCache5 = new C.NumberingCache(); C.FormatCode formatCode5 = new C.FormatCode(); formatCode5.Text = "General"; C.PointCount pointCount5 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint27 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue30 = new C.NumericValue(); numericValue30.Text = minX.ToString(); numericPoint27.Append(numericValue30); C.NumericPoint numericPoint28 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue31 = new C.NumericValue(); numericValue31.Text = maxX.ToString(); numericPoint28.Append(numericValue31); numberingCache5.Append(formatCode5); numberingCache5.Append(pointCount5); numberingCache5.Append(numericPoint27); numberingCache5.Append(numericPoint28); numberReference5.Append(formula5); numberReference5.Append(numberingCache5); xValues3.Append(numberReference5); C.YValues yValues3 = new C.YValues(); C.NumberReference numberReference6 = new C.NumberReference(); C.Formula formula6 = new C.Formula(); formula6.Text = "Data!$R$2:$R$3"; C.NumberingCache numberingCache6 = new C.NumberingCache(); C.FormatCode formatCode6 = new C.FormatCode(); formatCode6.Text = "General"; C.PointCount pointCount6 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint29 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue32 = new C.NumericValue(); numericValue32.Text = reqMax.ToString(); numericPoint29.Append(numericValue32); C.NumericPoint numericPoint30 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue33 = new C.NumericValue(); numericValue33.Text = reqMax.ToString(); numericPoint30.Append(numericValue33); numberingCache6.Append(formatCode6); numberingCache6.Append(pointCount6); numberingCache6.Append(numericPoint29); numberingCache6.Append(numericPoint30); numberReference6.Append(formula6); numberReference6.Append(numberingCache6); yValues3.Append(numberReference6); C.Smooth smooth3 = new C.Smooth() { Val = false }; scatterChartSeries3.Append(index3); scatterChartSeries3.Append(order3); scatterChartSeries3.Append(seriesText3); scatterChartSeries3.Append(chartShapeProperties3); scatterChartSeries3.Append(marker3); scatterChartSeries3.Append(xValues3); scatterChartSeries3.Append(yValues3); scatterChartSeries3.Append(smooth3); C.AxisId axisId1 = new C.AxisId() { Val = (UInt32Value)124147200U }; C.AxisId axisId2 = new C.AxisId() { Val = (UInt32Value)124148736U }; scatterChart1.Append(scatterStyle1); scatterChart1.Append(scatterChartSeries1); scatterChart1.Append(scatterChartSeries2); scatterChart1.Append(scatterChartSeries3); scatterChart1.Append(axisId1); scatterChart1.Append(axisId2); C.ValueAxis valueAxis1 = new C.ValueAxis(); C.AxisId axisId3 = new C.AxisId() { Val = (UInt32Value)124147200U }; C.Scaling scaling1 = new C.Scaling(); C.Orientation orientation1 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling1.Append(orientation1); C.AxisPosition axisPosition1 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines1 = new C.MajorGridlines(); C.NumberingFormat numberingFormat1 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark1 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition1 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis1 = new C.CrossingAxis() { Val = (UInt32Value)124148736U }; C.Crosses crosses1 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween1 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis1.Append(axisId3); valueAxis1.Append(scaling1); valueAxis1.Append(axisPosition1); valueAxis1.Append(majorGridlines1); valueAxis1.Append(numberingFormat1); valueAxis1.Append(majorTickMark1); valueAxis1.Append(tickLabelPosition1); valueAxis1.Append(crossingAxis1); valueAxis1.Append(crosses1); valueAxis1.Append(crossBetween1); C.ValueAxis valueAxis2 = new C.ValueAxis(); C.AxisId axisId4 = new C.AxisId() { Val = (UInt32Value)124148736U }; C.Scaling scaling2 = new C.Scaling(); C.Orientation orientation2 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling2.Append(orientation2); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling2.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling2.Append(max); } C.AxisPosition axisPosition2 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines2 = new C.MajorGridlines(); C.MinorGridlines minorGridlines1 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties4 = new C.ChartShapeProperties(); A.Outline outline4 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill4 = new A.SolidFill(); A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 85000 }; schemeColor3.Append(luminanceModulation1); solidFill4.Append(schemeColor3); outline4.Append(solidFill4); chartShapeProperties4.Append(outline4); minorGridlines1.Append(chartShapeProperties4); C.NumberingFormat numberingFormat2 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark2 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition2 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis2 = new C.CrossingAxis() { Val = (UInt32Value)124147200U }; C.Crosses crosses2 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween2 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis2.Append(axisId4); valueAxis2.Append(scaling2); valueAxis2.Append(axisPosition2); valueAxis2.Append(majorGridlines2); valueAxis2.Append(minorGridlines1); valueAxis2.Append(numberingFormat2); valueAxis2.Append(majorTickMark2); valueAxis2.Append(tickLabelPosition2); valueAxis2.Append(crossingAxis2); valueAxis2.Append(crosses2); valueAxis2.Append(crossBetween2); plotArea1.Append(layout1); plotArea1.Append(scatterChart1); plotArea1.Append(valueAxis1); plotArea1.Append(valueAxis2); C.PlotVisibleOnly plotVisibleOnly1 = new C.PlotVisibleOnly() { Val = true }; chart1.Append(autoTitleDeleted1); chart1.Append(plotArea1); chart1.Append(plotVisibleOnly1); C.PrintSettings printSettings1 = new C.PrintSettings(); C.HeaderFooter headerFooter1 = new C.HeaderFooter(); C.PageMargins pageMargins3 = new C.PageMargins() { Left = 0.7000000000000004D, Right = 0.7000000000000004D, Top = 0.75000000000000044D, Bottom = 0.75000000000000044D, Header = 0.30000000000000021D, Footer = 0.30000000000000021D }; C.PageSetup pageSetup2 = new C.PageSetup(); printSettings1.Append(headerFooter1); printSettings1.Append(pageMargins3); printSettings1.Append(pageSetup2); chartSpace1.Append(editingLanguage1); chartSpace1.Append(chart1); chartSpace1.Append(printSettings1); chartPart1.ChartSpace = chartSpace1; } // Generates content of chartPart2. private void GeneratePCLChartContent(ChartPart chartPart2, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace2 = new C.ChartSpace(); chartSpace2.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage2 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart2 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted2 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea2 = new C.PlotArea(); C.Layout layout2 = new C.Layout(); C.ScatterChart scatterChart2 = new C.ScatterChart(); C.ScatterStyle scatterStyle2 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries4 = new C.ScatterChartSeries(); C.Index index4 = new C.Index() { Val = (UInt32Value)0U }; C.Order order4 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText4 = new C.SeriesText(); C.NumericValue numericValue34 = new C.NumericValue(); numericValue34.Text = "PCL"; seriesText4.Append(numericValue34); C.ChartShapeProperties chartShapeProperties5 = new C.ChartShapeProperties(); A.Outline outline5 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill5 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "00B050" }; solidFill5.Append(rgbColorModelHex2); outline5.Append(solidFill5); chartShapeProperties5.Append(outline5); C.Marker marker4 = new C.Marker(); C.Symbol symbol4 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker4.Append(symbol4); C.XValues xValues4 = new C.XValues(); C.NumberReference numberReference7 = new C.NumberReference(); C.Formula formula7 = new C.Formula(); formula7.Text = string.Format("Data!$AK$2:$AK${0}", 1 + x.Length); C.NumberingCache numberingCache7 = new C.NumberingCache(); C.FormatCode formatCode7 = new C.FormatCode(); formatCode7.Text = "General"; C.PointCount pointCount7 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length)}; numberingCache7.Append(formatCode7); numberingCache7.Append(pointCount7); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache7.Append(p); } numberReference7.Append(formula7); numberReference7.Append(numberingCache7); xValues4.Append(numberReference7); C.YValues yValues4 = new C.YValues(); C.NumberReference numberReference8 = new C.NumberReference(); C.Formula formula8 = new C.Formula(); formula8.Text = string.Format("Data!$AL$2:$AL${0}", 1+y.Length); C.NumberingCache numberingCache8 = new C.NumberingCache(); C.FormatCode formatCode8 = new C.FormatCode(); formatCode8.Text = "General"; C.PointCount pointCount8 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache8.Append(formatCode8); numberingCache8.Append(pointCount8); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache8.Append(p); } numberReference8.Append(formula8); numberReference8.Append(numberingCache8); yValues4.Append(numberReference8); C.Smooth smooth4 = new C.Smooth() { Val = false }; scatterChartSeries4.Append(index4); scatterChartSeries4.Append(order4); scatterChartSeries4.Append(seriesText4); scatterChartSeries4.Append(chartShapeProperties5); scatterChartSeries4.Append(marker4); scatterChartSeries4.Append(xValues4); scatterChartSeries4.Append(yValues4); scatterChartSeries4.Append(smooth4); C.ScatterChartSeries scatterChartSeries5 = new C.ScatterChartSeries(); C.Index index5 = new C.Index() { Val = (UInt32Value)1U }; C.Order order5 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText5 = new C.SeriesText(); C.NumericValue numericValue57 = new C.NumericValue(); numericValue57.Text = "LOW"; seriesText5.Append(numericValue57); /* C.ChartShapeProperties chartShapeProperties6 = new C.ChartShapeProperties(); A.Outline outline6 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill6 = new A.SolidFill(); A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill6.Append(schemeColor4); outline6.Append(solidFill6); chartShapeProperties6.Append(outline6); */ C.ChartShapeProperties chartShapeProperties6 = new C.ChartShapeProperties(); A.Outline outline6 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill6 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill6.Append(rgbColorModelHex6); outline6.Append(solidFill6); chartShapeProperties6.Append(outline6); C.Marker marker5 = new C.Marker(); C.Symbol symbol5 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker5.Append(symbol5); C.XValues xValues5 = new C.XValues(); C.NumberReference numberReference9 = new C.NumberReference(); C.Formula formula9 = new C.Formula(); formula9.Text = "Data!$AM$2:$AM$3"; C.NumberingCache numberingCache9 = new C.NumberingCache(); C.FormatCode formatCode9 = new C.FormatCode(); formatCode9.Text = "General"; C.PointCount pointCount9 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint53 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue58 = new C.NumericValue(); numericValue58.Text = minX.ToString(); numericPoint53.Append(numericValue58); C.NumericPoint numericPoint54 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue59 = new C.NumericValue(); numericValue59.Text = maxX.ToString(); numericPoint54.Append(numericValue59); numberingCache9.Append(formatCode9); numberingCache9.Append(pointCount9); numberingCache9.Append(numericPoint53); numberingCache9.Append(numericPoint54); numberReference9.Append(formula9); numberReference9.Append(numberingCache9); xValues5.Append(numberReference9); C.YValues yValues5 = new C.YValues(); C.NumberReference numberReference10 = new C.NumberReference(); C.Formula formula10 = new C.Formula(); formula10.Text = "Data!$AN$2:$AN$3"; C.NumberingCache numberingCache10 = new C.NumberingCache(); C.FormatCode formatCode10 = new C.FormatCode(); formatCode10.Text = "General"; C.PointCount pointCount10 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint55 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue60 = new C.NumericValue(); numericValue60.Text = minReq.ToString(); numericPoint55.Append(numericValue60); C.NumericPoint numericPoint56 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue61 = new C.NumericValue(); numericValue61.Text = minReq.ToString(); numericPoint56.Append(numericValue61); numberingCache10.Append(formatCode10); numberingCache10.Append(pointCount10); numberingCache10.Append(numericPoint55); numberingCache10.Append(numericPoint56); numberReference10.Append(formula10); numberReference10.Append(numberingCache10); yValues5.Append(numberReference10); C.Smooth smooth5 = new C.Smooth() { Val = false }; scatterChartSeries5.Append(index5); scatterChartSeries5.Append(order5); scatterChartSeries5.Append(seriesText5); scatterChartSeries5.Append(chartShapeProperties6); scatterChartSeries5.Append(marker5); scatterChartSeries5.Append(xValues5); scatterChartSeries5.Append(yValues5); scatterChartSeries5.Append(smooth5); C.ScatterChartSeries scatterChartSeries6 = new C.ScatterChartSeries(); C.Index index6 = new C.Index() { Val = (UInt32Value)2U }; C.Order order6 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText6 = new C.SeriesText(); C.NumericValue numericValue62 = new C.NumericValue(); numericValue62.Text = "HIGH"; seriesText6.Append(numericValue62); /* C.ChartShapeProperties chartShapeProperties7 = new C.ChartShapeProperties(); A.Outline outline7 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill7 = new A.SolidFill(); A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill7.Append(schemeColor5); outline7.Append(solidFill7); chartShapeProperties7.Append(outline7); */ C.ChartShapeProperties chartShapeProperties7 = new C.ChartShapeProperties(); A.Outline outline7 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill7 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill7.Append(rgbColorModelHex7); outline7.Append(solidFill7); chartShapeProperties7.Append(outline7); C.Marker marker6 = new C.Marker(); C.Symbol symbol6 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker6.Append(symbol6); C.XValues xValues6 = new C.XValues(); C.NumberReference numberReference11 = new C.NumberReference(); C.Formula formula11 = new C.Formula(); formula11.Text = "Data!$AO$2:$AO$3"; C.NumberingCache numberingCache11 = new C.NumberingCache(); C.FormatCode formatCode11 = new C.FormatCode(); formatCode11.Text = "General"; C.PointCount pointCount11 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint57 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue63 = new C.NumericValue(); numericValue63.Text = minX.ToString(); numericPoint57.Append(numericValue63); C.NumericPoint numericPoint58 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue64 = new C.NumericValue(); numericValue64.Text = maxX.ToString(); numericPoint58.Append(numericValue64); numberingCache11.Append(formatCode11); numberingCache11.Append(pointCount11); numberingCache11.Append(numericPoint57); numberingCache11.Append(numericPoint58); numberReference11.Append(formula11); numberReference11.Append(numberingCache11); xValues6.Append(numberReference11); C.YValues yValues6 = new C.YValues(); C.NumberReference numberReference12 = new C.NumberReference(); C.Formula formula12 = new C.Formula(); formula12.Text = "Data!$AP$2:$AP$3"; C.NumberingCache numberingCache12 = new C.NumberingCache(); C.FormatCode formatCode12 = new C.FormatCode(); formatCode12.Text = "General"; C.PointCount pointCount12 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint59 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue65 = new C.NumericValue(); numericValue65.Text = maxReq.ToString(); numericPoint59.Append(numericValue65); C.NumericPoint numericPoint60 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue66 = new C.NumericValue(); numericValue66.Text = maxReq.ToString(); numericPoint60.Append(numericValue66); numberingCache12.Append(formatCode12); numberingCache12.Append(pointCount12); numberingCache12.Append(numericPoint59); numberingCache12.Append(numericPoint60); numberReference12.Append(formula12); numberReference12.Append(numberingCache12); yValues6.Append(numberReference12); C.Smooth smooth6 = new C.Smooth() { Val = false }; scatterChartSeries6.Append(index6); scatterChartSeries6.Append(order6); scatterChartSeries6.Append(seriesText6); scatterChartSeries6.Append(chartShapeProperties7); scatterChartSeries6.Append(marker6); scatterChartSeries6.Append(xValues6); scatterChartSeries6.Append(yValues6); scatterChartSeries6.Append(smooth6); C.AxisId axisId5 = new C.AxisId() { Val = (UInt32Value)47638016U }; C.AxisId axisId6 = new C.AxisId() { Val = (UInt32Value)47639552U }; scatterChart2.Append(scatterStyle2); scatterChart2.Append(scatterChartSeries4); scatterChart2.Append(scatterChartSeries5); scatterChart2.Append(scatterChartSeries6); scatterChart2.Append(axisId5); scatterChart2.Append(axisId6); C.ValueAxis valueAxis3 = new C.ValueAxis(); C.AxisId axisId7 = new C.AxisId() { Val = (UInt32Value)47638016U }; C.Scaling scaling3 = new C.Scaling(); C.Orientation orientation3 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling3.Append(orientation3); C.AxisPosition axisPosition3 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines3 = new C.MajorGridlines(); C.NumberingFormat numberingFormat3 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark3 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition3 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis3 = new C.CrossingAxis() { Val = (UInt32Value)47639552U }; C.Crosses crosses3 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween3 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis3.Append(axisId7); valueAxis3.Append(scaling3); valueAxis3.Append(axisPosition3); valueAxis3.Append(majorGridlines3); valueAxis3.Append(numberingFormat3); valueAxis3.Append(majorTickMark3); valueAxis3.Append(tickLabelPosition3); valueAxis3.Append(crossingAxis3); valueAxis3.Append(crosses3); valueAxis3.Append(crossBetween3); C.ValueAxis valueAxis4 = new C.ValueAxis(); C.AxisId axisId8 = new C.AxisId() { Val = (UInt32Value)47639552U }; C.Scaling scaling4 = new C.Scaling(); C.Orientation orientation4 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling4.Append(orientation4); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling4.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling4.Append(max); } C.AxisPosition axisPosition4 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines4 = new C.MajorGridlines(); C.MinorGridlines minorGridlines2 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties8 = new C.ChartShapeProperties(); A.Outline outline8 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill8 = new A.SolidFill(); A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 85000 }; schemeColor6.Append(luminanceModulation2); solidFill8.Append(schemeColor6); outline8.Append(solidFill8); chartShapeProperties8.Append(outline8); minorGridlines2.Append(chartShapeProperties8); C.NumberingFormat numberingFormat4 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark4 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition4 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis4 = new C.CrossingAxis() { Val = (UInt32Value)47638016U }; C.Crosses crosses4 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween4 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis4.Append(axisId8); valueAxis4.Append(scaling4); valueAxis4.Append(axisPosition4); valueAxis4.Append(majorGridlines4); valueAxis4.Append(minorGridlines2); valueAxis4.Append(numberingFormat4); valueAxis4.Append(majorTickMark4); valueAxis4.Append(tickLabelPosition4); valueAxis4.Append(crossingAxis4); valueAxis4.Append(crosses4); valueAxis4.Append(crossBetween4); plotArea2.Append(layout2); plotArea2.Append(scatterChart2); plotArea2.Append(valueAxis3); plotArea2.Append(valueAxis4); C.PlotVisibleOnly plotVisibleOnly2 = new C.PlotVisibleOnly() { Val = true }; chart2.Append(autoTitleDeleted2); chart2.Append(plotArea2); chart2.Append(plotVisibleOnly2); C.PrintSettings printSettings2 = new C.PrintSettings(); C.HeaderFooter headerFooter2 = new C.HeaderFooter(); C.PageMargins pageMargins4 = new C.PageMargins() { Left = 0.70000000000000062D, Right = 0.70000000000000062D, Top = 0.75000000000000078D, Bottom = 0.75000000000000078D, Header = 0.30000000000000032D, Footer = 0.30000000000000032D }; C.PageSetup pageSetup3 = new C.PageSetup() { PaperSize = (UInt32Value)9U, Orientation = C.PageSetupOrientationValues.Portrait }; printSettings2.Append(headerFooter2); printSettings2.Append(pageMargins4); printSettings2.Append(pageSetup3); chartSpace2.Append(editingLanguage2); chartSpace2.Append(chart2); chartSpace2.Append(printSettings2); chartPart2.ChartSpace = chartSpace2; } // Generates content of chartPart3. private void GenerateTibia2ChartContent(ChartPart chartPart3, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace3 = new C.ChartSpace(); chartSpace3.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace3.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage3 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart3 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted3 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea3 = new C.PlotArea(); C.Layout layout3 = new C.Layout(); C.ScatterChart scatterChart3 = new C.ScatterChart(); C.ScatterStyle scatterStyle3 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries7 = new C.ScatterChartSeries(); C.Index index7 = new C.Index() { Val = (UInt32Value)0U }; C.Order order7 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText7 = new C.SeriesText(); C.NumericValue numericValue67 = new C.NumericValue(); numericValue67.Text = "Tibia2"; seriesText7.Append(numericValue67); C.ChartShapeProperties chartShapeProperties9 = new C.ChartShapeProperties(); A.Outline outline9 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill9 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "0070C0" }; solidFill9.Append(rgbColorModelHex3); outline9.Append(solidFill9); chartShapeProperties9.Append(outline9); C.Marker marker7 = new C.Marker(); C.Symbol symbol7 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker7.Append(symbol7); C.XValues xValues7 = new C.XValues(); C.NumberReference numberReference13 = new C.NumberReference(); C.Formula formula13 = new C.Formula(); formula13.Text = string.Format("Data!$G$2:$G${0}", 1+x.Length); C.NumberingCache numberingCache13 = new C.NumberingCache(); C.FormatCode formatCode13 = new C.FormatCode(); formatCode13.Text = "General"; C.PointCount pointCount13 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length)}; numberingCache13.Append(formatCode13); numberingCache13.Append(pointCount13); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache13.Append(p); } numberReference13.Append(formula13); numberReference13.Append(numberingCache13); xValues7.Append(numberReference13); C.YValues yValues7 = new C.YValues(); C.NumberReference numberReference14 = new C.NumberReference(); C.Formula formula14 = new C.Formula(); formula14.Text = string.Format("Data!$H$2:$H${0}", 1+y.Length); C.NumberingCache numberingCache14 = new C.NumberingCache(); C.FormatCode formatCode14 = new C.FormatCode(); formatCode14.Text = "General"; C.PointCount pointCount14 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache14.Append(formatCode14); numberingCache14.Append(pointCount14); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache14.Append(p); } numberReference14.Append(formula14); numberReference14.Append(numberingCache14); yValues7.Append(numberReference14); C.Smooth smooth7 = new C.Smooth() { Val = false }; scatterChartSeries7.Append(index7); scatterChartSeries7.Append(order7); scatterChartSeries7.Append(seriesText7); scatterChartSeries7.Append(chartShapeProperties9); scatterChartSeries7.Append(marker7); scatterChartSeries7.Append(xValues7); scatterChartSeries7.Append(yValues7); scatterChartSeries7.Append(smooth7); C.ScatterChartSeries scatterChartSeries8 = new C.ScatterChartSeries(); C.Index index8 = new C.Index() { Val = (UInt32Value)1U }; C.Order order8 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText8 = new C.SeriesText(); C.NumericValue numericValue90 = new C.NumericValue(); numericValue90.Text = "LOW"; seriesText8.Append(numericValue90); /* C.ChartShapeProperties chartShapeProperties10 = new C.ChartShapeProperties(); A.Outline outline10 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill10 = new A.SolidFill(); A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill10.Append(schemeColor7); outline10.Append(solidFill10); chartShapeProperties10.Append(outline10); */ C.ChartShapeProperties chartShapeProperties10 = new C.ChartShapeProperties(); A.Outline outline10 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill10 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill10.Append(rgbColorModelHex10); outline10.Append(solidFill10); chartShapeProperties10.Append(outline10); C.Marker marker8 = new C.Marker(); C.Symbol symbol8 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker8.Append(symbol8); C.XValues xValues8 = new C.XValues(); C.NumberReference numberReference15 = new C.NumberReference(); C.Formula formula15 = new C.Formula(); formula15.Text = "Data!$I$2:$I$3"; C.NumberingCache numberingCache15 = new C.NumberingCache(); C.FormatCode formatCode15 = new C.FormatCode(); formatCode15.Text = "General"; C.PointCount pointCount15 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint83 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue91 = new C.NumericValue(); numericValue91.Text = minX.ToString(); numericPoint83.Append(numericValue91); C.NumericPoint numericPoint84 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue92 = new C.NumericValue(); numericValue92.Text = maxX.ToString(); numericPoint84.Append(numericValue92); numberingCache15.Append(formatCode15); numberingCache15.Append(pointCount15); numberingCache15.Append(numericPoint83); numberingCache15.Append(numericPoint84); numberReference15.Append(formula15); numberReference15.Append(numberingCache15); xValues8.Append(numberReference15); C.YValues yValues8 = new C.YValues(); C.NumberReference numberReference16 = new C.NumberReference(); C.Formula formula16 = new C.Formula(); formula16.Text = "Data!$J$2:$J$3"; C.NumberingCache numberingCache16 = new C.NumberingCache(); C.FormatCode formatCode16 = new C.FormatCode(); formatCode16.Text = "General"; C.PointCount pointCount16 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint85 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue93 = new C.NumericValue(); numericValue93.Text = minReq.ToString(); numericPoint85.Append(numericValue93); C.NumericPoint numericPoint86 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue94 = new C.NumericValue(); numericValue94.Text = minReq.ToString(); numericPoint86.Append(numericValue94); numberingCache16.Append(formatCode16); numberingCache16.Append(pointCount16); numberingCache16.Append(numericPoint85); numberingCache16.Append(numericPoint86); numberReference16.Append(formula16); numberReference16.Append(numberingCache16); yValues8.Append(numberReference16); C.Smooth smooth8 = new C.Smooth() { Val = false }; scatterChartSeries8.Append(index8); scatterChartSeries8.Append(order8); scatterChartSeries8.Append(seriesText8); scatterChartSeries8.Append(chartShapeProperties10); scatterChartSeries8.Append(marker8); scatterChartSeries8.Append(xValues8); scatterChartSeries8.Append(yValues8); scatterChartSeries8.Append(smooth8); C.ScatterChartSeries scatterChartSeries9 = new C.ScatterChartSeries(); C.Index index9 = new C.Index() { Val = (UInt32Value)2U }; C.Order order9 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText9 = new C.SeriesText(); C.NumericValue numericValue95 = new C.NumericValue(); numericValue95.Text = "HIGH"; seriesText9.Append(numericValue95); /* C.ChartShapeProperties chartShapeProperties11 = new C.ChartShapeProperties(); A.Outline outline11 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill11 = new A.SolidFill(); A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill11.Append(schemeColor8); outline11.Append(solidFill11); chartShapeProperties11.Append(outline11); */ C.ChartShapeProperties chartShapeProperties11 = new C.ChartShapeProperties(); A.Outline outline11 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill11 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill11.Append(rgbColorModelHex11); outline11.Append(solidFill11); chartShapeProperties11.Append(outline11); C.Marker marker9 = new C.Marker(); C.Symbol symbol9 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker9.Append(symbol9); C.XValues xValues9 = new C.XValues(); C.NumberReference numberReference17 = new C.NumberReference(); C.Formula formula17 = new C.Formula(); formula17.Text = "Data!$K$2:$K$3"; C.NumberingCache numberingCache17 = new C.NumberingCache(); C.FormatCode formatCode17 = new C.FormatCode(); formatCode17.Text = "General"; C.PointCount pointCount17 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint87 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue96 = new C.NumericValue(); numericValue96.Text = minX.ToString(); numericPoint87.Append(numericValue96); C.NumericPoint numericPoint88 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue97 = new C.NumericValue(); numericValue97.Text = maxX.ToString(); numericPoint88.Append(numericValue97); numberingCache17.Append(formatCode17); numberingCache17.Append(pointCount17); numberingCache17.Append(numericPoint87); numberingCache17.Append(numericPoint88); numberReference17.Append(formula17); numberReference17.Append(numberingCache17); xValues9.Append(numberReference17); C.YValues yValues9 = new C.YValues(); C.NumberReference numberReference18 = new C.NumberReference(); C.Formula formula18 = new C.Formula(); formula18.Text = "Data!$L$2:$L$3"; C.NumberingCache numberingCache18 = new C.NumberingCache(); C.FormatCode formatCode18 = new C.FormatCode(); formatCode18.Text = "General"; C.PointCount pointCount18 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint89 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue98 = new C.NumericValue(); numericValue98.Text = maxReq.ToString(); numericPoint89.Append(numericValue98); C.NumericPoint numericPoint90 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue99 = new C.NumericValue(); numericValue99.Text = maxReq.ToString(); numericPoint90.Append(numericValue99); numberingCache18.Append(formatCode18); numberingCache18.Append(pointCount18); numberingCache18.Append(numericPoint89); numberingCache18.Append(numericPoint90); numberReference18.Append(formula18); numberReference18.Append(numberingCache18); yValues9.Append(numberReference18); C.Smooth smooth9 = new C.Smooth() { Val = false }; scatterChartSeries9.Append(index9); scatterChartSeries9.Append(order9); scatterChartSeries9.Append(seriesText9); scatterChartSeries9.Append(chartShapeProperties11); scatterChartSeries9.Append(marker9); scatterChartSeries9.Append(xValues9); scatterChartSeries9.Append(yValues9); scatterChartSeries9.Append(smooth9); C.AxisId axisId9 = new C.AxisId() { Val = (UInt32Value)107563648U }; C.AxisId axisId10 = new C.AxisId() { Val = (UInt32Value)108071552U }; scatterChart3.Append(scatterStyle3); scatterChart3.Append(scatterChartSeries7); scatterChart3.Append(scatterChartSeries8); scatterChart3.Append(scatterChartSeries9); scatterChart3.Append(axisId9); scatterChart3.Append(axisId10); C.ValueAxis valueAxis5 = new C.ValueAxis(); C.AxisId axisId11 = new C.AxisId() { Val = (UInt32Value)107563648U }; C.Scaling scaling5 = new C.Scaling(); C.Orientation orientation5 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling5.Append(orientation5); C.AxisPosition axisPosition5 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines5 = new C.MajorGridlines(); C.NumberingFormat numberingFormat5 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark5 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition5 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis5 = new C.CrossingAxis() { Val = (UInt32Value)108071552U }; C.Crosses crosses5 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween5 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis5.Append(axisId11); valueAxis5.Append(scaling5); valueAxis5.Append(axisPosition5); valueAxis5.Append(majorGridlines5); valueAxis5.Append(numberingFormat5); valueAxis5.Append(majorTickMark5); valueAxis5.Append(tickLabelPosition5); valueAxis5.Append(crossingAxis5); valueAxis5.Append(crosses5); valueAxis5.Append(crossBetween5); C.ValueAxis valueAxis6 = new C.ValueAxis(); C.AxisId axisId12 = new C.AxisId() { Val = (UInt32Value)108071552U }; C.Scaling scaling6 = new C.Scaling(); C.Orientation orientation6 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling6.Append(orientation6); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling6.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling6.Append(max); } C.AxisPosition axisPosition6 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines6 = new C.MajorGridlines(); C.MinorGridlines minorGridlines3 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties12 = new C.ChartShapeProperties(); A.Outline outline12 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill12 = new A.SolidFill(); A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 85000 }; schemeColor9.Append(luminanceModulation3); solidFill12.Append(schemeColor9); outline12.Append(solidFill12); chartShapeProperties12.Append(outline12); minorGridlines3.Append(chartShapeProperties12); C.NumberingFormat numberingFormat6 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark6 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition6 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis6 = new C.CrossingAxis() { Val = (UInt32Value)107563648U }; C.Crosses crosses6 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween6 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis6.Append(axisId12); valueAxis6.Append(scaling6); valueAxis6.Append(axisPosition6); valueAxis6.Append(majorGridlines6); valueAxis6.Append(minorGridlines3); valueAxis6.Append(numberingFormat6); valueAxis6.Append(majorTickMark6); valueAxis6.Append(tickLabelPosition6); valueAxis6.Append(crossingAxis6); valueAxis6.Append(crosses6); valueAxis6.Append(crossBetween6); plotArea3.Append(layout3); plotArea3.Append(scatterChart3); plotArea3.Append(valueAxis5); plotArea3.Append(valueAxis6); C.PlotVisibleOnly plotVisibleOnly3 = new C.PlotVisibleOnly() { Val = true }; chart3.Append(autoTitleDeleted3); chart3.Append(plotArea3); chart3.Append(plotVisibleOnly3); C.PrintSettings printSettings3 = new C.PrintSettings(); C.HeaderFooter headerFooter3 = new C.HeaderFooter(); C.PageMargins pageMargins5 = new C.PageMargins() { Left = 0.7000000000000004D, Right = 0.7000000000000004D, Top = 0.75000000000000044D, Bottom = 0.75000000000000044D, Header = 0.30000000000000021D, Footer = 0.30000000000000021D }; C.PageSetup pageSetup4 = new C.PageSetup(); printSettings3.Append(headerFooter3); printSettings3.Append(pageMargins5); printSettings3.Append(pageSetup4); chartSpace3.Append(editingLanguage3); chartSpace3.Append(chart3); chartSpace3.Append(printSettings3); chartPart3.ChartSpace = chartSpace3; } // Generates content of chartPart4. private void GenerateTibia1ChartContent(ChartPart chartPart4, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace4 = new C.ChartSpace(); chartSpace4.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace4.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage4 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart4 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted4 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea4 = new C.PlotArea(); C.Layout layout4 = new C.Layout(); C.ScatterChart scatterChart4 = new C.ScatterChart(); C.ScatterStyle scatterStyle4 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries10 = new C.ScatterChartSeries(); C.Index index10 = new C.Index() { Val = (UInt32Value)0U }; C.Order order10 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText10 = new C.SeriesText(); C.NumericValue numericValue100 = new C.NumericValue(); numericValue100.Text = "Tibia1"; seriesText10.Append(numericValue100); C.ChartShapeProperties chartShapeProperties13 = new C.ChartShapeProperties(); A.Outline outline13 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill13 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "FF0000" }; solidFill13.Append(rgbColorModelHex4); outline13.Append(solidFill13); chartShapeProperties13.Append(outline13); C.Marker marker10 = new C.Marker(); C.Symbol symbol10 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker10.Append(symbol10); C.XValues xValues10 = new C.XValues(); C.NumberReference numberReference19 = new C.NumberReference(); C.Formula formula19 = new C.Formula(); formula19.Text = string.Format("Data!$A$2:$A${0}", 1+x.Length); C.NumberingCache numberingCache19 = new C.NumberingCache(); C.FormatCode formatCode19 = new C.FormatCode(); formatCode19.Text = "General"; C.PointCount pointCount19 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length) }; numberingCache19.Append(formatCode19); numberingCache19.Append(pointCount19); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache19.Append(p); } numberReference19.Append(formula19); numberReference19.Append(numberingCache19); xValues10.Append(numberReference19); C.YValues yValues10 = new C.YValues(); C.NumberReference numberReference20 = new C.NumberReference(); C.Formula formula20 = new C.Formula(); formula20.Text = string.Format("Data!$B$2:$B${0}", 1+y.Length); C.NumberingCache numberingCache20 = new C.NumberingCache(); C.FormatCode formatCode20 = new C.FormatCode(); formatCode20.Text = "General"; C.PointCount pointCount20 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache20.Append(formatCode20); numberingCache20.Append(pointCount20); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache20.Append(p); } numberReference20.Append(formula20); numberReference20.Append(numberingCache20); yValues10.Append(numberReference20); C.Smooth smooth10 = new C.Smooth() { Val = false }; scatterChartSeries10.Append(index10); scatterChartSeries10.Append(order10); scatterChartSeries10.Append(seriesText10); scatterChartSeries10.Append(chartShapeProperties13); scatterChartSeries10.Append(marker10); scatterChartSeries10.Append(xValues10); scatterChartSeries10.Append(yValues10); scatterChartSeries10.Append(smooth10); C.ScatterChartSeries scatterChartSeries11 = new C.ScatterChartSeries(); C.Index index11 = new C.Index() { Val = (UInt32Value)1U }; C.Order order11 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText11 = new C.SeriesText(); C.NumericValue numericValue123 = new C.NumericValue(); numericValue123.Text = "LOW"; seriesText11.Append(numericValue123); /* C.ChartShapeProperties chartShapeProperties14 = new C.ChartShapeProperties(); A.Outline outline14 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill14 = new A.SolidFill(); A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill14.Append(schemeColor10); outline14.Append(solidFill14); chartShapeProperties14.Append(outline14); */ C.ChartShapeProperties chartShapeProperties14 = new C.ChartShapeProperties(); A.Outline outline14 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill14 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill14.Append(rgbColorModelHex14); outline14.Append(solidFill14); chartShapeProperties14.Append(outline14); C.Marker marker11 = new C.Marker(); C.Symbol symbol11 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker11.Append(symbol11); C.XValues xValues11 = new C.XValues(); C.NumberReference numberReference21 = new C.NumberReference(); C.Formula formula21 = new C.Formula(); formula21.Text = "Data!$C$2:$C$3"; C.NumberingCache numberingCache21 = new C.NumberingCache(); C.FormatCode formatCode21 = new C.FormatCode(); formatCode21.Text = "General"; C.PointCount pointCount21 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint113 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue124 = new C.NumericValue(); numericValue124.Text = minX.ToString(); numericPoint113.Append(numericValue124); C.NumericPoint numericPoint114 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue125 = new C.NumericValue(); numericValue125.Text = maxX.ToString(); numericPoint114.Append(numericValue125); numberingCache21.Append(formatCode21); numberingCache21.Append(pointCount21); numberingCache21.Append(numericPoint113); numberingCache21.Append(numericPoint114); numberReference21.Append(formula21); numberReference21.Append(numberingCache21); xValues11.Append(numberReference21); C.YValues yValues11 = new C.YValues(); C.NumberReference numberReference22 = new C.NumberReference(); C.Formula formula22 = new C.Formula(); formula22.Text = "Data!$D$2:$D$3"; C.NumberingCache numberingCache22 = new C.NumberingCache(); C.FormatCode formatCode22 = new C.FormatCode(); formatCode22.Text = "General"; C.PointCount pointCount22 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint115 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue126 = new C.NumericValue(); numericValue126.Text = minReq.ToString(); numericPoint115.Append(numericValue126); C.NumericPoint numericPoint116 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue127 = new C.NumericValue(); numericValue127.Text = minReq.ToString(); numericPoint116.Append(numericValue127); numberingCache22.Append(formatCode22); numberingCache22.Append(pointCount22); numberingCache22.Append(numericPoint115); numberingCache22.Append(numericPoint116); numberReference22.Append(formula22); numberReference22.Append(numberingCache22); yValues11.Append(numberReference22); C.Smooth smooth11 = new C.Smooth() { Val = false }; scatterChartSeries11.Append(index11); scatterChartSeries11.Append(order11); scatterChartSeries11.Append(seriesText11); scatterChartSeries11.Append(chartShapeProperties14); scatterChartSeries11.Append(marker11); scatterChartSeries11.Append(xValues11); scatterChartSeries11.Append(yValues11); scatterChartSeries11.Append(smooth11); C.ScatterChartSeries scatterChartSeries12 = new C.ScatterChartSeries(); C.Index index12 = new C.Index() { Val = (UInt32Value)2U }; C.Order order12 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText12 = new C.SeriesText(); C.NumericValue numericValue128 = new C.NumericValue(); numericValue128.Text = "HIGH"; seriesText12.Append(numericValue128); /* C.ChartShapeProperties chartShapeProperties15 = new C.ChartShapeProperties(); A.Outline outline15 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill15 = new A.SolidFill(); A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill15.Append(schemeColor11); outline15.Append(solidFill15); chartShapeProperties15.Append(outline15); */ C.ChartShapeProperties chartShapeProperties15 = new C.ChartShapeProperties(); A.Outline outline15 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill15 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill15.Append(rgbColorModelHex15); outline15.Append(solidFill15); chartShapeProperties15.Append(outline15); C.Marker marker12 = new C.Marker(); C.Symbol symbol12 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker12.Append(symbol12); C.XValues xValues12 = new C.XValues(); C.NumberReference numberReference23 = new C.NumberReference(); C.Formula formula23 = new C.Formula(); formula23.Text = "Data!$E$2:$E$3"; C.NumberingCache numberingCache23 = new C.NumberingCache(); C.FormatCode formatCode23 = new C.FormatCode(); formatCode23.Text = "General"; C.PointCount pointCount23 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint117 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue129 = new C.NumericValue(); numericValue129.Text = minX.ToString(); numericPoint117.Append(numericValue129); C.NumericPoint numericPoint118 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue130 = new C.NumericValue(); numericValue130.Text = maxX.ToString(); numericPoint118.Append(numericValue130); numberingCache23.Append(formatCode23); numberingCache23.Append(pointCount23); numberingCache23.Append(numericPoint117); numberingCache23.Append(numericPoint118); numberReference23.Append(formula23); numberReference23.Append(numberingCache23); xValues12.Append(numberReference23); C.YValues yValues12 = new C.YValues(); C.NumberReference numberReference24 = new C.NumberReference(); C.Formula formula24 = new C.Formula(); formula24.Text = "Data!$F$2:$F$3"; C.NumberingCache numberingCache24 = new C.NumberingCache(); C.FormatCode formatCode24 = new C.FormatCode(); formatCode24.Text = "General"; C.PointCount pointCount24 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint119 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue131 = new C.NumericValue(); numericValue131.Text = maxReq.ToString(); numericPoint119.Append(numericValue131); C.NumericPoint numericPoint120 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue132 = new C.NumericValue(); numericValue132.Text = maxReq.ToString(); numericPoint120.Append(numericValue132); numberingCache24.Append(formatCode24); numberingCache24.Append(pointCount24); numberingCache24.Append(numericPoint119); numberingCache24.Append(numericPoint120); numberReference24.Append(formula24); numberReference24.Append(numberingCache24); yValues12.Append(numberReference24); C.Smooth smooth12 = new C.Smooth() { Val = false }; scatterChartSeries12.Append(index12); scatterChartSeries12.Append(order12); scatterChartSeries12.Append(seriesText12); scatterChartSeries12.Append(chartShapeProperties15); scatterChartSeries12.Append(marker12); scatterChartSeries12.Append(xValues12); scatterChartSeries12.Append(yValues12); scatterChartSeries12.Append(smooth12); C.AxisId axisId13 = new C.AxisId() { Val = (UInt32Value)47497984U }; C.AxisId axisId14 = new C.AxisId() { Val = (UInt32Value)47499520U }; scatterChart4.Append(scatterStyle4); scatterChart4.Append(scatterChartSeries10); scatterChart4.Append(scatterChartSeries11); scatterChart4.Append(scatterChartSeries12); scatterChart4.Append(axisId13); scatterChart4.Append(axisId14); C.ValueAxis valueAxis7 = new C.ValueAxis(); C.AxisId axisId15 = new C.AxisId() { Val = (UInt32Value)47497984U }; C.Scaling scaling7 = new C.Scaling(); C.Orientation orientation7 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling7.Append(orientation7); C.AxisPosition axisPosition7 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines7 = new C.MajorGridlines(); C.NumberingFormat numberingFormat7 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark7 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition7 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis7 = new C.CrossingAxis() { Val = (UInt32Value)47499520U }; C.Crosses crosses7 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween7 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis7.Append(axisId15); valueAxis7.Append(scaling7); valueAxis7.Append(axisPosition7); valueAxis7.Append(majorGridlines7); valueAxis7.Append(numberingFormat7); valueAxis7.Append(majorTickMark7); valueAxis7.Append(tickLabelPosition7); valueAxis7.Append(crossingAxis7); valueAxis7.Append(crosses7); valueAxis7.Append(crossBetween7); C.ValueAxis valueAxis8 = new C.ValueAxis(); C.AxisId axisId16 = new C.AxisId() { Val = (UInt32Value)47499520U }; C.Scaling scaling8 = new C.Scaling(); C.Orientation orientation8 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling8.Append(orientation8); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling8.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling8.Append(max); } C.AxisPosition axisPosition8 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines8 = new C.MajorGridlines(); C.MinorGridlines minorGridlines4 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties16 = new C.ChartShapeProperties(); A.Outline outline16 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill16 = new A.SolidFill(); A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 85000 }; schemeColor12.Append(luminanceModulation4); solidFill16.Append(schemeColor12); outline16.Append(solidFill16); chartShapeProperties16.Append(outline16); minorGridlines4.Append(chartShapeProperties16); C.NumberingFormat numberingFormat8 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark8 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition8 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis8 = new C.CrossingAxis() { Val = (UInt32Value)47497984U }; C.Crosses crosses8 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween8 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis8.Append(axisId16); valueAxis8.Append(scaling8); valueAxis8.Append(axisPosition8); valueAxis8.Append(majorGridlines8); valueAxis8.Append(minorGridlines4); valueAxis8.Append(numberingFormat8); valueAxis8.Append(majorTickMark8); valueAxis8.Append(tickLabelPosition8); valueAxis8.Append(crossingAxis8); valueAxis8.Append(crosses8); valueAxis8.Append(crossBetween8); plotArea4.Append(layout4); plotArea4.Append(scatterChart4); plotArea4.Append(valueAxis7); plotArea4.Append(valueAxis8); C.PlotVisibleOnly plotVisibleOnly4 = new C.PlotVisibleOnly() { Val = true }; chart4.Append(autoTitleDeleted4); chart4.Append(plotArea4); chart4.Append(plotVisibleOnly4); C.PrintSettings printSettings4 = new C.PrintSettings(); C.HeaderFooter headerFooter4 = new C.HeaderFooter(); C.PageMargins pageMargins6 = new C.PageMargins() { Left = 0.70000000000000018D, Right = 0.70000000000000018D, Top = 0.75000000000000022D, Bottom = 0.75000000000000022D, Header = 0.3000000000000001D, Footer = 0.3000000000000001D }; C.PageSetup pageSetup5 = new C.PageSetup(); printSettings4.Append(headerFooter4); printSettings4.Append(pageMargins6); printSettings4.Append(pageSetup5); chartSpace4.Append(editingLanguage4); chartSpace4.Append(chart4); chartSpace4.Append(printSettings4); chartPart4.ChartSpace = chartSpace4; } // Generates content of chartPart5. private void GenerateACLChartContent(ChartPart chartPart5, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace5 = new C.ChartSpace(); chartSpace5.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace5.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage5 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart5 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted5 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea5 = new C.PlotArea(); C.Layout layout5 = new C.Layout(); C.ScatterChart scatterChart5 = new C.ScatterChart(); C.ScatterStyle scatterStyle5 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries13 = new C.ScatterChartSeries(); C.Index index13 = new C.Index() { Val = (UInt32Value)0U }; C.Order order13 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText13 = new C.SeriesText(); C.NumericValue numericValue133 = new C.NumericValue(); numericValue133.Text = "ACL"; seriesText13.Append(numericValue133); C.ChartShapeProperties chartShapeProperties17 = new C.ChartShapeProperties(); A.Outline outline17 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill17 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "0070C0" }; solidFill17.Append(rgbColorModelHex5); outline17.Append(solidFill17); chartShapeProperties17.Append(outline17); C.Marker marker13 = new C.Marker(); C.Symbol symbol13 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker13.Append(symbol13); C.XValues xValues13 = new C.XValues(); C.NumberReference numberReference25 = new C.NumberReference(); C.Formula formula25 = new C.Formula(); formula25.Text = string.Format("Data!$Y$2:$Y${0}", 1+x.Length); C.NumberingCache numberingCache25 = new C.NumberingCache(); C.FormatCode formatCode25 = new C.FormatCode(); formatCode25.Text = "General"; C.PointCount pointCount25 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length) }; numberingCache25.Append(formatCode25); numberingCache25.Append(pointCount25); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue(){Text = x[i].ToString()}); numberingCache25.Append(p); } numberReference25.Append(formula25); numberReference25.Append(numberingCache25); xValues13.Append(numberReference25); C.YValues yValues13 = new C.YValues(); C.NumberReference numberReference26 = new C.NumberReference(); C.Formula formula26 = new C.Formula(); formula26.Text = string.Format("Data!$Z$2:$Z${0}", 1 + y.Length); C.NumberingCache numberingCache26 = new C.NumberingCache(); C.FormatCode formatCode26 = new C.FormatCode(); formatCode26.Text = "General"; C.PointCount pointCount26 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache26.Append(formatCode26); numberingCache26.Append(pointCount26); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache26.Append(p); } numberReference26.Append(formula26); numberReference26.Append(numberingCache26); yValues13.Append(numberReference26); C.Smooth smooth13 = new C.Smooth() { Val = false }; scatterChartSeries13.Append(index13); scatterChartSeries13.Append(order13); scatterChartSeries13.Append(seriesText13); scatterChartSeries13.Append(chartShapeProperties17); scatterChartSeries13.Append(marker13); scatterChartSeries13.Append(xValues13); scatterChartSeries13.Append(yValues13); scatterChartSeries13.Append(smooth13); C.ScatterChartSeries scatterChartSeries14 = new C.ScatterChartSeries(); C.Index index14 = new C.Index() { Val = (UInt32Value)1U }; C.Order order14 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText14 = new C.SeriesText(); C.NumericValue numericValue156 = new C.NumericValue(); numericValue156.Text = "LOW"; seriesText14.Append(numericValue156); /* C.ChartShapeProperties chartShapeProperties18 = new C.ChartShapeProperties(); A.Outline outline18 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill18 = new A.SolidFill(); A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill18.Append(schemeColor13); outline18.Append(solidFill18); chartShapeProperties18.Append(outline18); */ C.ChartShapeProperties chartShapeProperties18 = new C.ChartShapeProperties(); A.Outline outline18 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill18 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill18.Append(rgbColorModelHex18); outline18.Append(solidFill18); chartShapeProperties18.Append(outline18); C.Marker marker14 = new C.Marker(); C.Symbol symbol14 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker14.Append(symbol14); C.XValues xValues14 = new C.XValues(); C.NumberReference numberReference27 = new C.NumberReference(); C.Formula formula27 = new C.Formula(); formula27.Text = "Data!$AA$2:$AA$3"; C.NumberingCache numberingCache27 = new C.NumberingCache(); C.FormatCode formatCode27 = new C.FormatCode(); formatCode27.Text = "General"; C.PointCount pointCount27 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint143 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue157 = new C.NumericValue(); numericValue157.Text = minX.ToString(); numericPoint143.Append(numericValue157); C.NumericPoint numericPoint144 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue158 = new C.NumericValue(); numericValue158.Text = maxX.ToString(); numericPoint144.Append(numericValue158); numberingCache27.Append(formatCode27); numberingCache27.Append(pointCount27); numberingCache27.Append(numericPoint143); numberingCache27.Append(numericPoint144); numberReference27.Append(formula27); numberReference27.Append(numberingCache27); xValues14.Append(numberReference27); C.YValues yValues14 = new C.YValues(); C.NumberReference numberReference28 = new C.NumberReference(); C.Formula formula28 = new C.Formula(); formula28.Text = "Data!$AB$2:$AB$3"; C.NumberingCache numberingCache28 = new C.NumberingCache(); C.FormatCode formatCode28 = new C.FormatCode(); formatCode28.Text = "General"; C.PointCount pointCount28 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint145 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue159 = new C.NumericValue(); numericValue159.Text = minReq.ToString(); numericPoint145.Append(numericValue159); C.NumericPoint numericPoint146 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue160 = new C.NumericValue(); numericValue160.Text = minReq.ToString(); numericPoint146.Append(numericValue160); numberingCache28.Append(formatCode28); numberingCache28.Append(pointCount28); numberingCache28.Append(numericPoint145); numberingCache28.Append(numericPoint146); numberReference28.Append(formula28); numberReference28.Append(numberingCache28); yValues14.Append(numberReference28); C.Smooth smooth14 = new C.Smooth() { Val = false }; scatterChartSeries14.Append(index14); scatterChartSeries14.Append(order14); scatterChartSeries14.Append(seriesText14); scatterChartSeries14.Append(chartShapeProperties18); scatterChartSeries14.Append(marker14); scatterChartSeries14.Append(xValues14); scatterChartSeries14.Append(yValues14); scatterChartSeries14.Append(smooth14); C.ScatterChartSeries scatterChartSeries15 = new C.ScatterChartSeries(); C.Index index15 = new C.Index() { Val = (UInt32Value)2U }; C.Order order15 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText15 = new C.SeriesText(); C.NumericValue numericValue161 = new C.NumericValue(); numericValue161.Text = "HIGH"; seriesText15.Append(numericValue161); /* C.ChartShapeProperties chartShapeProperties19 = new C.ChartShapeProperties(); A.Outline outline19 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill19 = new A.SolidFill(); A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill19.Append(schemeColor14); outline19.Append(solidFill19); chartShapeProperties19.Append(outline19); */ C.ChartShapeProperties chartShapeProperties19 = new C.ChartShapeProperties(); A.Outline outline19 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill19 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill19.Append(rgbColorModelHex19); outline19.Append(solidFill19); chartShapeProperties19.Append(outline19); C.Marker marker15 = new C.Marker(); C.Symbol symbol15 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker15.Append(symbol15); C.XValues xValues15 = new C.XValues(); C.NumberReference numberReference29 = new C.NumberReference(); C.Formula formula29 = new C.Formula(); formula29.Text = "Data!$AC$2:$AC$3"; C.NumberingCache numberingCache29 = new C.NumberingCache(); C.FormatCode formatCode29 = new C.FormatCode(); formatCode29.Text = "General"; C.PointCount pointCount29 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint147 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue162 = new C.NumericValue(); numericValue162.Text = minX.ToString(); numericPoint147.Append(numericValue162); C.NumericPoint numericPoint148 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue163 = new C.NumericValue(); numericValue163.Text = maxX.ToString(); numericPoint148.Append(numericValue163); numberingCache29.Append(formatCode29); numberingCache29.Append(pointCount29); numberingCache29.Append(numericPoint147); numberingCache29.Append(numericPoint148); numberReference29.Append(formula29); numberReference29.Append(numberingCache29); xValues15.Append(numberReference29); C.YValues yValues15 = new C.YValues(); C.NumberReference numberReference30 = new C.NumberReference(); C.Formula formula30 = new C.Formula(); formula30.Text = "Data!$AD$2:$AD$3"; C.NumberingCache numberingCache30 = new C.NumberingCache(); C.FormatCode formatCode30 = new C.FormatCode(); formatCode30.Text = "General"; C.PointCount pointCount30 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint149 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue164 = new C.NumericValue(); numericValue164.Text = maxReq.ToString(); numericPoint149.Append(numericValue164); C.NumericPoint numericPoint150 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue165 = new C.NumericValue(); numericValue165.Text = maxReq.ToString(); numericPoint150.Append(numericValue165); numberingCache30.Append(formatCode30); numberingCache30.Append(pointCount30); numberingCache30.Append(numericPoint149); numberingCache30.Append(numericPoint150); numberReference30.Append(formula30); numberReference30.Append(numberingCache30); yValues15.Append(numberReference30); C.Smooth smooth15 = new C.Smooth() { Val = false }; scatterChartSeries15.Append(index15); scatterChartSeries15.Append(order15); scatterChartSeries15.Append(seriesText15); scatterChartSeries15.Append(chartShapeProperties19); scatterChartSeries15.Append(marker15); scatterChartSeries15.Append(xValues15); scatterChartSeries15.Append(yValues15); scatterChartSeries15.Append(smooth15); C.AxisId axisId17 = new C.AxisId() { Val = (UInt32Value)47451520U }; C.AxisId axisId18 = new C.AxisId() { Val = (UInt32Value)47596672U }; scatterChart5.Append(scatterStyle5); scatterChart5.Append(scatterChartSeries13); scatterChart5.Append(scatterChartSeries14); scatterChart5.Append(scatterChartSeries15); scatterChart5.Append(axisId17); scatterChart5.Append(axisId18); C.ValueAxis valueAxis9 = new C.ValueAxis(); C.AxisId axisId19 = new C.AxisId() { Val = (UInt32Value)47451520U }; C.Scaling scaling9 = new C.Scaling(); C.Orientation orientation9 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling9.Append(orientation9); C.AxisPosition axisPosition9 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines9 = new C.MajorGridlines(); C.NumberingFormat numberingFormat9 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark9 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition9 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis9 = new C.CrossingAxis() { Val = (UInt32Value)47596672U }; C.Crosses crosses9 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween9 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis9.Append(axisId19); valueAxis9.Append(scaling9); valueAxis9.Append(axisPosition9); valueAxis9.Append(majorGridlines9); valueAxis9.Append(numberingFormat9); valueAxis9.Append(majorTickMark9); valueAxis9.Append(tickLabelPosition9); valueAxis9.Append(crossingAxis9); valueAxis9.Append(crosses9); valueAxis9.Append(crossBetween9); C.ValueAxis valueAxis10 = new C.ValueAxis(); C.AxisId axisId20 = new C.AxisId() { Val = (UInt32Value)47596672U }; C.Scaling scaling10 = new C.Scaling(); C.Orientation orientation10 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling10.Append(orientation10); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling10.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling10.Append(max); } C.AxisPosition axisPosition10 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines10 = new C.MajorGridlines(); C.MinorGridlines minorGridlines5 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties20 = new C.ChartShapeProperties(); A.Outline outline20 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill20 = new A.SolidFill(); A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 85000 }; schemeColor15.Append(luminanceModulation5); solidFill20.Append(schemeColor15); outline20.Append(solidFill20); chartShapeProperties20.Append(outline20); minorGridlines5.Append(chartShapeProperties20); C.NumberingFormat numberingFormat10 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark10 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition10 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis10 = new C.CrossingAxis() { Val = (UInt32Value)47451520U }; C.Crosses crosses10 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween10 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis10.Append(axisId20); valueAxis10.Append(scaling10); valueAxis10.Append(axisPosition10); valueAxis10.Append(majorGridlines10); valueAxis10.Append(minorGridlines5); valueAxis10.Append(numberingFormat10); valueAxis10.Append(majorTickMark10); valueAxis10.Append(tickLabelPosition10); valueAxis10.Append(crossingAxis10); valueAxis10.Append(crosses10); valueAxis10.Append(crossBetween10); plotArea5.Append(layout5); plotArea5.Append(scatterChart5); plotArea5.Append(valueAxis9); plotArea5.Append(valueAxis10); C.PlotVisibleOnly plotVisibleOnly5 = new C.PlotVisibleOnly() { Val = true }; chart5.Append(autoTitleDeleted5); chart5.Append(plotArea5); chart5.Append(plotVisibleOnly5); C.PrintSettings printSettings5 = new C.PrintSettings(); C.HeaderFooter headerFooter5 = new C.HeaderFooter(); C.PageMargins pageMargins7 = new C.PageMargins() { Left = 0.70000000000000062D, Right = 0.70000000000000062D, Top = 0.75000000000000078D, Bottom = 0.75000000000000078D, Header = 0.30000000000000032D, Footer = 0.30000000000000032D }; C.PageSetup pageSetup6 = new C.PageSetup(); printSettings5.Append(headerFooter5); printSettings5.Append(pageMargins7); printSettings5.Append(pageSetup6); chartSpace5.Append(editingLanguage5); chartSpace5.Append(chart5); chartSpace5.Append(printSettings5); chartPart5.ChartSpace = chartSpace5; } // Generates content of chartPart6. private void GenerateMCLChartContent(ChartPart chartPart6, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace6 = new C.ChartSpace(); chartSpace6.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace6.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage6 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart6 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted6 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea6 = new C.PlotArea(); C.Layout layout6 = new C.Layout(); C.ScatterChart scatterChart6 = new C.ScatterChart(); C.ScatterStyle scatterStyle6 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries16 = new C.ScatterChartSeries(); C.Index index16 = new C.Index() { Val = (UInt32Value)0U }; C.Order order16 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText16 = new C.SeriesText(); C.NumericValue numericValue166 = new C.NumericValue(); numericValue166.Text = "MCL"; seriesText16.Append(numericValue166); C.ChartShapeProperties chartShapeProperties21 = new C.ChartShapeProperties(); A.Outline outline21 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill21 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "FF0000" }; solidFill21.Append(rgbColorModelHex6); outline21.Append(solidFill21); chartShapeProperties21.Append(outline21); C.Marker marker16 = new C.Marker(); C.Symbol symbol16 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker16.Append(symbol16); C.XValues xValues16 = new C.XValues(); C.NumberReference numberReference31 = new C.NumberReference(); C.Formula formula31 = new C.Formula(); formula31.Text = string.Format("Data!$AE$2:$AE${0}", 1+x.Length); C.NumberingCache numberingCache31 = new C.NumberingCache(); C.FormatCode formatCode31 = new C.FormatCode(); formatCode31.Text = "General"; C.PointCount pointCount31 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length) }; numberingCache31.Append(formatCode31); numberingCache31.Append(pointCount31); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache31.Append(p); } numberReference31.Append(formula31); numberReference31.Append(numberingCache31); xValues16.Append(numberReference31); C.YValues yValues16 = new C.YValues(); C.NumberReference numberReference32 = new C.NumberReference(); C.Formula formula32 = new C.Formula(); formula32.Text = string.Format("Data!$AF$2:$AF${0}", 1+y.Length); C.NumberingCache numberingCache32 = new C.NumberingCache(); C.FormatCode formatCode32 = new C.FormatCode(); formatCode32.Text = "General"; C.PointCount pointCount32 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache32.Append(formatCode32); numberingCache32.Append(pointCount32); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache32.Append(p); } numberReference32.Append(formula32); numberReference32.Append(numberingCache32); yValues16.Append(numberReference32); C.Smooth smooth16 = new C.Smooth() { Val = false }; scatterChartSeries16.Append(index16); scatterChartSeries16.Append(order16); scatterChartSeries16.Append(seriesText16); scatterChartSeries16.Append(chartShapeProperties21); scatterChartSeries16.Append(marker16); scatterChartSeries16.Append(xValues16); scatterChartSeries16.Append(yValues16); scatterChartSeries16.Append(smooth16); C.ScatterChartSeries scatterChartSeries17 = new C.ScatterChartSeries(); C.Index index17 = new C.Index() { Val = (UInt32Value)1U }; C.Order order17 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText17 = new C.SeriesText(); C.NumericValue numericValue189 = new C.NumericValue(); numericValue189.Text = "LOW"; seriesText17.Append(numericValue189); /* C.ChartShapeProperties chartShapeProperties22 = new C.ChartShapeProperties(); A.Outline outline22 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill22 = new A.SolidFill(); A.SchemeColor schemeColor16 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill22.Append(schemeColor16); outline22.Append(solidFill22); chartShapeProperties22.Append(outline22); */ C.ChartShapeProperties chartShapeProperties22 = new C.ChartShapeProperties(); A.Outline outline22 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill22 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex22 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill22.Append(rgbColorModelHex22); outline22.Append(solidFill22); chartShapeProperties22.Append(outline22); C.Marker marker17 = new C.Marker(); C.Symbol symbol17 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker17.Append(symbol17); C.XValues xValues17 = new C.XValues(); C.NumberReference numberReference33 = new C.NumberReference(); C.Formula formula33 = new C.Formula(); formula33.Text = "Data!$AG$2:$AG$3"; C.NumberingCache numberingCache33 = new C.NumberingCache(); C.FormatCode formatCode33 = new C.FormatCode(); formatCode33.Text = "General"; C.PointCount pointCount33 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint173 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue190 = new C.NumericValue(); numericValue190.Text = minX.ToString(); numericPoint173.Append(numericValue190); C.NumericPoint numericPoint174 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue191 = new C.NumericValue(); numericValue191.Text = maxX.ToString(); numericPoint174.Append(numericValue191); numberingCache33.Append(formatCode33); numberingCache33.Append(pointCount33); numberingCache33.Append(numericPoint173); numberingCache33.Append(numericPoint174); numberReference33.Append(formula33); numberReference33.Append(numberingCache33); xValues17.Append(numberReference33); C.YValues yValues17 = new C.YValues(); C.NumberReference numberReference34 = new C.NumberReference(); C.Formula formula34 = new C.Formula(); formula34.Text = "Data!$AH$2:$AH$3"; C.NumberingCache numberingCache34 = new C.NumberingCache(); C.FormatCode formatCode34 = new C.FormatCode(); formatCode34.Text = "General"; C.PointCount pointCount34 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint175 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue192 = new C.NumericValue(); numericValue192.Text = minReq.ToString(); numericPoint175.Append(numericValue192); C.NumericPoint numericPoint176 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue193 = new C.NumericValue(); numericValue193.Text = maxReq.ToString(); numericPoint176.Append(numericValue193); numberingCache34.Append(formatCode34); numberingCache34.Append(pointCount34); numberingCache34.Append(numericPoint175); numberingCache34.Append(numericPoint176); numberReference34.Append(formula34); numberReference34.Append(numberingCache34); yValues17.Append(numberReference34); C.Smooth smooth17 = new C.Smooth() { Val = false }; scatterChartSeries17.Append(index17); scatterChartSeries17.Append(order17); scatterChartSeries17.Append(seriesText17); scatterChartSeries17.Append(chartShapeProperties22); scatterChartSeries17.Append(marker17); scatterChartSeries17.Append(xValues17); scatterChartSeries17.Append(yValues17); scatterChartSeries17.Append(smooth17); C.ScatterChartSeries scatterChartSeries18 = new C.ScatterChartSeries(); C.Index index18 = new C.Index() { Val = (UInt32Value)2U }; C.Order order18 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText18 = new C.SeriesText(); C.NumericValue numericValue194 = new C.NumericValue(); numericValue194.Text = "HIGH"; seriesText18.Append(numericValue194); /* C.ChartShapeProperties chartShapeProperties23 = new C.ChartShapeProperties(); A.Outline outline23 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill23 = new A.SolidFill(); A.SchemeColor schemeColor17 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill23.Append(schemeColor17); outline23.Append(solidFill23); chartShapeProperties23.Append(outline23); */ C.ChartShapeProperties chartShapeProperties23 = new C.ChartShapeProperties(); A.Outline outline23 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill23 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex23 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill23.Append(rgbColorModelHex23); outline23.Append(solidFill23); chartShapeProperties23.Append(outline23); C.Marker marker18 = new C.Marker(); C.Symbol symbol18 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker18.Append(symbol18); C.XValues xValues18 = new C.XValues(); C.NumberReference numberReference35 = new C.NumberReference(); C.Formula formula35 = new C.Formula(); formula35.Text = "Data!$AI$2:$AI$3"; C.NumberingCache numberingCache35 = new C.NumberingCache(); C.FormatCode formatCode35 = new C.FormatCode(); formatCode35.Text = "General"; C.PointCount pointCount35 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint177 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue195 = new C.NumericValue(); numericValue195.Text = minX.ToString(); numericPoint177.Append(numericValue195); C.NumericPoint numericPoint178 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue196 = new C.NumericValue(); numericValue196.Text = maxX.ToString(); numericPoint178.Append(numericValue196); numberingCache35.Append(formatCode35); numberingCache35.Append(pointCount35); numberingCache35.Append(numericPoint177); numberingCache35.Append(numericPoint178); numberReference35.Append(formula35); numberReference35.Append(numberingCache35); xValues18.Append(numberReference35); C.YValues yValues18 = new C.YValues(); C.NumberReference numberReference36 = new C.NumberReference(); C.Formula formula36 = new C.Formula(); formula36.Text = "Data!$AJ$2:$AJ$3"; C.NumberingCache numberingCache36 = new C.NumberingCache(); C.FormatCode formatCode36 = new C.FormatCode(); formatCode36.Text = "General"; C.PointCount pointCount36 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint179 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue197 = new C.NumericValue(); numericValue197.Text = maxReq.ToString(); numericPoint179.Append(numericValue197); C.NumericPoint numericPoint180 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue198 = new C.NumericValue(); numericValue198.Text = maxReq.ToString(); numericPoint180.Append(numericValue198); numberingCache36.Append(formatCode36); numberingCache36.Append(pointCount36); numberingCache36.Append(numericPoint179); numberingCache36.Append(numericPoint180); numberReference36.Append(formula36); numberReference36.Append(numberingCache36); yValues18.Append(numberReference36); C.Smooth smooth18 = new C.Smooth() { Val = false }; scatterChartSeries18.Append(index18); scatterChartSeries18.Append(order18); scatterChartSeries18.Append(seriesText18); scatterChartSeries18.Append(chartShapeProperties23); scatterChartSeries18.Append(marker18); scatterChartSeries18.Append(xValues18); scatterChartSeries18.Append(yValues18); scatterChartSeries18.Append(smooth18); C.AxisId axisId21 = new C.AxisId() { Val = (UInt32Value)47367680U }; C.AxisId axisId22 = new C.AxisId() { Val = (UInt32Value)47369216U }; scatterChart6.Append(scatterStyle6); scatterChart6.Append(scatterChartSeries16); scatterChart6.Append(scatterChartSeries17); scatterChart6.Append(scatterChartSeries18); scatterChart6.Append(axisId21); scatterChart6.Append(axisId22); C.ValueAxis valueAxis11 = new C.ValueAxis(); C.AxisId axisId23 = new C.AxisId() { Val = (UInt32Value)47367680U }; C.Scaling scaling11 = new C.Scaling(); C.Orientation orientation11 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling11.Append(orientation11); C.AxisPosition axisPosition11 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines11 = new C.MajorGridlines(); C.NumberingFormat numberingFormat11 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark11 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition11 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis11 = new C.CrossingAxis() { Val = (UInt32Value)47369216U }; C.Crosses crosses11 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween11 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis11.Append(axisId23); valueAxis11.Append(scaling11); valueAxis11.Append(axisPosition11); valueAxis11.Append(majorGridlines11); valueAxis11.Append(numberingFormat11); valueAxis11.Append(majorTickMark11); valueAxis11.Append(tickLabelPosition11); valueAxis11.Append(crossingAxis11); valueAxis11.Append(crosses11); valueAxis11.Append(crossBetween11); C.ValueAxis valueAxis12 = new C.ValueAxis(); C.AxisId axisId24 = new C.AxisId() { Val = (UInt32Value)47369216U }; C.Scaling scaling12 = new C.Scaling(); C.Orientation orientation12 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling12.Append(orientation12); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling12.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling12.Append(max); } C.AxisPosition axisPosition12 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines12 = new C.MajorGridlines(); C.MinorGridlines minorGridlines6 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties24 = new C.ChartShapeProperties(); A.Outline outline24 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill24 = new A.SolidFill(); A.SchemeColor schemeColor18 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 85000 }; schemeColor18.Append(luminanceModulation6); solidFill24.Append(schemeColor18); outline24.Append(solidFill24); chartShapeProperties24.Append(outline24); minorGridlines6.Append(chartShapeProperties24); C.NumberingFormat numberingFormat12 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark12 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition12 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis12 = new C.CrossingAxis() { Val = (UInt32Value)47367680U }; C.Crosses crosses12 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween12 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis12.Append(axisId24); valueAxis12.Append(scaling12); valueAxis12.Append(axisPosition12); valueAxis12.Append(majorGridlines12); valueAxis12.Append(minorGridlines6); valueAxis12.Append(numberingFormat12); valueAxis12.Append(majorTickMark12); valueAxis12.Append(tickLabelPosition12); valueAxis12.Append(crossingAxis12); valueAxis12.Append(crosses12); valueAxis12.Append(crossBetween12); plotArea6.Append(layout6); plotArea6.Append(scatterChart6); plotArea6.Append(valueAxis11); plotArea6.Append(valueAxis12); C.PlotVisibleOnly plotVisibleOnly6 = new C.PlotVisibleOnly() { Val = true }; chart6.Append(autoTitleDeleted6); chart6.Append(plotArea6); chart6.Append(plotVisibleOnly6); C.PrintSettings printSettings6 = new C.PrintSettings(); C.HeaderFooter headerFooter6 = new C.HeaderFooter(); C.PageMargins pageMargins8 = new C.PageMargins() { Left = 0.70000000000000062D, Right = 0.70000000000000062D, Top = 0.75000000000000078D, Bottom = 0.75000000000000078D, Header = 0.30000000000000032D, Footer = 0.30000000000000032D }; C.PageSetup pageSetup7 = new C.PageSetup(); printSettings6.Append(headerFooter6); printSettings6.Append(pageMargins8); printSettings6.Append(pageSetup7); chartSpace6.Append(editingLanguage6); chartSpace6.Append(chart6); chartSpace6.Append(printSettings6); chartPart6.ChartSpace = chartSpace6; } // Generates content of chartPart7. private void GenerateTibia4ChartContent(ChartPart chartPart7, double [] x, double [] y, double minReq, double maxReq, double? rangeMin, double? rangeMax, string units, string timeUnits) { double minX = x.Length > 0 ? x.Min() : 0; double maxX = x.Length > 0 ? x.Max() : 0; C.ChartSpace chartSpace7 = new C.ChartSpace(); chartSpace7.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartSpace7.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); chartSpace7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); C.EditingLanguage editingLanguage7 = new C.EditingLanguage() { Val = "en-US" }; C.Chart chart7 = new C.Chart(); C.AutoTitleDeleted autoTitleDeleted7 = new C.AutoTitleDeleted() { Val = true }; C.PlotArea plotArea7 = new C.PlotArea(); C.Layout layout7 = new C.Layout(); C.ScatterChart scatterChart7 = new C.ScatterChart(); C.ScatterStyle scatterStyle7 = new C.ScatterStyle() { Val = C.ScatterStyleValues.Line }; C.ScatterChartSeries scatterChartSeries19 = new C.ScatterChartSeries(); C.Index index19 = new C.Index() { Val = (UInt32Value)0U }; C.Order order19 = new C.Order() { Val = (UInt32Value)0U }; C.SeriesText seriesText19 = new C.SeriesText(); C.NumericValue numericValue199 = new C.NumericValue(); numericValue199.Text = "Tibia4"; seriesText19.Append(numericValue199); C.ChartShapeProperties chartShapeProperties25 = new C.ChartShapeProperties(); A.Outline outline25 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill25 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "FFC000" }; solidFill25.Append(rgbColorModelHex7); outline25.Append(solidFill25); chartShapeProperties25.Append(outline25); C.Marker marker19 = new C.Marker(); C.Symbol symbol19 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker19.Append(symbol19); C.XValues xValues19 = new C.XValues(); C.NumberReference numberReference37 = new C.NumberReference(); C.Formula formula37 = new C.Formula(); formula37.Text = string.Format("Data!$S$2:$S${0}", 1+x.Length); C.NumberingCache numberingCache37 = new C.NumberingCache(); C.FormatCode formatCode37 = new C.FormatCode(); formatCode37.Text = "General"; C.PointCount pointCount37 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(x.Length) }; numberingCache37.Append(formatCode37); numberingCache37.Append(pointCount37); for (int i = 0; i < x.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = x[i].ToString() }); numberingCache37.Append(p); } numberReference37.Append(formula37); numberReference37.Append(numberingCache37); xValues19.Append(numberReference37); C.YValues yValues19 = new C.YValues(); C.NumberReference numberReference38 = new C.NumberReference(); C.Formula formula38 = new C.Formula(); formula38.Text = string.Format("Data!$T$2:$T${0}", 1+y.Length); C.NumberingCache numberingCache38 = new C.NumberingCache(); C.FormatCode formatCode38 = new C.FormatCode(); formatCode38.Text = "General"; C.PointCount pointCount38 = new C.PointCount() { Val = (UInt32Value)Convert.ToUInt32(y.Length) }; numberingCache38.Append(formatCode38); numberingCache38.Append(pointCount38); for (int i = 0; i < y.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = y[i].ToString() }); numberingCache38.Append(p); } numberReference38.Append(formula38); numberReference38.Append(numberingCache38); yValues19.Append(numberReference38); C.Smooth smooth19 = new C.Smooth() { Val = false }; scatterChartSeries19.Append(index19); scatterChartSeries19.Append(order19); scatterChartSeries19.Append(seriesText19); scatterChartSeries19.Append(chartShapeProperties25); scatterChartSeries19.Append(marker19); scatterChartSeries19.Append(xValues19); scatterChartSeries19.Append(yValues19); scatterChartSeries19.Append(smooth19); C.ScatterChartSeries scatterChartSeries20 = new C.ScatterChartSeries(); C.Index index20 = new C.Index() { Val = (UInt32Value)1U }; C.Order order20 = new C.Order() { Val = (UInt32Value)1U }; C.SeriesText seriesText20 = new C.SeriesText(); C.NumericValue numericValue222 = new C.NumericValue(); numericValue222.Text = "LOW"; seriesText20.Append(numericValue222); /* C.ChartShapeProperties chartShapeProperties26 = new C.ChartShapeProperties(); A.Outline outline26 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill26 = new A.SolidFill(); A.SchemeColor schemeColor19 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill26.Append(schemeColor19); outline26.Append(solidFill26); chartShapeProperties26.Append(outline26); */ C.ChartShapeProperties chartShapeProperties26 = new C.ChartShapeProperties(); A.Outline outline26 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill26 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex26 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill26.Append(rgbColorModelHex26); outline26.Append(solidFill26); chartShapeProperties26.Append(outline26); C.Marker marker20 = new C.Marker(); C.Symbol symbol20 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker20.Append(symbol20); C.XValues xValues20 = new C.XValues(); C.NumberReference numberReference39 = new C.NumberReference(); C.Formula formula39 = new C.Formula(); formula39.Text = "Data!$U$2:$U$3"; C.NumberingCache numberingCache39 = new C.NumberingCache(); C.FormatCode formatCode39 = new C.FormatCode(); formatCode39.Text = "General"; C.PointCount pointCount39 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint203 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue223 = new C.NumericValue(); numericValue223.Text = minX.ToString(); numericPoint203.Append(numericValue223); C.NumericPoint numericPoint204 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue224 = new C.NumericValue(); numericValue224.Text = maxX.ToString(); numericPoint204.Append(numericValue224); numberingCache39.Append(formatCode39); numberingCache39.Append(pointCount39); numberingCache39.Append(numericPoint203); numberingCache39.Append(numericPoint204); numberReference39.Append(formula39); numberReference39.Append(numberingCache39); xValues20.Append(numberReference39); C.YValues yValues20 = new C.YValues(); C.NumberReference numberReference40 = new C.NumberReference(); C.Formula formula40 = new C.Formula(); formula40.Text = "Data!$V$2:$V$3"; C.NumberingCache numberingCache40 = new C.NumberingCache(); C.FormatCode formatCode40 = new C.FormatCode(); formatCode40.Text = "General"; C.PointCount pointCount40 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint205 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue225 = new C.NumericValue(); numericValue225.Text = minReq.ToString(); numericPoint205.Append(numericValue225); C.NumericPoint numericPoint206 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue226 = new C.NumericValue(); numericValue226.Text = minReq.ToString(); numericPoint206.Append(numericValue226); numberingCache40.Append(formatCode40); numberingCache40.Append(pointCount40); numberingCache40.Append(numericPoint205); numberingCache40.Append(numericPoint206); numberReference40.Append(formula40); numberReference40.Append(numberingCache40); yValues20.Append(numberReference40); C.Smooth smooth20 = new C.Smooth() { Val = false }; scatterChartSeries20.Append(index20); scatterChartSeries20.Append(order20); scatterChartSeries20.Append(seriesText20); scatterChartSeries20.Append(chartShapeProperties26); scatterChartSeries20.Append(marker20); scatterChartSeries20.Append(xValues20); scatterChartSeries20.Append(yValues20); scatterChartSeries20.Append(smooth20); C.ScatterChartSeries scatterChartSeries21 = new C.ScatterChartSeries(); C.Index index21 = new C.Index() { Val = (UInt32Value)2U }; C.Order order21 = new C.Order() { Val = (UInt32Value)2U }; C.SeriesText seriesText21 = new C.SeriesText(); C.NumericValue numericValue227 = new C.NumericValue(); numericValue227.Text = "HIGH"; seriesText21.Append(numericValue227); /* C.ChartShapeProperties chartShapeProperties27 = new C.ChartShapeProperties(); A.Outline outline27 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill27 = new A.SolidFill(); A.SchemeColor schemeColor20 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; solidFill27.Append(schemeColor20); outline27.Append(solidFill27); chartShapeProperties27.Append(outline27); */ C.ChartShapeProperties chartShapeProperties27 = new C.ChartShapeProperties(); A.Outline outline27 = new A.Outline() { Width = 12700 }; A.SolidFill solidFill27 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex27 = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill27.Append(rgbColorModelHex27); outline27.Append(solidFill27); chartShapeProperties27.Append(outline27); C.Marker marker21 = new C.Marker(); C.Symbol symbol21 = new C.Symbol() { Val = C.MarkerStyleValues.None }; marker21.Append(symbol21); C.XValues xValues21 = new C.XValues(); C.NumberReference numberReference41 = new C.NumberReference(); C.Formula formula41 = new C.Formula(); formula41.Text = "Data!$W$2:$W$3"; C.NumberingCache numberingCache41 = new C.NumberingCache(); C.FormatCode formatCode41 = new C.FormatCode(); formatCode41.Text = "General"; C.PointCount pointCount41 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint207 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue228 = new C.NumericValue(); numericValue228.Text = minX.ToString(); numericPoint207.Append(numericValue228); C.NumericPoint numericPoint208 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue229 = new C.NumericValue(); numericValue229.Text = maxX.ToString(); numericPoint208.Append(numericValue229); numberingCache41.Append(formatCode41); numberingCache41.Append(pointCount41); numberingCache41.Append(numericPoint207); numberingCache41.Append(numericPoint208); numberReference41.Append(formula41); numberReference41.Append(numberingCache41); xValues21.Append(numberReference41); C.YValues yValues21 = new C.YValues(); C.NumberReference numberReference42 = new C.NumberReference(); C.Formula formula42 = new C.Formula(); formula42.Text = "Data!$X$2:$X$3"; C.NumberingCache numberingCache42 = new C.NumberingCache(); C.FormatCode formatCode42 = new C.FormatCode(); formatCode42.Text = "General"; C.PointCount pointCount42 = new C.PointCount() { Val = (UInt32Value)2U }; C.NumericPoint numericPoint209 = new C.NumericPoint() { Index = (UInt32Value)0U }; C.NumericValue numericValue230 = new C.NumericValue(); numericValue230.Text = maxReq.ToString(); numericPoint209.Append(numericValue230); C.NumericPoint numericPoint210 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue231 = new C.NumericValue(); numericValue231.Text = maxReq.ToString(); numericPoint210.Append(numericValue231); numberingCache42.Append(formatCode42); numberingCache42.Append(pointCount42); numberingCache42.Append(numericPoint209); numberingCache42.Append(numericPoint210); numberReference42.Append(formula42); numberReference42.Append(numberingCache42); yValues21.Append(numberReference42); C.Smooth smooth21 = new C.Smooth() { Val = false }; scatterChartSeries21.Append(index21); scatterChartSeries21.Append(order21); scatterChartSeries21.Append(seriesText21); scatterChartSeries21.Append(chartShapeProperties27); scatterChartSeries21.Append(marker21); scatterChartSeries21.Append(xValues21); scatterChartSeries21.Append(yValues21); scatterChartSeries21.Append(smooth21); C.AxisId axisId25 = new C.AxisId() { Val = (UInt32Value)47328640U }; C.AxisId axisId26 = new C.AxisId() { Val = (UInt32Value)47346816U }; scatterChart7.Append(scatterStyle7); scatterChart7.Append(scatterChartSeries19); scatterChart7.Append(scatterChartSeries20); scatterChart7.Append(scatterChartSeries21); scatterChart7.Append(axisId25); scatterChart7.Append(axisId26); C.ValueAxis valueAxis13 = new C.ValueAxis(); C.AxisId axisId27 = new C.AxisId() { Val = (UInt32Value)47328640U }; C.Scaling scaling13 = new C.Scaling(); C.Orientation orientation13 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling13.Append(orientation13); C.AxisPosition axisPosition13 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom }; C.MajorGridlines majorGridlines13 = new C.MajorGridlines(); C.NumberingFormat numberingFormat13 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark13 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition13 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis13 = new C.CrossingAxis() { Val = (UInt32Value)47346816U }; C.Crosses crosses13 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween13 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis13.Append(axisId27); valueAxis13.Append(scaling13); valueAxis13.Append(axisPosition13); valueAxis13.Append(majorGridlines13); valueAxis13.Append(numberingFormat13); valueAxis13.Append(majorTickMark13); valueAxis13.Append(tickLabelPosition13); valueAxis13.Append(crossingAxis13); valueAxis13.Append(crosses13); valueAxis13.Append(crossBetween13); C.ValueAxis valueAxis14 = new C.ValueAxis(); C.AxisId axisId28 = new C.AxisId() { Val = (UInt32Value)47346816U }; C.Scaling scaling14 = new C.Scaling(); C.Orientation orientation14 = new C.Orientation() { Val = C.OrientationValues.MinMax }; scaling14.Append(orientation14); if (null != rangeMin) { C.MinAxisValue min = new C.MinAxisValue() { Val = (double)rangeMin }; scaling14.Append(min); } if (null != rangeMax) { C.MaxAxisValue max = new C.MaxAxisValue() { Val = (double)rangeMax }; scaling14.Append(max); } C.AxisPosition axisPosition14 = new C.AxisPosition() { Val = C.AxisPositionValues.Left }; C.MajorGridlines majorGridlines14 = new C.MajorGridlines(); C.MinorGridlines minorGridlines7 = new C.MinorGridlines(); C.ChartShapeProperties chartShapeProperties28 = new C.ChartShapeProperties(); A.Outline outline28 = new A.Outline(){ Width = 12700 }; A.SolidFill solidFill28 = new A.SolidFill(); A.SchemeColor schemeColor21 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 85000 }; schemeColor21.Append(luminanceModulation7); solidFill28.Append(schemeColor21); outline28.Append(solidFill28); chartShapeProperties28.Append(outline28); minorGridlines7.Append(chartShapeProperties28); C.NumberingFormat numberingFormat14 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true }; C.MajorTickMark majorTickMark14 = new C.MajorTickMark() { Val = C.TickMarkValues.None }; C.TickLabelPosition tickLabelPosition14 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.Low }; C.CrossingAxis crossingAxis14 = new C.CrossingAxis() { Val = (UInt32Value)47328640U }; C.Crosses crosses14 = new C.Crosses() { Val = C.CrossesValues.AutoZero }; C.CrossBetween crossBetween14 = new C.CrossBetween() { Val = C.CrossBetweenValues.MidpointCategory }; valueAxis14.Append(axisId28); valueAxis14.Append(scaling14); valueAxis14.Append(axisPosition14); valueAxis14.Append(majorGridlines14); valueAxis14.Append(minorGridlines7); valueAxis14.Append(numberingFormat14); valueAxis14.Append(majorTickMark14); valueAxis14.Append(tickLabelPosition14); valueAxis14.Append(crossingAxis14); valueAxis14.Append(crosses14); valueAxis14.Append(crossBetween14); plotArea7.Append(layout7); plotArea7.Append(scatterChart7); plotArea7.Append(valueAxis13); plotArea7.Append(valueAxis14); C.PlotVisibleOnly plotVisibleOnly7 = new C.PlotVisibleOnly() { Val = true }; chart7.Append(autoTitleDeleted7); chart7.Append(plotArea7); chart7.Append(plotVisibleOnly7); C.PrintSettings printSettings7 = new C.PrintSettings(); C.HeaderFooter headerFooter7 = new C.HeaderFooter(); C.PageMargins pageMargins9 = new C.PageMargins() { Left = 0.7000000000000004D, Right = 0.7000000000000004D, Top = 0.75000000000000044D, Bottom = 0.75000000000000044D, Header = 0.30000000000000021D, Footer = 0.30000000000000021D }; C.PageSetup pageSetup8 = new C.PageSetup(); printSettings7.Append(headerFooter7); printSettings7.Append(pageMargins9); printSettings7.Append(pageSetup8); chartSpace7.Append(editingLanguage7); chartSpace7.Append(chart7); chartSpace7.Append(printSettings7); chartPart7.ChartSpace = chartSpace7; } // Generates content of spreadsheetPrinterSettingsPart1. private void GenerateSpreadsheetPrinterSettingsPart1Content(SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart1) { System.IO.Stream data = GetBinaryDataStream(spreadsheetPrinterSettingsPart1Data); spreadsheetPrinterSettingsPart1.FeedData(data); data.Close(); } private void AppendFailBlock(ref SheetData sheetdata) { Row r = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q44", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("R44", (UInt32Value)35U, "FAIL")); r.Append(new Cell() { CellReference = "S44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "T44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "U44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "V44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "W44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "X44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "Y44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "Z44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "AA44", StyleIndex = (UInt32Value)36U }); r.Append(new Cell() { CellReference = "AB44", StyleIndex = (UInt32Value)37U }); r.Append(new Cell() { CellReference = "AC44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD44", StyleIndex = (UInt32Value)2U }); sheetdata.Append(r); r = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R45", StyleIndex = (UInt32Value)38U }); r.Append(new Cell() { CellReference = "S45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "T45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "U45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "V45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "W45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "X45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "Y45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "Z45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "AA45", StyleIndex = (UInt32Value)39U }); r.Append(new Cell() { CellReference = "AB45", StyleIndex = (UInt32Value)40U }); r.Append(new Cell() { CellReference = "AC45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD45", StyleIndex = (UInt32Value)2U }); sheetdata.Append(r); r = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R46", StyleIndex = (UInt32Value)41U }); r.Append(new Cell() { CellReference = "S46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "T46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "U46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "V46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "W46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "X46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "Y46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "Z46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "AA46", StyleIndex = (UInt32Value)42U }); r.Append(new Cell() { CellReference = "AB46", StyleIndex = (UInt32Value)43U }); r.Append(new Cell() { CellReference = "AC46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD46", StyleIndex = (UInt32Value)2U }); sheetdata.Append(r); } private void AppendPassBlock(ref SheetData sheetData) { Row r = new Row() { RowIndex = (UInt32Value)44U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q44", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("R44", (UInt32Value)44U, "PASS")); r.Append(new Cell() { CellReference = "S44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "T44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "U44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "V44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "W44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "X44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "Y44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "Z44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "AA44", StyleIndex = (UInt32Value)45U }); r.Append(new Cell() { CellReference = "AB44", StyleIndex = (UInt32Value)46U }); r.Append(new Cell() { CellReference = "AC44", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD44", StyleIndex = (UInt32Value)2U }); sheetData.Append(r); r = new Row() { RowIndex = (UInt32Value)45U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R45", StyleIndex = (UInt32Value)47U }); r.Append(new Cell() { CellReference = "S45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "T45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "U45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "V45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "W45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "X45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "Y45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "Z45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "AA45", StyleIndex = (UInt32Value)48U }); r.Append(new Cell() { CellReference = "AB45", StyleIndex = (UInt32Value)49U }); r.Append(new Cell() { CellReference = "AC45", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD45", StyleIndex = (UInt32Value)2U }); sheetData.Append(r); r = new Row() { RowIndex = (UInt32Value)46U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Q46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "R46", StyleIndex = (UInt32Value)50U }); r.Append(new Cell() { CellReference = "S46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "T46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "U46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "V46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "W46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "X46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "Y46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "Z46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "AA46", StyleIndex = (UInt32Value)51U }); r.Append(new Cell() { CellReference = "AB46", StyleIndex = (UInt32Value)52U }); r.Append(new Cell() { CellReference = "AC46", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD46", StyleIndex = (UInt32Value)2U }); sheetData.Append(r); } private Row CreateBlankRow2(uint idx) { Row r = new Row() { RowIndex = (UInt32Value)idx, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = string.Format("A{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("N{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("O{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)3U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)3U }); r.Append(new Cell() { CellReference = string.Format("R{0}",idx), StyleIndex = (UInt32Value)3U }); r.Append(new Cell() { CellReference = string.Format("S{0}",idx), StyleIndex = (UInt32Value)3U }); r.Append(new Cell() { CellReference = string.Format("T{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("U{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("V{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("W{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("X{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("Y{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("Z{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("AA{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("AB{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("AC{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("AD{0}", idx), StyleIndex = (UInt32Value)2U }); return r; } private Row CreateBlankRow3(uint idx) { Row r = new Row() { RowIndex = (UInt32Value)idx, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = string.Format("A{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("N{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("O{0}", idx), StyleIndex = (UInt32Value)2U }); return r; } // Generates content of worksheetPart3. private void GenerateWorksheetPart3Content(WorksheetPart worksheetPart3, string testRefNumber, string testTimeInfo, string testContent, string carName, string carModel, string testTemperature, string measuringPoint, string collisionSpeed, string impactorId, string impactorType, string studyPersonnel, string and1, string and2, string cfc, string forceUnits, string momentUnits, string timeUnits, bool bFail, string impactorWeight ) { Worksheet worksheet3 = new Worksheet(); worksheet3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension3 = new SheetDimension() { Reference = "A1:AD53" }; SheetViews sheetViews3 = new SheetViews(); SheetView sheetView3 = new SheetView() { TabSelected = true, TopLeftCell = "A1", ZoomScaleNormal = (UInt32Value)100U, WorkbookViewId = (UInt32Value)0U }; Selection selection3 = new Selection() { ActiveCell = "A1", SequenceOfReferences = new ListValue() { InnerText = "A1" } }; sheetView3.Append(selection3); sheetViews3.Append(sheetView3); SheetFormatProperties sheetFormatProperties3 = new SheetFormatProperties() { DefaultColumnWidth = 5.7109375D, DefaultRowHeight = 14.25D, CustomHeight = true }; Columns columns3 = new Columns(); Column column8 = new Column() { Min = (UInt32Value)1U, Max = (UInt32Value)16384U, Width = 5.7109375D, Style = (UInt32Value)1U }; columns3.Append(column8); SheetData sheetData3 = new SheetData(); Row r = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O1", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P1", (UInt32Value)29U, "LWRLeg(FLEX)")); r.Append(new Cell() { CellReference = "Q1", StyleIndex = (UInt32Value)30U }); r.Append(new Cell() { CellReference = "R1", StyleIndex = (UInt32Value)31U }); r.Append(new Cell() { CellReference = "S1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "T1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "U1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "V1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "W1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "X1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Y1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Z1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AA1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AB1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AC1", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD1", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); r = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O2", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P2", (UInt32Value)32U, "検定")); r.Append(new Cell() { CellReference = "Q2", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "R2", StyleIndex = (UInt32Value)34U }); r.Append(new Cell() { CellReference = "S2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "T2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "U2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "V2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "W2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "X2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Y2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Z2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AA2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AB2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AC2", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD2", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(3U)); sheetData3.Append(CreateBlankRow2(4U)); sheetData3.Append(CreateBlankRow2(5U)); r = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O6", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P6", (UInt32Value)28U, "試験NO")); AddCollectionReference("試験NO", "U6"); r.Append(new Cell() { CellReference = "Q6", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R6", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S6", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T6", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U6", (UInt32Value)24U, testRefNumber)); r.Append(new Cell() { CellReference = "V6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA6", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB6", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD6", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(7U)); r = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O8", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P8", (UInt32Value)26U, "試験実施日")); AddCollectionReference("試験実施日", "U8"); r.Append(new Cell() { CellReference = "Q8", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R8", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S8", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T8", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U8", (UInt32Value)24U, testTimeInfo)); r.Append(new Cell() { CellReference = "V8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA8", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB8", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD8", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(9U)); r = new Row() { RowIndex = (UInt32Value)10U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O10", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P10", (UInt32Value)26U, "検定内容")); AddCollectionReference("検定内容", "U10"); r.Append(new Cell() { CellReference = "Q10", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R10", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S10", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T10", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U10", (UInt32Value)24U, testContent)); r.Append(new Cell() { CellReference = "V10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA10", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB10", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD10", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(11U)); r = new Row() { RowIndex = (UInt32Value)12U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O12", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P12", (UInt32Value)26U, "車名")); r.Append(new Cell() { CellReference = "Q12", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R12", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S12", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T12", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U12", (UInt32Value)24U, carName)); AddCollectionReference("車名", "U12"); r.Append(new Cell() { CellReference = "V12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA12", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB12", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD12", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(13U)); r = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O14", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P14", (UInt32Value)26U, "型式")); AddCollectionReference("型式", "U14"); r.Append(new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S14", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T14", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U14", (UInt32Value)24U, carModel)); r.Append(new Cell() { CellReference = "V14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA14", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB14", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD14", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(15U)); r = new Row() { RowIndex = (UInt32Value)16U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P16", (UInt32Value)26U, "試験温度")); AddCollectionReference("試験温度", "U16"); r.Append(new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S16", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T16", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U16", (UInt32Value)24U, testTemperature)); r.Append(new Cell() { CellReference = "V16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA16", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB16", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD16", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(17U)); r = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O18", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P18", (UInt32Value)26U, "測定点")); AddCollectionReference("測定点", "U18"); r.Append(new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S18", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T18", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U18", (UInt32Value)24U, measuringPoint)); r.Append(new Cell() { CellReference = "V18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA18", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB18", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD18", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(19U)); r = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("C20", (UInt32Value)53U, "評価部位")); r.Append(new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("G20", (UInt32Value) 29U, "LWRLeg(FLEX)")); r.Append(new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)30U }); r.Append(new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)31U }); r.Append(new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O20", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P20", (UInt32Value)26U, "衝突速度")); AddCollectionReference("衝突速度", "U20"); r.Append(new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S20", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T20", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U20", (UInt32Value)24U, collisionSpeed)); r.Append(new Cell() { CellReference = "V20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA20", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB20", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD20", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(21U)); r = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("C22", (UInt32Value)53U, "種類")); r.Append(new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)54U }); r.Append(new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("G22", (UInt32Value)32U, "検定")); r.Append(new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)34U }); r.Append(new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P22", (UInt32Value)26U, "インパクタID")); AddCollectionReference("インパクタID", "U22"); r.Append(new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S22", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T22", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U22", (UInt32Value)24U, impactorId)); r.Append(new Cell() { CellReference = "V22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA22", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB22", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD22", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(23U)); r = new Row() { RowIndex = (UInt32Value)24U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O24", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P24", (UInt32Value)26U, "インパクタ種類")); AddCollectionReference("インパクタ種類", "U24"); r.Append(new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S24", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T24", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("U24",(UInt32Value)24U, impactorType)); r.Append(new Cell() { CellReference = "V24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA24", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB24", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD24", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(25U)); r = new Row() { RowIndex = (UInt32Value)26U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P26", (UInt32Value)28U, "インパクタ重量")); AddCollectionReference("インパクタ重量", "U26"); r.Append(new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S26", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T26", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U26", (UInt32Value)24U, impactorWeight)); r.Append(new Cell() { CellReference = "V26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA26", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB26", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD26", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(27U)); r = new Row() { RowIndex = (UInt32Value)28U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O28", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P28", (UInt32Value)28U, "試験担当者")); AddCollectionReference("試験担当者", "U28"); r.Append(new Cell() { CellReference = "Q28", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R28", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S28", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T28", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U28", (UInt32Value)24U, studyPersonnel)); r.Append(new Cell() { CellReference = "V28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA28", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB28", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD28", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(29U)); r = new Row() { RowIndex = (UInt32Value)30U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O30", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P30", StyleIndex = (UInt32Value)19U }); r.Append(CreateStylizedTextCell("Q30", (UInt32Value)28U, "予備1")); AddCollectionReference("予備1", "U30"); r.Append(new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S30", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T30", StyleIndex = (UInt32Value)28U }); r.Append(CreateStylizedTextCell("U30", (UInt32Value)21U, and1)); r.Append(new Cell() { CellReference = "V30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA30", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB30", StyleIndex = (UInt32Value)23U }); r.Append(new Cell() { CellReference = "AC30", StyleIndex = (UInt32Value)8U }); r.Append(new Cell() { CellReference = "AD30", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(31U)); r = new Row() { RowIndex = (UInt32Value)32U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O32", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "P32", StyleIndex = (UInt32Value)4U }); r.Append(CreateStylizedTextCell("Q32", (UInt32Value)28U, "予備2")); AddCollectionReference("予備2", "U32"); r.Append(new Cell() { CellReference = "R32", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S32", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T32", StyleIndex = (UInt32Value)28U }); r.Append(CreateStylizedTextCell("U32", (UInt32Value)24U, and2)); r.Append(new Cell() { CellReference = "V32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA32", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB32", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC32", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AD32", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(33U)); r = new Row() { RowIndex = (UInt32Value)34U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O34", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P34", (UInt32Value)26U, "選択自動表示項目")); r.Append(new Cell() { CellReference = "Q34", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R34", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S34", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "U34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "V34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "W34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "X34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "Y34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "Z34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "AA34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "AB34", StyleIndex = (UInt32Value)95U }); r.Append(new Cell() { CellReference = "AC34", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD34", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); r = new Row() { RowIndex = (UInt32Value)35U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O35", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P35", (UInt32Value)26U, "周波数クラス")); AddCollectionReference("周波数クラス", "U35"); r.Append(new Cell() { CellReference = "Q35", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "R35", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "S35", StyleIndex = (UInt32Value)27U }); r.Append(new Cell() { CellReference = "T35", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U35", (UInt32Value)21U, cfc)); r.Append(new Cell() { CellReference = "V35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA35", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB35", StyleIndex = (UInt32Value)23U }); r.Append(new Cell() { CellReference = "AC35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD35", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(36U)); r = new Row() { RowIndex = (UInt32Value)37U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O37", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P37", (UInt32Value)57U, "UNIT")); r.Append(new Cell() { CellReference = "Q37", StyleIndex = (UInt32Value)57U }); r.Append(new Cell() { CellReference = "R37", StyleIndex = (UInt32Value)57U }); r.Append(new Cell() { CellReference = "S37", StyleIndex = (UInt32Value)57U }); r.Append(new Cell() { CellReference = "T37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "U37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "V37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "W37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "X37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Y37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Z37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AA37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AB37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AC37", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD37", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); r = new Row() { RowIndex = (UInt32Value)38U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O38", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P38", (UInt32Value)28U, "Force")); r.Append(new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S38", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T38", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U38", (UInt32Value)24U, forceUnits)); r.Append(new Cell() { CellReference = "V38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA38", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB38", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD38", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(39U)); r = new Row() { RowIndex = (UInt32Value)40U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O40", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P40", (UInt32Value)28U, "Moment")); r.Append(new Cell() { CellReference = "Q40", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "R40", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S40", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T40", StyleIndex = (UInt32Value)6U }); r.Append(CreateStylizedTextCell("U40", (UInt32Value)24U, momentUnits)); r.Append(new Cell() { CellReference = "V40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA40", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB40", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD40", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(41U)); r = new Row() { RowIndex = (UInt32Value)42U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O42", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("P42", (UInt32Value)28U, "Time")); r.Append(new Cell() { CellReference = "Q42", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "R42", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "S42", StyleIndex = (UInt32Value)28U }); r.Append(new Cell() { CellReference = "T42", StyleIndex = (UInt32Value)2U }); r.Append(CreateStylizedTextCell("U42", (UInt32Value)24U, timeUnits)); r.Append(new Cell() { CellReference = "V42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "W42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "X42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Y42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "Z42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AA42", StyleIndex = (UInt32Value)22U }); r.Append(new Cell() { CellReference = "AB42", StyleIndex = (UInt32Value)25U }); r.Append(new Cell() { CellReference = "AC42", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD42", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow2(43U)); if( bFail ) { AppendFailBlock(ref sheetData3); } else { AppendPassBlock(ref sheetData3); } for( uint i = 47U; i <= 53U; i ++ ) { sheetData3.Append(CreateBlankRow2(i)); } /*for( uint i = 54U; i <= 106; i ++ ) { sheetData3.Append(CreateBlankRow3(i)); }*/ MergeCells m = new MergeCells() { Count = (UInt32Value)52U }; m.Append(new MergeCell() { Reference = "P26:S26" }); m.Append(new MergeCell() { Reference = "P28:S28" }); m.Append(new MergeCell() { Reference = "P24:S24" }); m.Append(new MergeCell() { Reference = "P35:S35" }); m.Append(new MergeCell() { Reference = "U32:AB32" }); m.Append(new MergeCell() { Reference = "U30:AB30" }); m.Append(new MergeCell() { Reference = "Q32:R32" }); m.Append(new MergeCell() { Reference = "Q30:R30" }); m.Append(new MergeCell() { Reference = "U42:AB42" }); m.Append(new MergeCell() { Reference = "U40:AB40" }); m.Append(new MergeCell() { Reference = "P40:S40" }); m.Append(new MergeCell() { Reference = "P42:S42" }); m.Append(new MergeCell() { Reference = "P37:S37" }); m.Append(new MergeCell() { Reference = "R44:AB46" }); m.Append(new MergeCell() { Reference = "C20:D20" }); m.Append(new MergeCell() { Reference = "C22:D22" }); m.Append(new MergeCell() { Reference = "G20:I20" }); m.Append(new MergeCell() { Reference = "G22:I22" }); m.Append(new MergeCell() { Reference = "P36:S36" }); m.Append(new MergeCell() { Reference = "P38:S38" }); m.Append(new MergeCell() { Reference = "P31:S31" }); m.Append(new MergeCell() { Reference = "P34:S34" }); m.Append(new MergeCell() { Reference = "P33:S33" }); m.Append(new MergeCell() { Reference = "P22:S22" }); m.Append(new MergeCell() { Reference = "P20:S20" }); m.Append(new MergeCell() { Reference = "P1:R1" }); m.Append(new MergeCell() { Reference = "P2:R2" }); m.Append(new MergeCell() { Reference = "P16:S16" }); m.Append(new MergeCell() { Reference = "P14:S14" }); m.Append(new MergeCell() { Reference = "P18:S18" }); m.Append(new MergeCell() { Reference = "U6:AB6" }); m.Append(new MergeCell() { Reference = "U8:AB8" }); m.Append(new MergeCell() { Reference = "U10:AB10" }); m.Append(new MergeCell() { Reference = "U12:AB12" }); m.Append(new MergeCell() { Reference = "P12:S12" }); m.Append(new MergeCell() { Reference = "P10:S10" }); m.Append(new MergeCell() { Reference = "P8:S8" }); m.Append(new MergeCell() { Reference = "P6:S6" }); m.Append(new MergeCell() { Reference = "U14:AB14" }); m.Append(new MergeCell() { Reference = "U16:AB16" }); m.Append(new MergeCell() { Reference = "U18:AB18" }); m.Append(new MergeCell() { Reference = "U20:AB20" }); m.Append(new MergeCell() { Reference = "U22:AB22" }); m.Append(new MergeCell() { Reference = "U24:AB24" }); m.Append(new MergeCell() { Reference = "U26:AB26" }); m.Append(new MergeCell() { Reference = "U28:AB28" }); m.Append(new MergeCell() { Reference = "U36:AB36" }); m.Append(new MergeCell() { Reference = "U38:AB38" }); m.Append(new MergeCell() { Reference = "U34:AB34" }); m.Append(new MergeCell() { Reference = "U31:AB31" }); m.Append(new MergeCell() { Reference = "U35:AB35" }); PageMargins pageMargins10 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup9 = new PageSetup() { PaperSize = (UInt32Value)9U, Orientation = OrientationValues.Portrait, Id = "rId1" }; Drawing drawing2 = new Drawing() { Id = "rId2" }; worksheet3.Append(sheetDimension3); worksheet3.Append(sheetViews3); worksheet3.Append(sheetFormatProperties3); worksheet3.Append(columns3); worksheet3.Append(sheetData3); worksheet3.Append(m); worksheet3.Append(pageMargins10); worksheet3.Append(pageSetup9); worksheet3.Append(drawing2); worksheetPart3.Worksheet = worksheet3; } // Generates content of drawingsPart2. private void GenerateDrawingsPart2Content(DrawingsPart drawingsPart2) { Xdr.WorksheetDrawing worksheetDrawing2 = new Xdr.WorksheetDrawing(); worksheetDrawing2.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); worksheetDrawing2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Xdr.TwoCellAnchor twoCellAnchor8 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker8 = new Xdr.FromMarker(); Xdr.ColumnId columnId15 = new Xdr.ColumnId(); columnId15.Text = "1"; Xdr.ColumnOffset columnOffset15 = new Xdr.ColumnOffset(); columnOffset15.Text = "95250"; Xdr.RowId rowId15 = new Xdr.RowId(); rowId15.Text = "8"; Xdr.RowOffset rowOffset15 = new Xdr.RowOffset(); rowOffset15.Text = "9525"; fromMarker8.Append(columnId15); fromMarker8.Append(columnOffset15); fromMarker8.Append(rowId15); fromMarker8.Append(rowOffset15); Xdr.ToMarker toMarker8 = new Xdr.ToMarker(); Xdr.ColumnId columnId16 = new Xdr.ColumnId(); columnId16.Text = "13"; Xdr.ColumnOffset columnOffset16 = new Xdr.ColumnOffset(); columnOffset16.Text = "314325"; Xdr.RowId rowId16 = new Xdr.RowId(); rowId16.Text = "16"; Xdr.RowOffset rowOffset16 = new Xdr.RowOffset(); rowOffset16.Text = "0"; toMarker8.Append(columnId16); toMarker8.Append(columnOffset16); toMarker8.Append(rowId16); toMarker8.Append(rowOffset16); Xdr.Shape shape1 = new Xdr.Shape() { Macro = "", TextLink = "" }; Xdr.NonVisualShapeProperties nonVisualShapeProperties1 = new Xdr.NonVisualShapeProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties8 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Text Box 2" }; Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties() { TextBox = true }; A.ShapeLocks shapeLocks1 = new A.ShapeLocks() { NoChangeArrowheads = true }; nonVisualShapeDrawingProperties1.Append(shapeLocks1); nonVisualShapeProperties1.Append(nonVisualDrawingProperties8); nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1); Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto }; A.Transform2D transform2D1 = new A.Transform2D(); A.Offset offset8 = new A.Offset() { X = 476250L, Y = 1457325L }; A.Extents extents8 = new A.Extents() { Cx = 4791075L, Cy = 1438275L }; transform2D1.Append(offset8); transform2D1.Append(extents8); A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList1 = new A.AdjustValueList(); presetGeometry1.Append(adjustValueList1); A.SolidFill solidFill29 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "FFFFFF" }; solidFill29.Append(rgbColorModelHex8); A.Outline outline29 = new A.Outline() { Width = 9525 }; A.SolidFill solidFill30 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "000000" }; solidFill30.Append(rgbColorModelHex9); A.Miter miter1 = new A.Miter() { Limit = 800000 }; A.HeadEnd headEnd1 = new A.HeadEnd(); A.TailEnd tailEnd1 = new A.TailEnd(); outline29.Append(solidFill30); outline29.Append(miter1); outline29.Append(headEnd1); outline29.Append(tailEnd1); shapeProperties1.Append(transform2D1); shapeProperties1.Append(presetGeometry1); shapeProperties1.Append(solidFill29); shapeProperties1.Append(outline29); Xdr.TextBody textBody1 = new Xdr.TextBody(); A.BodyProperties bodyProperties1 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, LeftInset = 45720, TopInset = 32004, RightInset = 45720, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Top, UpRight = true }; A.ListStyle listStyle1 = new A.ListStyle(); A.Paragraph paragraph1 = new A.Paragraph(); A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false }; A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties() { FontSize = 1000 }; paragraphProperties1.Append(defaultRunProperties1); A.Run run1 = new A.Run(); A.RunProperties runProperties1 = new A.RunProperties() { Language = "en-US", AlternativeLanguage = "ja-JP", FontSize = 2400, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Baseline = 0 }; A.SolidFill solidFill31 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "000000" }; solidFill31.Append(rgbColorModelHex10); A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; runProperties1.Append(solidFill31); runProperties1.Append(latinFont1); runProperties1.Append(eastAsianFont1); A.Text text1 = new A.Text(); text1.Text = "Head and Leg"; run1.Append(runProperties1); run1.Append(text1); paragraph1.Append(paragraphProperties1); paragraph1.Append(run1); A.Paragraph paragraph2 = new A.Paragraph(); A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false }; A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties() { FontSize = 1000 }; paragraphProperties2.Append(defaultRunProperties2); A.Run run2 = new A.Run(); A.RunProperties runProperties2 = new A.RunProperties() { Language = "en-US", AlternativeLanguage = "ja-JP", FontSize = 2400, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Baseline = 0 }; A.SolidFill solidFill32 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" }; solidFill32.Append(rgbColorModelHex11); A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; runProperties2.Append(solidFill32); runProperties2.Append(latinFont2); runProperties2.Append(eastAsianFont2); A.Text text2 = new A.Text(); text2.Text = "Protection of Pedestrians "; run2.Append(runProperties2); run2.Append(text2); paragraph2.Append(paragraphProperties2); paragraph2.Append(run2); A.Paragraph paragraph3 = new A.Paragraph(); A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false }; A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties() { FontSize = 1000 }; paragraphProperties3.Append(defaultRunProperties3); A.Run run3 = new A.Run(); A.RunProperties runProperties3 = new A.RunProperties() { Language = "ja-JP", AlternativeLanguage = "en-US", FontSize = 2400, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Baseline = 0 }; A.SolidFill solidFill33 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex() { Val = "000000" }; solidFill33.Append(rgbColorModelHex12); A.LatinFont latinFont3 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont3 = new A.EastAsianFont() { Typeface = "+mn-ea" }; runProperties3.Append(solidFill33); runProperties3.Append(latinFont3); runProperties3.Append(eastAsianFont3); A.Text text3 = new A.Text(); text3.Text = "検定"; run3.Append(runProperties3); run3.Append(text3); A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties() { Language = "en-US", AlternativeLanguage = "ja-JP", FontSize = 2400, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Baseline = 0 }; A.SolidFill solidFill34 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex() { Val = "000000" }; solidFill34.Append(rgbColorModelHex13); A.LatinFont latinFont4 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont4 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; endParagraphRunProperties1.Append(solidFill34); endParagraphRunProperties1.Append(latinFont4); endParagraphRunProperties1.Append(eastAsianFont4); paragraph3.Append(paragraphProperties3); paragraph3.Append(run3); paragraph3.Append(endParagraphRunProperties1); textBody1.Append(bodyProperties1); textBody1.Append(listStyle1); textBody1.Append(paragraph1); textBody1.Append(paragraph2); textBody1.Append(paragraph3); shape1.Append(nonVisualShapeProperties1); shape1.Append(shapeProperties1); shape1.Append(textBody1); Xdr.ClientData clientData8 = new Xdr.ClientData(); twoCellAnchor8.Append(fromMarker8); twoCellAnchor8.Append(toMarker8); twoCellAnchor8.Append(shape1); twoCellAnchor8.Append(clientData8); worksheetDrawing2.Append(twoCellAnchor8); drawingsPart2.WorksheetDrawing = worksheetDrawing2; } // Generates content of spreadsheetPrinterSettingsPart2. private void GenerateSpreadsheetPrinterSettingsPart2Content(SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart2) { System.IO.Stream data = GetBinaryDataStream(spreadsheetPrinterSettingsPart2Data); spreadsheetPrinterSettingsPart2.FeedData(data); data.Close(); } // Generates content of workbookStylesPart1. private void GenerateWorkbookStylesPart1Content(WorkbookStylesPart workbookStylesPart1) { Stylesheet stylesheet1 = new Stylesheet(); NumberingFormats numberingFormats1 = new NumberingFormats() { Count = (UInt32Value)1U }; NumberingFormat numberingFormat15 = new NumberingFormat() { NumberFormatId = (UInt32Value)164U, FormatCode = "#,##0.0000" }; numberingFormats1.Append(numberingFormat15); Fonts fonts1 = new Fonts() { Count = (UInt32Value)37U }; Font font1 = new Font(); FontSize fontSize1 = new FontSize() { Val = 11D }; Color color1 = new Color() { Theme = (UInt32Value)1U }; FontName fontName1 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering1 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet1 = new FontCharSet() { Val = 128 }; FontScheme fontScheme1 = new FontScheme() { Val = FontSchemeValues.Minor }; font1.Append(fontSize1); font1.Append(color1); font1.Append(fontName1); font1.Append(fontFamilyNumbering1); font1.Append(fontCharSet1); font1.Append(fontScheme1); Font font2 = new Font(); FontSize fontSize2 = new FontSize() { Val = 11D }; Color color2 = new Color() { Theme = (UInt32Value)1U }; FontName fontName2 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering2 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet2 = new FontCharSet() { Val = 128 }; FontScheme fontScheme2 = new FontScheme() { Val = FontSchemeValues.Minor }; font2.Append(fontSize2); font2.Append(color2); font2.Append(fontName2); font2.Append(fontFamilyNumbering2); font2.Append(fontCharSet2); font2.Append(fontScheme2); Font font3 = new Font(); Bold bold1 = new Bold(); FontSize fontSize3 = new FontSize() { Val = 18D }; Color color3 = new Color() { Theme = (UInt32Value)3U }; FontName fontName3 = new FontName() { Val = "Cambria" }; FontFamilyNumbering fontFamilyNumbering3 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet3 = new FontCharSet() { Val = 128 }; FontScheme fontScheme3 = new FontScheme() { Val = FontSchemeValues.Major }; font3.Append(bold1); font3.Append(fontSize3); font3.Append(color3); font3.Append(fontName3); font3.Append(fontFamilyNumbering3); font3.Append(fontCharSet3); font3.Append(fontScheme3); Font font4 = new Font(); Bold bold2 = new Bold(); FontSize fontSize4 = new FontSize() { Val = 15D }; Color color4 = new Color() { Theme = (UInt32Value)3U }; FontName fontName4 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering4 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet4 = new FontCharSet() { Val = 128 }; FontScheme fontScheme4 = new FontScheme() { Val = FontSchemeValues.Minor }; font4.Append(bold2); font4.Append(fontSize4); font4.Append(color4); font4.Append(fontName4); font4.Append(fontFamilyNumbering4); font4.Append(fontCharSet4); font4.Append(fontScheme4); Font font5 = new Font(); Bold bold3 = new Bold(); FontSize fontSize5 = new FontSize() { Val = 13D }; Color color5 = new Color() { Theme = (UInt32Value)3U }; FontName fontName5 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering5 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet5 = new FontCharSet() { Val = 128 }; FontScheme fontScheme5 = new FontScheme() { Val = FontSchemeValues.Minor }; font5.Append(bold3); font5.Append(fontSize5); font5.Append(color5); font5.Append(fontName5); font5.Append(fontFamilyNumbering5); font5.Append(fontCharSet5); font5.Append(fontScheme5); Font font6 = new Font(); Bold bold4 = new Bold(); FontSize fontSize6 = new FontSize() { Val = 11D }; Color color6 = new Color() { Theme = (UInt32Value)3U }; FontName fontName6 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering6 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet6 = new FontCharSet() { Val = 128 }; FontScheme fontScheme6 = new FontScheme() { Val = FontSchemeValues.Minor }; font6.Append(bold4); font6.Append(fontSize6); font6.Append(color6); font6.Append(fontName6); font6.Append(fontFamilyNumbering6); font6.Append(fontCharSet6); font6.Append(fontScheme6); Font font7 = new Font(); FontSize fontSize7 = new FontSize() { Val = 11D }; Color color7 = new Color() { Rgb = "FF006100" }; FontName fontName7 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering7 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet7 = new FontCharSet() { Val = 128 }; FontScheme fontScheme7 = new FontScheme() { Val = FontSchemeValues.Minor }; font7.Append(fontSize7); font7.Append(color7); font7.Append(fontName7); font7.Append(fontFamilyNumbering7); font7.Append(fontCharSet7); font7.Append(fontScheme7); Font font8 = new Font(); FontSize fontSize8 = new FontSize() { Val = 11D }; Color color8 = new Color() { Rgb = "FF9C0006" }; FontName fontName8 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering8 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet8 = new FontCharSet() { Val = 128 }; FontScheme fontScheme8 = new FontScheme() { Val = FontSchemeValues.Minor }; font8.Append(fontSize8); font8.Append(color8); font8.Append(fontName8); font8.Append(fontFamilyNumbering8); font8.Append(fontCharSet8); font8.Append(fontScheme8); Font font9 = new Font(); FontSize fontSize9 = new FontSize() { Val = 11D }; Color color9 = new Color() { Rgb = "FF9C6500" }; FontName fontName9 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering9 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet9 = new FontCharSet() { Val = 128 }; FontScheme fontScheme9 = new FontScheme() { Val = FontSchemeValues.Minor }; font9.Append(fontSize9); font9.Append(color9); font9.Append(fontName9); font9.Append(fontFamilyNumbering9); font9.Append(fontCharSet9); font9.Append(fontScheme9); Font font10 = new Font(); FontSize fontSize10 = new FontSize() { Val = 11D }; Color color10 = new Color() { Rgb = "FF3F3F76" }; FontName fontName10 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering10 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet10 = new FontCharSet() { Val = 128 }; FontScheme fontScheme10 = new FontScheme() { Val = FontSchemeValues.Minor }; font10.Append(fontSize10); font10.Append(color10); font10.Append(fontName10); font10.Append(fontFamilyNumbering10); font10.Append(fontCharSet10); font10.Append(fontScheme10); Font font11 = new Font(); Bold bold5 = new Bold(); FontSize fontSize11 = new FontSize() { Val = 11D }; Color color11 = new Color() { Rgb = "FF3F3F3F" }; FontName fontName11 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering11 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet11 = new FontCharSet() { Val = 128 }; FontScheme fontScheme11 = new FontScheme() { Val = FontSchemeValues.Minor }; font11.Append(bold5); font11.Append(fontSize11); font11.Append(color11); font11.Append(fontName11); font11.Append(fontFamilyNumbering11); font11.Append(fontCharSet11); font11.Append(fontScheme11); Font font12 = new Font(); Bold bold6 = new Bold(); FontSize fontSize12 = new FontSize() { Val = 11D }; Color color12 = new Color() { Rgb = "FFFA7D00" }; FontName fontName12 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering12 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet12 = new FontCharSet() { Val = 128 }; FontScheme fontScheme12 = new FontScheme() { Val = FontSchemeValues.Minor }; font12.Append(bold6); font12.Append(fontSize12); font12.Append(color12); font12.Append(fontName12); font12.Append(fontFamilyNumbering12); font12.Append(fontCharSet12); font12.Append(fontScheme12); Font font13 = new Font(); FontSize fontSize13 = new FontSize() { Val = 11D }; Color color13 = new Color() { Rgb = "FFFA7D00" }; FontName fontName13 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering13 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet13 = new FontCharSet() { Val = 128 }; FontScheme fontScheme13 = new FontScheme() { Val = FontSchemeValues.Minor }; font13.Append(fontSize13); font13.Append(color13); font13.Append(fontName13); font13.Append(fontFamilyNumbering13); font13.Append(fontCharSet13); font13.Append(fontScheme13); Font font14 = new Font(); Bold bold7 = new Bold(); FontSize fontSize14 = new FontSize() { Val = 11D }; Color color14 = new Color() { Theme = (UInt32Value)0U }; FontName fontName14 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering14 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet14 = new FontCharSet() { Val = 128 }; FontScheme fontScheme14 = new FontScheme() { Val = FontSchemeValues.Minor }; font14.Append(bold7); font14.Append(fontSize14); font14.Append(color14); font14.Append(fontName14); font14.Append(fontFamilyNumbering14); font14.Append(fontCharSet14); font14.Append(fontScheme14); Font font15 = new Font(); FontSize fontSize15 = new FontSize() { Val = 11D }; Color color15 = new Color() { Rgb = "FFFF0000" }; FontName fontName15 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering15 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet15 = new FontCharSet() { Val = 128 }; FontScheme fontScheme15 = new FontScheme() { Val = FontSchemeValues.Minor }; font15.Append(fontSize15); font15.Append(color15); font15.Append(fontName15); font15.Append(fontFamilyNumbering15); font15.Append(fontCharSet15); font15.Append(fontScheme15); Font font16 = new Font(); Italic italic1 = new Italic(); FontSize fontSize16 = new FontSize() { Val = 11D }; Color color16 = new Color() { Rgb = "FF7F7F7F" }; FontName fontName16 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering16 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet16 = new FontCharSet() { Val = 128 }; FontScheme fontScheme16 = new FontScheme() { Val = FontSchemeValues.Minor }; font16.Append(italic1); font16.Append(fontSize16); font16.Append(color16); font16.Append(fontName16); font16.Append(fontFamilyNumbering16); font16.Append(fontCharSet16); font16.Append(fontScheme16); Font font17 = new Font(); Bold bold8 = new Bold(); FontSize fontSize17 = new FontSize() { Val = 11D }; Color color17 = new Color() { Theme = (UInt32Value)1U }; FontName fontName17 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering17 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet17 = new FontCharSet() { Val = 128 }; FontScheme fontScheme17 = new FontScheme() { Val = FontSchemeValues.Minor }; font17.Append(bold8); font17.Append(fontSize17); font17.Append(color17); font17.Append(fontName17); font17.Append(fontFamilyNumbering17); font17.Append(fontCharSet17); font17.Append(fontScheme17); Font font18 = new Font(); FontSize fontSize18 = new FontSize() { Val = 11D }; Color color18 = new Color() { Theme = (UInt32Value)0U }; FontName fontName18 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering18 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet18 = new FontCharSet() { Val = 128 }; FontScheme fontScheme18 = new FontScheme() { Val = FontSchemeValues.Minor }; font18.Append(fontSize18); font18.Append(color18); font18.Append(fontName18); font18.Append(fontFamilyNumbering18); font18.Append(fontCharSet18); font18.Append(fontScheme18); Font font19 = new Font(); FontSize fontSize19 = new FontSize() { Val = 11D }; Color color19 = new Color() { Theme = (UInt32Value)1U }; FontName fontName19 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering19 = new FontFamilyNumbering() { Val = 2 }; font19.Append(fontSize19); font19.Append(color19); font19.Append(fontName19); font19.Append(fontFamilyNumbering19); Font font20 = new Font(); FontSize fontSize20 = new FontSize() { Val = 11D }; Color color20 = new Color() { Theme = (UInt32Value)1U }; FontName fontName20 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering20 = new FontFamilyNumbering() { Val = 2 }; FontScheme fontScheme19 = new FontScheme() { Val = FontSchemeValues.Minor }; font20.Append(fontSize20); font20.Append(color20); font20.Append(fontName20); font20.Append(fontFamilyNumbering20); font20.Append(fontScheme19); Font font21 = new Font(); FontSize fontSize21 = new FontSize() { Val = 10D }; Color color21 = new Color() { Theme = (UInt32Value)1U }; FontName fontName21 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering21 = new FontFamilyNumbering() { Val = 2 }; font21.Append(fontSize21); font21.Append(color21); font21.Append(fontName21); font21.Append(fontFamilyNumbering21); Font font22 = new Font(); FontSize fontSize22 = new FontSize() { Val = 11D }; FontName fontName22 = new FontName() { Val = "MS Pゴシック" }; FontFamilyNumbering fontFamilyNumbering22 = new FontFamilyNumbering() { Val = 3 }; FontCharSet fontCharSet19 = new FontCharSet() { Val = 128 }; font22.Append(fontSize22); font22.Append(fontName22); font22.Append(fontFamilyNumbering22); font22.Append(fontCharSet19); Font font23 = new Font(); FontSize fontSize23 = new FontSize() { Val = 11D }; FontName fontName23 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering23 = new FontFamilyNumbering() { Val = 2 }; font23.Append(fontSize23); font23.Append(fontName23); font23.Append(fontFamilyNumbering23); Font font24 = new Font(); Bold bold9 = new Bold(); FontSize fontSize24 = new FontSize() { Val = 11D }; Color color22 = new Color() { Theme = (UInt32Value)1U }; FontName fontName24 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering24 = new FontFamilyNumbering() { Val = 2 }; font24.Append(bold9); font24.Append(fontSize24); font24.Append(color22); font24.Append(fontName24); font24.Append(fontFamilyNumbering24); Font font25 = new Font(); FontSize fontSize25 = new FontSize() { Val = 11D }; Color color23 = new Color() { Rgb = "FF00B050" }; FontName fontName25 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering25 = new FontFamilyNumbering() { Val = 2 }; font25.Append(fontSize25); font25.Append(color23); font25.Append(fontName25); font25.Append(fontFamilyNumbering25); Font font26 = new Font(); FontSize fontSize26 = new FontSize() { Val = 11D }; Color color24 = new Color() { Rgb = "FF0070C0" }; FontName fontName26 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering26 = new FontFamilyNumbering() { Val = 2 }; font26.Append(fontSize26); font26.Append(color24); font26.Append(fontName26); font26.Append(fontFamilyNumbering26); Font font27 = new Font(); FontSize fontSize27 = new FontSize() { Val = 8D }; Color color25 = new Color() { Theme = (UInt32Value)1U }; FontName fontName27 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering27 = new FontFamilyNumbering() { Val = 2 }; font27.Append(fontSize27); font27.Append(color25); font27.Append(fontName27); font27.Append(fontFamilyNumbering27); Font font28 = new Font(); FontSize fontSize28 = new FontSize() { Val = 8D }; Color color26 = new Color() { Rgb = "FF0070C0" }; FontName fontName28 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering28 = new FontFamilyNumbering() { Val = 2 }; font28.Append(fontSize28); font28.Append(color26); font28.Append(fontName28); font28.Append(fontFamilyNumbering28); Font font29 = new Font(); FontSize fontSize29 = new FontSize() { Val = 11D }; Color color27 = new Color() { Rgb = "FFFF0000" }; FontName fontName29 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering29 = new FontFamilyNumbering() { Val = 2 }; font29.Append(fontSize29); font29.Append(color27); font29.Append(fontName29); font29.Append(fontFamilyNumbering29); Font font30 = new Font(); FontSize fontSize30 = new FontSize() { Val = 8D }; Color color28 = new Color() { Rgb = "FFFF0000" }; FontName fontName30 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering30 = new FontFamilyNumbering() { Val = 2 }; font30.Append(fontSize30); font30.Append(color28); font30.Append(fontName30); font30.Append(fontFamilyNumbering30); Font font31 = new Font(); FontSize fontSize31 = new FontSize() { Val = 8D }; Color color29 = new Color() { Rgb = "FF00B050" }; FontName fontName31 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering31 = new FontFamilyNumbering() { Val = 2 }; font31.Append(fontSize31); font31.Append(color29); font31.Append(fontName31); font31.Append(fontFamilyNumbering31); Font font32 = new Font(); FontSize fontSize32 = new FontSize() { Val = 11D }; Color color30 = new Color() { Rgb = "FF0070C0" }; FontName fontName32 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering32 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet20 = new FontCharSet() { Val = 128 }; FontScheme fontScheme20 = new FontScheme() { Val = FontSchemeValues.Minor }; font32.Append(fontSize32); font32.Append(color30); font32.Append(fontName32); font32.Append(fontFamilyNumbering32); font32.Append(fontCharSet20); font32.Append(fontScheme20); Font font33 = new Font(); FontSize fontSize33 = new FontSize() { Val = 11D }; Color color31 = new Color() { Rgb = "FF00B050" }; FontName fontName33 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering33 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet21 = new FontCharSet() { Val = 128 }; FontScheme fontScheme21 = new FontScheme() { Val = FontSchemeValues.Minor }; font33.Append(fontSize33); font33.Append(color31); font33.Append(fontName33); font33.Append(fontFamilyNumbering33); font33.Append(fontCharSet21); font33.Append(fontScheme21); Font font34 = new Font(); FontSize fontSize34 = new FontSize() { Val = 11D }; Color color32 = new Color() { Rgb = "FFFFC000" }; FontName fontName34 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering34 = new FontFamilyNumbering() { Val = 2 }; font34.Append(fontSize34); font34.Append(color32); font34.Append(fontName34); font34.Append(fontFamilyNumbering34); Font font35 = new Font(); FontSize fontSize35 = new FontSize() { Val = 11D }; Color color33 = new Color() { Rgb = "FFFFC000" }; FontName fontName35 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering35 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet22 = new FontCharSet() { Val = 128 }; FontScheme fontScheme22 = new FontScheme() { Val = FontSchemeValues.Minor }; font35.Append(fontSize35); font35.Append(color33); font35.Append(fontName35); font35.Append(fontFamilyNumbering35); font35.Append(fontCharSet22); font35.Append(fontScheme22); Font font36 = new Font(); FontSize fontSize36 = new FontSize() { Val = 8D }; Color color34 = new Color() { Rgb = "FFFFC000" }; FontName fontName36 = new FontName() { Val = "Segoe UI" }; FontFamilyNumbering fontFamilyNumbering36 = new FontFamilyNumbering() { Val = 2 }; font36.Append(fontSize36); font36.Append(color34); font36.Append(fontName36); font36.Append(fontFamilyNumbering36); Font font37 = new Font(); FontSize fontSize37 = new FontSize() { Val = 11D }; Color color35 = new Color() { Rgb = "FF002060" }; FontName fontName37 = new FontName() { Val = "Calibri" }; FontFamilyNumbering fontFamilyNumbering37 = new FontFamilyNumbering() { Val = 2 }; FontCharSet fontCharSet23 = new FontCharSet() { Val = 128 }; FontScheme fontScheme23 = new FontScheme() { Val = FontSchemeValues.Minor }; font37.Append(fontSize37); font37.Append(color35); font37.Append(fontName37); font37.Append(fontFamilyNumbering37); font37.Append(fontCharSet23); font37.Append(fontScheme23); fonts1.Append(font1); fonts1.Append(font2); fonts1.Append(font3); fonts1.Append(font4); fonts1.Append(font5); fonts1.Append(font6); fonts1.Append(font7); fonts1.Append(font8); fonts1.Append(font9); fonts1.Append(font10); fonts1.Append(font11); fonts1.Append(font12); fonts1.Append(font13); fonts1.Append(font14); fonts1.Append(font15); fonts1.Append(font16); fonts1.Append(font17); fonts1.Append(font18); fonts1.Append(font19); fonts1.Append(font20); fonts1.Append(font21); fonts1.Append(font22); fonts1.Append(font23); fonts1.Append(font24); fonts1.Append(font25); fonts1.Append(font26); fonts1.Append(font27); fonts1.Append(font28); fonts1.Append(font29); fonts1.Append(font30); fonts1.Append(font31); fonts1.Append(font32); fonts1.Append(font33); fonts1.Append(font34); fonts1.Append(font35); fonts1.Append(font36); fonts1.Append(font37); Fills fills1 = new Fills() { Count = (UInt32Value)36U }; Fill fill1 = new Fill(); PatternFill patternFill1 = new PatternFill() { PatternType = PatternValues.None }; fill1.Append(patternFill1); Fill fill2 = new Fill(); PatternFill patternFill2 = new PatternFill() { PatternType = PatternValues.Gray125 }; fill2.Append(patternFill2); Fill fill3 = new Fill(); PatternFill patternFill3 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor1 = new ForegroundColor() { Rgb = "FFC6EFCE" }; patternFill3.Append(foregroundColor1); fill3.Append(patternFill3); Fill fill4 = new Fill(); PatternFill patternFill4 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor2 = new ForegroundColor() { Rgb = "FFFFC7CE" }; patternFill4.Append(foregroundColor2); fill4.Append(patternFill4); Fill fill5 = new Fill(); PatternFill patternFill5 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor3 = new ForegroundColor() { Rgb = "FFFFEB9C" }; patternFill5.Append(foregroundColor3); fill5.Append(patternFill5); Fill fill6 = new Fill(); PatternFill patternFill6 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor4 = new ForegroundColor() { Rgb = "FFFFCC99" }; patternFill6.Append(foregroundColor4); fill6.Append(patternFill6); Fill fill7 = new Fill(); PatternFill patternFill7 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor5 = new ForegroundColor() { Rgb = "FFF2F2F2" }; patternFill7.Append(foregroundColor5); fill7.Append(patternFill7); Fill fill8 = new Fill(); PatternFill patternFill8 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor6 = new ForegroundColor() { Rgb = "FFA5A5A5" }; patternFill8.Append(foregroundColor6); fill8.Append(patternFill8); Fill fill9 = new Fill(); PatternFill patternFill9 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor7 = new ForegroundColor() { Rgb = "FFFFFFCC" }; patternFill9.Append(foregroundColor7); fill9.Append(patternFill9); Fill fill10 = new Fill(); PatternFill patternFill10 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor8 = new ForegroundColor() { Theme = (UInt32Value)4U }; patternFill10.Append(foregroundColor8); fill10.Append(patternFill10); Fill fill11 = new Fill(); PatternFill patternFill11 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor9 = new ForegroundColor() { Theme = (UInt32Value)4U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor1 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill11.Append(foregroundColor9); patternFill11.Append(backgroundColor1); fill11.Append(patternFill11); Fill fill12 = new Fill(); PatternFill patternFill12 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor10 = new ForegroundColor() { Theme = (UInt32Value)4U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor2 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill12.Append(foregroundColor10); patternFill12.Append(backgroundColor2); fill12.Append(patternFill12); Fill fill13 = new Fill(); PatternFill patternFill13 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor11 = new ForegroundColor() { Theme = (UInt32Value)4U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor3 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill13.Append(foregroundColor11); patternFill13.Append(backgroundColor3); fill13.Append(patternFill13); Fill fill14 = new Fill(); PatternFill patternFill14 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor12 = new ForegroundColor() { Theme = (UInt32Value)5U }; patternFill14.Append(foregroundColor12); fill14.Append(patternFill14); Fill fill15 = new Fill(); PatternFill patternFill15 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor13 = new ForegroundColor() { Theme = (UInt32Value)5U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor4 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill15.Append(foregroundColor13); patternFill15.Append(backgroundColor4); fill15.Append(patternFill15); Fill fill16 = new Fill(); PatternFill patternFill16 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor14 = new ForegroundColor() { Theme = (UInt32Value)5U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor5 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill16.Append(foregroundColor14); patternFill16.Append(backgroundColor5); fill16.Append(patternFill16); Fill fill17 = new Fill(); PatternFill patternFill17 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor15 = new ForegroundColor() { Theme = (UInt32Value)5U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor6 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill17.Append(foregroundColor15); patternFill17.Append(backgroundColor6); fill17.Append(patternFill17); Fill fill18 = new Fill(); PatternFill patternFill18 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor16 = new ForegroundColor() { Theme = (UInt32Value)6U }; patternFill18.Append(foregroundColor16); fill18.Append(patternFill18); Fill fill19 = new Fill(); PatternFill patternFill19 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor17 = new ForegroundColor() { Theme = (UInt32Value)6U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor7 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill19.Append(foregroundColor17); patternFill19.Append(backgroundColor7); fill19.Append(patternFill19); Fill fill20 = new Fill(); PatternFill patternFill20 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor18 = new ForegroundColor() { Theme = (UInt32Value)6U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor8 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill20.Append(foregroundColor18); patternFill20.Append(backgroundColor8); fill20.Append(patternFill20); Fill fill21 = new Fill(); PatternFill patternFill21 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor19 = new ForegroundColor() { Theme = (UInt32Value)6U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor9 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill21.Append(foregroundColor19); patternFill21.Append(backgroundColor9); fill21.Append(patternFill21); Fill fill22 = new Fill(); PatternFill patternFill22 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor20 = new ForegroundColor() { Theme = (UInt32Value)7U }; patternFill22.Append(foregroundColor20); fill22.Append(patternFill22); Fill fill23 = new Fill(); PatternFill patternFill23 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor21 = new ForegroundColor() { Theme = (UInt32Value)7U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor10 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill23.Append(foregroundColor21); patternFill23.Append(backgroundColor10); fill23.Append(patternFill23); Fill fill24 = new Fill(); PatternFill patternFill24 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor22 = new ForegroundColor() { Theme = (UInt32Value)7U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor11 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill24.Append(foregroundColor22); patternFill24.Append(backgroundColor11); fill24.Append(patternFill24); Fill fill25 = new Fill(); PatternFill patternFill25 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor23 = new ForegroundColor() { Theme = (UInt32Value)7U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor12 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill25.Append(foregroundColor23); patternFill25.Append(backgroundColor12); fill25.Append(patternFill25); Fill fill26 = new Fill(); PatternFill patternFill26 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor24 = new ForegroundColor() { Theme = (UInt32Value)8U }; patternFill26.Append(foregroundColor24); fill26.Append(patternFill26); Fill fill27 = new Fill(); PatternFill patternFill27 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor25 = new ForegroundColor() { Theme = (UInt32Value)8U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor13 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill27.Append(foregroundColor25); patternFill27.Append(backgroundColor13); fill27.Append(patternFill27); Fill fill28 = new Fill(); PatternFill patternFill28 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor26 = new ForegroundColor() { Theme = (UInt32Value)8U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor14 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill28.Append(foregroundColor26); patternFill28.Append(backgroundColor14); fill28.Append(patternFill28); Fill fill29 = new Fill(); PatternFill patternFill29 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor27 = new ForegroundColor() { Theme = (UInt32Value)8U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor15 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill29.Append(foregroundColor27); patternFill29.Append(backgroundColor15); fill29.Append(patternFill29); Fill fill30 = new Fill(); PatternFill patternFill30 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor28 = new ForegroundColor() { Theme = (UInt32Value)9U }; patternFill30.Append(foregroundColor28); fill30.Append(patternFill30); Fill fill31 = new Fill(); PatternFill patternFill31 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor29 = new ForegroundColor() { Theme = (UInt32Value)9U, Tint = 0.79998168889431442D }; BackgroundColor backgroundColor16 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill31.Append(foregroundColor29); patternFill31.Append(backgroundColor16); fill31.Append(patternFill31); Fill fill32 = new Fill(); PatternFill patternFill32 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor30 = new ForegroundColor() { Theme = (UInt32Value)9U, Tint = 0.59999389629810485D }; BackgroundColor backgroundColor17 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill32.Append(foregroundColor30); patternFill32.Append(backgroundColor17); fill32.Append(patternFill32); Fill fill33 = new Fill(); PatternFill patternFill33 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor31 = new ForegroundColor() { Theme = (UInt32Value)9U, Tint = 0.39997558519241921D }; BackgroundColor backgroundColor18 = new BackgroundColor() { Indexed = (UInt32Value)65U }; patternFill33.Append(foregroundColor31); patternFill33.Append(backgroundColor18); fill33.Append(patternFill33); Fill fill34 = new Fill(); PatternFill patternFill34 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor32 = new ForegroundColor() { Theme = (UInt32Value)0U }; BackgroundColor backgroundColor19 = new BackgroundColor() { Indexed = (UInt32Value)64U }; patternFill34.Append(foregroundColor32); patternFill34.Append(backgroundColor19); fill34.Append(patternFill34); Fill fill35 = new Fill(); PatternFill patternFill35 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor33 = new ForegroundColor() { Rgb = "FFC0C0C0" }; BackgroundColor backgroundColor20 = new BackgroundColor() { Indexed = (UInt32Value)64U }; patternFill35.Append(foregroundColor33); patternFill35.Append(backgroundColor20); fill35.Append(patternFill35); Fill fill36 = new Fill(); PatternFill patternFill36 = new PatternFill() { PatternType = PatternValues.Solid }; ForegroundColor foregroundColor34 = new ForegroundColor() { Rgb = "FFCC99FF" }; BackgroundColor backgroundColor21 = new BackgroundColor() { Indexed = (UInt32Value)64U }; patternFill36.Append(foregroundColor34); patternFill36.Append(backgroundColor21); fill36.Append(patternFill36); fills1.Append(fill1); fills1.Append(fill2); fills1.Append(fill3); fills1.Append(fill4); fills1.Append(fill5); fills1.Append(fill6); fills1.Append(fill7); fills1.Append(fill8); fills1.Append(fill9); fills1.Append(fill10); fills1.Append(fill11); fills1.Append(fill12); fills1.Append(fill13); fills1.Append(fill14); fills1.Append(fill15); fills1.Append(fill16); fills1.Append(fill17); fills1.Append(fill18); fills1.Append(fill19); fills1.Append(fill20); fills1.Append(fill21); fills1.Append(fill22); fills1.Append(fill23); fills1.Append(fill24); fills1.Append(fill25); fills1.Append(fill26); fills1.Append(fill27); fills1.Append(fill28); fills1.Append(fill29); fills1.Append(fill30); fills1.Append(fill31); fills1.Append(fill32); fills1.Append(fill33); fills1.Append(fill34); fills1.Append(fill35); fills1.Append(fill36); Borders borders1 = new Borders() { Count = (UInt32Value)31U }; Border border1 = new Border(); LeftBorder leftBorder1 = new LeftBorder(); RightBorder rightBorder1 = new RightBorder(); TopBorder topBorder1 = new TopBorder(); BottomBorder bottomBorder1 = new BottomBorder(); DiagonalBorder diagonalBorder1 = new DiagonalBorder(); border1.Append(leftBorder1); border1.Append(rightBorder1); border1.Append(topBorder1); border1.Append(bottomBorder1); border1.Append(diagonalBorder1); Border border2 = new Border(); LeftBorder leftBorder2 = new LeftBorder(); RightBorder rightBorder2 = new RightBorder(); TopBorder topBorder2 = new TopBorder(); BottomBorder bottomBorder2 = new BottomBorder() { Style = BorderStyleValues.Thick }; Color color36 = new Color() { Theme = (UInt32Value)4U }; bottomBorder2.Append(color36); DiagonalBorder diagonalBorder2 = new DiagonalBorder(); border2.Append(leftBorder2); border2.Append(rightBorder2); border2.Append(topBorder2); border2.Append(bottomBorder2); border2.Append(diagonalBorder2); Border border3 = new Border(); LeftBorder leftBorder3 = new LeftBorder(); RightBorder rightBorder3 = new RightBorder(); TopBorder topBorder3 = new TopBorder(); BottomBorder bottomBorder3 = new BottomBorder() { Style = BorderStyleValues.Thick }; Color color37 = new Color() { Theme = (UInt32Value)4U, Tint = 0.499984740745262D }; bottomBorder3.Append(color37); DiagonalBorder diagonalBorder3 = new DiagonalBorder(); border3.Append(leftBorder3); border3.Append(rightBorder3); border3.Append(topBorder3); border3.Append(bottomBorder3); border3.Append(diagonalBorder3); Border border4 = new Border(); LeftBorder leftBorder4 = new LeftBorder(); RightBorder rightBorder4 = new RightBorder(); TopBorder topBorder4 = new TopBorder(); BottomBorder bottomBorder4 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color38 = new Color() { Theme = (UInt32Value)4U, Tint = 0.39997558519241921D }; bottomBorder4.Append(color38); DiagonalBorder diagonalBorder4 = new DiagonalBorder(); border4.Append(leftBorder4); border4.Append(rightBorder4); border4.Append(topBorder4); border4.Append(bottomBorder4); border4.Append(diagonalBorder4); Border border5 = new Border(); LeftBorder leftBorder5 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color39 = new Color() { Rgb = "FF7F7F7F" }; leftBorder5.Append(color39); RightBorder rightBorder5 = new RightBorder() { Style = BorderStyleValues.Thin }; Color color40 = new Color() { Rgb = "FF7F7F7F" }; rightBorder5.Append(color40); TopBorder topBorder5 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color41 = new Color() { Rgb = "FF7F7F7F" }; topBorder5.Append(color41); BottomBorder bottomBorder5 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color42 = new Color() { Rgb = "FF7F7F7F" }; bottomBorder5.Append(color42); DiagonalBorder diagonalBorder5 = new DiagonalBorder(); border5.Append(leftBorder5); border5.Append(rightBorder5); border5.Append(topBorder5); border5.Append(bottomBorder5); border5.Append(diagonalBorder5); Border border6 = new Border(); LeftBorder leftBorder6 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color43 = new Color() { Rgb = "FF3F3F3F" }; leftBorder6.Append(color43); RightBorder rightBorder6 = new RightBorder() { Style = BorderStyleValues.Thin }; Color color44 = new Color() { Rgb = "FF3F3F3F" }; rightBorder6.Append(color44); TopBorder topBorder6 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color45 = new Color() { Rgb = "FF3F3F3F" }; topBorder6.Append(color45); BottomBorder bottomBorder6 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color46 = new Color() { Rgb = "FF3F3F3F" }; bottomBorder6.Append(color46); DiagonalBorder diagonalBorder6 = new DiagonalBorder(); border6.Append(leftBorder6); border6.Append(rightBorder6); border6.Append(topBorder6); border6.Append(bottomBorder6); border6.Append(diagonalBorder6); Border border7 = new Border(); LeftBorder leftBorder7 = new LeftBorder(); RightBorder rightBorder7 = new RightBorder(); TopBorder topBorder7 = new TopBorder(); BottomBorder bottomBorder7 = new BottomBorder() { Style = BorderStyleValues.Double }; Color color47 = new Color() { Rgb = "FFFF8001" }; bottomBorder7.Append(color47); DiagonalBorder diagonalBorder7 = new DiagonalBorder(); border7.Append(leftBorder7); border7.Append(rightBorder7); border7.Append(topBorder7); border7.Append(bottomBorder7); border7.Append(diagonalBorder7); Border border8 = new Border(); LeftBorder leftBorder8 = new LeftBorder() { Style = BorderStyleValues.Double }; Color color48 = new Color() { Rgb = "FF3F3F3F" }; leftBorder8.Append(color48); RightBorder rightBorder8 = new RightBorder() { Style = BorderStyleValues.Double }; Color color49 = new Color() { Rgb = "FF3F3F3F" }; rightBorder8.Append(color49); TopBorder topBorder8 = new TopBorder() { Style = BorderStyleValues.Double }; Color color50 = new Color() { Rgb = "FF3F3F3F" }; topBorder8.Append(color50); BottomBorder bottomBorder8 = new BottomBorder() { Style = BorderStyleValues.Double }; Color color51 = new Color() { Rgb = "FF3F3F3F" }; bottomBorder8.Append(color51); DiagonalBorder diagonalBorder8 = new DiagonalBorder(); border8.Append(leftBorder8); border8.Append(rightBorder8); border8.Append(topBorder8); border8.Append(bottomBorder8); border8.Append(diagonalBorder8); Border border9 = new Border(); LeftBorder leftBorder9 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color52 = new Color() { Rgb = "FFB2B2B2" }; leftBorder9.Append(color52); RightBorder rightBorder9 = new RightBorder() { Style = BorderStyleValues.Thin }; Color color53 = new Color() { Rgb = "FFB2B2B2" }; rightBorder9.Append(color53); TopBorder topBorder9 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color54 = new Color() { Rgb = "FFB2B2B2" }; topBorder9.Append(color54); BottomBorder bottomBorder9 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color55 = new Color() { Rgb = "FFB2B2B2" }; bottomBorder9.Append(color55); DiagonalBorder diagonalBorder9 = new DiagonalBorder(); border9.Append(leftBorder9); border9.Append(rightBorder9); border9.Append(topBorder9); border9.Append(bottomBorder9); border9.Append(diagonalBorder9); Border border10 = new Border(); LeftBorder leftBorder10 = new LeftBorder(); RightBorder rightBorder10 = new RightBorder(); TopBorder topBorder10 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color56 = new Color() { Theme = (UInt32Value)4U }; topBorder10.Append(color56); BottomBorder bottomBorder10 = new BottomBorder() { Style = BorderStyleValues.Double }; Color color57 = new Color() { Theme = (UInt32Value)4U }; bottomBorder10.Append(color57); DiagonalBorder diagonalBorder10 = new DiagonalBorder(); border10.Append(leftBorder10); border10.Append(rightBorder10); border10.Append(topBorder10); border10.Append(bottomBorder10); border10.Append(diagonalBorder10); Border border11 = new Border(); LeftBorder leftBorder11 = new LeftBorder(); RightBorder rightBorder11 = new RightBorder(); TopBorder topBorder11 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color58 = new Color() { Indexed = (UInt32Value)64U }; topBorder11.Append(color58); BottomBorder bottomBorder11 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color59 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder11.Append(color59); DiagonalBorder diagonalBorder11 = new DiagonalBorder(); border11.Append(leftBorder11); border11.Append(rightBorder11); border11.Append(topBorder11); border11.Append(bottomBorder11); border11.Append(diagonalBorder11); Border border12 = new Border(); LeftBorder leftBorder12 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color60 = new Color() { Indexed = (UInt32Value)64U }; leftBorder12.Append(color60); RightBorder rightBorder12 = new RightBorder(); TopBorder topBorder12 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color61 = new Color() { Indexed = (UInt32Value)64U }; topBorder12.Append(color61); BottomBorder bottomBorder12 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color62 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder12.Append(color62); DiagonalBorder diagonalBorder12 = new DiagonalBorder(); border12.Append(leftBorder12); border12.Append(rightBorder12); border12.Append(topBorder12); border12.Append(bottomBorder12); border12.Append(diagonalBorder12); Border border13 = new Border(); LeftBorder leftBorder13 = new LeftBorder(); RightBorder rightBorder13 = new RightBorder(); TopBorder topBorder13 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color63 = new Color() { Indexed = (UInt32Value)64U }; topBorder13.Append(color63); BottomBorder bottomBorder13 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color64 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder13.Append(color64); DiagonalBorder diagonalBorder13 = new DiagonalBorder(); border13.Append(leftBorder13); border13.Append(rightBorder13); border13.Append(topBorder13); border13.Append(bottomBorder13); border13.Append(diagonalBorder13); Border border14 = new Border(); LeftBorder leftBorder14 = new LeftBorder(); RightBorder rightBorder14 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color65 = new Color() { Indexed = (UInt32Value)64U }; rightBorder14.Append(color65); TopBorder topBorder14 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color66 = new Color() { Indexed = (UInt32Value)64U }; topBorder14.Append(color66); BottomBorder bottomBorder14 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color67 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder14.Append(color67); DiagonalBorder diagonalBorder14 = new DiagonalBorder(); border14.Append(leftBorder14); border14.Append(rightBorder14); border14.Append(topBorder14); border14.Append(bottomBorder14); border14.Append(diagonalBorder14); Border border15 = new Border(); LeftBorder leftBorder15 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color68 = new Color() { Auto = true }; leftBorder15.Append(color68); RightBorder rightBorder15 = new RightBorder(); TopBorder topBorder15 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color69 = new Color() { Auto = true }; topBorder15.Append(color69); BottomBorder bottomBorder15 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color70 = new Color() { Auto = true }; bottomBorder15.Append(color70); DiagonalBorder diagonalBorder15 = new DiagonalBorder(); border15.Append(leftBorder15); border15.Append(rightBorder15); border15.Append(topBorder15); border15.Append(bottomBorder15); border15.Append(diagonalBorder15); Border border16 = new Border(); LeftBorder leftBorder16 = new LeftBorder(); RightBorder rightBorder16 = new RightBorder() { Style = BorderStyleValues.Thin }; Color color71 = new Color() { Auto = true }; rightBorder16.Append(color71); TopBorder topBorder16 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color72 = new Color() { Auto = true }; topBorder16.Append(color72); BottomBorder bottomBorder16 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color73 = new Color() { Auto = true }; bottomBorder16.Append(color73); DiagonalBorder diagonalBorder16 = new DiagonalBorder(); border16.Append(leftBorder16); border16.Append(rightBorder16); border16.Append(topBorder16); border16.Append(bottomBorder16); border16.Append(diagonalBorder16); Border border17 = new Border(); LeftBorder leftBorder17 = new LeftBorder(); RightBorder rightBorder17 = new RightBorder(); TopBorder topBorder17 = new TopBorder(); BottomBorder bottomBorder17 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color74 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder17.Append(color74); DiagonalBorder diagonalBorder17 = new DiagonalBorder(); border17.Append(leftBorder17); border17.Append(rightBorder17); border17.Append(topBorder17); border17.Append(bottomBorder17); border17.Append(diagonalBorder17); Border border18 = new Border(); LeftBorder leftBorder18 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color75 = new Color() { Auto = true }; leftBorder18.Append(color75); RightBorder rightBorder18 = new RightBorder(); TopBorder topBorder18 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color76 = new Color() { Auto = true }; topBorder18.Append(color76); BottomBorder bottomBorder18 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color77 = new Color() { Auto = true }; bottomBorder18.Append(color77); DiagonalBorder diagonalBorder18 = new DiagonalBorder(); border18.Append(leftBorder18); border18.Append(rightBorder18); border18.Append(topBorder18); border18.Append(bottomBorder18); border18.Append(diagonalBorder18); Border border19 = new Border(); LeftBorder leftBorder19 = new LeftBorder(); RightBorder rightBorder19 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color78 = new Color() { Auto = true }; rightBorder19.Append(color78); TopBorder topBorder19 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color79 = new Color() { Auto = true }; topBorder19.Append(color79); BottomBorder bottomBorder19 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color80 = new Color() { Auto = true }; bottomBorder19.Append(color80); DiagonalBorder diagonalBorder19 = new DiagonalBorder(); border19.Append(leftBorder19); border19.Append(rightBorder19); border19.Append(topBorder19); border19.Append(bottomBorder19); border19.Append(diagonalBorder19); Border border20 = new Border(); LeftBorder leftBorder20 = new LeftBorder(); RightBorder rightBorder20 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color81 = new Color() { Auto = true }; rightBorder20.Append(color81); TopBorder topBorder20 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color82 = new Color() { Indexed = (UInt32Value)64U }; topBorder20.Append(color82); BottomBorder bottomBorder20 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color83 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder20.Append(color83); DiagonalBorder diagonalBorder20 = new DiagonalBorder(); border20.Append(leftBorder20); border20.Append(rightBorder20); border20.Append(topBorder20); border20.Append(bottomBorder20); border20.Append(diagonalBorder20); Border border21 = new Border(); LeftBorder leftBorder21 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color84 = new Color() { Auto = true }; leftBorder21.Append(color84); RightBorder rightBorder21 = new RightBorder(); TopBorder topBorder21 = new TopBorder(); BottomBorder bottomBorder21 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color85 = new Color() { Auto = true }; bottomBorder21.Append(color85); DiagonalBorder diagonalBorder21 = new DiagonalBorder(); border21.Append(leftBorder21); border21.Append(rightBorder21); border21.Append(topBorder21); border21.Append(bottomBorder21); border21.Append(diagonalBorder21); Border border22 = new Border(); LeftBorder leftBorder22 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color86 = new Color() { Auto = true }; leftBorder22.Append(color86); RightBorder rightBorder22 = new RightBorder(); TopBorder topBorder22 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color87 = new Color() { Auto = true }; topBorder22.Append(color87); BottomBorder bottomBorder22 = new BottomBorder() { Style = BorderStyleValues.Thin }; Color color88 = new Color() { Auto = true }; bottomBorder22.Append(color88); DiagonalBorder diagonalBorder22 = new DiagonalBorder(); border22.Append(leftBorder22); border22.Append(rightBorder22); border22.Append(topBorder22); border22.Append(bottomBorder22); border22.Append(diagonalBorder22); Border border23 = new Border(); LeftBorder leftBorder23 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color89 = new Color() { Indexed = (UInt32Value)64U }; leftBorder23.Append(color89); RightBorder rightBorder23 = new RightBorder(); TopBorder topBorder23 = new TopBorder(); BottomBorder bottomBorder23 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color90 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder23.Append(color90); DiagonalBorder diagonalBorder23 = new DiagonalBorder(); border23.Append(leftBorder23); border23.Append(rightBorder23); border23.Append(topBorder23); border23.Append(bottomBorder23); border23.Append(diagonalBorder23); Border border24 = new Border(); LeftBorder leftBorder24 = new LeftBorder(); RightBorder rightBorder24 = new RightBorder(); TopBorder topBorder24 = new TopBorder(); BottomBorder bottomBorder24 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color91 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder24.Append(color91); DiagonalBorder diagonalBorder24 = new DiagonalBorder(); border24.Append(leftBorder24); border24.Append(rightBorder24); border24.Append(topBorder24); border24.Append(bottomBorder24); border24.Append(diagonalBorder24); Border border25 = new Border(); LeftBorder leftBorder25 = new LeftBorder(); RightBorder rightBorder25 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color92 = new Color() { Indexed = (UInt32Value)64U }; rightBorder25.Append(color92); TopBorder topBorder25 = new TopBorder(); BottomBorder bottomBorder25 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color93 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder25.Append(color93); DiagonalBorder diagonalBorder25 = new DiagonalBorder(); border25.Append(leftBorder25); border25.Append(rightBorder25); border25.Append(topBorder25); border25.Append(bottomBorder25); border25.Append(diagonalBorder25); Border border26 = new Border(); LeftBorder leftBorder26 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color94 = new Color() { Auto = true }; leftBorder26.Append(color94); RightBorder rightBorder26 = new RightBorder(); TopBorder topBorder26 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color95 = new Color() { Auto = true }; topBorder26.Append(color95); BottomBorder bottomBorder26 = new BottomBorder(); DiagonalBorder diagonalBorder26 = new DiagonalBorder(); border26.Append(leftBorder26); border26.Append(rightBorder26); border26.Append(topBorder26); border26.Append(bottomBorder26); border26.Append(diagonalBorder26); Border border27 = new Border(); LeftBorder leftBorder27 = new LeftBorder(); RightBorder rightBorder27 = new RightBorder(); TopBorder topBorder27 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color96 = new Color() { Auto = true }; topBorder27.Append(color96); BottomBorder bottomBorder27 = new BottomBorder(); DiagonalBorder diagonalBorder27 = new DiagonalBorder(); border27.Append(leftBorder27); border27.Append(rightBorder27); border27.Append(topBorder27); border27.Append(bottomBorder27); border27.Append(diagonalBorder27); Border border28 = new Border(); LeftBorder leftBorder28 = new LeftBorder(); RightBorder rightBorder28 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color97 = new Color() { Auto = true }; rightBorder28.Append(color97); TopBorder topBorder28 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color98 = new Color() { Auto = true }; topBorder28.Append(color98); BottomBorder bottomBorder28 = new BottomBorder(); DiagonalBorder diagonalBorder28 = new DiagonalBorder(); border28.Append(leftBorder28); border28.Append(rightBorder28); border28.Append(topBorder28); border28.Append(bottomBorder28); border28.Append(diagonalBorder28); Border border29 = new Border(); LeftBorder leftBorder29 = new LeftBorder() { Style = BorderStyleValues.Medium }; Color color99 = new Color() { Auto = true }; leftBorder29.Append(color99); RightBorder rightBorder29 = new RightBorder(); TopBorder topBorder29 = new TopBorder(); BottomBorder bottomBorder29 = new BottomBorder(); DiagonalBorder diagonalBorder29 = new DiagonalBorder(); border29.Append(leftBorder29); border29.Append(rightBorder29); border29.Append(topBorder29); border29.Append(bottomBorder29); border29.Append(diagonalBorder29); Border border30 = new Border(); LeftBorder leftBorder30 = new LeftBorder(); RightBorder rightBorder30 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color100 = new Color() { Auto = true }; rightBorder30.Append(color100); TopBorder topBorder30 = new TopBorder(); BottomBorder bottomBorder30 = new BottomBorder(); DiagonalBorder diagonalBorder30 = new DiagonalBorder(); border30.Append(leftBorder30); border30.Append(rightBorder30); border30.Append(topBorder30); border30.Append(bottomBorder30); border30.Append(diagonalBorder30); Border border31 = new Border(); LeftBorder leftBorder31 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color101 = new Color() { Auto = true }; leftBorder31.Append(color101); RightBorder rightBorder31 = new RightBorder(); TopBorder topBorder31 = new TopBorder(); BottomBorder bottomBorder31 = new BottomBorder(); DiagonalBorder diagonalBorder31 = new DiagonalBorder(); border31.Append(leftBorder31); border31.Append(rightBorder31); border31.Append(topBorder31); border31.Append(bottomBorder31); border31.Append(diagonalBorder31); borders1.Append(border1); borders1.Append(border2); borders1.Append(border3); borders1.Append(border4); borders1.Append(border5); borders1.Append(border6); borders1.Append(border7); borders1.Append(border8); borders1.Append(border9); borders1.Append(border10); borders1.Append(border11); borders1.Append(border12); borders1.Append(border13); borders1.Append(border14); borders1.Append(border15); borders1.Append(border16); borders1.Append(border17); borders1.Append(border18); borders1.Append(border19); borders1.Append(border20); borders1.Append(border21); borders1.Append(border22); borders1.Append(border23); borders1.Append(border24); borders1.Append(border25); borders1.Append(border26); borders1.Append(border27); borders1.Append(border28); borders1.Append(border29); borders1.Append(border30); borders1.Append(border31); CellStyleFormats cellStyleFormats1 = new CellStyleFormats() { Count = (UInt32Value)48U }; CellFormat cellFormat1 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U }; CellFormat cellFormat2 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)19U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U }; CellFormat cellFormat3 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U }; CellFormat cellFormat4 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)2U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyFill = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat5 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)3U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)1U, ApplyNumberFormat = false, ApplyFill = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat6 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)4U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)2U, ApplyNumberFormat = false, ApplyFill = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat7 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)5U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)3U, ApplyNumberFormat = false, ApplyFill = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat8 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)5U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyFill = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat9 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat10 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat11 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)8U, FillId = (UInt32Value)4U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat12 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)9U, FillId = (UInt32Value)5U, BorderId = (UInt32Value)4U, ApplyNumberFormat = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat13 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)10U, FillId = (UInt32Value)6U, BorderId = (UInt32Value)5U, ApplyNumberFormat = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat14 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)11U, FillId = (UInt32Value)6U, BorderId = (UInt32Value)4U, ApplyNumberFormat = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat15 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)12U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)6U, ApplyNumberFormat = false, ApplyFill = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat16 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)13U, FillId = (UInt32Value)7U, BorderId = (UInt32Value)7U, ApplyNumberFormat = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat17 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)14U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyFill = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat18 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)15U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyFill = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat19 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)16U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)9U, ApplyNumberFormat = false, ApplyFill = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat20 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)9U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat21 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)10U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat22 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)11U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat23 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)12U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat24 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)13U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat25 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)14U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat26 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)15U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat27 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)16U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat28 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)17U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat29 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)18U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat30 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)19U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat31 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)20U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat32 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)21U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat33 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)22U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat34 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)23U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat35 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)24U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat36 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)25U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat37 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)26U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat38 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)27U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat39 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)28U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat40 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)29U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat41 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)30U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat42 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)31U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat43 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)17U, FillId = (UInt32Value)32U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat44 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)21U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U }; Alignment alignment1 = new Alignment() { Vertical = VerticalAlignmentValues.Center }; cellFormat44.Append(alignment1); CellFormat cellFormat45 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U }; CellFormat cellFormat46 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)1U, FillId = (UInt32Value)8U, BorderId = (UInt32Value)8U, ApplyNumberFormat = false, ApplyFont = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat47 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; CellFormat cellFormat48 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)0U, ApplyNumberFormat = false, ApplyBorder = false, ApplyAlignment = false, ApplyProtection = false }; cellStyleFormats1.Append(cellFormat1); cellStyleFormats1.Append(cellFormat2); cellStyleFormats1.Append(cellFormat3); cellStyleFormats1.Append(cellFormat4); cellStyleFormats1.Append(cellFormat5); cellStyleFormats1.Append(cellFormat6); cellStyleFormats1.Append(cellFormat7); cellStyleFormats1.Append(cellFormat8); cellStyleFormats1.Append(cellFormat9); cellStyleFormats1.Append(cellFormat10); cellStyleFormats1.Append(cellFormat11); cellStyleFormats1.Append(cellFormat12); cellStyleFormats1.Append(cellFormat13); cellStyleFormats1.Append(cellFormat14); cellStyleFormats1.Append(cellFormat15); cellStyleFormats1.Append(cellFormat16); cellStyleFormats1.Append(cellFormat17); cellStyleFormats1.Append(cellFormat18); cellStyleFormats1.Append(cellFormat19); cellStyleFormats1.Append(cellFormat20); cellStyleFormats1.Append(cellFormat21); cellStyleFormats1.Append(cellFormat22); cellStyleFormats1.Append(cellFormat23); cellStyleFormats1.Append(cellFormat24); cellStyleFormats1.Append(cellFormat25); cellStyleFormats1.Append(cellFormat26); cellStyleFormats1.Append(cellFormat27); cellStyleFormats1.Append(cellFormat28); cellStyleFormats1.Append(cellFormat29); cellStyleFormats1.Append(cellFormat30); cellStyleFormats1.Append(cellFormat31); cellStyleFormats1.Append(cellFormat32); cellStyleFormats1.Append(cellFormat33); cellStyleFormats1.Append(cellFormat34); cellStyleFormats1.Append(cellFormat35); cellStyleFormats1.Append(cellFormat36); cellStyleFormats1.Append(cellFormat37); cellStyleFormats1.Append(cellFormat38); cellStyleFormats1.Append(cellFormat39); cellStyleFormats1.Append(cellFormat40); cellStyleFormats1.Append(cellFormat41); cellStyleFormats1.Append(cellFormat42); cellStyleFormats1.Append(cellFormat43); cellStyleFormats1.Append(cellFormat44); cellStyleFormats1.Append(cellFormat45); cellStyleFormats1.Append(cellFormat46); cellStyleFormats1.Append(cellFormat47); cellStyleFormats1.Append(cellFormat48); CellFormats cellFormats1 = new CellFormats() { Count = (UInt32Value)97U }; CellFormat cellFormat49 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U }; CellFormat cellFormat50 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true }; CellFormat cellFormat51 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true }; CellFormat cellFormat52 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)20U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true }; CellFormat cellFormat53 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment2 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat53.Append(alignment2); CellFormat cellFormat54 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U }; CellFormat cellFormat55 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat56 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment3 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat56.Append(alignment3); CellFormat cellFormat57 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true }; CellFormat cellFormat58 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)23U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment4 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat58.Append(alignment4); CellFormat cellFormat59 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)25U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment5 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat59.Append(alignment5); CellFormat cellFormat60 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)27U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment6 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat60.Append(alignment6); CellFormat cellFormat61 = new CellFormat() { NumberFormatId = (UInt32Value)4U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyNumberFormat = true, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment7 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center }; cellFormat61.Append(alignment7); CellFormat cellFormat62 = new CellFormat() { NumberFormatId = (UInt32Value)164U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyNumberFormat = true, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment8 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center }; cellFormat62.Append(alignment8); CellFormat cellFormat63 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)28U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment9 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat63.Append(alignment9); CellFormat cellFormat64 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)29U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment10 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat64.Append(alignment10); CellFormat cellFormat65 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)24U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment11 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat65.Append(alignment11); CellFormat cellFormat66 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)30U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment12 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat66.Append(alignment12); CellFormat cellFormat67 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, QuotePrefix = true, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat68 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment13 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat68.Append(alignment13); CellFormat cellFormat69 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment14 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat69.Append(alignment14); CellFormat cellFormat70 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)17U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment15 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat70.Append(alignment15); CellFormat cellFormat71 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)12U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment16 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat71.Append(alignment16); CellFormat cellFormat72 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)18U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment17 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat72.Append(alignment17); CellFormat cellFormat73 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)11U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment18 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat73.Append(alignment18); CellFormat cellFormat74 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)13U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment19 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat74.Append(alignment19); CellFormat cellFormat75 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment20 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat75.Append(alignment20); CellFormat cellFormat76 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment21 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat76.Append(alignment21); CellFormat cellFormat77 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment22 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat77.Append(alignment22); CellFormat cellFormat78 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)35U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment23 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat78.Append(alignment23); CellFormat cellFormat79 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)35U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)44U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment24 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center }; cellFormat79.Append(alignment24); CellFormat cellFormat80 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)19U, FillId = (UInt32Value)35U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)1U, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat81 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)34U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment25 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat81.Append(alignment25); CellFormat cellFormat82 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)34U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)44U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment26 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center }; cellFormat82.Append(alignment26); CellFormat cellFormat83 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)19U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)1U, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat84 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)25U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment27 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat84.Append(alignment27); CellFormat cellFormat85 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)26U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment28 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat85.Append(alignment28); CellFormat cellFormat86 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)27U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment29 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat86.Append(alignment29); CellFormat cellFormat87 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)28U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment30 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat87.Append(alignment30); CellFormat cellFormat88 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment31 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat88.Append(alignment31); CellFormat cellFormat89 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)29U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment32 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat89.Append(alignment32); CellFormat cellFormat90 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)22U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment33 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat90.Append(alignment33); CellFormat cellFormat91 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)23U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment34 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat91.Append(alignment34); CellFormat cellFormat92 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)24U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment35 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat92.Append(alignment35); CellFormat cellFormat93 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)25U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment36 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat93.Append(alignment36); CellFormat cellFormat94 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)26U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment37 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat94.Append(alignment37); CellFormat cellFormat95 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)27U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment38 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat95.Append(alignment38); CellFormat cellFormat96 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)28U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment39 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat96.Append(alignment39); CellFormat cellFormat97 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment40 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat97.Append(alignment40); CellFormat cellFormat98 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)29U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment41 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat98.Append(alignment41); CellFormat cellFormat99 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)22U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment42 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat99.Append(alignment42); CellFormat cellFormat100 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)23U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment43 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat100.Append(alignment43); CellFormat cellFormat101 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)24U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment44 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat101.Append(alignment44); CellFormat cellFormat102 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment45 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat102.Append(alignment45); CellFormat cellFormat103 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyAlignment = true }; Alignment alignment46 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat103.Append(alignment46); CellFormat cellFormat104 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)11U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment47 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat104.Append(alignment47); CellFormat cellFormat105 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)13U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment48 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat105.Append(alignment48); CellFormat cellFormat106 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)23U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment49 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat106.Append(alignment49); CellFormat cellFormat107 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)17U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment50 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat107.Append(alignment50); CellFormat cellFormat108 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)22U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)18U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment51 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat108.Append(alignment51); CellFormat cellFormat109 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment52 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat109.Append(alignment52); CellFormat cellFormat110 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment53 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat110.Append(alignment53); CellFormat cellFormat111 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)16U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment54 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat111.Append(alignment54); CellFormat cellFormat112 = new CellFormat() { NumberFormatId = (UInt32Value)164U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyNumberFormat = true, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment55 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat112.Append(alignment55); CellFormat cellFormat113 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)28U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment56 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat113.Append(alignment56); CellFormat cellFormat114 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)29U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment57 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat114.Append(alignment57); CellFormat cellFormat115 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)28U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment58 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat115.Append(alignment58); CellFormat cellFormat116 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)14U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment59 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat116.Append(alignment59); CellFormat cellFormat117 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)30U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment60 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat117.Append(alignment60); CellFormat cellFormat118 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)20U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment61 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat118.Append(alignment61); CellFormat cellFormat119 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)21U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment62 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat119.Append(alignment62); CellFormat cellFormat120 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)17U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment63 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat120.Append(alignment63); CellFormat cellFormat121 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)18U, FormatId = (UInt32Value)0U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment64 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat121.Append(alignment64); CellFormat cellFormat122 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)25U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment65 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat122.Append(alignment65); CellFormat cellFormat123 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)31U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment66 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat123.Append(alignment66); CellFormat cellFormat124 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)24U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment67 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat124.Append(alignment67); CellFormat cellFormat125 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)32U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment68 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat125.Append(alignment68); CellFormat cellFormat126 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)33U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment69 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat126.Append(alignment69); CellFormat cellFormat127 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)34U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment70 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat127.Append(alignment70); CellFormat cellFormat128 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)47U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment71 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat128.Append(alignment71); CellFormat cellFormat129 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)47U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment72 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat129.Append(alignment72); CellFormat cellFormat130 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)47U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment73 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat130.Append(alignment73); CellFormat cellFormat131 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)46U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment74 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat131.Append(alignment74); CellFormat cellFormat132 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)46U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment75 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat132.Append(alignment75); CellFormat cellFormat133 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)46U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment76 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat133.Append(alignment76); CellFormat cellFormat134 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)25U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment77 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat134.Append(alignment77); CellFormat cellFormat135 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)24U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment78 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat135.Append(alignment78); CellFormat cellFormat136 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)19U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment79 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat136.Append(alignment79); CellFormat cellFormat137 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U }; CellFormat cellFormat138 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)35U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment80 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat138.Append(alignment80); CellFormat cellFormat139 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)27U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment81 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat139.Append(alignment81); CellFormat cellFormat140 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)33U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment82 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat140.Append(alignment82); CellFormat cellFormat141 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)30U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment83 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat141.Append(alignment83); CellFormat cellFormat142 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment84 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat142.Append(alignment84); CellFormat cellFormat143 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)26U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment85 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat143.Append(alignment85); CellFormat cellFormat144 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)23U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment86 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat144.Append(alignment86); CellFormat cellFormat145 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment87 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat145.Append(alignment87); cellFormats1.Append(cellFormat49); cellFormats1.Append(cellFormat50); cellFormats1.Append(cellFormat51); cellFormats1.Append(cellFormat52); cellFormats1.Append(cellFormat53); cellFormats1.Append(cellFormat54); cellFormats1.Append(cellFormat55); cellFormats1.Append(cellFormat56); cellFormats1.Append(cellFormat57); cellFormats1.Append(cellFormat58); cellFormats1.Append(cellFormat59); cellFormats1.Append(cellFormat60); cellFormats1.Append(cellFormat61); cellFormats1.Append(cellFormat62); cellFormats1.Append(cellFormat63); cellFormats1.Append(cellFormat64); cellFormats1.Append(cellFormat65); cellFormats1.Append(cellFormat66); cellFormats1.Append(cellFormat67); cellFormats1.Append(cellFormat68); cellFormats1.Append(cellFormat69); cellFormats1.Append(cellFormat70); cellFormats1.Append(cellFormat71); cellFormats1.Append(cellFormat72); cellFormats1.Append(cellFormat73); cellFormats1.Append(cellFormat74); cellFormats1.Append(cellFormat75); cellFormats1.Append(cellFormat76); cellFormats1.Append(cellFormat77); cellFormats1.Append(cellFormat78); cellFormats1.Append(cellFormat79); cellFormats1.Append(cellFormat80); cellFormats1.Append(cellFormat81); cellFormats1.Append(cellFormat82); cellFormats1.Append(cellFormat83); cellFormats1.Append(cellFormat84); cellFormats1.Append(cellFormat85); cellFormats1.Append(cellFormat86); cellFormats1.Append(cellFormat87); cellFormats1.Append(cellFormat88); cellFormats1.Append(cellFormat89); cellFormats1.Append(cellFormat90); cellFormats1.Append(cellFormat91); cellFormats1.Append(cellFormat92); cellFormats1.Append(cellFormat93); cellFormats1.Append(cellFormat94); cellFormats1.Append(cellFormat95); cellFormats1.Append(cellFormat96); cellFormats1.Append(cellFormat97); cellFormats1.Append(cellFormat98); cellFormats1.Append(cellFormat99); cellFormats1.Append(cellFormat100); cellFormats1.Append(cellFormat101); cellFormats1.Append(cellFormat102); cellFormats1.Append(cellFormat103); cellFormats1.Append(cellFormat104); cellFormats1.Append(cellFormat105); cellFormats1.Append(cellFormat106); cellFormats1.Append(cellFormat107); cellFormats1.Append(cellFormat108); cellFormats1.Append(cellFormat109); cellFormats1.Append(cellFormat110); cellFormats1.Append(cellFormat111); cellFormats1.Append(cellFormat112); cellFormats1.Append(cellFormat113); cellFormats1.Append(cellFormat114); cellFormats1.Append(cellFormat115); cellFormats1.Append(cellFormat116); cellFormats1.Append(cellFormat117); cellFormats1.Append(cellFormat118); cellFormats1.Append(cellFormat119); cellFormats1.Append(cellFormat120); cellFormats1.Append(cellFormat121); cellFormats1.Append(cellFormat122); cellFormats1.Append(cellFormat123); cellFormats1.Append(cellFormat124); cellFormats1.Append(cellFormat125); cellFormats1.Append(cellFormat126); cellFormats1.Append(cellFormat127); cellFormats1.Append(cellFormat128); cellFormats1.Append(cellFormat129); cellFormats1.Append(cellFormat130); cellFormats1.Append(cellFormat131); cellFormats1.Append(cellFormat132); cellFormats1.Append(cellFormat133); cellFormats1.Append(cellFormat134); cellFormats1.Append(cellFormat135); cellFormats1.Append(cellFormat136); cellFormats1.Append(cellFormat137); cellFormats1.Append(cellFormat138); cellFormats1.Append(cellFormat139); cellFormats1.Append(cellFormat140); cellFormats1.Append(cellFormat141); cellFormats1.Append(cellFormat142); cellFormats1.Append(cellFormat143); cellFormats1.Append(cellFormat144); cellFormats1.Append(cellFormat145); CellStyles cellStyles1 = new CellStyles() { Count = (UInt32Value)48U }; CellStyle cellStyle1 = new CellStyle() { Name = "20% - Accent1 2", FormatId = (UInt32Value)20U }; CellStyle cellStyle2 = new CellStyle() { Name = "20% - Accent2 2", FormatId = (UInt32Value)24U }; CellStyle cellStyle3 = new CellStyle() { Name = "20% - Accent3 2", FormatId = (UInt32Value)28U }; CellStyle cellStyle4 = new CellStyle() { Name = "20% - Accent4 2", FormatId = (UInt32Value)32U }; CellStyle cellStyle5 = new CellStyle() { Name = "20% - Accent5 2", FormatId = (UInt32Value)36U }; CellStyle cellStyle6 = new CellStyle() { Name = "20% - Accent6 2", FormatId = (UInt32Value)40U }; CellStyle cellStyle7 = new CellStyle() { Name = "40% - Accent1 2", FormatId = (UInt32Value)21U }; CellStyle cellStyle8 = new CellStyle() { Name = "40% - Accent2 2", FormatId = (UInt32Value)25U }; CellStyle cellStyle9 = new CellStyle() { Name = "40% - Accent3 2", FormatId = (UInt32Value)29U }; CellStyle cellStyle10 = new CellStyle() { Name = "40% - Accent4 2", FormatId = (UInt32Value)33U }; CellStyle cellStyle11 = new CellStyle() { Name = "40% - Accent5 2", FormatId = (UInt32Value)37U }; CellStyle cellStyle12 = new CellStyle() { Name = "40% - Accent6 2", FormatId = (UInt32Value)41U }; CellStyle cellStyle13 = new CellStyle() { Name = "60% - Accent1 2", FormatId = (UInt32Value)22U }; CellStyle cellStyle14 = new CellStyle() { Name = "60% - Accent2 2", FormatId = (UInt32Value)26U }; CellStyle cellStyle15 = new CellStyle() { Name = "60% - Accent3 2", FormatId = (UInt32Value)30U }; CellStyle cellStyle16 = new CellStyle() { Name = "60% - Accent4 2", FormatId = (UInt32Value)34U }; CellStyle cellStyle17 = new CellStyle() { Name = "60% - Accent5 2", FormatId = (UInt32Value)38U }; CellStyle cellStyle18 = new CellStyle() { Name = "60% - Accent6 2", FormatId = (UInt32Value)42U }; CellStyle cellStyle19 = new CellStyle() { Name = "Accent1 2", FormatId = (UInt32Value)19U }; CellStyle cellStyle20 = new CellStyle() { Name = "Accent2 2", FormatId = (UInt32Value)23U }; CellStyle cellStyle21 = new CellStyle() { Name = "Accent3 2", FormatId = (UInt32Value)27U }; CellStyle cellStyle22 = new CellStyle() { Name = "Accent4 2", FormatId = (UInt32Value)31U }; CellStyle cellStyle23 = new CellStyle() { Name = "Accent5 2", FormatId = (UInt32Value)35U }; CellStyle cellStyle24 = new CellStyle() { Name = "Accent6 2", FormatId = (UInt32Value)39U }; CellStyle cellStyle25 = new CellStyle() { Name = "Bad", FormatId = (UInt32Value)47U, BuiltinId = (UInt32Value)27U }; CellStyle cellStyle26 = new CellStyle() { Name = "Bad 2", FormatId = (UInt32Value)9U }; CellStyle cellStyle27 = new CellStyle() { Name = "Calculation 2", FormatId = (UInt32Value)13U }; CellStyle cellStyle28 = new CellStyle() { Name = "Check Cell 2", FormatId = (UInt32Value)15U }; CellStyle cellStyle29 = new CellStyle() { Name = "Explanatory Text 2", FormatId = (UInt32Value)17U }; CellStyle cellStyle30 = new CellStyle() { Name = "Good", FormatId = (UInt32Value)46U, BuiltinId = (UInt32Value)26U }; CellStyle cellStyle31 = new CellStyle() { Name = "Good 2", FormatId = (UInt32Value)8U }; CellStyle cellStyle32 = new CellStyle() { Name = "Heading 1 2", FormatId = (UInt32Value)4U }; CellStyle cellStyle33 = new CellStyle() { Name = "Heading 2 2", FormatId = (UInt32Value)5U }; CellStyle cellStyle34 = new CellStyle() { Name = "Heading 3 2", FormatId = (UInt32Value)6U }; CellStyle cellStyle35 = new CellStyle() { Name = "Heading 4 2", FormatId = (UInt32Value)7U }; CellStyle cellStyle36 = new CellStyle() { Name = "Input 2", FormatId = (UInt32Value)11U }; CellStyle cellStyle37 = new CellStyle() { Name = "Linked Cell 2", FormatId = (UInt32Value)14U }; CellStyle cellStyle38 = new CellStyle() { Name = "Neutral 2", FormatId = (UInt32Value)10U }; CellStyle cellStyle39 = new CellStyle() { Name = "Normal", FormatId = (UInt32Value)0U, BuiltinId = (UInt32Value)0U }; CellStyle cellStyle40 = new CellStyle() { Name = "Normal 2", FormatId = (UInt32Value)44U }; CellStyle cellStyle41 = new CellStyle() { Name = "Normal 3", FormatId = (UInt32Value)43U }; CellStyle cellStyle42 = new CellStyle() { Name = "Normal 4", FormatId = (UInt32Value)2U }; CellStyle cellStyle43 = new CellStyle() { Name = "Normal 5", FormatId = (UInt32Value)1U }; CellStyle cellStyle44 = new CellStyle() { Name = "Note 2", FormatId = (UInt32Value)45U }; CellStyle cellStyle45 = new CellStyle() { Name = "Output 2", FormatId = (UInt32Value)12U }; CellStyle cellStyle46 = new CellStyle() { Name = "Title 2", FormatId = (UInt32Value)3U }; CellStyle cellStyle47 = new CellStyle() { Name = "Total 2", FormatId = (UInt32Value)18U }; CellStyle cellStyle48 = new CellStyle() { Name = "Warning Text 2", FormatId = (UInt32Value)16U }; cellStyles1.Append(cellStyle1); cellStyles1.Append(cellStyle2); cellStyles1.Append(cellStyle3); cellStyles1.Append(cellStyle4); cellStyles1.Append(cellStyle5); cellStyles1.Append(cellStyle6); cellStyles1.Append(cellStyle7); cellStyles1.Append(cellStyle8); cellStyles1.Append(cellStyle9); cellStyles1.Append(cellStyle10); cellStyles1.Append(cellStyle11); cellStyles1.Append(cellStyle12); cellStyles1.Append(cellStyle13); cellStyles1.Append(cellStyle14); cellStyles1.Append(cellStyle15); cellStyles1.Append(cellStyle16); cellStyles1.Append(cellStyle17); cellStyles1.Append(cellStyle18); cellStyles1.Append(cellStyle19); cellStyles1.Append(cellStyle20); cellStyles1.Append(cellStyle21); cellStyles1.Append(cellStyle22); cellStyles1.Append(cellStyle23); cellStyles1.Append(cellStyle24); cellStyles1.Append(cellStyle25); cellStyles1.Append(cellStyle26); cellStyles1.Append(cellStyle27); cellStyles1.Append(cellStyle28); cellStyles1.Append(cellStyle29); cellStyles1.Append(cellStyle30); cellStyles1.Append(cellStyle31); cellStyles1.Append(cellStyle32); cellStyles1.Append(cellStyle33); cellStyles1.Append(cellStyle34); cellStyles1.Append(cellStyle35); cellStyles1.Append(cellStyle36); cellStyles1.Append(cellStyle37); cellStyles1.Append(cellStyle38); cellStyles1.Append(cellStyle39); cellStyles1.Append(cellStyle40); cellStyles1.Append(cellStyle41); cellStyles1.Append(cellStyle42); cellStyles1.Append(cellStyle43); cellStyles1.Append(cellStyle44); cellStyles1.Append(cellStyle45); cellStyles1.Append(cellStyle46); cellStyles1.Append(cellStyle47); cellStyles1.Append(cellStyle48); DifferentialFormats differentialFormats1 = new DifferentialFormats() { Count = (UInt32Value)0U }; TableStyles tableStyles1 = new TableStyles() { Count = (UInt32Value)0U, DefaultTableStyle = "TableStyleMedium9", DefaultPivotStyle = "PivotStyleLight16" }; Colors colors1 = new Colors(); MruColors mruColors1 = new MruColors(); Color color102 = new Color() { Rgb = "FFCC99FF" }; Color color103 = new Color() { Rgb = "FF00FF00" }; Color color104 = new Color() { Rgb = "FF66FF66" }; mruColors1.Append(color102); mruColors1.Append(color103); mruColors1.Append(color104); colors1.Append(mruColors1); stylesheet1.Append(numberingFormats1); stylesheet1.Append(fonts1); stylesheet1.Append(fills1); stylesheet1.Append(borders1); stylesheet1.Append(cellStyleFormats1); stylesheet1.Append(cellFormats1); stylesheet1.Append(cellStyles1); stylesheet1.Append(differentialFormats1); stylesheet1.Append(tableStyles1); stylesheet1.Append(colors1); workbookStylesPart1.Stylesheet = stylesheet1; } // Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme() { Name = "Office Theme" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex14); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex15); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex() { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex16); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex() { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex17); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex() { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex18); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex() { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex19); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex20 = new A.RgbColorModelHex() { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex20); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex21 = new A.RgbColorModelHex() { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex21); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex22 = new A.RgbColorModelHex() { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex22); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex23 = new A.RgbColorModelHex() { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex23); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme24 = new A.FontScheme() { Name = "Office" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont5 = new A.LatinFont() { Typeface = "Cambria" }; A.EastAsianFont eastAsianFont5 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; majorFont1.Append(latinFont5); majorFont1.Append(eastAsianFont5); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont6 = new A.LatinFont() { Typeface = "Calibri" }; A.EastAsianFont eastAsianFont6 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; minorFont1.Append(latinFont6); minorFont1.Append(eastAsianFont6); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont30); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); fontScheme24.Append(majorFont1); fontScheme24.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill35 = new A.SolidFill(); A.SchemeColor schemeColor22 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill35.Append(schemeColor22); A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor23 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint1 = new A.Tint() { Val = 50000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 300000 }; schemeColor23.Append(tint1); schemeColor23.Append(saturationModulation1); gradientStop1.Append(schemeColor23); A.GradientStop gradientStop2 = new A.GradientStop() { Position = 35000 }; A.SchemeColor schemeColor24 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint2 = new A.Tint() { Val = 37000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 300000 }; schemeColor24.Append(tint2); schemeColor24.Append(saturationModulation2); gradientStop2.Append(schemeColor24); A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor25 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint3 = new A.Tint() { Val = 15000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 350000 }; schemeColor25.Append(tint3); schemeColor25.Append(saturationModulation3); gradientStop3.Append(schemeColor25); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor26 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade() { Val = 51000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 130000 }; schemeColor26.Append(shade1); schemeColor26.Append(saturationModulation4); gradientStop4.Append(schemeColor26); A.GradientStop gradientStop5 = new A.GradientStop() { Position = 80000 }; A.SchemeColor schemeColor27 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade() { Val = 93000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 130000 }; schemeColor27.Append(shade2); schemeColor27.Append(saturationModulation5); gradientStop5.Append(schemeColor27); A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor28 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade() { Val = 94000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 135000 }; schemeColor28.Append(shade3); schemeColor28.Append(saturationModulation6); gradientStop6.Append(schemeColor28); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill35); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline30 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill36 = new A.SolidFill(); A.SchemeColor schemeColor29 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade4 = new A.Shade() { Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 105000 }; schemeColor29.Append(shade4); schemeColor29.Append(saturationModulation7); solidFill36.Append(schemeColor29); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline30.Append(solidFill36); outline30.Append(presetDash1); A.Outline outline31 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill37 = new A.SolidFill(); A.SchemeColor schemeColor30 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill37.Append(schemeColor30); A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline31.Append(solidFill37); outline31.Append(presetDash2); A.Outline outline32 = new A.Outline() { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill38 = new A.SolidFill(); A.SchemeColor schemeColor31 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill38.Append(schemeColor31); A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline32.Append(solidFill38); outline32.Append(presetDash3); lineStyleList1.Append(outline30); lineStyleList1.Append(outline31); lineStyleList1.Append(outline32); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex24 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = 38000 }; rgbColorModelHex24.Append(alpha1); outerShadow1.Append(rgbColorModelHex24); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); A.OuterShadow outerShadow2 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex25 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha2 = new A.Alpha() { Val = 35000 }; rgbColorModelHex25.Append(alpha2); outerShadow2.Append(rgbColorModelHex25); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow3 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex26 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha3 = new A.Alpha() { Val = 35000 }; rgbColorModelHex26.Append(alpha3); outerShadow3.Append(rgbColorModelHex26); effectList3.Append(outerShadow3); A.Scene3DType scene3DType1 = new A.Scene3DType(); A.Camera camera1 = new A.Camera() { Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation1 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); A.LightRig lightRig1 = new A.LightRig() { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; A.Rotation rotation2 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); A.Shape3DType shape3DType1 = new A.Shape3DType(); A.BevelTop bevelTop1 = new A.BevelTop() { Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill39 = new A.SolidFill(); A.SchemeColor schemeColor32 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill39.Append(schemeColor32); A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor33 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint4 = new A.Tint() { Val = 40000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 350000 }; schemeColor33.Append(tint4); schemeColor33.Append(saturationModulation8); gradientStop7.Append(schemeColor33); A.GradientStop gradientStop8 = new A.GradientStop() { Position = 40000 }; A.SchemeColor schemeColor34 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint5 = new A.Tint() { Val = 45000 }; A.Shade shade5 = new A.Shade() { Val = 99000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 350000 }; schemeColor34.Append(tint5); schemeColor34.Append(shade5); schemeColor34.Append(saturationModulation9); gradientStop8.Append(schemeColor34); A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor35 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade6 = new A.Shade() { Val = 20000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 255000 }; schemeColor35.Append(shade6); schemeColor35.Append(saturationModulation10); gradientStop9.Append(schemeColor35); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle() { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); A.GradientFill gradientFill4 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop10 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor36 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint6 = new A.Tint() { Val = 80000 }; A.SaturationModulation saturationModulation11 = new A.SaturationModulation() { Val = 300000 }; schemeColor36.Append(tint6); schemeColor36.Append(saturationModulation11); gradientStop10.Append(schemeColor36); A.GradientStop gradientStop11 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor37 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade7 = new A.Shade() { Val = 30000 }; A.SaturationModulation saturationModulation12 = new A.SaturationModulation() { Val = 200000 }; schemeColor37.Append(shade7); schemeColor37.Append(saturationModulation12); gradientStop11.Append(schemeColor37); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); A.PathGradientFill pathGradientFill2 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle2 = new A.FillToRectangle() { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill39); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme24); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; } private void SetPackageProperties(OpenXmlPackage document) { document.PackageProperties.Creator = "Dan McFadden"; document.PackageProperties.Created = System.Xml.XmlConvert.ToDateTime("2013-04-08T23:46:23Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind); document.PackageProperties.Modified = System.Xml.XmlConvert.ToDateTime("2013-05-02T16:15:05Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind); document.PackageProperties.LastModifiedBy = "Dan McFadden"; document.PackageProperties.LastPrinted = System.Xml.XmlConvert.ToDateTime("2013-04-09T18:23:40Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind); } #region Binary Data private string spreadsheetPrinterSettingsPart1Data = "QwB1AHQAZQBQAEQARgAgAFcAcgBpAHQAZQByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEAAbcAIQDU++AAQEACQDqCm8IZAABAA8AWAICAAEAWAIDAAEATABlAHQAdABlAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBSSVbiMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAQJxAnECcAABAnAAAAAAAAAACwAIQDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAABAAXEsDAGhDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdaxebQUAAAADAAAA/wD/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACwAAAAU01USgAAAAAQAKAAQwB1AHQAZQBQAEQARgAgAFcAcgBpAHQAZQByAAAAUmVzb2x1dGlvbgA2MDBkcGkAUGFnZVNpemUATGV0dGVyAFBhZ2VSZWdpb24AAExlYWRpbmdFZGdlAABJbnB1dFNsb3QAT25seU9uZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="; private string spreadsheetPrinterSettingsPart2Data = "QwB1AHQAZQBQAEQARgAgAFcAcgBpAHQAZQByAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEAAbcAIQDU++AAQEACQDqCm8IZAABAA8AWAICAAEAWAIDAAEATABlAHQAdABlAHIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBSSVbiMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAQJxAnECcAABAnAAAAAAAAAACwAIQDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAABAAXEsDAGhDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdaxebQUAAAADAAAA/wD/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACwAAAAU01USgAAAAAQAKAAQwB1AHQAZQBQAEQARgAgAFcAcgBpAHQAZQByAAAAUmVzb2x1dGlvbgA2MDBkcGkAUGFnZVNpemUATGV0dGVyAFBhZ2VSZWdpb24AAExlYWRpbmdFZGdlAABJbnB1dFNsb3QAT25seU9uZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="; private System.IO.Stream GetBinaryDataStream(string base64String) { return new System.IO.MemoryStream(System.Convert.FromBase64String(base64String)); } #endregion } }