// Generates content of timeLinePart4. private void GenerateTimeLinePart4Content(TimeLinePart timeLinePart4) { X15.Timelines timelines4 = new X15.Timelines(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "x" } }; timelines4.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); timelines4.AddNamespaceDeclaration("x", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); X15.Timeline timeline7 = new X15.Timeline(){ Name = "DeliveryDate 6", Cache = "NativeTimeline_DeliveryDate2", Caption = "ShowHeader1", Level = (UInt32Value)2U, SelectionLevel = (UInt32Value)2U, ScrollPosition = System.Xml.XmlConvert.ToDateTime("2003-03-16T00:00:00Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind) }; X15.Timeline timeline8 = new X15.Timeline(){ Name = "DeliveryDate 7", Cache = "NativeTimeline_DeliveryDate2", Caption = "ShowHeader2", Level = (UInt32Value)2U, SelectionLevel = (UInt32Value)2U, ScrollPosition = System.Xml.XmlConvert.ToDateTime("2003-03-16T00:00:00Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind) }; timelines4.Append(timeline7); timelines4.Append(timeline8); timeLinePart4.Timelines = timelines4; }
// Generates content of timeLinePart2. private void GenerateTimeLinePart2Content(TimeLinePart timeLinePart2) { X15.Timelines timelines2 = new X15.Timelines(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "x" } }; timelines2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); timelines2.AddNamespaceDeclaration("x", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); X15.Timeline timeline3 = new X15.Timeline(){ Name = "Date", Cache = "NativeTimeline_Date", Caption = "Cache1", Level = (UInt32Value)2U, SelectionLevel = (UInt32Value)2U, ScrollPosition = System.Xml.XmlConvert.ToDateTime("2002-03-15T00:00:00Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind) }; X15.Timeline timeline4 = new X15.Timeline(){ Name = "Date 1", Cache = "NativeTimeline_Date", Caption = "Cache2", Level = (UInt32Value)2U, SelectionLevel = (UInt32Value)2U, ScrollPosition = System.Xml.XmlConvert.ToDateTime("2002-03-09T00:00:00Z", System.Xml.XmlDateTimeSerializationMode.RoundtripKind) }; timelines2.Append(timeline3); timelines2.Append(timeline4); timeLinePart2.Timelines = timelines2; }