Exemple #1
0
        /// <summary>
        /// Create an instance of OpenXmlPart according to the given relationship type.
        /// </summary>
        /// <param name="openXmlPackage">The container OpenXmlPackage.</param>
        /// <param name="relationshipType">The relationship type of the target part.</param>
        /// <param name="openXmlPart">The created instance of OpenXmlPart.</param>
        /// <remarks>This partial method will be generated by code generaotr.</remarks>
        static partial void CreatePartCore(OpenXmlPackage openXmlPackage, string relationshipType, ref OpenXmlPart openXmlPart)
        {
            if (openXmlPackage == null)
            {
				throw new ArgumentNullException("openXmlPackage");
            }
            if (relationshipType == null)
            {
                throw new ArgumentNullException("relationshipType");
            }
            
            if (openXmlPackage is WordprocessingDocument)
            {
                switch (relationshipType)
                {
					case MainDocumentPart.RelationshipTypeConstant:
	openXmlPart = new MainDocumentPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case GlossaryDocumentPart.RelationshipTypeConstant:
	openXmlPart = new GlossaryDocumentPart();
	return;
case WordprocessingCommentsPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingCommentsPart();
	return;
case AlternativeFormatImportPart.RelationshipTypeConstant:
	openXmlPart = new AlternativeFormatImportPart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case DocumentSettingsPart.RelationshipTypeConstant:
	openXmlPart = new DocumentSettingsPart();
	return;
case MailMergeRecipientDataPart.RelationshipTypeConstant:
	openXmlPart = new MailMergeRecipientDataPart();
	return;
case EndnotesPart.RelationshipTypeConstant:
	openXmlPart = new EndnotesPart();
	return;
case FontTablePart.RelationshipTypeConstant:
	openXmlPart = new FontTablePart();
	return;
case FontPart.RelationshipTypeConstant:
	openXmlPart = new FontPart();
	return;
case FootnotesPart.RelationshipTypeConstant:
	openXmlPart = new FootnotesPart();
	return;
case NumberingDefinitionsPart.RelationshipTypeConstant:
	openXmlPart = new NumberingDefinitionsPart();
	return;
case StyleDefinitionsPart.RelationshipTypeConstant:
	openXmlPart = new StyleDefinitionsPart();
	return;
case StylesWithEffectsPart.RelationshipTypeConstant:
	openXmlPart = new StylesWithEffectsPart();
	return;
case WebSettingsPart.RelationshipTypeConstant:
	openXmlPart = new WebSettingsPart();
	return;
case FooterPart.RelationshipTypeConstant:
	openXmlPart = new FooterPart();
	return;
case HeaderPart.RelationshipTypeConstant:
	openXmlPart = new HeaderPart();
	return;
case WordprocessingPrinterSettingsPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingPrinterSettingsPart();
	return;
case CustomizationPart.RelationshipTypeConstant:
	openXmlPart = new CustomizationPart();
	return;
case WordAttachedToolbarsPart.RelationshipTypeConstant:
	openXmlPart = new WordAttachedToolbarsPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case WordprocessingCommentsExPart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingCommentsExPart();
	return;
case WordprocessingPeoplePart.RelationshipTypeConstant:
	openXmlPart = new WordprocessingPeoplePart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

				}
            }
            else if (openXmlPackage is SpreadsheetDocument)
            {
                switch (relationshipType)
                {
					case WorkbookPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case CalculationChainPart.RelationshipTypeConstant:
	openXmlPart = new CalculationChainPart();
	return;
case CellMetadataPart.RelationshipTypeConstant:
	openXmlPart = new CellMetadataPart();
	return;
case ConnectionsPart.RelationshipTypeConstant:
	openXmlPart = new ConnectionsPart();
	return;
case CustomXmlMappingsPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlMappingsPart();
	return;
case SharedStringTablePart.RelationshipTypeConstant:
	openXmlPart = new SharedStringTablePart();
	return;
case WorkbookRevisionHeaderPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookRevisionHeaderPart();
	return;
case WorkbookRevisionLogPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookRevisionLogPart();
	return;
case WorkbookUserDataPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookUserDataPart();
	return;
case WorkbookStylesPart.RelationshipTypeConstant:
	openXmlPart = new WorkbookStylesPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case VolatileDependenciesPart.RelationshipTypeConstant:
	openXmlPart = new VolatileDependenciesPart();
	return;
case ChartsheetPart.RelationshipTypeConstant:
	openXmlPart = new ChartsheetPart();
	return;
case SpreadsheetPrinterSettingsPart.RelationshipTypeConstant:
	openXmlPart = new SpreadsheetPrinterSettingsPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case WorksheetCommentsPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetCommentsPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case DialogsheetPart.RelationshipTypeConstant:
	openXmlPart = new DialogsheetPart();
	return;
case ExternalWorkbookPart.RelationshipTypeConstant:
	openXmlPart = new ExternalWorkbookPart();
	return;
case ExcelAttachedToolbarsPart.RelationshipTypeConstant:
	openXmlPart = new ExcelAttachedToolbarsPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case MacroSheetPart.RelationshipTypeConstant:
	openXmlPart = new MacroSheetPart();
	return;
case InternationalMacroSheetPart.RelationshipTypeConstant:
	openXmlPart = new InternationalMacroSheetPart();
	return;
case CustomDataPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomDataPropertiesPart();
	return;
case CustomDataPart.RelationshipTypeConstant:
	openXmlPart = new CustomDataPart();
	return;
case SlicerCachePart.RelationshipTypeConstant:
	openXmlPart = new SlicerCachePart();
	return;
case TimeLineCachePart.RelationshipTypeConstant:
	openXmlPart = new TimeLineCachePart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

                }
            }
            else if (openXmlPackage is PresentationDocument)
            {
                switch (relationshipType)
                {
					case PresentationPart.RelationshipTypeConstant:
	openXmlPart = new PresentationPart();
	return;
case CustomXmlPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPart();
	return;
case CustomXmlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomXmlPropertiesPart();
	return;
case FontPart.RelationshipTypeConstant:
	openXmlPart = new FontPart();
	return;
case PresentationPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new PresentationPropertiesPart();
	return;
case TableStylesPart.RelationshipTypeConstant:
	openXmlPart = new TableStylesPart();
	return;
case ThemePart.RelationshipTypeConstant:
	openXmlPart = new ThemePart();
	return;
case ImagePart.RelationshipTypeConstant:
	openXmlPart = new ImagePart();
	return;
case ViewPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ViewPropertiesPart();
	return;
case SlidePart.RelationshipTypeConstant:
	openXmlPart = new SlidePart();
	return;
case ChartPart.RelationshipTypeConstant:
	openXmlPart = new ChartPart();
	return;
case ChartDrawingPart.RelationshipTypeConstant:
	openXmlPart = new ChartDrawingPart();
	return;
case EmbeddedPackagePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedPackagePart();
	return;
case ThemeOverridePart.RelationshipTypeConstant:
	openXmlPart = new ThemeOverridePart();
	return;
case ChartStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartStylePart();
	return;
case ChartColorStylePart.RelationshipTypeConstant:
	openXmlPart = new ChartColorStylePart();
	return;
case DiagramColorsPart.RelationshipTypeConstant:
	openXmlPart = new DiagramColorsPart();
	return;
case DiagramDataPart.RelationshipTypeConstant:
	openXmlPart = new DiagramDataPart();
	return;
case WorksheetPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetPart();
	return;
case DrawingsPart.RelationshipTypeConstant:
	openXmlPart = new DrawingsPart();
	return;
case DiagramPersistLayoutPart.RelationshipTypeConstant:
	openXmlPart = new DiagramPersistLayoutPart();
	return;
case DiagramLayoutDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new DiagramLayoutDefinitionPart();
	return;
case DiagramStylePart.RelationshipTypeConstant:
	openXmlPart = new DiagramStylePart();
	return;
case WebExtensionPart.RelationshipTypeConstant:
	openXmlPart = new WebExtensionPart();
	return;
case VmlDrawingPart.RelationshipTypeConstant:
	openXmlPart = new VmlDrawingPart();
	return;
case LegacyDiagramTextPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextPart();
	return;
case PivotTablePart.RelationshipTypeConstant:
	openXmlPart = new PivotTablePart();
	return;
case PivotTableCacheDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheDefinitionPart();
	return;
case PivotTableCacheRecordsPart.RelationshipTypeConstant:
	openXmlPart = new PivotTableCacheRecordsPart();
	return;
case SingleCellTablePart.RelationshipTypeConstant:
	openXmlPart = new SingleCellTablePart();
	return;
case TableDefinitionPart.RelationshipTypeConstant:
	openXmlPart = new TableDefinitionPart();
	return;
case QueryTablePart.RelationshipTypeConstant:
	openXmlPart = new QueryTablePart();
	return;
case EmbeddedControlPersistencePart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistencePart();
	return;
case EmbeddedControlPersistenceBinaryDataPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedControlPersistenceBinaryDataPart();
	return;
case ControlPropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ControlPropertiesPart();
	return;
case EmbeddedObjectPart.RelationshipTypeConstant:
	openXmlPart = new EmbeddedObjectPart();
	return;
case CustomPropertyPart.RelationshipTypeConstant:
	openXmlPart = new CustomPropertyPart();
	return;
case WorksheetSortMapPart.RelationshipTypeConstant:
	openXmlPart = new WorksheetSortMapPart();
	return;
case SlicersPart.RelationshipTypeConstant:
	openXmlPart = new SlicersPart();
	return;
case TimeLinePart.RelationshipTypeConstant:
	openXmlPart = new TimeLinePart();
	return;
case SlideCommentsPart.RelationshipTypeConstant:
	openXmlPart = new SlideCommentsPart();
	return;
case NotesSlidePart.RelationshipTypeConstant:
	openXmlPart = new NotesSlidePart();
	return;
case NotesMasterPart.RelationshipTypeConstant:
	openXmlPart = new NotesMasterPart();
	return;
case UserDefinedTagsPart.RelationshipTypeConstant:
	openXmlPart = new UserDefinedTagsPart();
	return;
case SlideLayoutPart.RelationshipTypeConstant:
	openXmlPart = new SlideLayoutPart();
	return;
case SlideMasterPart.RelationshipTypeConstant:
	openXmlPart = new SlideMasterPart();
	return;
case SlideSyncDataPart.RelationshipTypeConstant:
	openXmlPart = new SlideSyncDataPart();
	return;
case CommentAuthorsPart.RelationshipTypeConstant:
	openXmlPart = new CommentAuthorsPart();
	return;
case HandoutMasterPart.RelationshipTypeConstant:
	openXmlPart = new HandoutMasterPart();
	return;
case LegacyDiagramTextInfoPart.RelationshipTypeConstant:
	openXmlPart = new LegacyDiagramTextInfoPart();
	return;
case VbaProjectPart.RelationshipTypeConstant:
	openXmlPart = new VbaProjectPart();
	return;
case VbaDataPart.RelationshipTypeConstant:
	openXmlPart = new VbaDataPart();
	return;
case CoreFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CoreFilePropertiesPart();
	return;
case ExtendedFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new ExtendedFilePropertiesPart();
	return;
case CustomFilePropertiesPart.RelationshipTypeConstant:
	openXmlPart = new CustomFilePropertiesPart();
	return;
case ThumbnailPart.RelationshipTypeConstant:
	openXmlPart = new ThumbnailPart();
	return;
case DigitalSignatureOriginPart.RelationshipTypeConstant:
	openXmlPart = new DigitalSignatureOriginPart();
	return;
case XmlSignaturePart.RelationshipTypeConstant:
	openXmlPart = new XmlSignaturePart();
	return;
case QuickAccessToolbarCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new QuickAccessToolbarCustomizationsPart();
	return;
case RibbonExtensibilityPart.RelationshipTypeConstant:
	openXmlPart = new RibbonExtensibilityPart();
	return;
case RibbonAndBackstageCustomizationsPart.RelationshipTypeConstant:
	openXmlPart = new RibbonAndBackstageCustomizationsPart();
	return;
case WebExTaskpanesPart.RelationshipTypeConstant:
	openXmlPart = new WebExTaskpanesPart();
	return;

                }
            }
            else
            {
                System.Diagnostics.Debug.Assert(false);				
            }
            return;
        }
 /// <summary>
 /// Saves the DOM into the ChartStylePart.
 /// </summary>
 /// <param name="openXmlPart">Specifies the part to save to.</param>
 public void Save(ChartStylePart openXmlPart)
 {
     base.SaveToPart(openXmlPart);
 }
 /// <summary>
 /// ChartStyle constructor.
 /// </summary>
 /// <param name="ownerPart">The owner part of the ChartStyle.</param>
 internal ChartStyle(ChartStylePart ownerPart) : base (ownerPart )
 {
 }
 /// <summary>
 /// Loads the DOM from the ChartStylePart.
 /// </summary>
 /// <param name="openXmlPart">Specifies the part to be loaded.</param>
 public void Load(ChartStylePart openXmlPart)
 {
     LoadFromPart(openXmlPart);
 }
        // Generates content of chartStylePart1.
        private void GenerateChartStylePart1Content(ChartStylePart chartStylePart1)
        {
            Cs.ChartStyle chartStyle1 = new Cs.ChartStyle() { Id = (UInt32Value)201U };
            chartStyle1.AddNamespaceDeclaration("cs", "http://schemas.microsoft.com/office/drawing/2012/chartStyle");
            chartStyle1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Cs.AxisTitle axisTitle1 = new Cs.AxisTitle();
            Cs.LineReference lineReference57 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference57 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference57 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference57 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor211 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation18 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset24 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor211.Append(luminanceModulation18);
            schemeColor211.Append(luminanceOffset24);

            fontReference57.Append(schemeColor211);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType1 = new Cs.TextCharacterPropertiesType() { FontSize = 1000, Kerning = 1200 };

            axisTitle1.Append(lineReference57);
            axisTitle1.Append(fillReference57);
            axisTitle1.Append(effectReference57);
            axisTitle1.Append(fontReference57);
            axisTitle1.Append(textCharacterPropertiesType1);

            Cs.CategoryAxis categoryAxis2 = new Cs.CategoryAxis();
            Cs.LineReference lineReference58 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference58 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference58 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference58 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor212 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation19 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset25 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor212.Append(luminanceModulation19);
            schemeColor212.Append(luminanceOffset25);

            fontReference58.Append(schemeColor212);

            Cs.ShapeProperties shapeProperties38 = new Cs.ShapeProperties();

            A.Outline outline20 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill32 = new A.SolidFill();

            A.SchemeColor schemeColor213 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation20 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset26 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor213.Append(luminanceModulation20);
            schemeColor213.Append(luminanceOffset26);

            solidFill32.Append(schemeColor213);
            A.Round round4 = new A.Round();

            outline20.Append(solidFill32);
            outline20.Append(round4);

            shapeProperties38.Append(outline20);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType2 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            categoryAxis2.Append(lineReference58);
            categoryAxis2.Append(fillReference58);
            categoryAxis2.Append(effectReference58);
            categoryAxis2.Append(fontReference58);
            categoryAxis2.Append(shapeProperties38);
            categoryAxis2.Append(textCharacterPropertiesType2);

            Cs.ChartArea chartArea1 = new Cs.ChartArea() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } };
            Cs.LineReference lineReference59 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference59 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference59 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference59 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor214 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference59.Append(schemeColor214);

            Cs.ShapeProperties shapeProperties39 = new Cs.ShapeProperties();

            A.SolidFill solidFill33 = new A.SolidFill();
            A.SchemeColor schemeColor215 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 };

            solidFill33.Append(schemeColor215);

            A.Outline outline21 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill34 = new A.SolidFill();

            A.SchemeColor schemeColor216 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation21 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset27 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor216.Append(luminanceModulation21);
            schemeColor216.Append(luminanceOffset27);

            solidFill34.Append(schemeColor216);
            A.Round round5 = new A.Round();

            outline21.Append(solidFill34);
            outline21.Append(round5);

            shapeProperties39.Append(solidFill33);
            shapeProperties39.Append(outline21);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType3 = new Cs.TextCharacterPropertiesType() { FontSize = 1000, Kerning = 1200 };

            chartArea1.Append(lineReference59);
            chartArea1.Append(fillReference59);
            chartArea1.Append(effectReference59);
            chartArea1.Append(fontReference59);
            chartArea1.Append(shapeProperties39);
            chartArea1.Append(textCharacterPropertiesType3);

            Cs.DataLabel dataLabel1 = new Cs.DataLabel();
            Cs.LineReference lineReference60 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference60 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference60 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference60 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor217 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation22 = new A.LuminanceModulation() { Val = 75000 };
            A.LuminanceOffset luminanceOffset28 = new A.LuminanceOffset() { Val = 25000 };

            schemeColor217.Append(luminanceModulation22);
            schemeColor217.Append(luminanceOffset28);

            fontReference60.Append(schemeColor217);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType4 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            dataLabel1.Append(lineReference60);
            dataLabel1.Append(fillReference60);
            dataLabel1.Append(effectReference60);
            dataLabel1.Append(fontReference60);
            dataLabel1.Append(textCharacterPropertiesType4);

            Cs.DataLabelCallout dataLabelCallout1 = new Cs.DataLabelCallout();
            Cs.LineReference lineReference61 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference61 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference61 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference61 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor218 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };
            A.LuminanceModulation luminanceModulation23 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset29 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor218.Append(luminanceModulation23);
            schemeColor218.Append(luminanceOffset29);

            fontReference61.Append(schemeColor218);

            Cs.ShapeProperties shapeProperties40 = new Cs.ShapeProperties();

            A.SolidFill solidFill35 = new A.SolidFill();
            A.SchemeColor schemeColor219 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            solidFill35.Append(schemeColor219);

            A.Outline outline22 = new A.Outline();

            A.SolidFill solidFill36 = new A.SolidFill();

            A.SchemeColor schemeColor220 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };
            A.LuminanceModulation luminanceModulation24 = new A.LuminanceModulation() { Val = 25000 };
            A.LuminanceOffset luminanceOffset30 = new A.LuminanceOffset() { Val = 75000 };

            schemeColor220.Append(luminanceModulation24);
            schemeColor220.Append(luminanceOffset30);

            solidFill36.Append(schemeColor220);

            outline22.Append(solidFill36);

            shapeProperties40.Append(solidFill35);
            shapeProperties40.Append(outline22);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType5 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            Cs.TextBodyProperties textBodyProperties1 = new Cs.TextBodyProperties() { Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 36576, TopInset = 18288, RightInset = 36576, BottomInset = 18288, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ShapeAutoFit shapeAutoFit2 = new A.ShapeAutoFit();

            textBodyProperties1.Append(shapeAutoFit2);

            dataLabelCallout1.Append(lineReference61);
            dataLabelCallout1.Append(fillReference61);
            dataLabelCallout1.Append(effectReference61);
            dataLabelCallout1.Append(fontReference61);
            dataLabelCallout1.Append(shapeProperties40);
            dataLabelCallout1.Append(textCharacterPropertiesType5);
            dataLabelCallout1.Append(textBodyProperties1);

            Cs.DataPoint dataPoint1 = new Cs.DataPoint();
            Cs.LineReference lineReference62 = new Cs.LineReference() { Index = (UInt32Value)0U };

            Cs.FillReference fillReference62 = new Cs.FillReference() { Index = (UInt32Value)1U };
            Cs.StyleColor styleColor1 = new Cs.StyleColor() { Val = "auto" };

            fillReference62.Append(styleColor1);
            Cs.EffectReference effectReference62 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference62 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor221 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference62.Append(schemeColor221);

            dataPoint1.Append(lineReference62);
            dataPoint1.Append(fillReference62);
            dataPoint1.Append(effectReference62);
            dataPoint1.Append(fontReference62);

            Cs.DataPoint3D dataPoint3D1 = new Cs.DataPoint3D();
            Cs.LineReference lineReference63 = new Cs.LineReference() { Index = (UInt32Value)0U };

            Cs.FillReference fillReference63 = new Cs.FillReference() { Index = (UInt32Value)1U };
            Cs.StyleColor styleColor2 = new Cs.StyleColor() { Val = "auto" };

            fillReference63.Append(styleColor2);
            Cs.EffectReference effectReference63 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference63 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor222 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference63.Append(schemeColor222);

            dataPoint3D1.Append(lineReference63);
            dataPoint3D1.Append(fillReference63);
            dataPoint3D1.Append(effectReference63);
            dataPoint3D1.Append(fontReference63);

            Cs.DataPointLine dataPointLine1 = new Cs.DataPointLine();

            Cs.LineReference lineReference64 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.StyleColor styleColor3 = new Cs.StyleColor() { Val = "auto" };

            lineReference64.Append(styleColor3);
            Cs.FillReference fillReference64 = new Cs.FillReference() { Index = (UInt32Value)1U };
            Cs.EffectReference effectReference64 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference64 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor223 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference64.Append(schemeColor223);

            Cs.ShapeProperties shapeProperties41 = new Cs.ShapeProperties();

            A.Outline outline23 = new A.Outline() { Width = 28575, CapType = A.LineCapValues.Round };

            A.SolidFill solidFill37 = new A.SolidFill();
            A.SchemeColor schemeColor224 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill37.Append(schemeColor224);
            A.Round round6 = new A.Round();

            outline23.Append(solidFill37);
            outline23.Append(round6);

            shapeProperties41.Append(outline23);

            dataPointLine1.Append(lineReference64);
            dataPointLine1.Append(fillReference64);
            dataPointLine1.Append(effectReference64);
            dataPointLine1.Append(fontReference64);
            dataPointLine1.Append(shapeProperties41);

            Cs.DataPointMarker dataPointMarker1 = new Cs.DataPointMarker();

            Cs.LineReference lineReference65 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.StyleColor styleColor4 = new Cs.StyleColor() { Val = "auto" };

            lineReference65.Append(styleColor4);

            Cs.FillReference fillReference65 = new Cs.FillReference() { Index = (UInt32Value)1U };
            Cs.StyleColor styleColor5 = new Cs.StyleColor() { Val = "auto" };

            fillReference65.Append(styleColor5);
            Cs.EffectReference effectReference65 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference65 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor225 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference65.Append(schemeColor225);

            Cs.ShapeProperties shapeProperties42 = new Cs.ShapeProperties();

            A.Outline outline24 = new A.Outline() { Width = 9525 };

            A.SolidFill solidFill38 = new A.SolidFill();
            A.SchemeColor schemeColor226 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill38.Append(schemeColor226);

            outline24.Append(solidFill38);

            shapeProperties42.Append(outline24);

            dataPointMarker1.Append(lineReference65);
            dataPointMarker1.Append(fillReference65);
            dataPointMarker1.Append(effectReference65);
            dataPointMarker1.Append(fontReference65);
            dataPointMarker1.Append(shapeProperties42);
            Cs.MarkerLayoutProperties markerLayoutProperties1 = new Cs.MarkerLayoutProperties() { Symbol = Cs.MarkerStyle.Circle, Size = 5 };

            Cs.DataPointWireframe dataPointWireframe1 = new Cs.DataPointWireframe();

            Cs.LineReference lineReference66 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.StyleColor styleColor6 = new Cs.StyleColor() { Val = "auto" };

            lineReference66.Append(styleColor6);
            Cs.FillReference fillReference66 = new Cs.FillReference() { Index = (UInt32Value)1U };
            Cs.EffectReference effectReference66 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference66 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor227 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference66.Append(schemeColor227);

            Cs.ShapeProperties shapeProperties43 = new Cs.ShapeProperties();

            A.Outline outline25 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Round };

            A.SolidFill solidFill39 = new A.SolidFill();
            A.SchemeColor schemeColor228 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill39.Append(schemeColor228);
            A.Round round7 = new A.Round();

            outline25.Append(solidFill39);
            outline25.Append(round7);

            shapeProperties43.Append(outline25);

            dataPointWireframe1.Append(lineReference66);
            dataPointWireframe1.Append(fillReference66);
            dataPointWireframe1.Append(effectReference66);
            dataPointWireframe1.Append(fontReference66);
            dataPointWireframe1.Append(shapeProperties43);

            Cs.DataTableStyle dataTableStyle1 = new Cs.DataTableStyle();
            Cs.LineReference lineReference67 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference67 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference67 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference67 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor229 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation25 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset31 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor229.Append(luminanceModulation25);
            schemeColor229.Append(luminanceOffset31);

            fontReference67.Append(schemeColor229);

            Cs.ShapeProperties shapeProperties44 = new Cs.ShapeProperties();
            A.NoFill noFill10 = new A.NoFill();

            A.Outline outline26 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill40 = new A.SolidFill();

            A.SchemeColor schemeColor230 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation26 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset32 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor230.Append(luminanceModulation26);
            schemeColor230.Append(luminanceOffset32);

            solidFill40.Append(schemeColor230);
            A.Round round8 = new A.Round();

            outline26.Append(solidFill40);
            outline26.Append(round8);

            shapeProperties44.Append(noFill10);
            shapeProperties44.Append(outline26);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType6 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            dataTableStyle1.Append(lineReference67);
            dataTableStyle1.Append(fillReference67);
            dataTableStyle1.Append(effectReference67);
            dataTableStyle1.Append(fontReference67);
            dataTableStyle1.Append(shapeProperties44);
            dataTableStyle1.Append(textCharacterPropertiesType6);

            Cs.DownBar downBar1 = new Cs.DownBar();
            Cs.LineReference lineReference68 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference68 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference68 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference68 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor231 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            fontReference68.Append(schemeColor231);

            Cs.ShapeProperties shapeProperties45 = new Cs.ShapeProperties();

            A.SolidFill solidFill41 = new A.SolidFill();

            A.SchemeColor schemeColor232 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };
            A.LuminanceModulation luminanceModulation27 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset33 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor232.Append(luminanceModulation27);
            schemeColor232.Append(luminanceOffset33);

            solidFill41.Append(schemeColor232);

            A.Outline outline27 = new A.Outline() { Width = 9525 };

            A.SolidFill solidFill42 = new A.SolidFill();

            A.SchemeColor schemeColor233 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation28 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset34 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor233.Append(luminanceModulation28);
            schemeColor233.Append(luminanceOffset34);

            solidFill42.Append(schemeColor233);

            outline27.Append(solidFill42);

            shapeProperties45.Append(solidFill41);
            shapeProperties45.Append(outline27);

            downBar1.Append(lineReference68);
            downBar1.Append(fillReference68);
            downBar1.Append(effectReference68);
            downBar1.Append(fontReference68);
            downBar1.Append(shapeProperties45);

            Cs.DropLine dropLine1 = new Cs.DropLine();
            Cs.LineReference lineReference69 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference69 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference69 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference69 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor234 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference69.Append(schemeColor234);

            Cs.ShapeProperties shapeProperties46 = new Cs.ShapeProperties();

            A.Outline outline28 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill43 = new A.SolidFill();

            A.SchemeColor schemeColor235 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation29 = new A.LuminanceModulation() { Val = 35000 };
            A.LuminanceOffset luminanceOffset35 = new A.LuminanceOffset() { Val = 65000 };

            schemeColor235.Append(luminanceModulation29);
            schemeColor235.Append(luminanceOffset35);

            solidFill43.Append(schemeColor235);
            A.Round round9 = new A.Round();

            outline28.Append(solidFill43);
            outline28.Append(round9);

            shapeProperties46.Append(outline28);

            dropLine1.Append(lineReference69);
            dropLine1.Append(fillReference69);
            dropLine1.Append(effectReference69);
            dropLine1.Append(fontReference69);
            dropLine1.Append(shapeProperties46);

            Cs.ErrorBar errorBar1 = new Cs.ErrorBar();
            Cs.LineReference lineReference70 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference70 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference70 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference70 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor236 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference70.Append(schemeColor236);

            Cs.ShapeProperties shapeProperties47 = new Cs.ShapeProperties();

            A.Outline outline29 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill44 = new A.SolidFill();

            A.SchemeColor schemeColor237 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation30 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset36 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor237.Append(luminanceModulation30);
            schemeColor237.Append(luminanceOffset36);

            solidFill44.Append(schemeColor237);
            A.Round round10 = new A.Round();

            outline29.Append(solidFill44);
            outline29.Append(round10);

            shapeProperties47.Append(outline29);

            errorBar1.Append(lineReference70);
            errorBar1.Append(fillReference70);
            errorBar1.Append(effectReference70);
            errorBar1.Append(fontReference70);
            errorBar1.Append(shapeProperties47);

            Cs.Floor floor1 = new Cs.Floor();
            Cs.LineReference lineReference71 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference71 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference71 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference71 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor238 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference71.Append(schemeColor238);

            Cs.ShapeProperties shapeProperties48 = new Cs.ShapeProperties();
            A.NoFill noFill11 = new A.NoFill();

            A.Outline outline30 = new A.Outline();
            A.NoFill noFill12 = new A.NoFill();

            outline30.Append(noFill12);

            shapeProperties48.Append(noFill11);
            shapeProperties48.Append(outline30);

            floor1.Append(lineReference71);
            floor1.Append(fillReference71);
            floor1.Append(effectReference71);
            floor1.Append(fontReference71);
            floor1.Append(shapeProperties48);

            Cs.GridlineMajor gridlineMajor1 = new Cs.GridlineMajor();
            Cs.LineReference lineReference72 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference72 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference72 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference72 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor239 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference72.Append(schemeColor239);

            Cs.ShapeProperties shapeProperties49 = new Cs.ShapeProperties();

            A.Outline outline31 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill45 = new A.SolidFill();

            A.SchemeColor schemeColor240 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation31 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset37 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor240.Append(luminanceModulation31);
            schemeColor240.Append(luminanceOffset37);

            solidFill45.Append(schemeColor240);
            A.Round round11 = new A.Round();

            outline31.Append(solidFill45);
            outline31.Append(round11);

            shapeProperties49.Append(outline31);

            gridlineMajor1.Append(lineReference72);
            gridlineMajor1.Append(fillReference72);
            gridlineMajor1.Append(effectReference72);
            gridlineMajor1.Append(fontReference72);
            gridlineMajor1.Append(shapeProperties49);

            Cs.GridlineMinor gridlineMinor1 = new Cs.GridlineMinor();
            Cs.LineReference lineReference73 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference73 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference73 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference73 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor241 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference73.Append(schemeColor241);

            Cs.ShapeProperties shapeProperties50 = new Cs.ShapeProperties();

            A.Outline outline32 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill46 = new A.SolidFill();

            A.SchemeColor schemeColor242 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation32 = new A.LuminanceModulation() { Val = 5000 };
            A.LuminanceOffset luminanceOffset38 = new A.LuminanceOffset() { Val = 95000 };

            schemeColor242.Append(luminanceModulation32);
            schemeColor242.Append(luminanceOffset38);

            solidFill46.Append(schemeColor242);
            A.Round round12 = new A.Round();

            outline32.Append(solidFill46);
            outline32.Append(round12);

            shapeProperties50.Append(outline32);

            gridlineMinor1.Append(lineReference73);
            gridlineMinor1.Append(fillReference73);
            gridlineMinor1.Append(effectReference73);
            gridlineMinor1.Append(fontReference73);
            gridlineMinor1.Append(shapeProperties50);

            Cs.HiLoLine hiLoLine1 = new Cs.HiLoLine();
            Cs.LineReference lineReference74 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference74 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference74 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference74 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor243 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference74.Append(schemeColor243);

            Cs.ShapeProperties shapeProperties51 = new Cs.ShapeProperties();

            A.Outline outline33 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill47 = new A.SolidFill();

            A.SchemeColor schemeColor244 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation33 = new A.LuminanceModulation() { Val = 75000 };
            A.LuminanceOffset luminanceOffset39 = new A.LuminanceOffset() { Val = 25000 };

            schemeColor244.Append(luminanceModulation33);
            schemeColor244.Append(luminanceOffset39);

            solidFill47.Append(schemeColor244);
            A.Round round13 = new A.Round();

            outline33.Append(solidFill47);
            outline33.Append(round13);

            shapeProperties51.Append(outline33);

            hiLoLine1.Append(lineReference74);
            hiLoLine1.Append(fillReference74);
            hiLoLine1.Append(effectReference74);
            hiLoLine1.Append(fontReference74);
            hiLoLine1.Append(shapeProperties51);

            Cs.LeaderLine leaderLine1 = new Cs.LeaderLine();
            Cs.LineReference lineReference75 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference75 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference75 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference75 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor245 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference75.Append(schemeColor245);

            Cs.ShapeProperties shapeProperties52 = new Cs.ShapeProperties();

            A.Outline outline34 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill48 = new A.SolidFill();

            A.SchemeColor schemeColor246 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation34 = new A.LuminanceModulation() { Val = 35000 };
            A.LuminanceOffset luminanceOffset40 = new A.LuminanceOffset() { Val = 65000 };

            schemeColor246.Append(luminanceModulation34);
            schemeColor246.Append(luminanceOffset40);

            solidFill48.Append(schemeColor246);
            A.Round round14 = new A.Round();

            outline34.Append(solidFill48);
            outline34.Append(round14);

            shapeProperties52.Append(outline34);

            leaderLine1.Append(lineReference75);
            leaderLine1.Append(fillReference75);
            leaderLine1.Append(effectReference75);
            leaderLine1.Append(fontReference75);
            leaderLine1.Append(shapeProperties52);

            Cs.LegendStyle legendStyle1 = new Cs.LegendStyle();
            Cs.LineReference lineReference76 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference76 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference76 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference76 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor247 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation35 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset41 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor247.Append(luminanceModulation35);
            schemeColor247.Append(luminanceOffset41);

            fontReference76.Append(schemeColor247);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType7 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            legendStyle1.Append(lineReference76);
            legendStyle1.Append(fillReference76);
            legendStyle1.Append(effectReference76);
            legendStyle1.Append(fontReference76);
            legendStyle1.Append(textCharacterPropertiesType7);

            Cs.PlotArea plotArea2 = new Cs.PlotArea() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } };
            Cs.LineReference lineReference77 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference77 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference77 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference77 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor248 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference77.Append(schemeColor248);

            plotArea2.Append(lineReference77);
            plotArea2.Append(fillReference77);
            plotArea2.Append(effectReference77);
            plotArea2.Append(fontReference77);

            Cs.PlotArea3D plotArea3D1 = new Cs.PlotArea3D() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } };
            Cs.LineReference lineReference78 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference78 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference78 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference78 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor249 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference78.Append(schemeColor249);

            plotArea3D1.Append(lineReference78);
            plotArea3D1.Append(fillReference78);
            plotArea3D1.Append(effectReference78);
            plotArea3D1.Append(fontReference78);

            Cs.SeriesAxis seriesAxis1 = new Cs.SeriesAxis();
            Cs.LineReference lineReference79 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference79 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference79 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference79 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor250 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation36 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset42 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor250.Append(luminanceModulation36);
            schemeColor250.Append(luminanceOffset42);

            fontReference79.Append(schemeColor250);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType8 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            seriesAxis1.Append(lineReference79);
            seriesAxis1.Append(fillReference79);
            seriesAxis1.Append(effectReference79);
            seriesAxis1.Append(fontReference79);
            seriesAxis1.Append(textCharacterPropertiesType8);

            Cs.SeriesLine seriesLine1 = new Cs.SeriesLine();
            Cs.LineReference lineReference80 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference80 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference80 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference80 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor251 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference80.Append(schemeColor251);

            Cs.ShapeProperties shapeProperties53 = new Cs.ShapeProperties();

            A.Outline outline35 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill49 = new A.SolidFill();

            A.SchemeColor schemeColor252 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation37 = new A.LuminanceModulation() { Val = 35000 };
            A.LuminanceOffset luminanceOffset43 = new A.LuminanceOffset() { Val = 65000 };

            schemeColor252.Append(luminanceModulation37);
            schemeColor252.Append(luminanceOffset43);

            solidFill49.Append(schemeColor252);
            A.Round round15 = new A.Round();

            outline35.Append(solidFill49);
            outline35.Append(round15);

            shapeProperties53.Append(outline35);

            seriesLine1.Append(lineReference80);
            seriesLine1.Append(fillReference80);
            seriesLine1.Append(effectReference80);
            seriesLine1.Append(fontReference80);
            seriesLine1.Append(shapeProperties53);

            Cs.TitleStyle titleStyle1 = new Cs.TitleStyle();
            Cs.LineReference lineReference81 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference81 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference81 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference81 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor253 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation38 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset44 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor253.Append(luminanceModulation38);
            schemeColor253.Append(luminanceOffset44);

            fontReference81.Append(schemeColor253);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType9 = new Cs.TextCharacterPropertiesType() { FontSize = 1400, Bold = false, Kerning = 1200, Spacing = 0, Baseline = 0 };

            titleStyle1.Append(lineReference81);
            titleStyle1.Append(fillReference81);
            titleStyle1.Append(effectReference81);
            titleStyle1.Append(fontReference81);
            titleStyle1.Append(textCharacterPropertiesType9);

            Cs.TrendlineStyle trendlineStyle1 = new Cs.TrendlineStyle();

            Cs.LineReference lineReference82 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.StyleColor styleColor7 = new Cs.StyleColor() { Val = "auto" };

            lineReference82.Append(styleColor7);
            Cs.FillReference fillReference82 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference82 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference82 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor254 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference82.Append(schemeColor254);

            Cs.ShapeProperties shapeProperties54 = new Cs.ShapeProperties();

            A.Outline outline36 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Round };

            A.SolidFill solidFill50 = new A.SolidFill();
            A.SchemeColor schemeColor255 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill50.Append(schemeColor255);
            A.PresetDash presetDash12 = new A.PresetDash() { Val = A.PresetLineDashValues.SystemDot };

            outline36.Append(solidFill50);
            outline36.Append(presetDash12);

            shapeProperties54.Append(outline36);

            trendlineStyle1.Append(lineReference82);
            trendlineStyle1.Append(fillReference82);
            trendlineStyle1.Append(effectReference82);
            trendlineStyle1.Append(fontReference82);
            trendlineStyle1.Append(shapeProperties54);

            Cs.TrendlineLabel trendlineLabel1 = new Cs.TrendlineLabel();
            Cs.LineReference lineReference83 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference83 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference83 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference83 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor256 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation39 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset45 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor256.Append(luminanceModulation39);
            schemeColor256.Append(luminanceOffset45);

            fontReference83.Append(schemeColor256);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType10 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            trendlineLabel1.Append(lineReference83);
            trendlineLabel1.Append(fillReference83);
            trendlineLabel1.Append(effectReference83);
            trendlineLabel1.Append(fontReference83);
            trendlineLabel1.Append(textCharacterPropertiesType10);

            Cs.UpBar upBar1 = new Cs.UpBar();
            Cs.LineReference lineReference84 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference84 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference84 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference84 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor257 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            fontReference84.Append(schemeColor257);

            Cs.ShapeProperties shapeProperties55 = new Cs.ShapeProperties();

            A.SolidFill solidFill51 = new A.SolidFill();
            A.SchemeColor schemeColor258 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            solidFill51.Append(schemeColor258);

            A.Outline outline37 = new A.Outline() { Width = 9525 };

            A.SolidFill solidFill52 = new A.SolidFill();

            A.SchemeColor schemeColor259 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation40 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset46 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor259.Append(luminanceModulation40);
            schemeColor259.Append(luminanceOffset46);

            solidFill52.Append(schemeColor259);

            outline37.Append(solidFill52);

            shapeProperties55.Append(solidFill51);
            shapeProperties55.Append(outline37);

            upBar1.Append(lineReference84);
            upBar1.Append(fillReference84);
            upBar1.Append(effectReference84);
            upBar1.Append(fontReference84);
            upBar1.Append(shapeProperties55);

            Cs.ValueAxis valueAxis2 = new Cs.ValueAxis();
            Cs.LineReference lineReference85 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference85 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference85 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference85 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };

            A.SchemeColor schemeColor260 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation41 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset47 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor260.Append(luminanceModulation41);
            schemeColor260.Append(luminanceOffset47);

            fontReference85.Append(schemeColor260);
            Cs.TextCharacterPropertiesType textCharacterPropertiesType11 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 };

            valueAxis2.Append(lineReference85);
            valueAxis2.Append(fillReference85);
            valueAxis2.Append(effectReference85);
            valueAxis2.Append(fontReference85);
            valueAxis2.Append(textCharacterPropertiesType11);

            Cs.Wall wall1 = new Cs.Wall();
            Cs.LineReference lineReference86 = new Cs.LineReference() { Index = (UInt32Value)0U };
            Cs.FillReference fillReference86 = new Cs.FillReference() { Index = (UInt32Value)0U };
            Cs.EffectReference effectReference86 = new Cs.EffectReference() { Index = (UInt32Value)0U };

            Cs.FontReference fontReference86 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor261 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            fontReference86.Append(schemeColor261);

            Cs.ShapeProperties shapeProperties56 = new Cs.ShapeProperties();
            A.NoFill noFill13 = new A.NoFill();

            A.Outline outline38 = new A.Outline();
            A.NoFill noFill14 = new A.NoFill();

            outline38.Append(noFill14);

            shapeProperties56.Append(noFill13);
            shapeProperties56.Append(outline38);

            wall1.Append(lineReference86);
            wall1.Append(fillReference86);
            wall1.Append(effectReference86);
            wall1.Append(fontReference86);
            wall1.Append(shapeProperties56);

            chartStyle1.Append(axisTitle1);
            chartStyle1.Append(categoryAxis2);
            chartStyle1.Append(chartArea1);
            chartStyle1.Append(dataLabel1);
            chartStyle1.Append(dataLabelCallout1);
            chartStyle1.Append(dataPoint1);
            chartStyle1.Append(dataPoint3D1);
            chartStyle1.Append(dataPointLine1);
            chartStyle1.Append(dataPointMarker1);
            chartStyle1.Append(markerLayoutProperties1);
            chartStyle1.Append(dataPointWireframe1);
            chartStyle1.Append(dataTableStyle1);
            chartStyle1.Append(downBar1);
            chartStyle1.Append(dropLine1);
            chartStyle1.Append(errorBar1);
            chartStyle1.Append(floor1);
            chartStyle1.Append(gridlineMajor1);
            chartStyle1.Append(gridlineMinor1);
            chartStyle1.Append(hiLoLine1);
            chartStyle1.Append(leaderLine1);
            chartStyle1.Append(legendStyle1);
            chartStyle1.Append(plotArea2);
            chartStyle1.Append(plotArea3D1);
            chartStyle1.Append(seriesAxis1);
            chartStyle1.Append(seriesLine1);
            chartStyle1.Append(titleStyle1);
            chartStyle1.Append(trendlineStyle1);
            chartStyle1.Append(trendlineLabel1);
            chartStyle1.Append(upBar1);
            chartStyle1.Append(valueAxis2);
            chartStyle1.Append(wall1);

            chartStylePart1.ChartStyle = chartStyle1;
        }