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; using System.Linq; namespace ExcelExport { public class TRLDynamicReport : ExportBase { // Creates a SpreadsheetDocument. public void CreatePackage(string filePath, string testRefNumber, string testTimeInfo, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string and1, string and2, string testCFC, string accelerationUnits, string displacementUnits, string timeUnits, double accelLowThreshold, double accelHighThreshold, double [] accelX, double [] accelY, double? accelRangeLow, double? accelRangeHigh, double [] bendX, double [] bendY, double bendLowThreshold, double bendHighThreshold, double? bendRangeLow, double? bendRangeHigh, double [] shearX, double [] shearY, double shearLowThreshold, double shearHighThreshold, double? shearRangeLow, double? shearRangeHigh, string model, double accelMax, double accelMaxTime, double accelMin, double accelMinTime, string bendingUnits, double bendMax, double bendMaxTime, double bendMin, double bendMinTime, string shearUnits, double shearMax, double shearMaxUnits, double shearMin, double shearMinTime, double [] bendDisplacement, double [] shearDisplacement ) { bool bShearStatus = shearMax > shearLowThreshold && shearMax < shearHighThreshold; bool bBendStatus = bendMax > bendLowThreshold && bendMax < bendHighThreshold; bool bAccelStatus = accelMax > accelLowThreshold && accelMax < accelHighThreshold; bool bOverallStatus = bShearStatus && bBendStatus && bAccelStatus; using (SpreadsheetDocument package = SpreadsheetDocument.Create(filePath, SpreadsheetDocumentType.Workbook)) { CreateParts(package, testRefNumber, testTimeInfo, carName, testTemperature, measuringPoint, collisionSpeed, impactorId, impactorType, impactorWeight, studyPersonnel, and1, and2, testCFC, accelerationUnits, displacementUnits, timeUnits, bOverallStatus, accelLowThreshold, accelHighThreshold, accelX, accelY, bAccelStatus, accelRangeLow, accelRangeHigh, bendX,bendY, bendLowThreshold,bendHighThreshold, bBendStatus, bendRangeLow, bendRangeHigh, shearX,shearY, shearLowThreshold,shearHighThreshold, bShearStatus, shearRangeLow,shearRangeHigh, model, accelMax, accelMaxTime, accelMin,accelMinTime, bendingUnits, bendMax, bendMaxTime, bendMin, bendMinTime, shearUnits, shearMax, shearMaxUnits, shearMin, shearMinTime, bendDisplacement, shearDisplacement ); } } // Adds child parts and generates content of the specified part. private void CreateParts(SpreadsheetDocument document, string testRefNumber, string testTimeInfo, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string and1, string and2, string testCFC, string accelerationUnits, string displacementUnits, string timeUnits, bool bOverallStatus, double accelLowThreshold, double accelHighThreshold, double[] accelX, double[] accelY, bool bAccelStatus, double? accelRangeLow, double? accelRangeHigh, double[] bendX, double[] bendY, double bendLowThreshold, double bendHighThreshold, bool bBendStatus, double? bendRangeLow, double? bendRangeHigh, double[] shearX, double[] shearY, double shearLowThreshold, double shearHighThreshold, bool shearStatus, double? shearRangeLow, double? shearRangeHigh, string model, double accelMax, double accelMaxTime, double accelMin, double accelMinTime, string bendingUnits, double bendMax, double bendMaxTime, double bendMin, double bendMinTime, string shearUnits, double shearMax, double shearMaxTime, double shearMin, double shearMinTime, double [] bendDisplacement, double [] shearDisplacement) { if (null != accelRangeLow && double.IsNaN((double)accelRangeLow)) { accelRangeLow = null; } if (null != accelRangeHigh && double.IsNaN((double)accelRangeHigh)) { accelRangeHigh = null; } if (null != bendRangeLow && double.IsNaN((double)bendRangeLow)) { bendRangeLow = null; } if (null != bendRangeHigh && double.IsNaN((double)bendRangeHigh)) { bendRangeHigh = null; } if (null != shearRangeLow && double.IsNaN((double)shearRangeLow)) { shearRangeLow = null; } if (null != shearRangeHigh && double.IsNaN((double)shearRangeHigh)) { shearRangeHigh = null; } ExtendedFilePropertiesPart extendedFilePropertiesPart1 = document.AddNewPart("rId3"); GenerateExtendedFilePropertiesPart1Content(extendedFilePropertiesPart1); WorkbookPart workbookPart1 = document.AddWorkbookPart(); GenerateWorkbookPart1Content(workbookPart1); _sharedStringTablePart = workbookPart1.AddNewPart("rId6"); _sharedStringTablePart.SharedStringTable = new SharedStringTable(); WorksheetPart worksheetPart3 = workbookPart1.AddNewPart("rId1"); GenerateTopsheetContent(worksheetPart3, testRefNumber, testTimeInfo, carName, testTemperature, measuringPoint, collisionSpeed, impactorId, impactorType, impactorWeight, studyPersonnel, and1, and2, testCFC, accelerationUnits, displacementUnits, timeUnits, bOverallStatus, model); WorksheetPart worksheetPart1 = workbookPart1.AddNewPart("rId3"); GenerateDataWorksheetContent(worksheetPart1, accelX, accelY, accelLowThreshold, accelHighThreshold, bendX, bendY, bendLowThreshold, bendHighThreshold, shearX, shearY, shearLowThreshold, shearHighThreshold, model, bendDisplacement, shearDisplacement); WorksheetPart worksheetPart2 = workbookPart1.AddNewPart("rId2"); GenerateReportWorksheetContent(worksheetPart2, testRefNumber, testTemperature, impactorId, testCFC, testTimeInfo, impactorType, carName, measuringPoint, impactorWeight, and1, model, collisionSpeed, studyPersonnel, and2, accelerationUnits, accelMax, accelMaxTime, accelMin, accelMinTime, accelLowThreshold, accelHighThreshold, bAccelStatus, bendingUnits, bendMax, bendMaxTime, bendMin, bendMinTime, bendLowThreshold, bendHighThreshold, bBendStatus, shearUnits, shearMax, shearMaxTime, shearMin, shearMinTime, shearLowThreshold, shearHighThreshold, shearStatus); DrawingsPart drawingsPart1 = worksheetPart2.AddNewPart("rId2"); GenerateDrawingsPart1Content(drawingsPart1); ChartPart chartPart1 = drawingsPart1.AddNewPart("rId3"); GenerateShearChartContent(chartPart1, shearX, shearY, shearUnits, timeUnits, shearLowThreshold, shearHighThreshold, shearRangeLow, shearRangeHigh); ChartPart chartPart2 = drawingsPart1.AddNewPart("rId2"); GenerateBendChartContent(chartPart2, bendX, bendY, bendLowThreshold, bendHighThreshold, bendRangeLow, bendRangeHigh); ChartPart chartPart3 = drawingsPart1.AddNewPart("rId1"); GenerateAccelChartContent(chartPart3, accelX,accelY, accelLowThreshold, accelHighThreshold, accelerationUnits, timeUnits, accelRangeLow, accelRangeHigh); 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)18450U, WindowHeight = (UInt32Value)14880U, ActiveTab = (UInt32Value)2U }; 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 = (UInt32Value)1U }; definedName1.Text = "Report!$A$1:$R$67"; DefinedName definedName2 = new DefinedName() { Name = "_xlnm.Print_Area", LocalSheetId = (UInt32Value)0U }; //definedName2.Text = "\'Top page\'!$A$1:$AD$53,\'Top page\'!$A$54:$O$106"; 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; } // Generates content of worksheetPart1. private void GenerateDataWorksheetContent(WorksheetPart worksheetPart1, double [] accelX, double [] accelY, double accelLowThreshold, double accelHighThreshold, double [] bendX, double [] bendY, double bendLowThreshold, double bendHighThreshold, double [] shearX, double [] shearY, double shearLowThreshold, double shearHighThreshold, string model, double [] bendingDisplacement, double [] shearDisplacement) { double accelDomainMin = accelX.Length > 0 ? accelX.Min() : 0; double accelDomainMax = accelX.Length > 0 ? accelX.Max() : 0; double bendDomainMin = bendX.Length > 0 ? bendX.Min() : 0; double bendDomainMax = bendX.Length > 0 ? bendX.Max() : 0; double shearDomainMin = shearX.Length > 0 ? shearX.Min() : 0; double shearDomainMax = shearX.Length > 0 ? shearX.Max() : 0; Worksheet worksheet1 = new Worksheet(); worksheet1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); int maxLength = System.Math.Max(accelX.Length, accelY.Length); maxLength = System.Math.Max(maxLength, bendX.Length); maxLength = System.Math.Max(maxLength, bendY.Length); maxLength = System.Math.Max(maxLength, shearX.Length); maxLength = System.Math.Max(maxLength, shearY.Length); maxLength = System.Math.Max(maxLength, bendingDisplacement.Length); maxLength = System.Math.Max(maxLength, shearDisplacement.Length); SheetDimension sheetDimension1 = new SheetDimension() { Reference = string.Format("A1:R{0}", 1 + maxLength)}; SheetViews sheetViews1 = new SheetViews(); SheetView sheetView1 = new SheetView() { TopLeftCell = "A1", WorkbookViewId = (UInt32Value)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 = (UInt32Value)3U, Max = (UInt32Value)6U, Width = 9.140625D, Style = (UInt32Value)4U }; Column column2 = new Column() { Min = (UInt32Value)9U, Max = (UInt32Value)12U, Width = 9.140625D, Style = (UInt32Value)4U }; Column column3 = new Column() { Min = (UInt32Value)15U, Max = (UInt32Value)18U, Width = 9.140625D, Style = (UInt32Value)4U }; Column column4 = new Column() { Min = (UInt32Value)21U, Max = (UInt32Value)24U, Width = 9.140625D, Style = (UInt32Value)4U }; Column column5 = new Column() { Min = (UInt32Value)27U, Max = (UInt32Value)30U, Width = 9.140625D, Style = (UInt32Value)4U }; Column column6 = new Column() { Min = (UInt32Value)33U, Max = (UInt32Value)36U, Width = 9.140625D, Style = (UInt32Value)4U }; 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 = (UInt32Value)1U, Spans = new ListValue() { InnerText = "1:44" } }; r.Append(CreateTextCell("A1", (UInt32Value)4U, "Acc-x")); r.Append(CreateTextCell("B1", (UInt32Value)4U, "Acc-y")); r.Append(CreateTextCell("C1", (UInt32Value)4U, "ALow-x")); r.Append(CreateTextCell("D1", (UInt32Value)4U, "ALow-y")); r.Append(CreateTextCell("E1", (UInt32Value)4U, "AHi-x")); r.Append(CreateTextCell("F1", (UInt32Value)4U, "AHi-y")); r.Append(CreateTextCell("G1", (UInt32Value)4U, "Bend-x")); r.Append(CreateTextCell("H1", (UInt32Value)4U, "Bend-y")); r.Append(CreateTextCell("I1", (UInt32Value)4U, "BLow-x")); r.Append(CreateTextCell("J1", (UInt32Value)4U, "BLow-y")); r.Append(CreateTextCell("K1", (UInt32Value)4U, "BHi-x")); r.Append(CreateTextCell("L1", (UInt32Value)4U, "BHi-y")); r.Append(CreateTextCell("M1", (UInt32Value)4U, "Shear-x")); r.Append(CreateTextCell("N1", (UInt32Value)4U, "Shear-y")); r.Append(CreateTextCell("O1", (UInt32Value)4U, "SLow-x")); r.Append(CreateTextCell("P1", (UInt32Value)4U, "SLow-y")); r.Append(CreateTextCell("Q1", (UInt32Value)4U, "SHi-x")); r.Append(CreateTextCell("R1", (UInt32Value)4U, "SHi-y")); r.Append(CreateTextCell("S1", (UInt32Value)4U, "BendDisplacement")); r.Append(CreateTextCell("T1", (UInt32Value)4U, "ShearDisplacement")); sheetData1.Append(r); for (int i = 0; i < maxLength; i++) { r = new Row() { RowIndex = (UInt32Value)System.Convert.ToUInt32(2 + i), Spans = new ListValue() { InnerText = "1:18" } }; Cell c = new Cell() { CellReference = string.Format("A{0}", i + 2) }; if( i < accelX.Length ){ c.Append(new CellValue(){Text = accelX[i].ToString()});} r.Append(c); c = new Cell() { CellReference = string.Format("B{0}", i + 2) }; if (i < accelY.Length) { c.Append(new CellValue() { Text = accelY[i].ToString() }); } r.Append(c); if (0 == i) { c = new Cell() { CellReference = string.Format("C2") }; c.Append(new CellValue() { Text = accelDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("D2") }; c.Append(new CellValue() { Text = accelLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("E2") }; c.Append(new CellValue() { Text = accelDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("F2") }; c.Append(new CellValue() { Text = accelHighThreshold.ToString() }); r.Append(c); } else if (1 == i) { c = new Cell() { CellReference = string.Format("C3") }; c.Append(new CellValue() { Text = accelDomainMax.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("D3") }; c.Append(new CellValue() { Text = accelLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("E3") }; c.Append(new CellValue() { Text = accelDomainMax.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("F3") }; c.Append(new CellValue() { Text = accelHighThreshold.ToString() }); r.Append(c); } c = new Cell() { CellReference = string.Format("G{0}", 2 + i) }; if (i < bendX.Length) { c.Append(new CellValue() { Text = bendX[i].ToString() }); } r.Append(c); c = new Cell() { CellReference = string.Format("H{0}", 2 + i) }; if (i < bendY.Length) { c.Append(new CellValue() { Text = bendY[i].ToString() }); } r.Append(c); if (0 == i) { c = new Cell() { CellReference = string.Format("I2") }; c.Append(new CellValue() { Text = bendDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("J2") }; c.Append(new CellValue() { Text = bendLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("K2") }; c.Append(new CellValue() { Text = bendDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("L2") }; c.Append(new CellValue() { Text = bendHighThreshold.ToString() }); r.Append(c); } else if (1 == i) { c = new Cell() { CellReference = string.Format("I3") }; c.Append(new CellValue() { Text = bendDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("J3") }; c.Append(new CellValue() { Text = bendLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("K3") }; c.Append(new CellValue() { Text = bendDomainMax.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("L3") }; c.Append(new CellValue() { Text = bendHighThreshold.ToString() }); r.Append(c); } c = new Cell() { CellReference = string.Format("M{0}", 2 + i) }; if (i < shearX.Length) { c.Append(new CellValue() { Text = shearX[i].ToString() }); } r.Append(c); c = new Cell() { CellReference = string.Format("N{0}", 2 + i) }; if (i < shearY.Length) { c.Append(new CellValue() { Text = shearY[i].ToString() }); } r.Append(c); if (0 == i) { c = new Cell() { CellReference = string.Format("O2") }; c.Append(new CellValue() { Text = shearDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("P2") }; c.Append(new CellValue() { Text = shearLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("Q2") }; c.Append(new CellValue() { Text = shearDomainMin.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("R2") }; c.Append(new CellValue() { Text = shearHighThreshold.ToString() }); r.Append(c); } else if (1 == i) { c = new Cell() { CellReference = string.Format("O3") }; c.Append(new CellValue() { Text = shearDomainMax.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("P3") }; c.Append(new CellValue() { Text = shearLowThreshold.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("Q3") }; c.Append(new CellValue() { Text = shearDomainMax.ToString() }); r.Append(c); c = new Cell() { CellReference = string.Format("R3") }; c.Append(new CellValue() { Text = shearHighThreshold.ToString() }); r.Append(c); } c = new Cell() { CellReference = string.Format("S{0}", 2 + i) }; if (i < bendingDisplacement.Length) { c.Append(new CellValue() { Text = bendingDisplacement[i].ToString() }); } r.Append(c); c = new Cell() { CellReference = string.Format("T{0}", 2 + i) }; if (i < shearDisplacement.Length) { c.Append(new CellValue() { Text = shearDisplacement[i].ToString() }); } r.Append(c); 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 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)33U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)61U }); r.Append(CreateTextCell(string.Format("N{0}",idx), (UInt32Value)77U, "PASS")); r.Append(new Cell() { CellReference = string.Format("O{0}",idx), StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)78U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)79U }); r.Append(new Cell() { CellReference = string.Format("R{0}", idx), StyleIndex = (UInt32Value)56U }); return r; } private Row CreateReportBlankRow(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)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)2U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("R{0}",idx), StyleIndex = (UInt32Value)2U }); 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)33U }); r.Append(new Cell() { CellReference = string.Format("B{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("C{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("D{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("E{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("F{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("G{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("H{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("I{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("J{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("K{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("L{0}",idx), StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = string.Format("M{0}",idx), StyleIndex = (UInt32Value)60U }); r.Append(CreateTextCell(string.Format("N{0}",idx), (UInt32Value)74U, "FAIL")); r.Append(new Cell() { CellReference = string.Format("O{0}",idx), StyleIndex = (UInt32Value)75U }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)75U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)76U }); r.Append(new Cell() { CellReference = string.Format("R{0}",idx), StyleIndex = (UInt32Value)60U }); return r; } // Generates content of worksheetPart2. private void GenerateReportWorksheetContent(WorksheetPart worksheetPart2, string testRefNumber, string testTemperature, string impactorId, string testCFC, string testTimeInfo, string impactorType, string carMaker, string measuringPoint, string impactorWeight, string and1, string model, string collisionSpeed, string studyPersonnel, string and2, string accelerationUnits, double accelMax, double accelMaxTime, double accelMin, double accelMinTime, double accelLowThreshold, double accelHighThreshold, bool bAccelPass, string bendingUnits, double bendMax, double bendMaxTime, double bendMin, double bendMinTime, double bendLowThreshold, double bendHighThreshold, bool bBendPass, string shearUnits, double shearMax, double shearMaxTime, double shearMin, double shearMinTime, double shearLowThreshold, double shearHighThreshold, bool bSheerPass ) { Worksheet worksheet2 = new Worksheet(); worksheet2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); SheetDimension sheetDimension2 = new SheetDimension() { Reference = "A1:R67" }; SheetViews sheetViews2 = new SheetViews(); SheetView sheetView2 = new SheetView() { WorkbookViewId = (UInt32Value)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 = (UInt32Value)1U, Max = (UInt32Value)16384U, Width = 4.85546875D, Style = (UInt32Value)1U }; columns2.Append(column7); SheetData sheetData2 = new SheetData(); Row r = new Row() { RowIndex = (UInt32Value)1U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A1", (UInt32Value)84U, "LWR LEG(E-PLI)")); r.Append(new Cell() { CellReference = "B1", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "C1", StyleIndex = (UInt32Value)86U }); r.Append(new Cell() { CellReference = "D1", StyleIndex = (UInt32Value)82U }); r.Append(new Cell() { CellReference = "E1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "F1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "G1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "H1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "I1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "J1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "K1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "L1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "M1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "N1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "O1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "P1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "Q1", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "R1", StyleIndex = (UInt32Value)83U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)2U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A2", (UInt32Value)16U, "検定")); r.Append(new Cell() { CellReference = "B2", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "C2", StyleIndex = (UInt32Value)18U }); r.Append(new Cell() { CellReference = "D2", StyleIndex = (UInt32Value)82U }); r.Append(new Cell() { CellReference = "E2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "F2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "G2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "H2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "I2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "J2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "K2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "L2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "M2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "N2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "O2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "P2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "Q2", StyleIndex = (UInt32Value)83U }); r.Append(new Cell() { CellReference = "R2", StyleIndex = (UInt32Value)83U }); sheetData2.Append(r); sheetData2.Append(CreateReportBlankRow(3U)); r = new Row() { RowIndex = (UInt32Value)4U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A4", (UInt32Value)24U, "試験NO")); r.Append(new Cell() { CellReference = "B4", StyleIndex = (UInt32Value)28U }); r.Append(CreateStylizedTextCell("C4", (UInt32Value)20U, testRefNumber, "試験NO")); r.Append(new Cell() { CellReference = "D4", StyleIndex = (UInt32Value)20U }); r.Append(CreateTextCell("E4", (UInt32Value)24U, "試験温度")); r.Append(new Cell() { CellReference = "F4", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "G4", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("H4", (UInt32Value)20U, testTemperature, "試験温度")); r.Append(new Cell() { CellReference = "I4", StyleIndex = (UInt32Value)20U }); r.Append(CreateStylizedTextCell("J4", (UInt32Value)24U, "インパクタID")); r.Append(new Cell() { CellReference = "K4", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "L4", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("M4", (UInt32Value)20U, impactorId, "インパクタID")); r.Append(new Cell() { CellReference = "N4", StyleIndex = (UInt32Value)20U }); r.Append(CreateTextCell("O4", (UInt32Value)24U, "周波数クラス")); r.Append(new Cell() { CellReference = "P4", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("Q4", (UInt32Value)20U, testCFC, "周波数クラス")); r.Append(new Cell() { CellReference = "R4", StyleIndex = (UInt32Value)20U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)5U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateTextCell("A5", (UInt32Value)24U, "試験実施日")); r.Append(new Cell() { CellReference = "B5", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("C5", (UInt32Value)19U, testTimeInfo, "試験実施日")); r.Append(new Cell() { CellReference = "D5", StyleIndex = (UInt32Value)19U }); r.Append(new Cell() { CellReference = "E5", StyleIndex = (UInt32Value)24U }); r.Append(new Cell() { CellReference = "F5", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "G5", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "H5", StyleIndex = (UInt32Value)23U }); r.Append(new Cell() { CellReference = "I5", StyleIndex = (UInt32Value)23U }); r.Append(CreateTextCell("J5", (UInt32Value)24U, "インパクタ種類")); r.Append(new Cell() { CellReference = "K5", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "L5", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("M5", (UInt32Value)19U, impactorType, "インパクタ種類")); r.Append(new Cell() { CellReference = "N5", StyleIndex = (UInt32Value)19U }); 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); r = new Row() { RowIndex = (UInt32Value)6U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateTextCell("A6", (UInt32Value)24U, "車名")); r.Append(new Cell() { CellReference = "B6", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("C6", (UInt32Value)19U, carMaker, "車名")); r.Append(new Cell() { CellReference = "D6", StyleIndex = (UInt32Value)19U }); r.Append(CreateTextCell("E6", (UInt32Value)24U, "測定点")); r.Append(new Cell() { CellReference = "F6", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "G6", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("H6", (UInt32Value)20U, measuringPoint, "測定点")); r.Append(new Cell() { CellReference = "I6", StyleIndex = (UInt32Value)20U }); r.Append(CreateTextCell("J6", (UInt32Value)24U, "インパクタ重量")); r.Append(new Cell() { CellReference = "K6", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "L6", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("M6", (UInt32Value)19U, impactorWeight, "インパクタ重量")); r.Append(new Cell() { CellReference = "N6", StyleIndex = (UInt32Value)19U }); r.Append(CreateTextCell("O6", (UInt32Value)24U, "予備1")); r.Append(new Cell() { CellReference = "P6", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("Q6", (UInt32Value)20U, and1, "予備1")); r.Append(new Cell() { CellReference = "R6", StyleIndex = (UInt32Value)20U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)7U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true, ThickBot = true }; r.Append(CreateTextCell("A7", (UInt32Value)92U, "型式")); r.Append(new Cell() { CellReference = "B7", StyleIndex = (UInt32Value)93U }); r.Append(CreateStylizedTextCell("C7", (UInt32Value)19U, model, "型式")); r.Append(new Cell() { CellReference = "D7", StyleIndex = (UInt32Value)19U }); r.Append(CreateTextCell("E7", (UInt32Value)24U, "衝突速度")); r.Append(new Cell() { CellReference = "F7", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "G7", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("H7", (UInt32Value)20U, collisionSpeed, "衝突速度")); r.Append(new Cell() { CellReference = "I7", StyleIndex = (UInt32Value)20U }); r.Append(CreateTextCell("J7", (UInt32Value)24U, "試験担当者")); r.Append(new Cell() { CellReference = "K7", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "L7", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("M7", (UInt32Value)19U, studyPersonnel, "試験担当者")); r.Append(new Cell() { CellReference = "N7", StyleIndex = (UInt32Value)19U }); r.Append(CreateTextCell("O7", (UInt32Value)24U, "予備2")); r.Append(new Cell() { CellReference = "P7", StyleIndex = (UInt32Value)15U }); r.Append(CreateStylizedTextCell("Q7", (UInt32Value)20U, and2, "予備2")); r.Append(new Cell() { CellReference = "R7", StyleIndex = (UInt32Value)19U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)8U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A8", (UInt32Value)63U, "ACCELERATION")); r.Append(new Cell() { CellReference = "B8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "C8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "D8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "E8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "F8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "G8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "H8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "I8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "J8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "K8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "L8", StyleIndex = (UInt32Value)64U }); r.Append(new Cell() { CellReference = "M8", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "N8", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "O8", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "P8", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "Q8", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "R8", StyleIndex = (UInt32Value)53U }); 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)33U }); r.Append(new Cell() { CellReference = "B9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K9", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L9", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M9", (UInt32Value)70U, string.Format("ACCELERATION ({0})", accelerationUnits))); r.Append(new Cell() { CellReference = "N9", StyleIndex = (UInt32Value)70U }); r.Append(new Cell() { CellReference = "O9", StyleIndex = (UInt32Value)70U }); r.Append(new Cell() { CellReference = "P9", StyleIndex = (UInt32Value)70U }); r.Append(new Cell() { CellReference = "Q9", StyleIndex = (UInt32Value)70U }); r.Append(new Cell() { CellReference = "R9", StyleIndex = (UInt32Value)70U }); 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)33U }); r.Append(new Cell() { CellReference = "B10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K10", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L10", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M10", (UInt32Value)73U, "Max")); r.Append(new Cell() { CellReference = "N10", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O10", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P10", 72U, accelMax)); r.Append(new Cell() { CellReference = "Q10", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R10", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K11", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L11", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M11", (UInt32Value)73U, "Time of Max")); r.Append(new Cell() { CellReference = "N11", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O11", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P11", 72U, accelMaxTime)); r.Append(new Cell() { CellReference = "Q11", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R11", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K12", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L12", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M12", (UInt32Value)73U, "Min")); r.Append(new Cell() { CellReference = "N12", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O12", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P12", 72U, accelMin)); r.Append(new Cell() { CellReference = "Q12", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R12", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K13", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L13", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M13", (UInt32Value)73U, "Time of Min")); r.Append(new Cell() { CellReference = "N13", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O13", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P13", 72U, accelMinTime)); r.Append(new Cell() { CellReference = "Q13", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R13", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)14U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "B14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L14", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "M14", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "N14", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "O14", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "P14", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)58U }); sheetData2.Append(r); 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)33U }); r.Append(new Cell() { CellReference = "B15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K15", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L15", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M15", (UInt32Value)73U, "Required Min")); r.Append(new Cell() { CellReference = "N15", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O15", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P15", 72U, accelLowThreshold)); r.Append(new Cell() { CellReference = "Q15", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R15", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K16", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L16", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M16", (UInt32Value)73U, "Required Max")); r.Append(new Cell() { CellReference = "N16", StyleIndex = (UInt32Value)73U }); r.Append(new Cell() { CellReference = "O16", StyleIndex = (UInt32Value)73U }); r.Append(CreateNumericCell("P16", (UInt32Value)72U, accelHighThreshold)); r.Append(new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)17U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "B17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L17", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "M17", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "N17", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "O17", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "P17", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "Q17", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "R17", StyleIndex = (UInt32Value)56U }); sheetData2.Append(r); r = new Row() { RowIndex = (UInt32Value)18U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(new Cell() { CellReference = "A18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "B18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L18", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "M18", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "N18", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "O18", StyleIndex = (UInt32Value)59U }); r.Append(new Cell() { CellReference = "P18", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)56U }); sheetData2.Append(r); if (bAccelPass) { sheetData2.Append(CreatePassRow(19U)); } else { sheetData2.Append(CreateFailRow(19U)); } sheetData2.Append(CreateReportBlankRow(20U)); sheetData2.Append(CreateReportBlankRow(21U)); /*Row row32r = new Row() { RowIndex = (UInt32Value)20U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; Cell cell613 = new Cell() { CellReference = "A20", StyleIndex = (UInt32Value)62U }; Cell cell614 = new Cell() { CellReference = "B20", StyleIndex = (UInt32Value)33U }; Cell cell615 = new Cell() { CellReference = "C20", StyleIndex = (UInt32Value)33U }; Cell cell616 = new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)33U }; Cell cell617 = new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)33U }; Cell cell618 = new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)33U }; Cell cell619 = new Cell() { CellReference = "G20", StyleIndex = (UInt32Value)33U }; Cell cell620 = new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)33U }; Cell cell621 = new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)33U }; Cell cell622 = new Cell() { CellReference = "J20", StyleIndex = (UInt32Value)33U }; Cell cell623 = new Cell() { CellReference = "K20", StyleIndex = (UInt32Value)33U }; Cell cell624 = new Cell() { CellReference = "L20", StyleIndex = (UInt32Value)33U }; Cell cell625 = new Cell() { CellReference = "M20", StyleIndex = (UInt32Value)61U }; Cell cell626 = new Cell() { CellReference = "N20", StyleIndex = (UInt32Value)61U }; Cell cell627 = new Cell() { CellReference = "O20", StyleIndex = (UInt32Value)61U }; Cell cell628 = new Cell() { CellReference = "P20", StyleIndex = (UInt32Value)56U }; Cell cell629 = new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)56U }; Cell cell630 = new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)56U }; */ r = new Row() { RowIndex = (UInt32Value)22U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A22", (UInt32Value)65U, "Bending Angle")); r.Append(new Cell() { CellReference = "B22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "C22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "G22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "J22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "K22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "L22", StyleIndex = (UInt32Value)66U }); r.Append(new Cell() { CellReference = "M22", StyleIndex = (UInt32Value)61U }); r.Append(new Cell() { CellReference = "N22", StyleIndex = (UInt32Value)61U }); r.Append(new Cell() { CellReference = "O22", StyleIndex = (UInt32Value)61U }); r.Append(new Cell() { CellReference = "P22", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)56U }); r.Append(new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)56U }); 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)33U }); r.Append(new Cell() { CellReference = "B23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K23", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L23", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M23", (UInt32Value)69U, string.Format("BendingAngle({0})", bendingUnits))); r.Append(new Cell() { CellReference = "N23", StyleIndex = (UInt32Value)69U }); r.Append(new Cell() { CellReference = "O23", StyleIndex = (UInt32Value)69U }); r.Append(new Cell() { CellReference = "P23", StyleIndex = (UInt32Value)69U }); r.Append(new Cell() { CellReference = "Q23", StyleIndex = (UInt32Value)69U }); r.Append(new Cell() { CellReference = "R23", StyleIndex = (UInt32Value)69U }); 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)33U }); r.Append(new Cell() { CellReference = "B24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K24", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L24", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M24", (UInt32Value)71U, "Max")); r.Append(new Cell() { CellReference = "N24", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O24", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P24", 72U, bendMax)); r.Append(new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K25", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L25", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M25", (UInt32Value)71U, "Time of Max")); r.Append(new Cell() { CellReference = "N25", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O25", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P25", (UInt32Value)72U, bendMaxTime)); r.Append(new Cell() { CellReference = "Q25", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R25", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K26", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L26", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M26", (UInt32Value)71U, "Min")); r.Append(new Cell() { CellReference = "N26", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O26", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P26", (UInt32Value)72U, bendMin)); r.Append(new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K27", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L27", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M27", (UInt32Value)71U, "Time of Min")); r.Append(new Cell() { CellReference = "N27", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O27", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P27", 72U, bendMinTime)); r.Append(new Cell() { CellReference = "Q27", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R27", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); sheetData2.Append(CreateReportBlankRow(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)33U }); r.Append(new Cell() { CellReference = "B29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K29", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L29", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M29", (UInt32Value)71U, "Required Min")); r.Append(new Cell() { CellReference = "N29", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O29", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P29", 72U, bendLowThreshold)); r.Append(new Cell() { CellReference = "Q29", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R29", StyleIndex = (UInt32Value)72U }); 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)53U }); r.Append(new Cell() { CellReference = "B30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "C30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "D30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "E30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "F30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "G30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "H30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "I30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "J30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "K30", StyleIndex = (UInt32Value)53U }); r.Append(new Cell() { CellReference = "L30", StyleIndex = (UInt32Value)53U }); r.Append(CreateTextCell("M30", (UInt32Value)71U, "Required Max")); r.Append(new Cell() { CellReference = "N30", StyleIndex = (UInt32Value)71U }); r.Append(new Cell() { CellReference = "O30", StyleIndex = (UInt32Value)71U }); r.Append(CreateNumericCell("P30", 72U, bendHighThreshold)); r.Append(new Cell() { CellReference = "Q30", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); sheetData2.Append(CreateReportBlankRow(31U)); sheetData2.Append(CreateReportBlankRow(32U)); if (bBendPass) { sheetData2.Append(CreatePassRow(33U)); } else { sheetData2.Append(CreateFailRow(33U)); } sheetData2.Append(CreateReportBlankRow(34U)); sheetData2.Append(CreateReportBlankRow(35U)); r = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue() { InnerText = "1:18" }, Height = 11.25D, CustomHeight = true }; r.Append(CreateTextCell("A36", (UInt32Value)67U, "Shear Displacement")); r.Append(new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "L36", StyleIndex = (UInt32Value)68U }); r.Append(new Cell() { CellReference = "M36", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "N36", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "O36", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "P36", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "Q36", StyleIndex = (UInt32Value)58U }); r.Append(new Cell() { CellReference = "R36", StyleIndex = (UInt32Value)58U }); 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)33U }); r.Append(new Cell() { CellReference = "B37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K37", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L37", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M37", (UInt32Value)80U, string.Format("Shear Displacement({0})", shearUnits))); r.Append(new Cell() { CellReference = "N37", StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = "O37", StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = "P37", StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = "Q37", StyleIndex = (UInt32Value)80U }); r.Append(new Cell() { CellReference = "R37", StyleIndex = (UInt32Value)80U }); 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)33U }); r.Append(new Cell() { CellReference = "B38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K38", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L38", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M38", (UInt32Value)81U, "Max")); r.Append(new Cell() { CellReference = "N38", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O38", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P38", 72U, shearMax)); r.Append(new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K39", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L39", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M39", (UInt32Value)81U, "Required Min")); r.Append(new Cell() { CellReference = "N39", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O39", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P39", 72U, shearMaxTime)); r.Append(new Cell() { CellReference = "Q39", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R39", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K40", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L40", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M40", 81U, "Min")); r.Append(new Cell() { CellReference = "N40", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O40", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P40", 72U, shearMin)); r.Append(new Cell() { CellReference = "Q40", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R40", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K41", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L41", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M41", (UInt32Value)81U, "Time of Min")); r.Append(new Cell() { CellReference = "N41", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O41", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P41", 72U, shearMinTime)); r.Append(new Cell() { CellReference = "Q41", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R41", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); sheetData2.Append(CreateReportBlankRow(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)33U }); r.Append(new Cell() { CellReference = "B43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K43", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L43", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M43", (UInt32Value)81U, "Required Min")); r.Append(new Cell() { CellReference = "N43", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O43", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P43", 72U, shearLowThreshold)); r.Append(new Cell() { CellReference = "Q43", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R43", StyleIndex = (UInt32Value)72U }); 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)33U }); r.Append(new Cell() { CellReference = "B44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "C44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "D44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "E44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "F44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "G44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "H44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "I44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "J44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "K44", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "L44", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("M44", (UInt32Value)81U, "Required Max")); r.Append(new Cell() { CellReference = "N44", StyleIndex = (UInt32Value)81U }); r.Append(new Cell() { CellReference = "O44", StyleIndex = (UInt32Value)81U }); r.Append(CreateNumericCell("P44", 72U, shearHighThreshold)); r.Append(new Cell() { CellReference = "Q44", StyleIndex = (UInt32Value)72U }); r.Append(new Cell() { CellReference = "R44", StyleIndex = (UInt32Value)72U }); sheetData2.Append(r); sheetData2.Append(CreateReportBlankRow(45U)); sheetData2.Append(CreateReportBlankRow(46U)); if( bSheerPass ){ sheetData2.Append(CreatePassRow(47U));} else{ sheetData2.Append(CreateFailRow(47U));} for( uint i = 48; i <=67; i ++ ){ sheetData2.Append(CreateReportBlankRow(i));} MergeCells m = new MergeCells() { Count = (UInt32Value)80U }; m.Append(new MergeCell() { Reference = "N33:Q33" }); m.Append(new MergeCell() { Reference = "N47:Q47" }); m.Append(new MergeCell() { Reference = "D1:R1" }); m.Append(new MergeCell() { Reference = "D2:R2" }); m.Append(new MergeCell() { Reference = "M30:O30" }); 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 = "M41:O41" }); m.Append(new MergeCell() { Reference = "M27:O27" }); m.Append(new MergeCell() { Reference = "M29:O29" }); 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 = "A22:L22" }); m.Append(new MergeCell() { Reference = "A36:L36" }); m.Append(new MergeCell() { Reference = "N19:Q19" }); 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 = "A7:B7" }); 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 = "E7:G7" }); 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 = "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 = "C7:D7" }); 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 = "H7:I7" }); 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 = "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 = "M39:O39" }); m.Append(new MergeCell() { Reference = "M40:O40" }); m.Append(new MergeCell() { Reference = "P38:R38" }); 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" }); 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 = "9525"; Xdr.RowId rowId3 = new Xdr.RowId(); rowId3.Text = "22"; Xdr.RowOffset rowOffset3 = new Xdr.RowOffset(); rowOffset3.Text = "19050"; 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 = "285750"; Xdr.RowId rowId4 = new Xdr.RowId(); rowId4.Text = "35"; Xdr.RowOffset rowOffset4 = new Xdr.RowOffset(); rowOffset4.Text = "0"; 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); worksheetDrawing1.Append(twoCellAnchor1); worksheetDrawing1.Append(twoCellAnchor2); worksheetDrawing1.Append(twoCellAnchor3); drawingsPart1.WorksheetDrawing = worksheetDrawing1; } // Generates content of chartPart1. private void GenerateShearChartContent(ChartPart chartPart1, double [] shearX, double [] shearY, string shearUnits, string timeUnits, double shearLowThreshold, double shearHighThreshold, double? rangeMin, double? rangeMax ) { double shearDomainMin = shearX.Length > 0 ? shearX.Min() : 0; double shearDomainMax = shearX.Length > 0 ? shearX.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 = "Shear"; 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 + shearX.Length); C.NumberingCache numberingCache1 = new C.NumberingCache(); C.FormatCode formatCode1 = new C.FormatCode(); formatCode1.Text = "General"; C.PointCount pointCount1 = new C.PointCount() { Val = (UInt32Value)System.Convert.ToUInt32(shearX.Length)}; numberingCache1.Append(formatCode1); numberingCache1.Append(pointCount1); for (int i = 0; i < shearX.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = shearX[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!$T$2:$T${0}", 1+ shearY.Length); C.NumberingCache numberingCache2 = new C.NumberingCache(); C.FormatCode formatCode2 = new C.FormatCode(); formatCode2.Text = "General"; C.PointCount pointCount2 = new C.PointCount() { Val = (UInt32Value)System.Convert.ToUInt32(shearY.Length) }; numberingCache2.Append(formatCode2); numberingCache2.Append(pointCount2); for (int i = 0; i < shearY.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = shearY[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 = shearDomainMin.ToString(); numericPoint23.Append(numericValue25); C.NumericPoint numericPoint24 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue26 = new C.NumericValue(); numericValue26.Text = shearDomainMax.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 = shearLowThreshold.ToString(); numericPoint25.Append(numericValue27); C.NumericPoint numericPoint26 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue28 = new C.NumericValue(); numericValue28.Text = shearLowThreshold.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 rgbColorModelHex = new A.RgbColorModelHex() { Val = "A52A2A" }; solidFill3.Append(rgbColorModelHex); 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 = shearDomainMin.ToString(); numericPoint27.Append(numericValue30); C.NumericPoint numericPoint28 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue31 = new C.NumericValue(); numericValue31.Text = shearDomainMax.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 = shearHighThreshold.ToString(); numericPoint29.Append(numericValue32); C.NumericPoint numericPoint30 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue33 = new C.NumericValue(); numericValue33.Text = shearHighThreshold.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)49041792U }; C.AxisId axisId2 = new C.AxisId() { Val = (UInt32Value)49043328U }; 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)49041792U }; 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)49043328U }; 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)49043328U }; 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)49041792U }; 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.70000000000000018D, Right = 0.70000000000000018D, Top = 0.75000000000000022D, Bottom = 0.75000000000000022D, Header = 0.3000000000000001D, Footer = 0.3000000000000001D }; 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 GenerateBendChartContent(ChartPart chartPart2, double [] bendX, double [] bendY, double bendLowThreshold, double bendHighThreshold, double? rangeMin, double? rangeMax) { double accelDomainMin = bendX.Length > 0 ? bendX.Min() : 0; double accelDomainMax = bendY.Length > 0 ? bendY.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 = "acc-x"; 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 = "0070C0" }; 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!$G$2:$G${0}", 1+bendX.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(bendX.Length) }; numberingCache7.Append(formatCode7); numberingCache7.Append(pointCount7); for (int i = 0; i < bendX.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = bendX[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!$S$2:$S${0}", 1+bendY.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(bendY.Length) }; numberingCache8.Append(formatCode8); numberingCache8.Append(pointCount8); for (int i = 0; i < bendY.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = bendY[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!$I$2:$I$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 = accelDomainMin.ToString(); numericPoint53.Append(numericValue58); C.NumericPoint numericPoint54 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue59 = new C.NumericValue(); numericValue59.Text = accelDomainMax.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!$J$2:$J$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 = bendLowThreshold.ToString(); numericPoint55.Append(numericValue60); C.NumericPoint numericPoint56 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue61 = new C.NumericValue(); numericValue61.Text = bendLowThreshold.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!$K$2:$K$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 = accelDomainMin.ToString(); numericPoint57.Append(numericValue63); C.NumericPoint numericPoint58 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue64 = new C.NumericValue(); numericValue64.Text = accelDomainMax.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!$L$2:$L$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 = bendHighThreshold.ToString(); numericPoint59.Append(numericValue65); C.NumericPoint numericPoint60 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue66 = new C.NumericValue(); numericValue66.Text = bendHighThreshold.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)116277248U }; C.AxisId axisId6 = new C.AxisId() { Val = (UInt32Value)116433280U }; 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)116277248U }; 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)116433280U }; 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)116433280U }; 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)116277248U }; 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.70000000000000018D, Right = 0.70000000000000018D, Top = 0.75000000000000022D, Bottom = 0.75000000000000022D, Header = 0.3000000000000001D, Footer = 0.3000000000000001D }; C.PageSetup pageSetup3 = new C.PageSetup(); 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 GenerateAccelChartContent(ChartPart chartPart3, double [] accelX, double [] accelY, double accelLowThreshold, double accelHighThreshold, string accelUnits, string timeUnits, double? rangeMin, double? rangeMax) { double accelDomainMin = accelX.Length > 0 ? accelX.Min() : 0; double accelDomainMax = accelX.Length > 0 ? accelX.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 = "Acc"; 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 = "FF0000" }; 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!$A$2:$A${0}", 1+accelX.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(accelX.Length) }; numberingCache13.Append(formatCode13); numberingCache13.Append(pointCount13); for (int i = 0; i < accelX.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = accelX[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!$B$2:$B${0}", 1+accelY.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(accelY.Length) }; numberingCache14.Append(formatCode14); numberingCache14.Append(pointCount14); for (int i = 0; i < accelY.Length; i++) { C.NumericPoint p = new C.NumericPoint() { Index = (UInt32Value)Convert.ToUInt32(i) }; p.Append(new C.NumericValue() { Text = accelY[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!$C$2:$C$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 = accelDomainMin.ToString(); numericPoint83.Append(numericValue91); C.NumericPoint numericPoint84 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue92 = new C.NumericValue(); numericValue92.Text = accelDomainMax.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!$D$2:$D$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 = accelLowThreshold.ToString(); numericPoint85.Append(numericValue93); C.NumericPoint numericPoint86 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue94 = new C.NumericValue(); numericValue94.Text = accelLowThreshold.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!$E$2:$E$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 = accelDomainMin.ToString(); numericPoint87.Append(numericValue96); C.NumericPoint numericPoint88 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue97 = new C.NumericValue(); numericValue97.Text = accelDomainMax.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!$F$2:$F$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 = accelHighThreshold.ToString(); numericPoint89.Append(numericValue98); C.NumericPoint numericPoint90 = new C.NumericPoint() { Index = (UInt32Value)1U }; C.NumericValue numericValue99 = new C.NumericValue(); numericValue99.Text = accelHighThreshold.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)46586112U }; C.AxisId axisId10 = new C.AxisId() { Val = (UInt32Value)46584576U }; 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)46586112U }; 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)46584576U }; 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)46584576U }; 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)46586112U }; 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.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; 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 spreadsheetPrinterSettingsPart1. private void GenerateSpreadsheetPrinterSettingsPart1Content(SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart1) { System.IO.Stream data = GetBinaryDataStream(spreadsheetPrinterSettingsPart1Data); spreadsheetPrinterSettingsPart1.FeedData(data); data.Close(); } private Cell CreateTextCell(string reference, UInt32Value style, string text) { Cell c = new Cell() { CellReference = reference, StyleIndex = style, DataType = CellValues.SharedString }; c.Append(new CellValue() { Text = InsertSharedStringItem(text).ToString() }); return c; } private Row CreateBlankHalfRow(UInt32Value idx) { Row r = new Row() { RowIndex = 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; } private Row CreateBlankRow(UInt32Value idx) { Row r = new Row() { RowIndex = 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 }); r.Append(new Cell() { CellReference = string.Format("P{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("Q{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("R{0}",idx), StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = string.Format("S{0}",idx), StyleIndex = (UInt32Value)2U }); 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; } // Generates content of worksheetPart3. private void GenerateTopsheetContent(WorksheetPart worksheetPart3, string testRefNumber, string testTimeInfo, string carName, string testTemperature, string measuringPoint, string collisionSpeed, string impactorId, string impactorType, string impactorWeight, string studyPersonnel, string and1, string and2, string testCFC, string accelerationUnits, string displacementUnits, string timeUnits, bool bOverallStatus, string model) { 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() { 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(CreateTextCell("P1", (UInt32Value)84U, "LWR Leg(E-PLI)")); r.Append(new Cell() { CellReference = "Q1", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "R1", StyleIndex = (UInt32Value)86U }); 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(CreateTextCell("P2", (UInt32Value)16U, "検定")); r.Append(new Cell() { CellReference = "Q2", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "R2", StyleIndex = (UInt32Value)18U }); 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(CreateBlankRow((UInt32Value)3U)); sheetData3.Append(CreateBlankRow((UInt32Value)4U)); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P6", (UInt32Value)10U, "試験NO")); AddCollectionReference("試験NO", "U6"); r.Append(new Cell() { CellReference = "Q6", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R6", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "S6", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "T6", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U6", (UInt32Value)5U, testRefNumber)); r.Append(new Cell() { CellReference = "V6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA6", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB6", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC6", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD6", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P8", (UInt32Value)8U, "試験実施日")); AddCollectionReference("試験実施日", "U8"); r.Append(new Cell() { CellReference = "Q8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S8", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T8", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U8", (UInt32Value)5U, testTimeInfo)); r.Append(new Cell() { CellReference = "V8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA8", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB8", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC8", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD8", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P10", (UInt32Value)8U, "車名")); AddCollectionReference("車名", "U10"); r.Append(new Cell() { CellReference = "Q10", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R10", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S10", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T10", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U10", (UInt32Value)5U, carName)); r.Append(new Cell() { CellReference = "V10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA10", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB10", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC10", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD10", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P12", (UInt32Value)8U, "型式")); AddCollectionReference("型式", "U12"); r.Append(new Cell() { CellReference = "Q12", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R12", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S12", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T12", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U12", (UInt32Value)5U, model)); r.Append(new Cell() { CellReference = "V12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA12", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB12", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC12", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD12", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P14", (UInt32Value)8U, "試験温度")); AddCollectionReference("試験温度", "U14"); r.Append(new Cell() { CellReference = "Q14", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R14", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S14", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T14", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U14", (UInt32Value)5U, testTemperature)); r.Append(new Cell() { CellReference = "V14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA14", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB14", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC14", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD14", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P16", (UInt32Value)8U, "測定点")); AddCollectionReference("測定点", "U16"); r.Append(new Cell() { CellReference = "Q16", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R16", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S16", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T16", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U16", (UInt32Value)5U, measuringPoint)); r.Append(new Cell() { CellReference = "V16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA16", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB16", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC16", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD16", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P18", (UInt32Value)8U, "衝突速度")); AddCollectionReference("衝突速度", "U18"); r.Append(new Cell() { CellReference = "Q18", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R18", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S18", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T18", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U18", (UInt32Value)5U, collisionSpeed)); r.Append(new Cell() { CellReference = "V18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA18", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB18", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC18", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD18", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("C20", (UInt32Value)14U, "評価部位")); r.Append(new Cell() { CellReference = "D20", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "E20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F20", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("G20", (UInt32Value)84U, "LWR LEG(E-PLI)")); r.Append(new Cell() { CellReference = "H20", StyleIndex = (UInt32Value)85U }); r.Append(new Cell() { CellReference = "I20", StyleIndex = (UInt32Value)86U }); 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(CreateTextCell("P20", (UInt32Value)8U, "インパクタID")); AddCollectionReference("インパクタID", "U20"); r.Append(new Cell() { CellReference = "Q20", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R20", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S20", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T20", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U20", (UInt32Value)5U, impactorId)); r.Append(new Cell() { CellReference = "V20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA20", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB20", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC20", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD20", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("C22", (UInt32Value)14U, "種類")); r.Append(new Cell() { CellReference = "D22", StyleIndex = (UInt32Value)15U }); r.Append(new Cell() { CellReference = "E22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F22", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("G22", (UInt32Value)16U, "検定")); r.Append(new Cell() { CellReference = "H22", StyleIndex = (UInt32Value)17U }); r.Append(new Cell() { CellReference = "I22", StyleIndex = (UInt32Value)18U }); 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(CreateTextCell("P22", (UInt32Value)8U, "インパクタ種類")); AddCollectionReference("インパクタ種類", "U22"); r.Append(new Cell() { CellReference = "Q22", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R22", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S22", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T22", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U22", (UInt32Value)5U, impactorType)); r.Append(new Cell() { CellReference = "V22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA22", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB22", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC22", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD22", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P24", (UInt32Value)8U, "インパクタ重量")); AddCollectionReference("インパクタ重量", "U24"); r.Append(new Cell() { CellReference = "Q24", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R24", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S24", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T24", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U24", (UInt32Value)5U, impactorWeight)); r.Append(new Cell() { CellReference = "V24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA24", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB24", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC24", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD24", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P26", (UInt32Value)10U, "試験担当者")); AddCollectionReference("試験担当者", "U26"); r.Append(new Cell() { CellReference = "Q26", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R26", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "S26", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "T26", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("U26", (UInt32Value)5U, studyPersonnel)); r.Append(new Cell() { CellReference = "V26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA26", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB26", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC26", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD26", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("Q28", (UInt32Value)10U, "予備1")); AddCollectionReference("予備1", "U28"); r.Append(new Cell() { CellReference = "R28", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T28", StyleIndex = (UInt32Value)10U }); r.Append(CreateTextCell("U28", (UInt32Value)29U, and1)); r.Append(new Cell() { CellReference = "V28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA28", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB28", StyleIndex = (UInt32Value)32U }); r.Append(new Cell() { CellReference = "AC28", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD28", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("Q30", (UInt32Value)10U, "予備2")); AddCollectionReference("予備2", "U30"); r.Append(new Cell() { CellReference = "R30", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T30", StyleIndex = (UInt32Value)10U }); r.Append(CreateTextCell("U30", (UInt32Value)5U, and2)); r.Append(new Cell() { CellReference = "V30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA30", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB30", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC30", StyleIndex = (UInt32Value)34U }); r.Append(new Cell() { CellReference = "AD30", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P32", (UInt32Value)8U, "選択自動表示項目")); r.Append(new Cell() { CellReference = "Q32", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R32", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S32", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "U32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "V32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "W32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "X32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "Y32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "Z32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "AA32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "AB32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "AC32", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "AD32", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); r = new Row() { RowIndex = (UInt32Value)33U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N33", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O33", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("P33", (UInt32Value)8U, "周波数クラス")); AddCollectionReference("周波数クラス", "U33"); r.Append(new Cell() { CellReference = "Q33", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "R33", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "S33", StyleIndex = (UInt32Value)9U }); r.Append(new Cell() { CellReference = "T33", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("U33", (UInt32Value)29U, testCFC)); r.Append(new Cell() { CellReference = "V33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA33", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB33", StyleIndex = (UInt32Value)32U }); r.Append(new Cell() { CellReference = "AC33", StyleIndex = (UInt32Value)33U }); r.Append(new Cell() { CellReference = "AD33", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)34U)); 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(CreateTextCell("P35", (UInt32Value)11U, "UNIT")); r.Append(new Cell() { CellReference = "Q35", StyleIndex = (UInt32Value)11U }); r.Append(new Cell() { CellReference = "R35", StyleIndex = (UInt32Value)11U }); r.Append(new Cell() { CellReference = "S35", StyleIndex = (UInt32Value)11U }); r.Append(new Cell() { CellReference = "T35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "U35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "V35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "W35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "X35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Y35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "Z35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AA35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AB35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AC35", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD35", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); r = new Row() { RowIndex = (UInt32Value)36U, Spans = new ListValue() { InnerText = "1:30" }, Height = 14.25D, CustomHeight = true, ThickBot = true }; r.Append(new Cell() { CellReference = "A36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "B36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "C36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "D36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "E36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "F36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "G36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "H36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "I36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "J36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "K36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "L36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "M36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "N36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "O36", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("P36", (UInt32Value)10U, "Acceleration")); r.Append(new Cell() { CellReference = "Q36", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "R36", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "S36", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "T36", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U36", (UInt32Value)5U, accelerationUnits)); r.Append(new Cell() { CellReference = "V36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA36", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB36", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC36", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD36", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)37U)); 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(CreateTextCell("P38", (UInt32Value)10U, "Displacement")); r.Append(new Cell() { CellReference = "Q38", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "R38", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "S38", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "T38", StyleIndex = (UInt32Value)2U }); r.Append(CreateTextCell("U38", (UInt32Value)5U, displacementUnits)); r.Append(new Cell() { CellReference = "V38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA38", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB38", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC38", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD38", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)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(CreateTextCell("P40", (UInt32Value)10U, "Time")); r.Append(new Cell() { CellReference = "Q40", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "R40", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "S40", StyleIndex = (UInt32Value)10U }); r.Append(new Cell() { CellReference = "T40", StyleIndex = (UInt32Value)33U }); r.Append(CreateTextCell("U40", (UInt32Value)5U, timeUnits)); r.Append(new Cell() { CellReference = "V40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "W40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "X40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Y40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "Z40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AA40", StyleIndex = (UInt32Value)6U }); r.Append(new Cell() { CellReference = "AB40", StyleIndex = (UInt32Value)7U }); r.Append(new Cell() { CellReference = "AC40", StyleIndex = (UInt32Value)2U }); r.Append(new Cell() { CellReference = "AD40", StyleIndex = (UInt32Value)2U }); sheetData3.Append(r); sheetData3.Append(CreateBlankRow((UInt32Value)41U)); sheetData3.Append(CreateBlankRow((UInt32Value)42U)); sheetData3.Append(CreateBlankRow((UInt32Value)43U)); if (!bOverallStatus) { 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(CreateTextCell("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 }); sheetData3.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 }); sheetData3.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 }); sheetData3.Append(r); } else { 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(CreateTextCell("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 }); sheetData3.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 }); sheetData3.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 }); sheetData3.Append(r); } for (uint i = 47; i <= 53; i++) { sheetData3.Append(CreateBlankRow((UInt32Value)i)); } /*for (uint i = 54; i <= 106; i++) { sheetData3.Append(CreateBlankHalfRow((UInt32Value)i)); }*/ MergeCells mergeCells2 = new MergeCells() { Count = (UInt32Value)42U }; mergeCells2.Append(new MergeCell() { Reference = "R44:AB46" }); mergeCells2.Append(new MergeCell() { Reference = "P24:S24" }); mergeCells2.Append(new MergeCell() { Reference = "U22:AB22" }); mergeCells2.Append(new MergeCell() { Reference = "C20:D20" }); mergeCells2.Append(new MergeCell() { Reference = "C22:D22" }); mergeCells2.Append(new MergeCell() { Reference = "G20:I20" }); mergeCells2.Append(new MergeCell() { Reference = "G22:I22" }); mergeCells2.Append(new MergeCell() { Reference = "P1:R1" }); mergeCells2.Append(new MergeCell() { Reference = "P2:R2" }); mergeCells2.Append(new MergeCell() { Reference = "P18:S18" }); mergeCells2.Append(new MergeCell() { Reference = "P14:S14" }); mergeCells2.Append(new MergeCell() { Reference = "P16:S16" }); mergeCells2.Append(new MergeCell() { Reference = "P20:S20" }); mergeCells2.Append(new MergeCell() { Reference = "P38:S38" }); mergeCells2.Append(new MergeCell() { Reference = "Q30:R30" }); mergeCells2.Append(new MergeCell() { Reference = "P40:S40" }); mergeCells2.Append(new MergeCell() { Reference = "P32:S32" }); mergeCells2.Append(new MergeCell() { Reference = "P33:S33" }); mergeCells2.Append(new MergeCell() { Reference = "P36:S36" }); mergeCells2.Append(new MergeCell() { Reference = "P35:S35" }); mergeCells2.Append(new MergeCell() { Reference = "P26:S26" }); mergeCells2.Append(new MergeCell() { Reference = "P22:S22" }); mergeCells2.Append(new MergeCell() { Reference = "Q28:R28" }); mergeCells2.Append(new MergeCell() { Reference = "U6:AB6" }); mergeCells2.Append(new MergeCell() { Reference = "U8:AB8" }); mergeCells2.Append(new MergeCell() { Reference = "U10:AB10" }); mergeCells2.Append(new MergeCell() { Reference = "U12:AB12" }); mergeCells2.Append(new MergeCell() { Reference = "P12:S12" }); mergeCells2.Append(new MergeCell() { Reference = "P10:S10" }); mergeCells2.Append(new MergeCell() { Reference = "P8:S8" }); mergeCells2.Append(new MergeCell() { Reference = "P6:S6" }); mergeCells2.Append(new MergeCell() { Reference = "U14:AB14" }); mergeCells2.Append(new MergeCell() { Reference = "U16:AB16" }); mergeCells2.Append(new MergeCell() { Reference = "U18:AB18" }); mergeCells2.Append(new MergeCell() { Reference = "U20:AB20" }); mergeCells2.Append(new MergeCell() { Reference = "U24:AB24" }); mergeCells2.Append(new MergeCell() { Reference = "U26:AB26" }); mergeCells2.Append(new MergeCell() { Reference = "U28:AB28" }); mergeCells2.Append(new MergeCell() { Reference = "U30:AB30" }); mergeCells2.Append(new MergeCell() { Reference = "U38:AB38" }); mergeCells2.Append(new MergeCell() { Reference = "U40:AB40" }); mergeCells2.Append(new MergeCell() { Reference = "U36:AB36" }); mergeCells2.Append(new MergeCell() { Reference = "U33:AB33" }); PageMargins pageMargins6 = new PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D }; PageSetup pageSetup5 = 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(mergeCells2); worksheet3.Append(pageMargins6); worksheet3.Append(pageSetup5); 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 twoCellAnchor4 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker4 = new Xdr.FromMarker(); Xdr.ColumnId columnId7 = new Xdr.ColumnId(); columnId7.Text = "1"; Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset(); columnOffset7.Text = "95250"; Xdr.RowId rowId7 = new Xdr.RowId(); rowId7.Text = "8"; 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 = "13"; Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset(); columnOffset8.Text = "314325"; Xdr.RowId rowId8 = new Xdr.RowId(); rowId8.Text = "16"; Xdr.RowOffset rowOffset8 = new Xdr.RowOffset(); rowOffset8.Text = "0"; toMarker4.Append(columnId8); toMarker4.Append(columnOffset8); toMarker4.Append(rowId8); toMarker4.Append(rowOffset8); Xdr.Shape shape1 = new Xdr.Shape() { Macro = "", TextLink = "" }; Xdr.NonVisualShapeProperties nonVisualShapeProperties1 = new Xdr.NonVisualShapeProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = 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(nonVisualDrawingProperties4); nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1); Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto }; A.Transform2D transform2D1 = new A.Transform2D(); A.Offset offset4 = new A.Offset() { X = 476250L, Y = 1457325L }; A.Extents extents4 = new A.Extents() { Cx = 4791075L, Cy = 1438275L }; transform2D1.Append(offset4); transform2D1.Append(extents4); A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList1 = new A.AdjustValueList(); presetGeometry1.Append(adjustValueList1); A.SolidFill solidFill13 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "FFFFFF" }; solidFill13.Append(rgbColorModelHex4); A.Outline outline13 = new A.Outline() { Width = 9525 }; A.SolidFill solidFill14 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "000000" }; solidFill14.Append(rgbColorModelHex5); A.Miter miter1 = new A.Miter() { Limit = 800000 }; A.HeadEnd headEnd1 = new A.HeadEnd(); A.TailEnd tailEnd1 = new A.TailEnd(); outline13.Append(solidFill14); outline13.Append(miter1); outline13.Append(headEnd1); outline13.Append(tailEnd1); shapeProperties1.Append(transform2D1); shapeProperties1.Append(presetGeometry1); shapeProperties1.Append(solidFill13); shapeProperties1.Append(outline13); 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 solidFill15 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "000000" }; solidFill15.Append(rgbColorModelHex6); A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; runProperties1.Append(solidFill15); 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 solidFill16 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "000000" }; solidFill16.Append(rgbColorModelHex7); A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; runProperties2.Append(solidFill16); 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 solidFill17 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "000000" }; solidFill17.Append(rgbColorModelHex8); A.LatinFont latinFont3 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont3 = new A.EastAsianFont() { Typeface = "+mn-ea" }; runProperties3.Append(solidFill17); 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 solidFill18 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "000000" }; solidFill18.Append(rgbColorModelHex9); A.LatinFont latinFont4 = new A.LatinFont() { Typeface = "Segoe UI", PitchFamily = 34, CharacterSet = 0 }; A.EastAsianFont eastAsianFont4 = new A.EastAsianFont() { Typeface = "MS Pゴシック" }; endParagraphRunProperties1.Append(solidFill18); 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 clientData4 = new Xdr.ClientData(); twoCellAnchor4.Append(fromMarker4); twoCellAnchor4.Append(toMarker4); twoCellAnchor4.Append(shape1); twoCellAnchor4.Append(clientData4); worksheetDrawing2.Append(twoCellAnchor4); 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 numberingFormat7 = new NumberingFormat() { NumberFormatId = (UInt32Value)164U, FormatCode = "#,##0.0000" }; numberingFormats1.Append(numberingFormat7); 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 = "FF00FFFF" }; 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)32U }; 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(); RightBorder rightBorder23 = new RightBorder(); TopBorder topBorder23 = new TopBorder() { Style = BorderStyleValues.Thin }; Color color89 = new Color() { Indexed = (UInt32Value)64U }; topBorder23.Append(color89); BottomBorder bottomBorder23 = new BottomBorder(); 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() { Style = BorderStyleValues.Medium }; Color color90 = new Color() { Indexed = (UInt32Value)64U }; leftBorder24.Append(color90); 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(); TopBorder topBorder25 = new TopBorder(); BottomBorder bottomBorder25 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color92 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder25.Append(color92); 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(); RightBorder rightBorder26 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color93 = new Color() { Indexed = (UInt32Value)64U }; rightBorder26.Append(color93); TopBorder topBorder26 = new TopBorder(); BottomBorder bottomBorder26 = new BottomBorder() { Style = BorderStyleValues.Medium }; Color color94 = new Color() { Indexed = (UInt32Value)64U }; bottomBorder26.Append(color94); 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() { Style = BorderStyleValues.Medium }; Color color95 = new Color() { Auto = true }; leftBorder27.Append(color95); 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(); TopBorder topBorder28 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color97 = new Color() { Auto = true }; topBorder28.Append(color97); 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(); RightBorder rightBorder29 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color98 = new Color() { Auto = true }; rightBorder29.Append(color98); TopBorder topBorder29 = new TopBorder() { Style = BorderStyleValues.Medium }; Color color99 = new Color() { Auto = true }; topBorder29.Append(color99); 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() { Style = BorderStyleValues.Medium }; Color color100 = new Color() { Auto = true }; leftBorder30.Append(color100); RightBorder rightBorder30 = new RightBorder(); 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(); RightBorder rightBorder31 = new RightBorder() { Style = BorderStyleValues.Medium }; Color color101 = new Color() { Auto = true }; rightBorder31.Append(color101); 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); Border border32 = new Border(); LeftBorder leftBorder32 = new LeftBorder() { Style = BorderStyleValues.Thin }; Color color102 = new Color() { Auto = true }; leftBorder32.Append(color102); RightBorder rightBorder32 = new RightBorder(); TopBorder topBorder32 = new TopBorder(); BottomBorder bottomBorder32 = new BottomBorder(); DiagonalBorder diagonalBorder32 = new DiagonalBorder(); border32.Append(leftBorder32); border32.Append(rightBorder32); border32.Append(topBorder32); border32.Append(bottomBorder32); border32.Append(diagonalBorder32); 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); borders1.Append(border32); 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)94U }; 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)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U }; CellFormat cellFormat54 = 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 alignment2 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat54.Append(alignment2); CellFormat cellFormat55 = 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 alignment3 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat55.Append(alignment3); CellFormat cellFormat56 = 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 alignment4 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat56.Append(alignment4); CellFormat cellFormat57 = 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 alignment5 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat57.Append(alignment5); CellFormat cellFormat58 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment6 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat58.Append(alignment6); CellFormat cellFormat59 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment7 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat59.Append(alignment7); CellFormat cellFormat60 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)23U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment8 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat60.Append(alignment8); CellFormat cellFormat61 = 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 alignment9 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat61.Append(alignment9); CellFormat cellFormat62 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)13U, FormatId = (UInt32Value)1U, ApplyFont = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment10 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat62.Append(alignment10); CellFormat cellFormat63 = 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 alignment11 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat63.Append(alignment11); CellFormat cellFormat64 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyAlignment = true }; Alignment alignment12 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat64.Append(alignment12); CellFormat cellFormat65 = 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 alignment13 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat65.Append(alignment13); CellFormat cellFormat66 = 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 alignment14 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center }; cellFormat66.Append(alignment14); CellFormat cellFormat67 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)19U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)1U, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat68 = 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 alignment15 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat68.Append(alignment15); CellFormat cellFormat69 = 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 alignment16 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat69.Append(alignment16); CellFormat cellFormat70 = 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 alignment17 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat70.Append(alignment17); CellFormat cellFormat71 = 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 alignment18 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat71.Append(alignment18); CellFormat cellFormat72 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)22U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment19 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat72.Append(alignment19); CellFormat cellFormat73 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyAlignment = true }; Alignment alignment20 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat73.Append(alignment20); CellFormat cellFormat74 = 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 alignment21 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat74.Append(alignment21); CellFormat cellFormat75 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)18U, FormatId = (UInt32Value)0U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment22 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat75.Append(alignment22); CellFormat cellFormat76 = 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 alignment23 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, Indent = (UInt32Value)1U, ShrinkToFit = true }; cellFormat76.Append(alignment23); CellFormat cellFormat77 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)0U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U }; CellFormat cellFormat78 = 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 alignment24 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat78.Append(alignment24); CellFormat cellFormat79 = 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 alignment25 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat79.Append(alignment25); CellFormat cellFormat80 = 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 alignment26 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat80.Append(alignment26); CellFormat cellFormat81 = 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 alignment27 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat81.Append(alignment27); CellFormat cellFormat82 = 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 cellFormat83 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true }; CellFormat cellFormat84 = 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 }; cellFormat84.Append(alignment28); CellFormat cellFormat85 = 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 }; cellFormat85.Append(alignment29); CellFormat cellFormat86 = 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 }; cellFormat86.Append(alignment30); CellFormat cellFormat87 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)29U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment31 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat87.Append(alignment31); CellFormat cellFormat88 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment32 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat88.Append(alignment32); CellFormat cellFormat89 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)30U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment33 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat89.Append(alignment33); CellFormat cellFormat90 = 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 }; cellFormat90.Append(alignment34); CellFormat cellFormat91 = 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 }; cellFormat91.Append(alignment35); CellFormat cellFormat92 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)7U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)25U, FormatId = (UInt32Value)47U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment36 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat92.Append(alignment36); CellFormat cellFormat93 = 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 }; cellFormat93.Append(alignment37); CellFormat cellFormat94 = 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 }; cellFormat94.Append(alignment38); CellFormat cellFormat95 = 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 }; cellFormat95.Append(alignment39); CellFormat cellFormat96 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)29U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment40 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat96.Append(alignment40); CellFormat cellFormat97 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment41 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat97.Append(alignment41); CellFormat cellFormat98 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)30U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment42 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat98.Append(alignment42); CellFormat cellFormat99 = 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 }; cellFormat99.Append(alignment43); CellFormat cellFormat100 = 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 }; cellFormat100.Append(alignment44); CellFormat cellFormat101 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)6U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)25U, FormatId = (UInt32Value)46U, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment45 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat101.Append(alignment45); CellFormat cellFormat102 = 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 alignment46 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat102.Append(alignment46); CellFormat cellFormat103 = 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 alignment47 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat103.Append(alignment47); CellFormat cellFormat104 = 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 alignment48 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat104.Append(alignment48); CellFormat cellFormat105 = 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 alignment49 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center }; cellFormat105.Append(alignment49); CellFormat cellFormat106 = 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 alignment50 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center }; cellFormat106.Append(alignment50); CellFormat cellFormat107 = 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 alignment51 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat107.Append(alignment51); CellFormat cellFormat108 = 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 alignment52 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat108.Append(alignment52); CellFormat cellFormat109 = 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 alignment53 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat109.Append(alignment53); CellFormat cellFormat110 = 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 alignment54 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat110.Append(alignment54); CellFormat cellFormat111 = 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 cellFormat112 = 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 alignment55 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat112.Append(alignment55); CellFormat cellFormat113 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)14U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment56 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat113.Append(alignment56); CellFormat cellFormat114 = 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 alignment57 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat114.Append(alignment57); CellFormat cellFormat115 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)31U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = 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)24U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = 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)32U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment60 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat117.Append(alignment60); CellFormat cellFormat118 = 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 alignment61 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat118.Append(alignment61); CellFormat cellFormat119 = 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 alignment62 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat119.Append(alignment62); CellFormat cellFormat120 = 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 alignment63 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat120.Append(alignment63); CellFormat cellFormat121 = 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 alignment64 = new Alignment() { Horizontal = HorizontalAlignmentValues.Right, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat121.Append(alignment64); CellFormat cellFormat122 = 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 alignment65 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat122.Append(alignment65); CellFormat cellFormat123 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)47U, ApplyFont = true, ApplyBorder = 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)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)47U, ApplyFont = 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)36U, FillId = (UInt32Value)3U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)47U, ApplyFont = true, ApplyBorder = 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)36U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)46U, ApplyFont = 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)36U, FillId = (UInt32Value)2U, BorderId = (UInt32Value)10U, FormatId = (UInt32Value)46U, ApplyFont = true, ApplyBorder = 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)2U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)46U, 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)24U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment72 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat129.Append(alignment72); CellFormat cellFormat130 = 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 alignment73 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat130.Append(alignment73); CellFormat cellFormat131 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)31U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = 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)18U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = 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)22U, FillId = (UInt32Value)35U, BorderId = (UInt32Value)14U, FormatId = (UInt32Value)43U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment76 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat133.Append(alignment76); CellFormat cellFormat134 = 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 alignment77 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center }; cellFormat134.Append(alignment77); CellFormat cellFormat135 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)19U, FillId = (UInt32Value)35U, BorderId = (UInt32Value)15U, FormatId = (UInt32Value)1U, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; CellFormat cellFormat136 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)36U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)46U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment78 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat136.Append(alignment78); CellFormat cellFormat137 = 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 alignment79 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat137.Append(alignment79); CellFormat cellFormat138 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)34U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment80 = new Alignment() { Horizontal = HorizontalAlignmentValues.Center, Vertical = VerticalAlignmentValues.Center }; cellFormat138.Append(alignment80); CellFormat cellFormat139 = 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 alignment81 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat139.Append(alignment81); CellFormat cellFormat140 = 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 alignment82 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center }; cellFormat140.Append(alignment82); CellFormat cellFormat141 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)33U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyFill = true, ApplyBorder = true, ApplyAlignment = true }; Alignment alignment83 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat141.Append(alignment83); CellFormat cellFormat142 = new CellFormat() { NumberFormatId = (UInt32Value)0U, FontId = (UInt32Value)26U, FillId = (UInt32Value)0U, BorderId = (UInt32Value)0U, FormatId = (UInt32Value)0U, ApplyFont = true, ApplyAlignment = true }; Alignment alignment84 = new Alignment() { Horizontal = HorizontalAlignmentValues.Left, Vertical = VerticalAlignmentValues.Center, ShrinkToFit = true }; cellFormat142.Append(alignment84); 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); 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 color103 = new Color() { Rgb = "FF00FFFF" }; Color color104 = new Color() { Rgb = "FFCC99FF" }; Color color105 = new Color() { Rgb = "FF00FF00" }; Color color106 = new Color() { Rgb = "FF66FF66" }; mruColors1.Append(color103); mruColors1.Append(color104); mruColors1.Append(color105); mruColors1.Append(color106); 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 rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex10); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex11); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex() { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex12); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex() { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex13); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex14); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex15); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex() { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex16); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex() { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex17); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex() { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex18); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex() { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex19); 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 solidFill19 = new A.SolidFill(); A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill19.Append(schemeColor10); A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint1 = new A.Tint() { Val = 50000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 300000 }; schemeColor11.Append(tint1); schemeColor11.Append(saturationModulation1); gradientStop1.Append(schemeColor11); A.GradientStop gradientStop2 = new A.GradientStop() { Position = 35000 }; A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint2 = new A.Tint() { Val = 37000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 300000 }; schemeColor12.Append(tint2); schemeColor12.Append(saturationModulation2); gradientStop2.Append(schemeColor12); A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint3 = new A.Tint() { Val = 15000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 350000 }; schemeColor13.Append(tint3); schemeColor13.Append(saturationModulation3); gradientStop3.Append(schemeColor13); 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 schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade() { Val = 51000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 130000 }; schemeColor14.Append(shade1); schemeColor14.Append(saturationModulation4); gradientStop4.Append(schemeColor14); A.GradientStop gradientStop5 = new A.GradientStop() { Position = 80000 }; A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade() { Val = 93000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 130000 }; schemeColor15.Append(shade2); schemeColor15.Append(saturationModulation5); gradientStop5.Append(schemeColor15); A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor16 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade() { Val = 94000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 135000 }; schemeColor16.Append(shade3); schemeColor16.Append(saturationModulation6); gradientStop6.Append(schemeColor16); 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(solidFill19); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline14 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill20 = new A.SolidFill(); A.SchemeColor schemeColor17 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade4 = new A.Shade() { Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 105000 }; schemeColor17.Append(shade4); schemeColor17.Append(saturationModulation7); solidFill20.Append(schemeColor17); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline14.Append(solidFill20); outline14.Append(presetDash1); A.Outline outline15 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill21 = new A.SolidFill(); A.SchemeColor schemeColor18 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill21.Append(schemeColor18); A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline15.Append(solidFill21); outline15.Append(presetDash2); A.Outline outline16 = new A.Outline() { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill22 = new A.SolidFill(); A.SchemeColor schemeColor19 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill22.Append(schemeColor19); A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline16.Append(solidFill22); outline16.Append(presetDash3); lineStyleList1.Append(outline14); lineStyleList1.Append(outline15); lineStyleList1.Append(outline16); 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 rgbColorModelHex20 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = 38000 }; rgbColorModelHex20.Append(alpha1); outerShadow1.Append(rgbColorModelHex20); 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 rgbColorModelHex21 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha2 = new A.Alpha() { Val = 35000 }; rgbColorModelHex21.Append(alpha2); outerShadow2.Append(rgbColorModelHex21); 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 rgbColorModelHex22 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha3 = new A.Alpha() { Val = 35000 }; rgbColorModelHex22.Append(alpha3); outerShadow3.Append(rgbColorModelHex22); 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 solidFill23 = new A.SolidFill(); A.SchemeColor schemeColor20 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill23.Append(schemeColor20); A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor21 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint4 = new A.Tint() { Val = 40000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 350000 }; schemeColor21.Append(tint4); schemeColor21.Append(saturationModulation8); gradientStop7.Append(schemeColor21); A.GradientStop gradientStop8 = new A.GradientStop() { Position = 40000 }; A.SchemeColor schemeColor22 = 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 }; schemeColor22.Append(tint5); schemeColor22.Append(shade5); schemeColor22.Append(saturationModulation9); gradientStop8.Append(schemeColor22); A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor23 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade6 = new A.Shade() { Val = 20000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 255000 }; schemeColor23.Append(shade6); schemeColor23.Append(saturationModulation10); gradientStop9.Append(schemeColor23); 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 schemeColor24 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint6 = new A.Tint() { Val = 80000 }; A.SaturationModulation saturationModulation11 = new A.SaturationModulation() { Val = 300000 }; schemeColor24.Append(tint6); schemeColor24.Append(saturationModulation11); gradientStop10.Append(schemeColor24); A.GradientStop gradientStop11 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor25 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade7 = new A.Shade() { Val = 30000 }; A.SaturationModulation saturationModulation12 = new A.SaturationModulation() { Val = 200000 }; schemeColor25.Append(shade7); schemeColor25.Append(saturationModulation12); gradientStop11.Append(schemeColor25); 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(solidFill23); 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-04-19T23:03:49Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind); document.PackageProperties.LastModifiedBy = "Dan McFadden"; document.PackageProperties.LastPrinted = System.Xml.XmlConvert.ToDateTime("2013-04-19T22:28:39Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind); } #region Binary Data private string spreadsheetPrinterSettingsPart1Data = "XABcAFMARQBBAEwAQgBFAEEAQwBIAEQAQwBcAE0AYQBuAHUAZgBhAGMAdAB1AHIAaQBuAGcAAAAAAAAAAAAAAAEEAAbcABAcQ/+ABwEACQCaCzQIZAABAA8AWAICAAEAWAIDAAEAQQA0ACAAKAAyADEAMAAgAHgAIAAyADkANwAgAG0AbQApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAEAAAAAgAAAAEAAAD/////AAAAAAAAAAAAAAAAAAAAAERJTlUiAJACzAREF/xqUnAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAFwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAkAIAAFNNVEoAAAAAEACAAlgAZQByAG8AeAAgAEMAbwBsAG8AcgBRAHUAYgBlACAAOAA1ADcAMABEAE4AAABSRVNETEwAVW5pcmVzRExMAEdyYXBoaWNzTW9kZQBIUEdMMk1PREUAWHJ4VHJ1ZVR5cGVGb250RGxPcHRpb24AVFRGX0RPV05MT0FEX0FTX1RSVUVUWVBFAFhyeEVkZ2VUb0VkZ2UARURHRV9UT19FREdFX09GRgBDb2xvck1vZGUAMjRicHAAWHJ4SGFsZnRvbmUAWFJYX05PUk1BTF9IVABYRVJPWF9KT0JfU0VUVVBfQkVHSU4AQ0IAWEVST1hfSk9CX1NFVFVQX0VORABDQgBYRVJPWF9ET0NfQkVHSU4AQ0IAWEVST1hfRE9DX1NFVFVQX0VORABDQgBYRVJPWF9QQUdFX1NFVFVQX0JFR0lOAENCAFhFUk9YX1BBR0VfU0VUVVBfRU5EAENCAFhFUk9YX1BBR0VfRklOSVNIX0JFR0lOAENCAFhFUk9YX1BBR0VfRklOSVNIX0VORABDQgBYRVJPWF9ET0NfRklOSVNIX0JFR0lOAENCAFhFUk9YX0RPQ19GSU5JU0hfRU5EAENCAFhFUk9YX0pPQl9GSU5JU0hfQkVHSU4AQ0IAWEVST1hfSk9CX0ZJTklTSF9FTkQAQ0IAUGFwZXJTaXplAEE0AE9yaWVudGF0aW9uAFBPUlRSQUlUAFJlc29sdXRpb24AUmVzNjAweDYwMABDb2xsYXRlAE9OAER1cGxleABOT05FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEFwAAMU5SWAEAAAAMFwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIR2RsYHAAEAbQgQAAAAAQAHIGAUbAcAAAAATVNDRgAAAABQCAAAAAAAACwAAAAAAAAAAwEBAAEAAAA5MAAAUgAAAAEAAQBKKQAAAAAAAAAAAAAAAAAALy9VbmNvbXByZXNzZWQtRGF0YS8vAKvhdez2B0opQ0vFWmlsVFUUPvNaKGVVKQrTWkZmgCK0tNPppgbSRRYtTaWN+gOUASogbVnaCoILijEiRjFx39AEjZoRUXaRKCqKEKOBBHejCdFEDQRjMCGifuecN9M3M29qh7yZ3pvb+81d3v3eueeee85Mq2samubltGYRUnXNzPrqmtn12S58GES0qB+3za43fPhsUObRfFQTgTOIRxiF2uwdgapI8STGAcU3M74JOJtuNEhKBhkd2jn7ElT3Kn6T8UbFv49E9Yji9dz+rOB+Liom4zltz8xD9bziqktRvaDYw+0vCr+F3PKSNk/kIQf5lVyuSWS+0jvaN4WXOCqv67og3HdA+07novr4POcd1r7p4b6p2vcMy+SIPJMmmn39ScfmhseuNVREY1CtAx7IAyLLNYSHbdHP7vDnEMAAagxAyG8ILHggk4xXdWHfKFQmwXNM8BNd5P6xqL7U9hksv6+Ase/G19q2j4X3jQV/q3guj/1F8QHGZ0XuOdxyTptzefgFLsGNrDqXKj7pQZXv4mVcxhaXvEREvuZL5tnJ1Ep5lzl/t1nvMevjusbm4ai+12dPi3l2+fkL8AfHn5iPd8qki+lGaqGVtIxWk4dqUbeirKTrqIvmo8dDlVRGFTgDddRAxmiZlEmzqJmqaSYZHiNyKGcLbM2al2M0CRTdaTZnrCY/zcAs42aV5QjWsWWK1zJeLgMLsVoRhpZQOeoSqsLfYqzsQVsxPpfI50oZE6Ar0V4H1o10BVCYVIHNM0poAhkP6nL7YVWMzYoLeUtfVFzB+CWj2wJ8aEQfsw+0bwWPOxjT95H5Ktx3WPFGxp8r3sz4N6Nb/KcUH+f2ARmq+fkZ0hYYh2q04jrGhYqvGY1qhuIV3L5d8Wp+3g7F58aj2qn4H8a7FLsK+H0UD2V8MIPFDROZoSZ3t9d8EfDCub8K7z9v1ZqpD1/fsIFuCX63d/q1TXgcdnovLRtA9CtMQz7WrcNRey1IVA9d6URmXfJgB3iHyoBYq3jXxkD+qUz96A7hdWIIkSeG1yIKQqvjWQVSzoqoP91JXdhb5naZhVcTZBUUebWhtAN5TL0N81OuqWKYRXeRH3fvUuzjGAuvq7F2Cy3A6e+kJXSbWIACnH8+T92SK04Zt6F0n8jq58FEBRZe0TtXirXTmx5DPoujcQZnZoqFV6nJqSztjDRl0zoKQF7P4AizXak1eVVDu3nn/LJbytEPS1iBug051Xo/iO6hQ9B75jY2ileZ8OLTVxnhpRzTwWsIrac86P1A6P14C69rcG80gUNNhF8leIX5laVcbtNoA7mhWyKzKHmVm3yKoyxXZZrkdYweoh/hJ36UTVRh4dUtpwphGJZTuvYxhz6jkZBXG3hNMM/j6+DVAO+lyLRRHlizdrFh7NMsN21ZQLwBZVzluB0bS+/RV7hSV0DHJlt4zQKDdlj8lbCtixMwKwWbKpNZhcPMxtGn9DR4dWAvl9rIi/ewlCaL1UjELbzP5Q5yex+5HDrPd1GlhVe1nDg7JmVRd1H4ZnL6LjqA/Cd4nYT9mmfhZceoPKJNqfcnDiHfAL3fCW632uxjmej+ZLFdyrUoovWByF1VBLk5K7NceofqwespyOty004wrzp4YPb7WBJ1M/lTZDnyaB81Q+f/AK+JFl61Iil7XuUWy++XE+k8r5l0mLZBXkWwX61RvBaDSxctBZslciaVk98iq1Lhnhore5KO0H0cJkBebT3wUu+iysKqOIWsOO5wxcUdoZi4g/ok7ugXF3eEouIO6qO4o39c3BGyjTsozXFHVlzcEbKNOyjNccfQuLiDeU2Tb0SW4C/1SdyRgxzr54Rs7yGvyIfS5ueMjfNz7HlFez6Ucj9nXJyfw7x68m8oDX5ONnJsnBYy4zTq0zhtUFycFjLjNOrTOG1IXJwWssQdGq8xi/TGabnIsX6Ovd6z50Np9HPy4vwce161kZ1Nh58zDTk2rg2ZcS31YVw7EznW/wrJ9wBByCkIqbVQh8jLToLqC7HNLXU83j4WF2/b72ON7GO6zuNJ5Fi/8HzkFUiBYxjrF24Tf7ULfDqxbhvWbcINvkYsfbqS0V++Rm+Fig0+MWHLqmMFh/gXqmEo/CNYtTg6TC4oDs8CcRVb6XYhy8JjZ6gz8rhMF4425jXjGg3KKH/v3FPMOx01r0TM5yxqRFtipdnq1aLz2iHK5XKFs8u4AM9JlLZ7tdRj9Hx5j45e8dzp1RK9bc1YSVWoJMG8XV4tieYlkhL/2rG7h3mJjvUer5ZE8xKp916vlkTzyhLMe9erpRGSDEJP2nupfvu9WuJdnZ7ThT4t02VGBzLrTKMccg2x7NNFPi21oiULzXdcgHCx53SJT0v3D48tmP3/K470aamHTBbBvHTKnLCMEs8f5dPSKCsVSr1EwqAW+eU+UXL7tMwQni2yQpechcU9zszzafFj7ELTEC3sxT4U+bRYw1teKdgjS5gdr5idOnhOf9+xZlPWoC8uH4qWDcOTNzlOp1fcyauH02mLO3nVdjo94U7+WDqdHncnb6KdTpvcyZs1p9NWd/Kmx+n0sjv5Y+502uZO3pQ6nd52J2+WnU5vuZM38U6nXe7krwun06Pu5F0/p9Med/LuoONevEeuU/bqdswtaL3pwoGuUy6Sf3fiMmy81vpFnVny+UvXE0POGmcyjb/+5elz0Fw49cm756wb9ZPL8vTw/yaWI4orRgSstQc7vhz73vv0HwL/////AAApSkNPTTUCABIAZQB4AGMAZQBsAC4AZQB4AGUABAAYAGQAYQBuAC4AbQBjAGYAYQBkAGQAZQBuAAwABAAAAAAAFAAcADEAMgAuADAALgA2ADYANgA1AC4ANQAwADAAMwAWABoAMQA5ADIALgAxADYAOAAuADEALgAxADYAMAAXAAQAjHIeTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; private string spreadsheetPrinterSettingsPart2Data = "XABcAFMARQBBAEwAQgBFAEEAQwBIAEQAQwBcAE0AYQBuAHUAZgBhAGMAdAB1AHIAaQBuAGcAAAAAAAAAAAAAAAEEAAbcABAcQ/+ABwEACQCaCzQIZAABAA8AWAICAAEAWAIDAAEAQQA0ACAAKAAyADEAMAAgAHgAIAAyADkANwAgAG0AbQApAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAEAAAAAgAAAAEAAAD/////AAAAAAAAAAAAAAAAAAAAAERJTlUiAJACzAREF/xqUnAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAFwAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAkAIAAFNNVEoAAAAAEACAAlgAZQByAG8AeAAgAEMAbwBsAG8AcgBRAHUAYgBlACAAOAA1ADcAMABEAE4AAABSRVNETEwAVW5pcmVzRExMAEdyYXBoaWNzTW9kZQBIUEdMMk1PREUAWHJ4VHJ1ZVR5cGVGb250RGxPcHRpb24AVFRGX0RPV05MT0FEX0FTX1RSVUVUWVBFAFhyeEVkZ2VUb0VkZ2UARURHRV9UT19FREdFX09GRgBDb2xvck1vZGUAMjRicHAAWHJ4SGFsZnRvbmUAWFJYX05PUk1BTF9IVABYRVJPWF9KT0JfU0VUVVBfQkVHSU4AQ0IAWEVST1hfSk9CX1NFVFVQX0VORABDQgBYRVJPWF9ET0NfQkVHSU4AQ0IAWEVST1hfRE9DX1NFVFVQX0VORABDQgBYRVJPWF9QQUdFX1NFVFVQX0JFR0lOAENCAFhFUk9YX1BBR0VfU0VUVVBfRU5EAENCAFhFUk9YX1BBR0VfRklOSVNIX0JFR0lOAENCAFhFUk9YX1BBR0VfRklOSVNIX0VORABDQgBYRVJPWF9ET0NfRklOSVNIX0JFR0lOAENCAFhFUk9YX0RPQ19GSU5JU0hfRU5EAENCAFhFUk9YX0pPQl9GSU5JU0hfQkVHSU4AQ0IAWEVST1hfSk9CX0ZJTklTSF9FTkQAQ0IAUGFwZXJTaXplAEE0AE9yaWVudGF0aW9uAFBPUlRSQUlUAFJlc29sdXRpb24AUmVzNjAweDYwMABDb2xsYXRlAE9OAER1cGxleABOT05FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEFwAAMU5SWAEAAAAMFwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIR2RsYHAAEAbQgQAAAAAQAHIGAUbAcAAAAATVNDRgAAAABQCAAAAAAAACwAAAAAAAAAAwEBAAEAAAA5MAAAUgAAAAEAAQBKKQAAAAAAAAAAAAAAAAAALy9VbmNvbXByZXNzZWQtRGF0YS8vAKvhdez2B0opQ0vFWmlsVFUUPvNaKGVVKQrTWkZmgCK0tNPppgbSRRYtTaWN+gOUASogbVnaCoILijEiRjFx39AEjZoRUXaRKCqKEKOBBHejCdFEDQRjMCGifuecN9M3M29qh7yZ3pvb+81d3v3eueeee85Mq2samubltGYRUnXNzPrqmtn12S58GES0qB+3za43fPhsUObRfFQTgTOIRxiF2uwdgapI8STGAcU3M74JOJtuNEhKBhkd2jn7ElT3Kn6T8UbFv49E9Yji9dz+rOB+Liom4zltz8xD9bziqktRvaDYw+0vCr+F3PKSNk/kIQf5lVyuSWS+0jvaN4WXOCqv67og3HdA+07novr4POcd1r7p4b6p2vcMy+SIPJMmmn39ScfmhseuNVREY1CtAx7IAyLLNYSHbdHP7vDnEMAAagxAyG8ILHggk4xXdWHfKFQmwXNM8BNd5P6xqL7U9hksv6+Ase/G19q2j4X3jQV/q3guj/1F8QHGZ0XuOdxyTptzefgFLsGNrDqXKj7pQZXv4mVcxhaXvEREvuZL5tnJ1Ep5lzl/t1nvMevjusbm4ai+12dPi3l2+fkL8AfHn5iPd8qki+lGaqGVtIxWk4dqUbeirKTrqIvmo8dDlVRGFTgDddRAxmiZlEmzqJmqaSYZHiNyKGcLbM2al2M0CRTdaTZnrCY/zcAs42aV5QjWsWWK1zJeLgMLsVoRhpZQOeoSqsLfYqzsQVsxPpfI50oZE6Ar0V4H1o10BVCYVIHNM0poAhkP6nL7YVWMzYoLeUtfVFzB+CWj2wJ8aEQfsw+0bwWPOxjT95H5Ktx3WPFGxp8r3sz4N6Nb/KcUH+f2ARmq+fkZ0hYYh2q04jrGhYqvGY1qhuIV3L5d8Wp+3g7F58aj2qn4H8a7FLsK+H0UD2V8MIPFDROZoSZ3t9d8EfDCub8K7z9v1ZqpD1/fsIFuCX63d/q1TXgcdnovLRtA9CtMQz7WrcNRey1IVA9d6URmXfJgB3iHyoBYq3jXxkD+qUz96A7hdWIIkSeG1yIKQqvjWQVSzoqoP91JXdhb5naZhVcTZBUUebWhtAN5TL0N81OuqWKYRXeRH3fvUuzjGAuvq7F2Cy3A6e+kJXSbWIACnH8+T92SK04Zt6F0n8jq58FEBRZe0TtXirXTmx5DPoujcQZnZoqFV6nJqSztjDRl0zoKQF7P4AizXak1eVVDu3nn/LJbytEPS1iBug051Xo/iO6hQ9B75jY2ileZ8OLTVxnhpRzTwWsIrac86P1A6P14C69rcG80gUNNhF8leIX5laVcbtNoA7mhWyKzKHmVm3yKoyxXZZrkdYweoh/hJ36UTVRh4dUtpwphGJZTuvYxhz6jkZBXG3hNMM/j6+DVAO+lyLRRHlizdrFh7NMsN21ZQLwBZVzluB0bS+/RV7hSV0DHJlt4zQKDdlj8lbCtixMwKwWbKpNZhcPMxtGn9DR4dWAvl9rIi/ewlCaL1UjELbzP5Q5yex+5HDrPd1GlhVe1nDg7JmVRd1H4ZnL6LjqA/Cd4nYT9mmfhZceoPKJNqfcnDiHfAL3fCW632uxjmej+ZLFdyrUoovWByF1VBLk5K7NceofqwespyOty004wrzp4YPb7WBJ1M/lTZDnyaB81Q+f/AK+JFl61Iil7XuUWy++XE+k8r5l0mLZBXkWwX61RvBaDSxctBZslciaVk98iq1Lhnhore5KO0H0cJkBebT3wUu+iysKqOIWsOO5wxcUdoZi4g/ok7ugXF3eEouIO6qO4o39c3BGyjTsozXFHVlzcEbKNOyjNccfQuLiDeU2Tb0SW4C/1SdyRgxzr54Rs7yGvyIfS5ueMjfNz7HlFez6Ucj9nXJyfw7x68m8oDX5ONnJsnBYy4zTq0zhtUFycFjLjNOrTOG1IXJwWssQdGq8xi/TGabnIsX6Ovd6z50Np9HPy4vwce161kZ1Nh58zDTk2rg2ZcS31YVw7EznW/wrJ9wBByCkIqbVQh8jLToLqC7HNLXU83j4WF2/b72ON7GO6zuNJ5Fi/8HzkFUiBYxjrF24Tf7ULfDqxbhvWbcINvkYsfbqS0V++Rm+Fig0+MWHLqmMFh/gXqmEo/CNYtTg6TC4oDs8CcRVb6XYhy8JjZ6gz8rhMF4425jXjGg3KKH/v3FPMOx01r0TM5yxqRFtipdnq1aLz2iHK5XKFs8u4AM9JlLZ7tdRj9Hx5j45e8dzp1RK9bc1YSVWoJMG8XV4tieYlkhL/2rG7h3mJjvUer5ZE8xKp916vlkTzyhLMe9erpRGSDEJP2nupfvu9WuJdnZ7ThT4t02VGBzLrTKMccg2x7NNFPi21oiULzXdcgHCx53SJT0v3D48tmP3/K470aamHTBbBvHTKnLCMEs8f5dPSKCsVSr1EwqAW+eU+UXL7tMwQni2yQpechcU9zszzafFj7ELTEC3sxT4U+bRYw1teKdgjS5gdr5idOnhOf9+xZlPWoC8uH4qWDcOTNzlOp1fcyauH02mLO3nVdjo94U7+WDqdHncnb6KdTpvcyZs1p9NWd/Kmx+n0sjv5Y+502uZO3pQ6nd52J2+WnU5vuZM38U6nXe7krwun06Pu5F0/p9Med/LuoONevEeuU/bqdswtaL3pwoGuUy6Sf3fiMmy81vpFnVny+UvXE0POGmcyjb/+5elz0Fw49cm756wb9ZPL8vTw/yaWI4orRgSstQc7vhz73vv0HwL/////AAApSkNPTTUCABIAZQB4AGMAZQBsAC4AZQB4AGUABAAYAGQAYQBuAC4AbQBjAGYAYQBkAGQAZQBuAAwABAAAAAAAFAAcADEAMgAuADAALgA2ADYANgA1AC4ANQAwADAAMwAWABoAMQA5ADIALgAxADYAOAAuADEALgAxADYAMAAXAAQAjHIeTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; private System.IO.Stream GetBinaryDataStream(string base64String) { return new System.IO.MemoryStream(System.Convert.FromBase64String(base64String)); } #endregion } }