public void SetActiveTab(Tabs activeTab) { ViewBag.HomeTab = null; ViewBag.AboutTab = null; ViewBag.ScheduleTab = null; ViewBag.MemberTab = null; ViewBag.NewsTab = null; switch (activeTab) { case Tabs.Home: ViewBag.HomeTab = "on"; break; case Tabs.About: ViewBag.AboutTab = "on"; break; case Tabs.Schedule: ViewBag.ScheduleTab = "on"; break; case Tabs.Member: ViewBag.MemberTab = "on"; break; case Tabs.News: ViewBag.NewsTab = "on"; break; } }
public static Style CreateStyle(string name, StyleValues styleType, string fontName = null, int? fontSize = null, bool bold = false, bool italic = false, string hexColour = null, Tabs tabs = null) { var style = new Style { Type = styleType, StyleId = name }; var runProps = new StyleRunProperties(); if (fontName != null) runProps.Append(new RunFonts { Ascii = fontName }); if (fontSize.HasValue) runProps.Append(new FontSize { Val = fontSize.Value.ToString() }); if (bold) runProps.Append(new Bold()); //?? this doesn't create bold text, it inverts the existing bold setting if (italic) runProps.Append(new Italic()); style.Append(new Name { Val = name }); if (hexColour != null) runProps.Append(new Color { Val = hexColour }); //style.Append(new BasedOn { Val = "Heading1" }); //style.Append(new NextParagraphStyle { Val = "Normal" }); style.Append(runProps); if (tabs != null) { var paragraphProps = new StyleParagraphProperties(tabs); style.Append(paragraphProps); } return style; }
public static string RenderTabs(Tabs allTabs) { if (allTabs != null && allTabs.Count > 0) { string initHtml = @"<tr style='margin-bottom: 7px' id='TabsControl'> <td colspan=2> <script>var SLFE_TabHideEmpty ='true'</script> <ul class='ms-cui-tts' unselectable='on' style='height:65px'> <li class='ms-cui-cg ms-cui-cg-db ms-cui-cg-s' style='height:25px'style='white-space:normal;'> <ul class='ms-cui-ct-ul' id='ulTabCtrl'>"; string endHtml = "</ul></li></ul></td></tr>"; string tabHtml = string.Empty; foreach (Tab t in allTabs) { tabHtml += RenderTab(t); } return initHtml + tabHtml + endHtml; } return ""; }
public static string GenerateVrml(IList<OpenMetaverse.Vector3> points, List<Tuple<int, int, int>> triangles) { StringBuilder vrmlOut = new StringBuilder(); Tabs tabs = new Tabs(); vrmlOut.AppendLine(tabs + "#VRML V2.0 utf8"); vrmlOut.AppendLine(); vrmlOut.AppendLine(tabs + String.Format("# Vertices: {0}", points.Count)); vrmlOut.AppendLine(tabs + String.Format("# Triangles: {0}", triangles.Count)); vrmlOut.AppendLine(); vrmlOut.AppendLine(tabs + "Group {"); tabs++; vrmlOut.AppendLine(tabs + "children ["); tabs++; vrmlOut.AppendLine(tabs + "Shape {"); tabs++; vrmlOut.AppendLine(tabs + "appearance Appearance {"); tabs++; vrmlOut.AppendLine(tabs + "material Material {"); tabs++; vrmlOut.AppendLine(tabs + "diffuseColor 0.5 0.5 0.5"); vrmlOut.AppendLine(tabs + "ambientIntensity 0.4"); vrmlOut.AppendLine(tabs + "specularColor 0.5 0.5 0.5"); vrmlOut.AppendLine(tabs + "emissiveColor 0 0 0"); vrmlOut.AppendLine(tabs + "shininess 0.4"); vrmlOut.AppendLine(tabs + "transparency 0"); tabs--; vrmlOut.AppendLine(tabs + "}"); tabs--; vrmlOut.AppendLine(tabs + "}"); vrmlOut.AppendLine(tabs + "geometry IndexedFaceSet {"); tabs++; vrmlOut.AppendLine(tabs + "ccw TRUE"); vrmlOut.AppendLine(tabs + "solid TRUE"); vrmlOut.AppendLine(tabs + "convex TRUE"); vrmlOut.AppendLine(tabs + "coord DEF co Coordinate {"); tabs++; vrmlOut.AppendLine(tabs + "point ["); tabs++; foreach (OpenMetaverse.Vector3 v in points) { vrmlOut.AppendLine(String.Format(tabs + "{0} {1} {2},", v.X, v.Y, v.Z)); } tabs--; vrmlOut.AppendLine(tabs + "]"); tabs--; vrmlOut.AppendLine(tabs + "}"); vrmlOut.AppendLine(tabs + "coordIndex ["); tabs++; foreach (Tuple<int, int, int> t in triangles) { vrmlOut.AppendLine(String.Format(tabs + "{0}, {1}, {2}, -1,", t.Item1, t.Item2, t.Item3)); } tabs--; vrmlOut.AppendLine(tabs + "]"); tabs--; vrmlOut.AppendLine(tabs + "}"); tabs--; vrmlOut.AppendLine(tabs + "}"); tabs--; vrmlOut.AppendLine(tabs + "]"); tabs--; vrmlOut.AppendLine(tabs + "}"); return vrmlOut.ToString(); }
public MainWindow() { InitializeComponent(); // Set the ItemsSource of the TabControl // to the collection of Tab list. TabControl = new Tabs(); TabControl.AddTab(); _myTabControl.ItemsSource = TabControl; }
public MainView() { this.SuspendLayout(); this.DoubleBuffered = true; this.Height = 600; this.Width = 600; this.Text = "PartsDB"; tabControl = new TabControl(); tabControl.Dock = DockStyle.Fill; tabControl.Selected += new TabControlEventHandler(delegate (object sender, TabControlEventArgs e) { if (e.TabPage == rsvTab) { activeTab = Tabs.RawSql; } else if (e.TabPage == rsvTab) { activeTab = Tabs.Prefs; } else if (e.TabPage == rsvTab) { activeTab = Tabs.Parts; } else if (e.TabPage == rsvTab) { activeTab = Tabs.Edit; } }); Controls.Add(tabControl); partsTab = new TabPage("Parts"); parts = new PartsView(); parts.Dock = DockStyle.Fill; partsTab.Controls.Add(parts); tabControl.TabPages.Add(partsTab); partEditTab = new TabPage("Edit Part"); partEdit = new PartEditView(); partEdit.Dock = DockStyle.Fill; partEditTab.Controls.Add(partEdit); tabControl.TabPages.Add(partEditTab); pvTab = new TabPage("Preferences"); pv = new PreferencesView(); pv.Dock = DockStyle.Fill; pvTab.Controls.Add(pv); tabControl.TabPages.Add(pvTab); rsvTab = new TabPage("Raw SQL"); rsv = new RawSqlView(); rsv.Dock = DockStyle.Fill; rsvTab.Controls.Add(rsv); tabControl.TabPages.Add(rsvTab); this.ResumeLayout(); }
public MainWindow() : base(Gtk.WindowType.Toplevel) { Build (); profile_combo = new OpenLauncher.Combo(); mainVbox.Add(profile_combo); tabs = new Tabs(); mainVbox.Add(tabs); gui = new GuiBuilder(this); this.refresh(); }
public void SetCurrentTab(Tabs tab) { switch (tab) { case Tabs.Inventory: tabInventory.IsSelected = true; break; case Tabs.CharacterStats: tabCharStats.IsSelected = true; break; default: throw new ApplicationException("Unknown Tabs: " + tab.ToString()); } }
private void ShowTabs(Tabs tabsToShow) { tabControl1.TabPages.Clear(); if ((tabsToShow & Tabs.Results) != 0) tabControl1.TabPages.Add(resultTab); if ((tabsToShow & Tabs.QueryPlan) != 0) tabControl1.TabPages.Add(queryPlanTab); if ((tabsToShow & Tabs.RawXml) != 0) tabControl1.TabPages.Add(rawXmlTab); if ((tabsToShow & Tabs.Log) != 0) tabControl1.TabPages.Add(logTab); if ((tabsToShow & Tabs.Subscription) != 0) tabControl1.TabPages.Add(notificationTab); if ((tabsToShow & Tabs.ErrorMessages) != 0) tabControl1.TabPages.Add(errorMessagesTab); }
public override void OnInit() { base.OnInit(); this.content = this.GetLayoutContainer(LayoutTag.Tag2); this.tabs = this.GetLayoutComponent<Tabs>(); this.tabs.SetContent(this.content); var i = 0; foreach (var component in this.components) { var button = this.tabs.AddItem<ButtonComponent, WindowComponent>(component); button.SetText((++i).ToString() + ". " + component.name); } }
protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { int index; if (base.ProcessCmdKey(ref msg, keyData)) { return(true); } bool isInRenameMode = renameTab != null || renameTabItem != null; switch (keyData) { case Keys.Home: if (activeTab.Items.Count > 0 && !isInRenameMode) { activeTab.ChosenItem = activeTab.Items[0]; EnsureVisible(activeTab.ChosenItem); Refresh(); } break; case Keys.End: if (activeTab.Items.Count > 0 && !isInRenameMode) { activeTab.ChosenItem = activeTab.Items[activeTab.Items.Count - 1]; EnsureVisible(activeTab.ChosenItem); Refresh(); } break; case Keys.PageUp: if (activeTab.Items.Count > 0 && !isInRenameMode) { index = Math.Max(0, activeTab.Items.IndexOf(activeTab.ChosenItem) - scrollBar.LargeChange); activeTab.ChosenItem = activeTab.Items[index]; EnsureVisible(activeTab.ChosenItem); Refresh(); } break; case Keys.PageDown: if (activeTab.Items.Count > 0 && !isInRenameMode) { index = Math.Min(activeTab.Items.Count - 1, activeTab.Items.IndexOf(activeTab.ChosenItem) + scrollBar.LargeChange); activeTab.ChosenItem = activeTab.Items[index]; EnsureVisible(activeTab.ChosenItem); Refresh(); } break; case Keys.Down: if (activeTab.Items.Count > 0 && !isInRenameMode) { if (activeTab.ChosenItem != null) { activeTab.ChosenItem = activeTab.Items[Math.Min(activeTab.Items.Count - 1, activeTab.Items.IndexOf(activeTab.ChosenItem) + 1)]; } else { activeTab.ChosenItem = activeTab.Items[0]; } activeTab.SelectedItem = null; EnsureVisible(activeTab.ChosenItem); Refresh(); } return(true); case Keys.Up: if (activeTab.Items.Count > 0 && !isInRenameMode) { if (activeTab.ChosenItem != null) { activeTab.ChosenItem = activeTab.Items[Math.Max(0, activeTab.Items.IndexOf(activeTab.ChosenItem) - 1)]; } else { activeTab.ChosenItem = activeTab.Items[0]; } activeTab.SelectedItem = null; EnsureVisible(activeTab.ChosenItem); Refresh(); } return(true); case Keys.Control | Keys.Up: ActiveTab = Tabs[Math.Max(0, Tabs.IndexOf(ActiveTab) - 1)]; Refresh(); return(true); case Keys.Control | Keys.Down: ActiveTab = Tabs[Math.Min(Tabs.Count - 1, Tabs.IndexOf(ActiveTab) + 1)]; Refresh(); return(true); case Keys.Return: if (renameTab != null) { renameTab.Name = renameTextBox.Text; ExitRenameMode(); } else if (renameTabItem != null) { renameTabItem.Name = renameTextBox.Text; ExitRenameMode(); } return(true); case Keys.Escape: if (renameTab != null) { if (doAddTab) { Tabs.RemoveAt(Tabs.Count - 1); renameTab = null; renameTextBox.Visible = false; doAddTab = false; Refresh(); } else { ExitRenameMode(); } } else if (renameTabItem != null) { ExitRenameMode(); } return(true); } return(false); }
public Settings(Tabs tab) : this((int)tab) { }
private void OnGUI() { _scrollPos = EditorGUILayout.BeginScrollView(_scrollPos); EditorGUIUtility.labelWidth = 150; // lang Getter.OnGuiSelectLang(); _tab = TabBar.OnGUI(_tab, _tabButtonStyle, _tabButtonSize); switch (_tab) { case Tabs.MeshSeparator: EditorGUILayout.LabelField(MeshProcessingMessages.MESH_SEPARATOR.Msg()); break; case Tabs.MeshIntegrator: EditorGUILayout.LabelField(MeshProcessingMessages.MESH_INTEGRATOR.Msg()); break; case Tabs.StaticMeshIntegrator: EditorGUILayout.LabelField(MeshProcessingMessages.STATIC_MESH_INTEGRATOR.Msg()); break; case Tabs.BoneMeshEraser: EditorGUILayout.LabelField(MeshProcessingMessages.BONE_MESH_ERASER.Msg()); break; } EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField(MeshProcessingMessages.TARGET_OBJECT.Msg(), GUILayout.MaxWidth(146.0f)); _exportTarget = (GameObject)EditorGUILayout.ObjectField(_exportTarget, typeof(GameObject), true); EditorGUILayout.EndHorizontal(); if (_exportTarget == null && MeshUtility.IsGameObjectSelected()) { _exportTarget = Selection.activeObject as GameObject; } if (_tab == Tabs.BoneMeshEraser) { if (_boneMeshEraserEditor) { _boneMeshEraserEditor.OnInspectorGUI(); } // any better way we can detect component change? if (_cSkinnedMesh != _pSkinnedMesh || _cAnimator != _pAnimator || _cEraseRoot != _pEraseRoot) { BoneMeshEraserValidate(); } _pSkinnedMesh = _cSkinnedMesh; _pAnimator = _cAnimator; _pEraseRoot = _cEraseRoot; } // Create Other Buttons { GUILayout.BeginVertical(); { GUILayout.BeginHorizontal(); GUILayout.FlexibleSpace(); if (GUILayout.Button("Process", GUILayout.MinWidth(100))) { switch (_tab) { case Tabs.MeshSeparator: _isInvokeSuccess = InvokeWizardUpdate("MeshSeparator"); break; case Tabs.MeshIntegrator: _isInvokeSuccess = InvokeWizardUpdate("MeshIntegrator"); break; case Tabs.StaticMeshIntegrator: _isInvokeSuccess = InvokeWizardUpdate("StaticMeshIntegrator"); break; case Tabs.BoneMeshEraser: _isInvokeSuccess = InvokeWizardUpdate("BoneMeshRemover"); break; } if (_isInvokeSuccess) { Close(); GUIUtility.ExitGUI(); } } GUI.enabled = true; GUILayout.EndHorizontal(); } GUILayout.EndVertical(); } EditorGUILayout.EndScrollView(); }
/// <summary> /// Search for movie with a criteria /// </summary> /// <param name="criteria">The criteria used for search</param> private async Task SearchMovies(string criteria) { if (string.IsNullOrEmpty(criteria)) { // The search filter is empty. We have to find the search tab if any foreach (var tab in Tabs) { var searchTab = tab as SearchTabViewModel; if (searchTab != null) { // We've found it var searchTabToRemove = searchTab; // The search tab is currently selected in the UI, we have to pick a different selected tab prior deleting if (searchTabToRemove == SelectedTab) { SelectedTab = Tabs.FirstOrDefault(); } Tabs.Remove(searchTabToRemove); searchTabToRemove.Cleanup(); IsMovieSearchActive = false; IsGreatestTabSelected = false; IsPopularTabSelected = true; IsRecentTabSelected = false; IsSearchTabSelected = false; return; } } } else { IsMovieSearchActive = true; IsGreatestTabSelected = false; IsPopularTabSelected = false; IsRecentTabSelected = false; IsSearchTabSelected = true; foreach (var tab in Tabs) { // Looking for a Search tab. If any, search movies with the criteria, and select this tab to be shown in the UI var searchTab = tab as SearchTabViewModel; if (searchTab != null) { await searchTab.SearchMoviesAsync(criteria); if (SelectedTab != searchTab) { SelectedTab = searchTab; } return; } } Tabs.Add(new SearchTabViewModel()); SelectedTab = Tabs.Last(); var searchMovieTab = SelectedTab as SearchTabViewModel; if (searchMovieTab != null) { await searchMovieTab.SearchMoviesAsync(criteria); } } }
private void OnGUI() { // Draw header area SRDebugEditorUtil.BeginDrawBackground(); SRDebugEditorUtil.DrawLogo(SRDebugEditorUtil.GetLogo()); SRDebugEditorUtil.EndDrawBackground(); // Draw header/content divider EditorGUILayout.BeginVertical(SRDebugEditorUtil.Styles.SettingsHeaderBoxStyle); EditorGUILayout.EndVertical(); // Draw tab buttons var rect = EditorGUILayout.BeginVertical(GUI.skin.box); --rect.width; var height = 18; EditorGUI.BeginChangeCheck(); EditorGUI.BeginDisabledGroup(!_enableTabChange); for (var i = 0; i < _tabs.Length; ++i) { var xStart = Mathf.RoundToInt(i * rect.width / _tabs.Length); var xEnd = Mathf.RoundToInt((i + 1) * rect.width / _tabs.Length); var pos = new Rect(rect.x + xStart, rect.y, xEnd - xStart, height); if (GUI.Toggle(pos, (int)_selectedTab == i, new GUIContent(_tabs[i]), EditorStyles.toolbarButton)) { _selectedTab = (Tabs)i; } } GUILayoutUtility.GetRect(10f, height); EditorGUI.EndDisabledGroup(); if (EditorGUI.EndChangeCheck()) { GUIUtility.keyboardControl = 0; } // Draw selected tab switch (_selectedTab) { case Tabs.General: DrawTabGeneral(); break; case Tabs.Layout: DrawTabLayout(); break; case Tabs.Bug_Reporter: DrawTabBugReporter(); break; case Tabs.Shortcuts: DrawTabShortcuts(); break; case Tabs.Advanced: DrawTabAdvanced(); break; } EditorGUILayout.EndVertical(); // Display rating prompt and link buttons EditorGUILayout.LabelField(SRDebugStrings.Current.SettingsRateBoxContents, EditorStyles.miniLabel); SRDebugEditorUtil.DrawFooterLayout(Screen.width); if (GUI.changed) { EditorUtility.SetDirty(Settings.Instance); } }
private void JwtRequestSignatureOnDocumentTest(string status = "sent") { // the document (file) we want signed const string SignTest1File = @"../../../docs/SignTest1.pdf"; // Read a file from disk to use as a document. byte[] fileBytes = File.ReadAllBytes(SignTest1File); EnvelopeDefinition envDef = new EnvelopeDefinition(); envDef.EmailSubject = "[DocuSign C# SDK] - Please sign this doc"; // Add a document to the envelope Document doc = new Document(); doc.DocumentBase64 = System.Convert.ToBase64String(fileBytes); doc.Name = "TestFile.pdf"; doc.DocumentId = "1"; envDef.Documents = new List <Document>(); envDef.Documents.Add(doc); // Add a recipient to sign the documeent Signer signer = new Signer(); signer.Email = testConfig.RecipientEmail; signer.Name = testConfig.RecipientName; signer.RecipientId = "1"; signer.ClientUserId = "1234"; // Create a |SignHere| tab somewhere on the document for the recipient to sign signer.Tabs = new Tabs(); signer.Tabs.SignHereTabs = new List <SignHere>(); SignHere signHere = new SignHere(); signHere.DocumentId = "1"; signHere.PageNumber = "1"; signHere.RecipientId = "1"; signHere.XPosition = "100"; signHere.YPosition = "100"; signHere.ScaleValue = ".5"; signer.Tabs.SignHereTabs.Add(signHere); envDef.Recipients = new Recipients(); envDef.Recipients.Signers = new List <Signer>(); envDef.Recipients.Signers.Add(signer); TemplateTabs templateTabs = new TemplateTabs(); templateTabs.DateTabs = new List <Date>(); Tabs tabs = new Tabs(); tabs.DateTabs = new List <Date>(); SignerAttachment signerAttachment = new SignerAttachment(); signerAttachment.ScaleValue = ""; // set envelope status to "sent" to immediately send the signature request envDef.Status = status; // |EnvelopesApi| contains methods related to creating and sending Envelopes (aka signature requests) EnvelopesApi envelopesApi = new EnvelopesApi(testConfig.ApiClient.Configuration); EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(testConfig.AccountId, envDef); Assert.IsNotNull(envelopeSummary); Assert.IsNotNull(envelopeSummary.EnvelopeId); testConfig.EnvelopeId = envelopeSummary.EnvelopeId; }
private static EnvelopeTemplate MakeTemplate(string resultsTemplateName) { // Data for this method // resultsTemplateName // document 1 (pdf) has tag /sn1/ // // The template has two recipient roles. // recipient 1 - signer // recipient 2 - cc // The template will be sent first to the signer. // After it is signed, a copy is sent to the cc person. // read file from a local directory // The reads could raise an exception if the file is not available! // add the documents Document doc = new Document(); string docB64 = Convert.ToBase64String(System.IO.File.ReadAllBytes("World_Wide_Corp_fields.pdf")); doc.DocumentBase64 = docB64; doc.Name = "Lorem Ipsum"; // can be different from actual file name doc.FileExtension = "pdf"; doc.DocumentId = "1"; // create a signer recipient to sign the document, identified by name and email // We're setting the parameters via the object creation Signer signer1 = new Signer(); signer1.RoleName = "signer"; signer1.RecipientId = "1"; signer1.RoutingOrder = "1"; // routingOrder (lower means earlier) determines the order of deliveries // to the recipients. Parallel routing order is supported by using the // same integer as the order for two or more recipients. // create a cc recipient to receive a copy of the documents, identified by name and email // We're setting the parameters via setters CarbonCopy cc1 = new CarbonCopy(); cc1.RoleName = "cc"; cc1.RoutingOrder = "2"; cc1.RecipientId = "2"; // Create fields using absolute positioning: SignHere signHere = new SignHere(); signHere.DocumentId = "1"; signHere.PageNumber = "1"; signHere.XPosition = "191"; signHere.YPosition = "148"; Checkbox check1 = new Checkbox(); check1.DocumentId = "1"; check1.PageNumber = "1"; check1.XPosition = "75"; check1.YPosition = "417"; check1.TabLabel = "ckAuthorization"; Checkbox check2 = new Checkbox(); check2.DocumentId = "1"; check2.PageNumber = "1"; check2.XPosition = "75"; check2.YPosition = "447"; check2.TabLabel = "ckAuthentication"; Checkbox check3 = new Checkbox(); check3.DocumentId = "1"; check3.PageNumber = "1"; check3.XPosition = "75"; check3.YPosition = "478"; check3.TabLabel = "ckAgreement"; Checkbox check4 = new Checkbox(); check4.DocumentId = "1"; check4.PageNumber = "1"; check4.XPosition = "75"; check4.YPosition = "508"; check4.TabLabel = "ckAcknowledgement"; List list1 = new List(); list1.DocumentId = "1"; list1.PageNumber = "1"; list1.XPosition = "142"; list1.YPosition = "291"; list1.Font = "helvetica"; list1.FontSize = "size14"; list1.TabLabel = "list"; list1.Required = "false"; list1.ListItems = new List <ListItem> { new ListItem { Text = "Red", Value = "Red" }, new ListItem { Text = "Orange", Value = "Orange" }, new ListItem { Text = "Yellow", Value = "Yellow" }, new ListItem { Text = "Green", Value = "Green" }, new ListItem { Text = "Blue", Value = "Blue" }, new ListItem { Text = "Indigo", Value = "Indigo" }, new ListItem { Text = "Violet", Value = "Violet" }, }; // The SDK can't create a number tab at this time. Bug DCM-2732 // Until it is fixed, use a text tab instead. // , number = docusign.Number.constructFromObject({ // documentId: "1", pageNumber: "1", xPosition: "163", yPosition: "260", // font: "helvetica", fontSize: "size14", tabLabel: "numbersOnly", // height: "23", width: "84", required: "false"}) Text textInsteadOfNumber = new Text(); textInsteadOfNumber.DocumentId = "1"; textInsteadOfNumber.PageNumber = "1"; textInsteadOfNumber.XPosition = "153"; textInsteadOfNumber.YPosition = "260"; textInsteadOfNumber.Font = "helvetica"; textInsteadOfNumber.FontSize = "size14"; textInsteadOfNumber.TabLabel = "numbersOnly"; textInsteadOfNumber.Height = "23"; textInsteadOfNumber.Width = "84"; textInsteadOfNumber.Required = "false"; RadioGroup radioGroup = new RadioGroup(); radioGroup.DocumentId = "1"; radioGroup.GroupName = "radio1"; radioGroup.Radios = new List <Radio> { new Radio { PageNumber = "1", Value = "white", XPosition = "142", YPosition = "384", Required = "false" }, new Radio { PageNumber = "1", Value = "red", XPosition = "74", YPosition = "384", Required = "false" }, new Radio { PageNumber = "1", Value = "blue", XPosition = "220", YPosition = "384", Required = "false" } }; Text text = new Text(); text.DocumentId = "1"; text.PageNumber = "1"; text.XPosition = "153"; text.YPosition = "230"; text.Font = "helvetica"; text.FontSize = "size14"; text.TabLabel = "text"; text.Height = "23"; text.Width = "84"; text.Required = "false"; // Tabs are set per recipient / signer Tabs signer1Tabs = new Tabs(); signer1Tabs.CheckboxTabs = new List <Checkbox> { check1, check2, check3, check4 }; signer1Tabs.ListTabs = new List <List> { list1 }; // numberTabs: [number], signer1Tabs.RadioGroupTabs = new List <RadioGroup> { radioGroup }; signer1Tabs.SignHereTabs = new List <SignHere> { signHere }; signer1Tabs.TextTabs = new List <Text> { text, textInsteadOfNumber }; signer1.Tabs = signer1Tabs; // Add the recipients to the env object Recipients recipients = new Recipients(); recipients.Signers = new List <Signer> { signer1 }; recipients.CarbonCopies = new List <CarbonCopy> { cc1 }; // create the overall template definition EnvelopeTemplate template = new EnvelopeTemplate(); // The order in the docs array determines the order in the env template.Description = "Example template created via the API"; template.Name = resultsTemplateName; template.Documents = new List <Document> { doc }; template.EmailSubject = "Please sign this document"; template.Recipients = recipients; template.Status = "created"; return(template); }
public void SwitchTab(string targetName) { SwitchTab(Tabs.FirstOrDefault(x => x.Name == targetName)); }
/// <summary> /// Initializes a new instance of the <see cref="VisjectSurfaceWindow{TAsset, TSurface, TPreview}"/> class. /// </summary> /// <param name="editor">The editor.</param> /// <param name="item">The item.</param> /// <param name="useTabs">if set to <c>true</c> [use tabs].</param> protected VisjectSurfaceWindow(Editor editor, AssetItem item, bool useTabs = false) : base(editor, item) { // Undo _undo = new FlaxEditor.Undo(); _undo.UndoDone += OnUndoRedo; _undo.RedoDone += OnUndoRedo; _undo.ActionDone += OnUndoRedo; // Split Panel 1 _split1 = new SplitPanel(Orientation.Horizontal, ScrollBars.None, ScrollBars.None) { AnchorPreset = AnchorPresets.StretchAll, Offsets = new Margin(0, 0, _toolstrip.Bottom, 0), SplitterValue = 0.7f, Parent = this }; // Split Panel 2 _split2 = new SplitPanel(Orientation.Vertical, ScrollBars.None, ScrollBars.Vertical) { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, SplitterValue = 0.4f, Parent = _split1.Panel2 }; // Properties editor if (useTabs) { _tabs = new Tabs { AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, TabsSize = new Vector2(60, 20), TabsTextHorizontalAlignment = TextAlignment.Center, UseScroll = true, Parent = _split2.Panel2 }; var propertiesTab = new Tab("Properties", _undo); _propertiesEditor = propertiesTab.Presenter; _tabs.AddTab(propertiesTab); } else { _propertiesEditor = new CustomEditorPresenter(_undo, "Loading..."); _propertiesEditor.Panel.Parent = _split2.Panel2; } _propertiesEditor.Modified += OnPropertyEdited; // Toolstrip _saveButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Save64, Save).LinkTooltip("Save"); _toolstrip.AddSeparator(); _undoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Undo64, _undo.PerformUndo).LinkTooltip("Undo (Ctrl+Z)"); _redoButton = (ToolStripButton)_toolstrip.AddButton(Editor.Icons.Redo64, _undo.PerformRedo).LinkTooltip("Redo (Ctrl+Y)"); _toolstrip.AddSeparator(); _toolstrip.AddButton(editor.Icons.CenterView64, ShowWholeGraph).LinkTooltip("Show whole graph"); // Setup input actions InputActions.Add(options => options.Undo, _undo.PerformUndo); InputActions.Add(options => options.Redo, _undo.PerformRedo); }
private void btnMenuPrincipal_Click(object sender, EventArgs e) { new Principal(Tabs.chofer()).Show(); this.Close(); }
public void SetCurrentTab(Tabs tab) { SetCurrentTab(tab.GetOrder()); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Gets the tab whose view is that specified by viewType. /// </summary> /// ------------------------------------------------------------------------------------ public ViewTab GetTab(Type viewType) { return(Tabs.FirstOrDefault(tab => tab.ViewType == viewType)); }
private void AddNewTab() { Tabs.Add(new Tab(GetNextName(), GetRandomContent())); }
public void Handle(AddTabViewCommand message) { Tabs.Add(message.Model); ActiveDocument = message.Model; }
public override void CanClose(Action <bool> callback) { Tabs.CanClose(callback); }
// Generates content of mainDocumentPart1. private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1) { Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 wp14" } }; document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); Body body1 = new Body(); Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "002C2DE6", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties1 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0" }; Justification justification1 = new Justification() { Val = JustificationValues.Center }; ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties(); RunFonts runFonts1 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold1 = new Bold(); FontSize fontSize1 = new FontSize() { Val = "30" }; paragraphMarkRunProperties1.Append(runFonts1); paragraphMarkRunProperties1.Append(bold1); paragraphMarkRunProperties1.Append(fontSize1); paragraphProperties1.Append(spacingBetweenLines1); paragraphProperties1.Append(justification1); paragraphProperties1.Append(paragraphMarkRunProperties1); Run run1 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties1 = new RunProperties(); RunFonts runFonts2 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold2 = new Bold(); FontSize fontSize2 = new FontSize() { Val = "30" }; runProperties1.Append(runFonts2); runProperties1.Append(bold2); runProperties1.Append(fontSize2); Text text1 = new Text(); text1.Text = "Hard To Find Books"; run1.Append(runProperties1); run1.Append(text1); paragraph1.Append(paragraphProperties1); paragraph1.Append(run1); Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties2 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0" }; Justification justification2 = new Justification() { Val = JustificationValues.Center }; ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties(); RunFonts runFonts3 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold3 = new Bold(); FontSize fontSize3 = new FontSize() { Val = "30" }; paragraphMarkRunProperties2.Append(runFonts3); paragraphMarkRunProperties2.Append(bold3); paragraphMarkRunProperties2.Append(fontSize3); paragraphProperties2.Append(spacingBetweenLines2); paragraphProperties2.Append(justification2); paragraphProperties2.Append(paragraphMarkRunProperties2); Run run2 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties2 = new RunProperties(); RunFonts runFonts4 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold4 = new Bold(); FontSize fontSize4 = new FontSize() { Val = "30" }; runProperties2.Append(runFonts4); runProperties2.Append(bold4); runProperties2.Append(fontSize4); Text text2 = new Text(); text2.Text = "Internet NZ Ltd."; run2.Append(runProperties2); run2.Append(text2); paragraph2.Append(paragraphProperties2); paragraph2.Append(run2); Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties3 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0" }; Justification justification3 = new Justification() { Val = JustificationValues.Center }; ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties(); RunFonts runFonts5 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize5 = new FontSize() { Val = "16" }; paragraphMarkRunProperties3.Append(runFonts5); paragraphMarkRunProperties3.Append(fontSize5); paragraphProperties3.Append(spacingBetweenLines3); paragraphProperties3.Append(justification3); paragraphProperties3.Append(paragraphMarkRunProperties3); Run run3 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties3 = new RunProperties(); RunFonts runFonts6 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize6 = new FontSize() { Val = "16" }; runProperties3.Append(runFonts6); runProperties3.Append(fontSize6); Text text3 = new Text(); text3.Text = "PO Box 5645 Moray Pl, Dunedin 9058, New Zealand"; run3.Append(runProperties3); run3.Append(text3); paragraph3.Append(paragraphProperties3); paragraph3.Append(run3); Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties4 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0" }; Justification justification4 = new Justification() { Val = JustificationValues.Center }; ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties(); RunFonts runFonts7 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize7 = new FontSize() { Val = "16" }; paragraphMarkRunProperties4.Append(runFonts7); paragraphMarkRunProperties4.Append(fontSize7); paragraphProperties4.Append(spacingBetweenLines4); paragraphProperties4.Append(justification4); paragraphProperties4.Append(paragraphMarkRunProperties4); Run run4 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties4 = new RunProperties(); RunFonts runFonts8 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize8 = new FontSize() { Val = "16" }; runProperties4.Append(runFonts8); runProperties4.Append(fontSize8); Text text4 = new Text(); text4.Text = "Phone: +64 3 4745983, Email: [email protected]"; run4.Append(runProperties4); run4.Append(text4); BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" }; BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" }; paragraph4.Append(paragraphProperties4); paragraph4.Append(run4); paragraph4.Append(bookmarkStart1); paragraph4.Append(bookmarkEnd1); Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties5 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0" }; Justification justification5 = new Justification() { Val = JustificationValues.Center }; ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties(); RunFonts runFonts9 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize9 = new FontSize() { Val = "16" }; paragraphMarkRunProperties5.Append(runFonts9); paragraphMarkRunProperties5.Append(fontSize9); paragraphProperties5.Append(spacingBetweenLines5); paragraphProperties5.Append(justification5); paragraphProperties5.Append(paragraphMarkRunProperties5); Run run5 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties5 = new RunProperties(); RunFonts runFonts10 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize10 = new FontSize() { Val = "16" }; runProperties5.Append(runFonts10); runProperties5.Append(fontSize10); Text text5 = new Text(); text5.Text = "GST: 70-526-627 Website: www.hardtofind.co.nz"; run5.Append(runProperties5); run5.Append(text5); paragraph5.Append(paragraphProperties5); paragraph5.Append(run5); Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties6 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties(); RunFonts runFonts11 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties6.Append(runFonts11); paragraphProperties6.Append(spacingBetweenLines6); paragraphProperties6.Append(paragraphMarkRunProperties6); paragraph6.Append(paragraphProperties6); Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties7 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties(); RunFonts runFonts12 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties7.Append(runFonts12); SectionProperties sectionProperties1 = new SectionProperties() { RsidR = "00910498" }; PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U }; PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U }; Columns columns1 = new Columns() { Space = "708" }; DocGrid docGrid1 = new DocGrid() { LinePitch = 360 }; sectionProperties1.Append(pageSize1); sectionProperties1.Append(pageMargin1); sectionProperties1.Append(columns1); sectionProperties1.Append(docGrid1); paragraphProperties7.Append(spacingBetweenLines7); paragraphProperties7.Append(paragraphMarkRunProperties7); paragraphProperties7.Append(sectionProperties1); paragraph7.Append(paragraphProperties7); Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" }; ParagraphProperties paragraphProperties8 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties(); RunFonts runFonts13 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize11 = new FontSize() { Val = "24" }; paragraphMarkRunProperties8.Append(runFonts13); paragraphMarkRunProperties8.Append(fontSize11); paragraphProperties8.Append(spacingBetweenLines8); paragraphProperties8.Append(paragraphMarkRunProperties8); Run run6 = new Run() { RsidRunProperties = "00417926" }; RunProperties runProperties6 = new RunProperties(); RunFonts runFonts14 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize12 = new FontSize() { Val = "24" }; runProperties6.Append(runFonts14); runProperties6.Append(fontSize12); LastRenderedPageBreak lastRenderedPageBreak1 = new LastRenderedPageBreak(); Text text6 = new Text(); text6.Text = "Invoice:"; run6.Append(runProperties6); run6.Append(lastRenderedPageBreak1); run6.Append(text6); paragraph8.Append(paragraphProperties8); paragraph8.Append(run6); Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties9 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties(); RunFonts runFonts15 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize13 = new FontSize() { Val = "24" }; paragraphMarkRunProperties9.Append(runFonts15); paragraphMarkRunProperties9.Append(fontSize13); paragraphProperties9.Append(spacingBetweenLines9); paragraphProperties9.Append(paragraphMarkRunProperties9); Run run7 = new Run(); RunProperties runProperties7 = new RunProperties(); RunFonts runFonts16 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize14 = new FontSize() { Val = "24" }; runProperties7.Append(runFonts16); runProperties7.Append(fontSize14); TabChar tabChar1 = new TabChar(); Text text7 = new Text(); //TODO add in customer name if(customer != null) text7.Text = customer.firstName + " " + customer.lastName; else text7.Text = order.firstName + " " + order.lastName; run7.Append(runProperties7); run7.Append(tabChar1); run7.Append(text7); paragraph9.Append(paragraphProperties9); paragraph9.Append(run7); Paragraph paragraphInstitute = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphInstituteProperties = new ParagraphProperties(); SpacingBetweenLines institudeSpacingBetweenLines = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphInstituteMarkRunProperties = new ParagraphMarkRunProperties(); RunFonts paragraphRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize paragraphFontSize = new FontSize() { Val = "24" }; paragraphInstituteMarkRunProperties.Append(paragraphRunFonts); paragraphInstituteMarkRunProperties.Append(paragraphFontSize); paragraphInstituteProperties.Append(institudeSpacingBetweenLines); paragraphInstituteProperties.Append(paragraphInstituteMarkRunProperties); Run instituteRun = new Run(); RunProperties instituteRunProperties = new RunProperties(); RunFonts instituteRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize instituteFontSize = new FontSize() { Val = "24" }; instituteRunProperties.Append(instituteRunFonts); instituteRunProperties.Append(instituteFontSize); TabChar instituteTabChar = new TabChar(); Text instituteText = new Text(); //TODO add in institute instituteText.Text = customer.institution; instituteRun.Append(instituteRunProperties); instituteRun.Append(instituteTabChar); instituteRun.Append(instituteText); paragraphInstitute.Append(paragraphInstituteProperties); paragraphInstitute.Append(instituteRun); Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties10 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties(); RunFonts runFonts17 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize15 = new FontSize() { Val = "24" }; paragraphMarkRunProperties10.Append(runFonts17); paragraphMarkRunProperties10.Append(fontSize15); paragraphProperties10.Append(spacingBetweenLines10); paragraphProperties10.Append(paragraphMarkRunProperties10); Run run8 = new Run(); RunProperties runProperties8 = new RunProperties(); RunFonts runFonts18 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize16 = new FontSize() { Val = "24" }; runProperties8.Append(runFonts18); runProperties8.Append(fontSize16); TabChar tabChar2 = new TabChar(); Text text8 = new Text(); //TODO add in address1 //text8.Text = "62 Seaview Avenue"; if(customer != null) text8.Text = customer.address1; else text8.Text = ""; run8.Append(runProperties8); run8.Append(tabChar2); run8.Append(text8); paragraph10.Append(paragraphProperties10); paragraph10.Append(run8); Paragraph paragraph11 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties11 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties(); RunFonts runFonts19 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize17 = new FontSize() { Val = "24" }; paragraphMarkRunProperties11.Append(runFonts19); paragraphMarkRunProperties11.Append(fontSize17); paragraphProperties11.Append(spacingBetweenLines11); paragraphProperties11.Append(paragraphMarkRunProperties11); Run run9 = new Run(); RunProperties runProperties9 = new RunProperties(); RunFonts runFonts20 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize18 = new FontSize() { Val = "24" }; runProperties9.Append(runFonts20); runProperties9.Append(fontSize18); TabChar tabChar3 = new TabChar(); Text text9 = new Text(); //TODO add in address2 //text9.Text = "Northcote"; if(customer != null) text9.Text = customer.address2; else text9.Text = ""; run9.Append(runProperties9); run9.Append(tabChar3); run9.Append(text9); paragraph11.Append(paragraphProperties11); paragraph11.Append(run9); Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties12 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties(); RunFonts runFonts21 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize19 = new FontSize() { Val = "24" }; paragraphMarkRunProperties12.Append(runFonts21); paragraphMarkRunProperties12.Append(fontSize19); paragraphProperties12.Append(spacingBetweenLines12); paragraphProperties12.Append(paragraphMarkRunProperties12); Run run10 = new Run(); RunProperties runProperties10 = new RunProperties(); RunFonts runFonts22 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize20 = new FontSize() { Val = "24" }; runProperties10.Append(runFonts22); runProperties10.Append(fontSize20); TabChar tabChar4 = new TabChar(); Text text10 = new Text(); //TODO add in address3 //text10.Text = "Auckland"; if(customer != null) text10.Text = customer.address3; else text10.Text = ""; run10.Append(runProperties10); run10.Append(tabChar4); run10.Append(text10); paragraph12.Append(paragraphProperties12); paragraph12.Append(run10); Paragraph paragraph13 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties13 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines13 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties(); RunFonts runFonts23 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize21 = new FontSize() { Val = "24" }; paragraphMarkRunProperties13.Append(runFonts23); paragraphMarkRunProperties13.Append(fontSize21); paragraphProperties13.Append(spacingBetweenLines13); paragraphProperties13.Append(paragraphMarkRunProperties13); Run run11 = new Run(); RunProperties runProperties11 = new RunProperties(); RunFonts runFonts24 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize22 = new FontSize() { Val = "24" }; runProperties11.Append(runFonts24); runProperties11.Append(fontSize22); TabChar tabChar5 = new TabChar(); Text text11 = new Text(); //TODO add in postcode //text11.Text = "0627"; if(customer != null) text11.Text = customer.postCode; else text11.Text = ""; run11.Append(runProperties11); run11.Append(tabChar5); run11.Append(text11); paragraph13.Append(paragraphProperties13); paragraph13.Append(run11); Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties14 = new ParagraphProperties(); SpacingBetweenLines spacingBetweenLines14 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties(); RunFonts runFonts25 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize23 = new FontSize() { Val = "24" }; paragraphMarkRunProperties14.Append(runFonts25); paragraphMarkRunProperties14.Append(fontSize23); paragraphProperties14.Append(spacingBetweenLines14); paragraphProperties14.Append(paragraphMarkRunProperties14); Run run12 = new Run(); RunProperties runProperties12 = new RunProperties(); RunFonts runFonts26 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize24 = new FontSize() { Val = "24" }; runProperties12.Append(runFonts26); runProperties12.Append(fontSize24); TabChar tabChar6 = new TabChar(); Text text12 = new Text(); //TODO add in country if(customer != null) text12.Text = customer.country; else text12.Text = ""; run12.Append(runProperties12); run12.Append(tabChar6); run12.Append(text12); paragraph14.Append(paragraphProperties14); paragraph14.Append(run12); Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "003F6835", RsidParagraphProperties = "003F6835", RsidRunAdditionDefault = "00910498" }; ParagraphProperties paragraphProperties15 = new ParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 2835 }; tabs1.Append(tabStop1); SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties(); RunFonts runFonts27 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize25 = new FontSize() { Val = "24" }; paragraphMarkRunProperties15.Append(runFonts27); paragraphMarkRunProperties15.Append(fontSize25); paragraphProperties15.Append(tabs1); paragraphProperties15.Append(spacingBetweenLines15); paragraphProperties15.Append(paragraphMarkRunProperties15); Run run13 = new Run(); RunProperties runProperties13 = new RunProperties(); RunFonts runFonts28 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize26 = new FontSize() { Val = "24" }; runProperties13.Append(runFonts28); runProperties13.Append(fontSize26); Break break1 = new Break() { Type = BreakValues.Column }; run13.Append(runProperties13); run13.Append(break1); paragraph15.Append(paragraphProperties15); paragraph15.Append(run13); Table table1 = new Table(); TableProperties tableProperties1 = new TableProperties(); TableStyle tableStyle1 = new TableStyle() { Val = "TableGrid" }; TableWidth tableWidth1 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto }; TableBorders tableBorders1 = new TableBorders(); TopBorder topBorder1 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder1 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder1 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder1 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; InsideHorizontalBorder insideHorizontalBorder1 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; tableBorders1.Append(topBorder1); tableBorders1.Append(leftBorder1); tableBorders1.Append(bottomBorder1); tableBorders1.Append(rightBorder1); tableBorders1.Append(insideHorizontalBorder1); tableBorders1.Append(insideVerticalBorder1); TableLook tableLook1 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true }; tableProperties1.Append(tableStyle1); tableProperties1.Append(tableWidth1); tableProperties1.Append(tableBorders1); tableProperties1.Append(tableLook1); TableGrid tableGrid1 = new TableGrid(); GridColumn gridColumn1 = new GridColumn() { Width = "3006" }; GridColumn gridColumn2 = new GridColumn() { Width = "255" }; GridColumn gridColumn3 = new GridColumn() { Width = "1099" }; tableGrid1.Append(gridColumn1); tableGrid1.Append(gridColumn2); tableGrid1.Append(gridColumn3); TableRow tableRow1 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "00613B48" }; TableCell tableCell1 = new TableCell(); TableCellProperties tableCellProperties1 = new TableCellProperties(); TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "3006", Type = TableWidthUnitValues.Dxa }; tableCellProperties1.Append(tableCellWidth1); Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties16 = new ParagraphProperties(); ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties(); RunFonts runFonts29 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize27 = new FontSize() { Val = "24" }; paragraphMarkRunProperties16.Append(runFonts29); paragraphMarkRunProperties16.Append(fontSize27); paragraphProperties16.Append(paragraphMarkRunProperties16); Run run14 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties14 = new RunProperties(); RunFonts runFonts30 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize28 = new FontSize() { Val = "24" }; runProperties14.Append(runFonts30); runProperties14.Append(fontSize28); Text text13 = new Text(); text13.Text = "Date:"; run14.Append(runProperties14); run14.Append(text13); paragraph16.Append(paragraphProperties16); paragraph16.Append(run14); tableCell1.Append(tableCellProperties1); tableCell1.Append(paragraph16); TableCell tableCell2 = new TableCell(); TableCellProperties tableCellProperties2 = new TableCellProperties(); TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "1354", Type = TableWidthUnitValues.Dxa }; GridSpan gridSpan1 = new GridSpan() { Val = 2 }; tableCellProperties2.Append(tableCellWidth2); tableCellProperties2.Append(gridSpan1); Paragraph paragraph17 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties17 = new ParagraphProperties(); Justification justification6 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties(); RunFonts runFonts31 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize29 = new FontSize() { Val = "24" }; paragraphMarkRunProperties17.Append(runFonts31); paragraphMarkRunProperties17.Append(fontSize29); paragraphProperties17.Append(justification6); paragraphProperties17.Append(paragraphMarkRunProperties17); Run run15 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties15 = new RunProperties(); RunFonts runFonts32 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize30 = new FontSize() { Val = "24" }; runProperties15.Append(runFonts32); runProperties15.Append(fontSize30); Text text14 = new Text(); //TODO add invoice date //text14.Text = "2/02/2016"; text14.Text = order.invoiceDate.ToString("d/MM/yyyy"); ; run15.Append(runProperties15); run15.Append(text14); paragraph17.Append(paragraphProperties17); paragraph17.Append(run15); tableCell2.Append(tableCellProperties2); tableCell2.Append(paragraph17); tableRow1.Append(tableCell1); tableRow1.Append(tableCell2); TableRow tableRow2 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "009B6C59" }; TableCell tableCell3 = new TableCell(); TableCellProperties tableCellProperties3 = new TableCellProperties(); TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "3261", Type = TableWidthUnitValues.Dxa }; GridSpan gridSpan2 = new GridSpan() { Val = 2 }; tableCellProperties3.Append(tableCellWidth3); tableCellProperties3.Append(gridSpan2); Paragraph paragraph18 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties18 = new ParagraphProperties(); ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties(); RunFonts runFonts33 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize31 = new FontSize() { Val = "24" }; paragraphMarkRunProperties18.Append(runFonts33); paragraphMarkRunProperties18.Append(fontSize31); paragraphProperties18.Append(paragraphMarkRunProperties18); Run run16 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties16 = new RunProperties(); RunFonts runFonts34 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize32 = new FontSize() { Val = "24" }; runProperties16.Append(runFonts34); runProperties16.Append(fontSize32); Text text15 = new Text(); text15.Text = "GST Tax Invoice Number:"; run16.Append(runProperties16); run16.Append(text15); paragraph18.Append(paragraphProperties18); paragraph18.Append(run16); tableCell3.Append(tableCellProperties3); tableCell3.Append(paragraph18); TableCell tableCell4 = new TableCell(); TableCellProperties tableCellProperties4 = new TableCellProperties(); TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "1099", Type = TableWidthUnitValues.Dxa }; tableCellProperties4.Append(tableCellWidth4); Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties19 = new ParagraphProperties(); Justification justification7 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties(); RunFonts runFonts35 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize33 = new FontSize() { Val = "24" }; paragraphMarkRunProperties19.Append(runFonts35); paragraphMarkRunProperties19.Append(fontSize33); paragraphProperties19.Append(justification7); paragraphProperties19.Append(paragraphMarkRunProperties19); Run run17 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties17 = new RunProperties(); RunFonts runFonts36 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize34 = new FontSize() { Val = "24" }; runProperties17.Append(runFonts36); runProperties17.Append(fontSize34); Text text16 = new Text(); //TODO add invoice number/orderID //text16.Text = "39248"; text16.Text = order.orderID.ToString(); run17.Append(runProperties17); run17.Append(text16); paragraph19.Append(paragraphProperties19); paragraph19.Append(run17); tableCell4.Append(tableCellProperties4); tableCell4.Append(paragraph19); tableRow2.Append(tableCell3); tableRow2.Append(tableCell4); TableRow tableRow3 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "00613B48" }; TableCell tableCell5 = new TableCell(); TableCellProperties tableCellProperties5 = new TableCellProperties(); TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "3006", Type = TableWidthUnitValues.Dxa }; tableCellProperties5.Append(tableCellWidth5); Paragraph paragraph20 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties20 = new ParagraphProperties(); ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties(); RunFonts runFonts37 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize35 = new FontSize() { Val = "24" }; paragraphMarkRunProperties20.Append(runFonts37); paragraphMarkRunProperties20.Append(fontSize35); paragraphProperties20.Append(paragraphMarkRunProperties20); Run run18 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties18 = new RunProperties(); RunFonts runFonts38 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize36 = new FontSize() { Val = "24" }; runProperties18.Append(runFonts38); runProperties18.Append(fontSize36); Text text17 = new Text(); text17.Text = "Your Reference:"; run18.Append(runProperties18); run18.Append(text17); paragraph20.Append(paragraphProperties20); paragraph20.Append(run18); tableCell5.Append(tableCellProperties5); tableCell5.Append(paragraph20); TableCell tableCell6 = new TableCell(); TableCellProperties tableCellProperties6 = new TableCellProperties(); TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "1354", Type = TableWidthUnitValues.Dxa }; GridSpan gridSpan3 = new GridSpan() { Val = 2 }; tableCellProperties6.Append(tableCellWidth6); tableCellProperties6.Append(gridSpan3); Paragraph paragraph21 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" }; ParagraphProperties paragraphProperties21 = new ParagraphProperties(); Justification justification8 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties21 = new ParagraphMarkRunProperties(); RunFonts runFonts39 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize37 = new FontSize() { Val = "24" }; paragraphMarkRunProperties21.Append(runFonts39); paragraphMarkRunProperties21.Append(fontSize37); paragraphProperties21.Append(justification8); paragraphProperties21.Append(paragraphMarkRunProperties21); Run run19 = new Run() { RsidRunProperties = "00613B48" }; RunProperties runProperties19 = new RunProperties(); RunFonts runFonts40 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize38 = new FontSize() { Val = "24" }; runProperties19.Append(runFonts40); runProperties19.Append(fontSize38); Text text18 = new Text(); //TODO add order reference //text18.Text = "Visa"; text18.Text = order.orderReference; run19.Append(runProperties19); run19.Append(text18); paragraph21.Append(paragraphProperties21); paragraph21.Append(run19); tableCell6.Append(tableCellProperties6); tableCell6.Append(paragraph21); tableRow3.Append(tableCell5); tableRow3.Append(tableCell6); table1.Append(tableProperties1); table1.Append(tableGrid1); table1.Append(tableRow1); table1.Append(tableRow2); table1.Append(tableRow3); Paragraph paragraph22 = new Paragraph() { RsidParagraphAddition = "00EA7D1E", RsidParagraphProperties = "007F61F5", RsidRunAdditionDefault = "00EA7D1E" }; ParagraphProperties paragraphProperties22 = new ParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Left, Position = 3119 }; tabs2.Append(tabStop2); SpacingBetweenLines spacingBetweenLines16 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties(); RunFonts runFonts41 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize39 = new FontSize() { Val = "24" }; paragraphMarkRunProperties22.Append(runFonts41); paragraphMarkRunProperties22.Append(fontSize39); paragraphProperties22.Append(tabs2); paragraphProperties22.Append(spacingBetweenLines16); paragraphProperties22.Append(paragraphMarkRunProperties22); paragraph22.Append(paragraphProperties22); Paragraph paragraph23 = new Paragraph() { RsidParagraphAddition = "00EA7D1E", RsidParagraphProperties = "007F61F5", RsidRunAdditionDefault = "00EA7D1E" }; ParagraphProperties paragraphProperties23 = new ParagraphProperties(); Tabs tabs3 = new Tabs(); TabStop tabStop3 = new TabStop() { Val = TabStopValues.Left, Position = 3119 }; tabs3.Append(tabStop3); SpacingBetweenLines spacingBetweenLines17 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties(); RunFonts runFonts42 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize40 = new FontSize() { Val = "24" }; paragraphMarkRunProperties23.Append(runFonts42); paragraphMarkRunProperties23.Append(fontSize40); SectionProperties sectionProperties2 = new SectionProperties() { RsidR = "00EA7D1E", RsidSect = "00015C18" }; SectionType sectionType1 = new SectionType() { Val = SectionMarkValues.Continuous }; PageSize pageSize2 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U }; PageMargin pageMargin2 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U }; Columns columns2 = new Columns() { Space = "286", ColumnCount = 2 }; DocGrid docGrid2 = new DocGrid() { LinePitch = 360 }; sectionProperties2.Append(sectionType1); sectionProperties2.Append(pageSize2); sectionProperties2.Append(pageMargin2); sectionProperties2.Append(columns2); sectionProperties2.Append(docGrid2); paragraphProperties23.Append(tabs3); paragraphProperties23.Append(spacingBetweenLines17); paragraphProperties23.Append(paragraphMarkRunProperties23); paragraphProperties23.Append(sectionProperties2); paragraph23.Append(paragraphProperties23); Paragraph paragraph24 = new Paragraph() { RsidParagraphMarkRevision = "00646179", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00646179", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties24 = new ParagraphProperties(); Tabs tabs4 = new Tabs(); TabStop tabStop4 = new TabStop() { Val = TabStopValues.Left, Position = 3119 }; tabs4.Append(tabStop4); SpacingBetweenLines spacingBetweenLines18 = new SpacingBetweenLines() { After = "0" }; ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties(); RunFonts runFonts43 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize41 = new FontSize() { Val = "24" }; paragraphMarkRunProperties24.Append(runFonts43); paragraphMarkRunProperties24.Append(fontSize41); paragraphProperties24.Append(tabs4); paragraphProperties24.Append(spacingBetweenLines18); paragraphProperties24.Append(paragraphMarkRunProperties24); paragraph24.Append(paragraphProperties24); Table table2 = new Table(); TableProperties tableProperties2 = new TableProperties(); TableStyle tableStyle2 = new TableStyle() { Val = "TableGrid" }; TableWidth tableWidth2 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto }; TableBorders tableBorders2 = new TableBorders(); LeftBorder leftBorder2 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder2 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; InsideVerticalBorder insideVerticalBorder2 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; tableBorders2.Append(leftBorder2); tableBorders2.Append(rightBorder2); tableBorders2.Append(insideVerticalBorder2); TableLook tableLook2 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true }; tableProperties2.Append(tableStyle2); tableProperties2.Append(tableWidth2); tableProperties2.Append(tableBorders2); tableProperties2.Append(tableLook2); TableGrid tableGrid2 = new TableGrid(); GridColumn gridColumn4 = new GridColumn() { Width = "1418" }; GridColumn gridColumn5 = new GridColumn() { Width = "2719" }; GridColumn gridColumn6 = new GridColumn() { Width = "1036" }; GridColumn gridColumn7 = new GridColumn() { Width = "1364" }; GridColumn gridColumn8 = new GridColumn() { Width = "1411" }; GridColumn gridColumn9 = new GridColumn() { Width = "1078" }; tableGrid2.Append(gridColumn4); tableGrid2.Append(gridColumn5); tableGrid2.Append(gridColumn6); tableGrid2.Append(gridColumn7); tableGrid2.Append(gridColumn8); tableGrid2.Append(gridColumn9); TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00443ACA", RsidTableRowProperties = "00506382" }; TableCell tableCell7 = new TableCell(); TableCellProperties tableCellProperties7 = new TableCellProperties(); TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "1418", Type = TableWidthUnitValues.Dxa }; tableCellProperties7.Append(tableCellWidth7); Paragraph paragraph25 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties25 = new ParagraphProperties(); Tabs tabs5 = new Tabs(); TabStop tabStop5 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop6 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop7 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop8 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop9 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs5.Append(tabStop5); tabs5.Append(tabStop6); tabs5.Append(tabStop7); tabs5.Append(tabStop8); tabs5.Append(tabStop9); SpacingBetweenLines spacingBetweenLines19 = new SpacingBetweenLines() { Before = "60", After = "60" }; ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties(); RunFonts runFonts44 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties25.Append(runFonts44); paragraphProperties25.Append(tabs5); paragraphProperties25.Append(spacingBetweenLines19); paragraphProperties25.Append(paragraphMarkRunProperties25); ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart }; Run run20 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties20 = new RunProperties(); RunFonts runFonts45 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties20.Append(runFonts45); Text text19 = new Text(); text19.Text = "BookID"; run20.Append(runProperties20); run20.Append(text19); ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd }; paragraph25.Append(paragraphProperties25); paragraph25.Append(proofError1); paragraph25.Append(run20); paragraph25.Append(proofError2); tableCell7.Append(tableCellProperties7); tableCell7.Append(paragraph25); TableCell tableCell8 = new TableCell(); TableCellProperties tableCellProperties8 = new TableCellProperties(); TableCellWidth tableCellWidth8 = new TableCellWidth() { Width = "2719", Type = TableWidthUnitValues.Dxa }; tableCellProperties8.Append(tableCellWidth8); Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties26 = new ParagraphProperties(); Tabs tabs6 = new Tabs(); TabStop tabStop10 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop11 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop12 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop13 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop14 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs6.Append(tabStop10); tabs6.Append(tabStop11); tabs6.Append(tabStop12); tabs6.Append(tabStop13); tabs6.Append(tabStop14); SpacingBetweenLines spacingBetweenLines20 = new SpacingBetweenLines() { Before = "60", After = "60" }; ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties(); RunFonts runFonts46 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties26.Append(runFonts46); paragraphProperties26.Append(tabs6); paragraphProperties26.Append(spacingBetweenLines20); paragraphProperties26.Append(paragraphMarkRunProperties26); Run run21 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties21 = new RunProperties(); RunFonts runFonts47 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties21.Append(runFonts47); Text text20 = new Text(); text20.Text = "Description"; run21.Append(runProperties21); run21.Append(text20); paragraph26.Append(paragraphProperties26); paragraph26.Append(run21); tableCell8.Append(tableCellProperties8); tableCell8.Append(paragraph26); TableCell tableCell9 = new TableCell(); TableCellProperties tableCellProperties9 = new TableCellProperties(); TableCellWidth tableCellWidth9 = new TableCellWidth() { Width = "1036", Type = TableWidthUnitValues.Dxa }; tableCellProperties9.Append(tableCellWidth9); Paragraph paragraph27 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties27 = new ParagraphProperties(); Tabs tabs7 = new Tabs(); TabStop tabStop15 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop16 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop17 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop18 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop19 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs7.Append(tabStop15); tabs7.Append(tabStop16); tabs7.Append(tabStop17); tabs7.Append(tabStop18); tabs7.Append(tabStop19); SpacingBetweenLines spacingBetweenLines21 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification9 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties(); RunFonts runFonts48 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties27.Append(runFonts48); paragraphProperties27.Append(tabs7); paragraphProperties27.Append(spacingBetweenLines21); paragraphProperties27.Append(justification9); paragraphProperties27.Append(paragraphMarkRunProperties27); Run run22 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties22 = new RunProperties(); RunFonts runFonts49 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties22.Append(runFonts49); Text text21 = new Text(); text21.Text = "Quantity"; run22.Append(runProperties22); run22.Append(text21); paragraph27.Append(paragraphProperties27); paragraph27.Append(run22); tableCell9.Append(tableCellProperties9); tableCell9.Append(paragraph27); TableCell tableCell10 = new TableCell(); TableCellProperties tableCellProperties10 = new TableCellProperties(); TableCellWidth tableCellWidth10 = new TableCellWidth() { Width = "1364", Type = TableWidthUnitValues.Dxa }; tableCellProperties10.Append(tableCellWidth10); Paragraph paragraph28 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties28 = new ParagraphProperties(); Tabs tabs8 = new Tabs(); TabStop tabStop20 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop21 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop22 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop23 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop24 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs8.Append(tabStop20); tabs8.Append(tabStop21); tabs8.Append(tabStop22); tabs8.Append(tabStop23); tabs8.Append(tabStop24); SpacingBetweenLines spacingBetweenLines22 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification10 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties28 = new ParagraphMarkRunProperties(); RunFonts runFonts50 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties28.Append(runFonts50); paragraphProperties28.Append(tabs8); paragraphProperties28.Append(spacingBetweenLines22); paragraphProperties28.Append(justification10); paragraphProperties28.Append(paragraphMarkRunProperties28); Run run23 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties23 = new RunProperties(); RunFonts runFonts51 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties23.Append(runFonts51); Text text22 = new Text(); text22.Text = "Price"; run23.Append(runProperties23); run23.Append(text22); paragraph28.Append(paragraphProperties28); paragraph28.Append(run23); tableCell10.Append(tableCellProperties10); tableCell10.Append(paragraph28); TableCell tableCell11 = new TableCell(); TableCellProperties tableCellProperties11 = new TableCellProperties(); TableCellWidth tableCellWidth11 = new TableCellWidth() { Width = "1411", Type = TableWidthUnitValues.Dxa }; tableCellProperties11.Append(tableCellWidth11); Paragraph paragraph29 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties29 = new ParagraphProperties(); Tabs tabs9 = new Tabs(); TabStop tabStop25 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop26 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop27 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop28 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop29 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs9.Append(tabStop25); tabs9.Append(tabStop26); tabs9.Append(tabStop27); tabs9.Append(tabStop28); tabs9.Append(tabStop29); SpacingBetweenLines spacingBetweenLines23 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification11 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties29 = new ParagraphMarkRunProperties(); RunFonts runFonts52 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties29.Append(runFonts52); paragraphProperties29.Append(tabs9); paragraphProperties29.Append(spacingBetweenLines23); paragraphProperties29.Append(justification11); paragraphProperties29.Append(paragraphMarkRunProperties29); Run run24 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties24 = new RunProperties(); RunFonts runFonts53 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties24.Append(runFonts53); Text text23 = new Text(); text23.Text = "Discount"; run24.Append(runProperties24); run24.Append(text23); paragraph29.Append(paragraphProperties29); paragraph29.Append(run24); tableCell11.Append(tableCellProperties11); tableCell11.Append(paragraph29); TableCell tableCell12 = new TableCell(); TableCellProperties tableCellProperties12 = new TableCellProperties(); TableCellWidth tableCellWidth12 = new TableCellWidth() { Width = "1078", Type = TableWidthUnitValues.Dxa }; tableCellProperties12.Append(tableCellWidth12); Paragraph paragraph30 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties30 = new ParagraphProperties(); Tabs tabs10 = new Tabs(); TabStop tabStop30 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop31 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop32 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop33 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop34 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs10.Append(tabStop30); tabs10.Append(tabStop31); tabs10.Append(tabStop32); tabs10.Append(tabStop33); tabs10.Append(tabStop34); SpacingBetweenLines spacingBetweenLines24 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification12 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties30 = new ParagraphMarkRunProperties(); RunFonts runFonts54 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; paragraphMarkRunProperties30.Append(runFonts54); paragraphProperties30.Append(tabs10); paragraphProperties30.Append(spacingBetweenLines24); paragraphProperties30.Append(justification12); paragraphProperties30.Append(paragraphMarkRunProperties30); Run run25 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties25 = new RunProperties(); RunFonts runFonts55 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; runProperties25.Append(runFonts55); Text text24 = new Text(); text24.Text = "Total"; run25.Append(runProperties25); run25.Append(text24); paragraph30.Append(paragraphProperties30); paragraph30.Append(run25); tableCell12.Append(tableCellProperties12); tableCell12.Append(paragraph30); tableRow4.Append(tableCell7); tableRow4.Append(tableCell8); tableRow4.Append(tableCell9); tableRow4.Append(tableCell10); tableRow4.Append(tableCell11); tableRow4.Append(tableCell12); table2.Append(tableProperties2); table2.Append(tableGrid2); table2.Append(tableRow4); /****** Loop from here? **********/ foreach (OrderedStock o in orderedStock) { //Create a table row TableRow orderedStockRow = new TableRow() { RsidTableRowAddition = "00443ACA", RsidTableRowProperties = "00506382" }; //Create cell to hold bookID TableCell cellBookID = new TableCell(); TableCellProperties cellBookIDProperties = new TableCellProperties(); TableCellWidth cellBookIDWidth = new TableCellWidth() { Width = "1418", Type = TableWidthUnitValues.Dxa }; cellBookIDProperties.Append(cellBookIDWidth); Paragraph paragraph31 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties31 = new ParagraphProperties(); Tabs tabs11 = new Tabs(); TabStop tabStop35 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop36 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop37 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop38 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop39 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs11.Append(tabStop35); tabs11.Append(tabStop36); tabs11.Append(tabStop37); tabs11.Append(tabStop38); tabs11.Append(tabStop39); SpacingBetweenLines spacingBetweenLines25 = new SpacingBetweenLines() { Before = "60", After = "60" }; ParagraphMarkRunProperties paragraphMarkRunProperties31 = new ParagraphMarkRunProperties(); RunFonts runFonts56 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize42 = new FontSize() { Val = "18" }; paragraphMarkRunProperties31.Append(runFonts56); paragraphMarkRunProperties31.Append(fontSize42); paragraphProperties31.Append(tabs11); paragraphProperties31.Append(spacingBetweenLines25); paragraphProperties31.Append(paragraphMarkRunProperties31); Run run26 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties26 = new RunProperties(); RunFonts runFonts57 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize43 = new FontSize() { Val = "18" }; runProperties26.Append(runFonts57); runProperties26.Append(fontSize43); Text text25 = new Text(); //TODO Book ID text25.Text = o.bookID; run26.Append(runProperties26); run26.Append(text25); paragraph31.Append(paragraphProperties31); paragraph31.Append(run26); cellBookID.Append(cellBookIDProperties); cellBookID.Append(paragraph31); //Cell for description TableCell tableCell14 = new TableCell(); TableCellProperties tableCellProperties14 = new TableCellProperties(); TableCellWidth tableCellWidth14 = new TableCellWidth() { Width = "2719", Type = TableWidthUnitValues.Dxa }; tableCellProperties14.Append(tableCellWidth14); Paragraph paragraph32 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties32 = new ParagraphProperties(); Tabs tabs12 = new Tabs(); TabStop tabStop40 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop41 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop42 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop43 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop44 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs12.Append(tabStop40); tabs12.Append(tabStop41); tabs12.Append(tabStop42); tabs12.Append(tabStop43); tabs12.Append(tabStop44); SpacingBetweenLines spacingBetweenLines26 = new SpacingBetweenLines() { Before = "60", After = "60" }; ParagraphMarkRunProperties paragraphMarkRunProperties32 = new ParagraphMarkRunProperties(); RunFonts runFonts58 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize44 = new FontSize() { Val = "18" }; paragraphMarkRunProperties32.Append(runFonts58); paragraphMarkRunProperties32.Append(fontSize44); paragraphProperties32.Append(tabs12); paragraphProperties32.Append(spacingBetweenLines26); paragraphProperties32.Append(paragraphMarkRunProperties32); Run run27 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties27 = new RunProperties(); RunFonts runFonts59 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize45 = new FontSize() { Val = "18" }; runProperties27.Append(runFonts59); runProperties27.Append(fontSize45); Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve }; //TODO Author name string author = o.author; text26.Text = author; run27.Append(runProperties27); run27.Append(text26); ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart }; RunProperties runProperties28 = new RunProperties(); RunFonts runFonts60 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize46 = new FontSize() { Val = "18" }; runProperties28.Append(runFonts60); runProperties28.Append(fontSize46); ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.SpellEnd }; paragraph32.Append(paragraphProperties32); paragraph32.Append(run27); paragraph32.Append(proofError3); Paragraph paragraph33 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties33 = new ParagraphProperties(); Tabs tabs13 = new Tabs(); TabStop tabStop45 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop46 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop47 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop48 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop49 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs13.Append(tabStop45); tabs13.Append(tabStop46); tabs13.Append(tabStop47); tabs13.Append(tabStop48); tabs13.Append(tabStop49); SpacingBetweenLines spacingBetweenLines27 = new SpacingBetweenLines() { Before = "60", After = "60" }; ParagraphMarkRunProperties paragraphMarkRunProperties33 = new ParagraphMarkRunProperties(); RunFonts runFonts61 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize47 = new FontSize() { Val = "18" }; paragraphMarkRunProperties33.Append(runFonts61); paragraphMarkRunProperties33.Append(fontSize47); paragraphProperties33.Append(tabs13); paragraphProperties33.Append(spacingBetweenLines27); paragraphProperties33.Append(paragraphMarkRunProperties33); Run run29 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties29 = new RunProperties(); RunFonts runFonts62 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize48 = new FontSize() { Val = "18" }; runProperties29.Append(runFonts62); runProperties29.Append(fontSize48); Text text28 = new Text(); //TODO Book title text28.Text = o.title; run29.Append(runProperties29); run29.Append(text28); paragraph33.Append(paragraphProperties33); paragraph33.Append(run29); tableCell14.Append(tableCellProperties14); tableCell14.Append(paragraph32); tableCell14.Append(paragraph33); //Cell for quantity TableCell tableCell15 = new TableCell(); TableCellProperties tableCellProperties15 = new TableCellProperties(); TableCellWidth tableCellWidth15 = new TableCellWidth() { Width = "1036", Type = TableWidthUnitValues.Dxa }; tableCellProperties15.Append(tableCellWidth15); Paragraph paragraph34 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties34 = new ParagraphProperties(); Tabs tabs14 = new Tabs(); TabStop tabStop50 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop51 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop52 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop53 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop54 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs14.Append(tabStop50); tabs14.Append(tabStop51); tabs14.Append(tabStop52); tabs14.Append(tabStop53); tabs14.Append(tabStop54); SpacingBetweenLines spacingBetweenLines28 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification13 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties34 = new ParagraphMarkRunProperties(); RunFonts runFonts63 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize49 = new FontSize() { Val = "18" }; paragraphMarkRunProperties34.Append(runFonts63); paragraphMarkRunProperties34.Append(fontSize49); paragraphProperties34.Append(tabs14); paragraphProperties34.Append(spacingBetweenLines28); paragraphProperties34.Append(justification13); paragraphProperties34.Append(paragraphMarkRunProperties34); Run run30 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties30 = new RunProperties(); RunFonts runFonts64 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize50 = new FontSize() { Val = "18" }; runProperties30.Append(runFonts64); runProperties30.Append(fontSize50); Text text29 = new Text(); //TODO Quantity text29.Text = o.quantity.ToString(); run30.Append(runProperties30); run30.Append(text29); paragraph34.Append(paragraphProperties34); paragraph34.Append(run30); tableCell15.Append(tableCellProperties15); tableCell15.Append(paragraph34); //Cell for price TableCell tableCell16 = new TableCell(); TableCellProperties tableCellProperties16 = new TableCellProperties(); TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "1364", Type = TableWidthUnitValues.Dxa }; tableCellProperties16.Append(tableCellWidth16); Paragraph paragraph35 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties35 = new ParagraphProperties(); Tabs tabs15 = new Tabs(); TabStop tabStop55 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop56 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop57 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop58 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop59 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs15.Append(tabStop55); tabs15.Append(tabStop56); tabs15.Append(tabStop57); tabs15.Append(tabStop58); tabs15.Append(tabStop59); SpacingBetweenLines spacingBetweenLines29 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification14 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties35 = new ParagraphMarkRunProperties(); RunFonts runFonts65 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize51 = new FontSize() { Val = "18" }; paragraphMarkRunProperties35.Append(runFonts65); paragraphMarkRunProperties35.Append(fontSize51); paragraphProperties35.Append(tabs15); paragraphProperties35.Append(spacingBetweenLines29); paragraphProperties35.Append(justification14); paragraphProperties35.Append(paragraphMarkRunProperties35); Run run31 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties31 = new RunProperties(); RunFonts runFonts66 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize52 = new FontSize() { Val = "18" }; runProperties31.Append(runFonts66); runProperties31.Append(fontSize52); Text text30 = new Text(); //TODO Price text30.Text = "$" + String.Format("{0:0.00}", o.price); run31.Append(runProperties31); run31.Append(text30); paragraph35.Append(paragraphProperties35); paragraph35.Append(run31); tableCell16.Append(tableCellProperties16); tableCell16.Append(paragraph35); //Cell for discount TableCell tableCell17 = new TableCell(); TableCellProperties tableCellProperties17 = new TableCellProperties(); TableCellWidth tableCellWidth17 = new TableCellWidth() { Width = "1411", Type = TableWidthUnitValues.Dxa }; tableCellProperties17.Append(tableCellWidth17); Paragraph paragraph36 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties36 = new ParagraphProperties(); Tabs tabs16 = new Tabs(); TabStop tabStop60 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop61 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop62 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop63 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop64 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs16.Append(tabStop60); tabs16.Append(tabStop61); tabs16.Append(tabStop62); tabs16.Append(tabStop63); tabs16.Append(tabStop64); SpacingBetweenLines spacingBetweenLines30 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification15 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties36 = new ParagraphMarkRunProperties(); RunFonts runFonts67 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize53 = new FontSize() { Val = "18" }; paragraphMarkRunProperties36.Append(runFonts67); paragraphMarkRunProperties36.Append(fontSize53); paragraphProperties36.Append(tabs16); paragraphProperties36.Append(spacingBetweenLines30); paragraphProperties36.Append(justification15); paragraphProperties36.Append(paragraphMarkRunProperties36); Run run32 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties32 = new RunProperties(); RunFonts runFonts68 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize54 = new FontSize() { Val = "18" }; runProperties32.Append(runFonts68); runProperties32.Append(fontSize54); Text text31 = new Text(); //TODO Discount text31.Text = "$" + String.Format("{0:0.00}", o.discount); run32.Append(runProperties32); run32.Append(text31); paragraph36.Append(paragraphProperties36); paragraph36.Append(run32); tableCell17.Append(tableCellProperties17); tableCell17.Append(paragraph36); //Cell for total TableCell tableCell18 = new TableCell(); TableCellProperties tableCellProperties18 = new TableCellProperties(); TableCellWidth tableCellWidth18 = new TableCellWidth() { Width = "1078", Type = TableWidthUnitValues.Dxa }; tableCellProperties18.Append(tableCellWidth18); Paragraph paragraph37 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" }; ParagraphProperties paragraphProperties37 = new ParagraphProperties(); Tabs tabs17 = new Tabs(); TabStop tabStop65 = new TabStop() { Val = TabStopValues.Left, Position = 1560 }; TabStop tabStop66 = new TabStop() { Val = TabStopValues.Left, Position = 3969 }; TabStop tabStop67 = new TabStop() { Val = TabStopValues.Left, Position = 5387 }; TabStop tabStop68 = new TabStop() { Val = TabStopValues.Left, Position = 6379 }; TabStop tabStop69 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs17.Append(tabStop65); tabs17.Append(tabStop66); tabs17.Append(tabStop67); tabs17.Append(tabStop68); tabs17.Append(tabStop69); SpacingBetweenLines spacingBetweenLines31 = new SpacingBetweenLines() { Before = "60", After = "60" }; Justification justification16 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties37 = new ParagraphMarkRunProperties(); RunFonts runFonts69 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize55 = new FontSize() { Val = "18" }; paragraphMarkRunProperties37.Append(runFonts69); paragraphMarkRunProperties37.Append(fontSize55); paragraphProperties37.Append(tabs17); paragraphProperties37.Append(spacingBetweenLines31); paragraphProperties37.Append(justification16); paragraphProperties37.Append(paragraphMarkRunProperties37); Run run33 = new Run() { RsidRunProperties = "00443ACA" }; RunProperties runProperties33 = new RunProperties(); RunFonts runFonts70 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize56 = new FontSize() { Val = "18" }; runProperties33.Append(runFonts70); runProperties33.Append(fontSize56); Text text32 = new Text(); //Total double total = o.price - o.discount; grandTotal += total; //TODO have price display as decimal text32.Text = "$" + String.Format("{0:0.00}", total); run33.Append(runProperties33); run33.Append(text32); paragraph37.Append(paragraphProperties37); paragraph37.Append(run33); tableCell18.Append(tableCellProperties18); tableCell18.Append(paragraph37); //Add cells into the row orderedStockRow.Append(cellBookID); orderedStockRow.Append(tableCell14); orderedStockRow.Append(tableCell15); orderedStockRow.Append(tableCell16); orderedStockRow.Append(tableCell17); orderedStockRow.Append(tableCell18); //Add row for book into the table table2.Append(orderedStockRow); } /***************** End loop *******************/ Paragraph paragraph38 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties38 = new ParagraphProperties(); Tabs tabs18 = new Tabs(); TabStop tabStop70 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs18.Append(tabStop70); SpacingBetweenLines spacingBetweenLines32 = new SpacingBetweenLines() { Before = "40", After = "40" }; ParagraphMarkRunProperties paragraphMarkRunProperties38 = new ParagraphMarkRunProperties(); RunFonts runFonts71 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold5 = new Bold(); FontSize fontSize57 = new FontSize() { Val = "18" }; paragraphMarkRunProperties38.Append(runFonts71); paragraphMarkRunProperties38.Append(bold5); paragraphMarkRunProperties38.Append(fontSize57); paragraphProperties38.Append(tabs18); paragraphProperties38.Append(spacingBetweenLines32); paragraphProperties38.Append(paragraphMarkRunProperties38); paragraph38.Append(paragraphProperties38); Table table3 = new Table(); TableProperties tableProperties3 = new TableProperties(); TableStyle tableStyle3 = new TableStyle() { Val = "TableGrid" }; TableWidth tableWidth3 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto }; TableIndentation tableIndentation1 = new TableIndentation() { Width = 6516, Type = TableWidthUnitValues.Dxa }; TableBorders tableBorders3 = new TableBorders(); TopBorder topBorder2 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; LeftBorder leftBorder3 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; BottomBorder bottomBorder2 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; RightBorder rightBorder3 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; InsideHorizontalBorder insideHorizontalBorder2 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; InsideVerticalBorder insideVerticalBorder3 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U }; tableBorders3.Append(topBorder2); tableBorders3.Append(leftBorder3); tableBorders3.Append(bottomBorder2); tableBorders3.Append(rightBorder3); tableBorders3.Append(insideHorizontalBorder2); tableBorders3.Append(insideVerticalBorder3); TableLook tableLook3 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true }; tableProperties3.Append(tableStyle3); tableProperties3.Append(tableWidth3); tableProperties3.Append(tableIndentation1); tableProperties3.Append(tableBorders3); tableProperties3.Append(tableLook3); TableGrid tableGrid3 = new TableGrid(); GridColumn gridColumn10 = new GridColumn() { Width = "1559" }; GridColumn gridColumn11 = new GridColumn() { Width = "941" }; tableGrid3.Append(gridColumn10); tableGrid3.Append(gridColumn11); TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" }; TableCell tableCell19 = new TableCell(); TableCellProperties tableCellProperties19 = new TableCellProperties(); TableCellWidth tableCellWidth19 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa }; tableCellProperties19.Append(tableCellWidth19); Paragraph paragraph39 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties39 = new ParagraphProperties(); Tabs tabs19 = new Tabs(); TabStop tabStop71 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs19.Append(tabStop71); SpacingBetweenLines spacingBetweenLines33 = new SpacingBetweenLines() { Before = "40", After = "40" }; ParagraphMarkRunProperties paragraphMarkRunProperties39 = new ParagraphMarkRunProperties(); RunFonts runFonts72 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold6 = new Bold(); FontSize fontSize58 = new FontSize() { Val = "20" }; paragraphMarkRunProperties39.Append(runFonts72); paragraphMarkRunProperties39.Append(bold6); paragraphMarkRunProperties39.Append(fontSize58); paragraphProperties39.Append(tabs19); paragraphProperties39.Append(spacingBetweenLines33); paragraphProperties39.Append(paragraphMarkRunProperties39); Run run34 = new Run(); RunProperties runProperties34 = new RunProperties(); RunFonts runFonts73 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize59 = new FontSize() { Val = "20" }; runProperties34.Append(runFonts73); runProperties34.Append(fontSize59); Text text33 = new Text(); text33.Text = "Total:"; run34.Append(runProperties34); run34.Append(text33); paragraph39.Append(paragraphProperties39); paragraph39.Append(run34); tableCell19.Append(tableCellProperties19); tableCell19.Append(paragraph39); TableCell tableCell20 = new TableCell(); TableCellProperties tableCellProperties20 = new TableCellProperties(); TableCellWidth tableCellWidth20 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa }; tableCellProperties20.Append(tableCellWidth20); Paragraph paragraph40 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties40 = new ParagraphProperties(); Tabs tabs20 = new Tabs(); TabStop tabStop72 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs20.Append(tabStop72); SpacingBetweenLines spacingBetweenLines34 = new SpacingBetweenLines() { Before = "40", After = "40" }; Justification justification17 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties40 = new ParagraphMarkRunProperties(); RunFonts runFonts74 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold7 = new Bold(); FontSize fontSize60 = new FontSize() { Val = "20" }; paragraphMarkRunProperties40.Append(runFonts74); paragraphMarkRunProperties40.Append(bold7); paragraphMarkRunProperties40.Append(fontSize60); paragraphProperties40.Append(tabs20); paragraphProperties40.Append(spacingBetweenLines34); paragraphProperties40.Append(justification17); paragraphProperties40.Append(paragraphMarkRunProperties40); Run run35 = new Run(); RunProperties runProperties35 = new RunProperties(); RunFonts runFonts75 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize61 = new FontSize() { Val = "20" }; runProperties35.Append(runFonts75); runProperties35.Append(fontSize61); Text text34 = new Text(); //TODO total after the table text34.Text = "$" + String.Format("{0:0.00}", grandTotal); run35.Append(runProperties35); run35.Append(text34); paragraph40.Append(paragraphProperties40); paragraph40.Append(run35); tableCell20.Append(tableCellProperties20); tableCell20.Append(paragraph40); tableRow6.Append(tableCell19); tableRow6.Append(tableCell20); TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" }; TableCell tableCell21 = new TableCell(); TableCellProperties tableCellProperties21 = new TableCellProperties(); TableCellWidth tableCellWidth21 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa }; tableCellProperties21.Append(tableCellWidth21); Paragraph paragraph41 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties41 = new ParagraphProperties(); Tabs tabs21 = new Tabs(); TabStop tabStop73 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs21.Append(tabStop73); SpacingBetweenLines spacingBetweenLines35 = new SpacingBetweenLines() { Before = "40", After = "40" }; ParagraphMarkRunProperties paragraphMarkRunProperties41 = new ParagraphMarkRunProperties(); RunFonts runFonts76 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize62 = new FontSize() { Val = "20" }; paragraphMarkRunProperties41.Append(runFonts76); paragraphMarkRunProperties41.Append(fontSize62); paragraphProperties41.Append(tabs21); paragraphProperties41.Append(spacingBetweenLines35); paragraphProperties41.Append(paragraphMarkRunProperties41); Run run36 = new Run(); RunProperties runProperties36 = new RunProperties(); RunFonts runFonts77 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize63 = new FontSize() { Val = "20" }; runProperties36.Append(runFonts77); runProperties36.Append(fontSize63); Text text35 = new Text(); text35.Text = "Freight:"; run36.Append(runProperties36); run36.Append(text35); paragraph41.Append(paragraphProperties41); paragraph41.Append(run36); tableCell21.Append(tableCellProperties21); tableCell21.Append(paragraph41); TableCell tableCell22 = new TableCell(); TableCellProperties tableCellProperties22 = new TableCellProperties(); TableCellWidth tableCellWidth22 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa }; tableCellProperties22.Append(tableCellWidth22); Paragraph paragraph42 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties42 = new ParagraphProperties(); Tabs tabs22 = new Tabs(); TabStop tabStop74 = new TabStop() { Val = TabStopValues.Left, Position = 6663 }; TabStop tabStop75 = new TabStop() { Val = TabStopValues.Left, Position = 8364 }; tabs22.Append(tabStop74); tabs22.Append(tabStop75); SpacingBetweenLines spacingBetweenLines36 = new SpacingBetweenLines() { Before = "40", After = "40" }; Justification justification18 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties42 = new ParagraphMarkRunProperties(); RunFonts runFonts78 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize64 = new FontSize() { Val = "20" }; paragraphMarkRunProperties42.Append(runFonts78); paragraphMarkRunProperties42.Append(fontSize64); paragraphProperties42.Append(tabs22); paragraphProperties42.Append(spacingBetweenLines36); paragraphProperties42.Append(justification18); paragraphProperties42.Append(paragraphMarkRunProperties42); Run run37 = new Run(); RunProperties runProperties37 = new RunProperties(); RunFonts runFonts79 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize65 = new FontSize() { Val = "20" }; runProperties37.Append(runFonts79); runProperties37.Append(fontSize65); Text text36 = new Text(); //TODO freight price text36.Text = "$" + String.Format("{0:0.00}", order.freightCost); run37.Append(runProperties37); run37.Append(text36); paragraph42.Append(paragraphProperties42); paragraph42.Append(run37); tableCell22.Append(tableCellProperties22); tableCell22.Append(paragraph42); tableRow7.Append(tableCell21); tableRow7.Append(tableCell22); TableRow tableRow8 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" }; TableCell tableCell23 = new TableCell(); TableCellProperties tableCellProperties23 = new TableCellProperties(); TableCellWidth tableCellWidth23 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa }; tableCellProperties23.Append(tableCellWidth23); Paragraph paragraph43 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties43 = new ParagraphProperties(); Tabs tabs23 = new Tabs(); TabStop tabStop76 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs23.Append(tabStop76); SpacingBetweenLines spacingBetweenLines37 = new SpacingBetweenLines() { Before = "40", After = "40" }; ParagraphMarkRunProperties paragraphMarkRunProperties43 = new ParagraphMarkRunProperties(); RunFonts runFonts80 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize66 = new FontSize() { Val = "20" }; paragraphMarkRunProperties43.Append(runFonts80); paragraphMarkRunProperties43.Append(fontSize66); paragraphProperties43.Append(tabs23); paragraphProperties43.Append(spacingBetweenLines37); paragraphProperties43.Append(paragraphMarkRunProperties43); Run run38 = new Run() { RsidRunProperties = "00690638" }; RunProperties runProperties38 = new RunProperties(); RunFonts runFonts81 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold8 = new Bold(); FontSize fontSize67 = new FontSize() { Val = "20" }; runProperties38.Append(runFonts81); runProperties38.Append(bold8); runProperties38.Append(fontSize67); Text text37 = new Text(); text37.Text = "Final Total"; run38.Append(runProperties38); run38.Append(text37); Run run39 = new Run(); RunProperties runProperties39 = new RunProperties(); RunFonts runFonts82 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold9 = new Bold(); FontSize fontSize68 = new FontSize() { Val = "20" }; runProperties39.Append(runFonts82); runProperties39.Append(bold9); runProperties39.Append(fontSize68); Text text38 = new Text(); text38.Text = ":"; run39.Append(runProperties39); run39.Append(text38); paragraph43.Append(paragraphProperties43); paragraph43.Append(run38); paragraph43.Append(run39); tableCell23.Append(tableCellProperties23); tableCell23.Append(paragraph43); TableCell tableCell24 = new TableCell(); TableCellProperties tableCellProperties24 = new TableCellProperties(); TableCellWidth tableCellWidth24 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa }; tableCellProperties24.Append(tableCellWidth24); Paragraph paragraph44 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties44 = new ParagraphProperties(); Tabs tabs24 = new Tabs(); TabStop tabStop77 = new TabStop() { Val = TabStopValues.Left, Position = 6663 }; TabStop tabStop78 = new TabStop() { Val = TabStopValues.Left, Position = 8364 }; tabs24.Append(tabStop77); tabs24.Append(tabStop78); SpacingBetweenLines spacingBetweenLines38 = new SpacingBetweenLines() { Before = "40", After = "40" }; Justification justification19 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties44 = new ParagraphMarkRunProperties(); RunFonts runFonts83 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; FontSize fontSize69 = new FontSize() { Val = "20" }; paragraphMarkRunProperties44.Append(runFonts83); paragraphMarkRunProperties44.Append(fontSize69); paragraphProperties44.Append(tabs24); paragraphProperties44.Append(spacingBetweenLines38); paragraphProperties44.Append(justification19); paragraphProperties44.Append(paragraphMarkRunProperties44); Run run40 = new Run() { RsidRunProperties = "00690638" }; RunProperties runProperties40 = new RunProperties(); RunFonts runFonts84 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold10 = new Bold(); FontSize fontSize70 = new FontSize() { Val = "20" }; runProperties40.Append(runFonts84); runProperties40.Append(bold10); runProperties40.Append(fontSize70); Text text39 = new Text(); //TODO add in total + freightCost double finalTotal = grandTotal + order.freightCost; text39.Text = "$" + String.Format("{0:0.00}", finalTotal); run40.Append(runProperties40); run40.Append(text39); paragraph44.Append(paragraphProperties44); paragraph44.Append(run40); tableCell24.Append(tableCellProperties24); tableCell24.Append(paragraph44); tableRow8.Append(tableCell23); tableRow8.Append(tableCell24); TableRow tableRow9 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" }; TableCell tableCell25 = new TableCell(); TableCellProperties tableCellProperties25 = new TableCellProperties(); TableCellWidth tableCellWidth25 = new TableCellWidth() { Width = "2500", Type = TableWidthUnitValues.Dxa }; GridSpan gridSpan4 = new GridSpan() { Val = 2 }; tableCellProperties25.Append(tableCellWidth25); tableCellProperties25.Append(gridSpan4); Paragraph paragraph45 = new Paragraph() { RsidParagraphMarkRevision = "00690638", RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties45 = new ParagraphProperties(); Tabs tabs25 = new Tabs(); TabStop tabStop79 = new TabStop() { Val = TabStopValues.Left, Position = 6663 }; TabStop tabStop80 = new TabStop() { Val = TabStopValues.Left, Position = 8364 }; tabs25.Append(tabStop79); tabs25.Append(tabStop80); SpacingBetweenLines spacingBetweenLines39 = new SpacingBetweenLines() { Before = "40", After = "40" }; Justification justification20 = new Justification() { Val = JustificationValues.Right }; ParagraphMarkRunProperties paragraphMarkRunProperties45 = new ParagraphMarkRunProperties(); RunFonts runFonts85 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold11 = new Bold(); FontSize fontSize71 = new FontSize() { Val = "20" }; paragraphMarkRunProperties45.Append(runFonts85); paragraphMarkRunProperties45.Append(bold11); paragraphMarkRunProperties45.Append(fontSize71); paragraphProperties45.Append(tabs25); paragraphProperties45.Append(spacingBetweenLines39); paragraphProperties45.Append(justification20); paragraphProperties45.Append(paragraphMarkRunProperties45); Run run41 = new Run() { RsidRunProperties = "00882792" }; RunProperties runProperties41 = new RunProperties(); RunFonts runFonts86 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold12 = new Bold(); FontSize fontSize72 = new FontSize() { Val = "18" }; runProperties41.Append(runFonts86); runProperties41.Append(bold12); runProperties41.Append(fontSize72); Text text40 = new Text(); text40.Text = "Paid in Full"; run41.Append(runProperties41); run41.Append(text40); paragraph45.Append(paragraphProperties45); paragraph45.Append(run41); tableCell25.Append(tableCellProperties25); tableCell25.Append(paragraph45); tableRow9.Append(tableCell25); table3.Append(tableProperties3); table3.Append(tableGrid3); table3.Append(tableRow6); table3.Append(tableRow7); table3.Append(tableRow8); table3.Append(tableRow9); Paragraph paragraph46 = new Paragraph() { RsidParagraphMarkRevision = "00690638", RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" }; ParagraphProperties paragraphProperties46 = new ParagraphProperties(); Tabs tabs26 = new Tabs(); TabStop tabStop81 = new TabStop() { Val = TabStopValues.Left, Position = 7938 }; tabs26.Append(tabStop81); SpacingBetweenLines spacingBetweenLines40 = new SpacingBetweenLines() { Before = "40", After = "40" }; ParagraphMarkRunProperties paragraphMarkRunProperties46 = new ParagraphMarkRunProperties(); RunFonts runFonts87 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" }; Bold bold13 = new Bold(); FontSize fontSize73 = new FontSize() { Val = "20" }; paragraphMarkRunProperties46.Append(runFonts87); paragraphMarkRunProperties46.Append(bold13); paragraphMarkRunProperties46.Append(fontSize73); paragraphProperties46.Append(tabs26); paragraphProperties46.Append(spacingBetweenLines40); paragraphProperties46.Append(paragraphMarkRunProperties46); paragraph46.Append(paragraphProperties46); SectionProperties sectionProperties3 = new SectionProperties() { RsidRPr = "00690638", RsidR = "00B5104A", RsidSect = "00EA7D1E" }; SectionType sectionType2 = new SectionType() { Val = SectionMarkValues.Continuous }; PageSize pageSize3 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U }; PageMargin pageMargin3 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U }; Columns columns3 = new Columns() { Space = "286" }; DocGrid docGrid3 = new DocGrid() { LinePitch = 360 }; sectionProperties3.Append(sectionType2); sectionProperties3.Append(pageSize3); sectionProperties3.Append(pageMargin3); sectionProperties3.Append(columns3); sectionProperties3.Append(docGrid3); body1.Append(paragraph1); body1.Append(paragraph2); body1.Append(paragraph3); body1.Append(paragraph4); body1.Append(paragraph5); body1.Append(paragraph6); body1.Append(paragraph7); body1.Append(paragraph8); if (customer != null) { if (customer.firstName != "" || customer.lastName != "") body1.Append(paragraph9); } else { if(order.firstName != "" || order.lastName != "") body1.Append(paragraph9); } if (customer.institution != "") body1.Append(paragraphInstitute); if(customer.address1 != "") body1.Append(paragraph10); if(customer.address2 != "") body1.Append(paragraph11); if(customer.address3 != "") body1.Append(paragraph12); if(customer.postCode != "") body1.Append(paragraph13); if(customer.country != "") body1.Append(paragraph14); body1.Append(paragraph15); body1.Append(table1); body1.Append(paragraph22); body1.Append(paragraph23); body1.Append(paragraph24); body1.Append(table2); body1.Append(paragraph38); body1.Append(table3); body1.Append(paragraph46); body1.Append(sectionProperties3); document1.Append(body1); mainDocumentPart1.Document = document1; }
public ShellViewModel(IEventAggregator eventAggregator , RibbonViewModel ribbonViewModel , StatusBarViewModel statusBar , IConductor conductor , IDaxStudioHost host , IVersionCheck versionCheck , IGlobalOptions options , IAutoSaver autoSaver , IThemeManager themeManager) { Log.Debug(Constants.LogMessageTemplate, nameof(ShellViewModel), "ctor", "Starting Constructor"); _utcSessionStart = DateTime.UtcNow; Ribbon = ribbonViewModel; Ribbon.Shell = this; StatusBar = statusBar; Options = options; AutoSaver = autoSaver; ThemeManager = themeManager; _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); Tabs = (DocumentTabViewModel)conductor; Tabs.ConductWith(this); //Tabs.CloseStrategy = new ApplicationCloseStrategy(); Tabs.CloseStrategy = IoC.Get <ApplicationCloseAllStrategy>(); _host = host; _username = UserHelper.GetUser(); var recoveringFiles = false; // get master auto save indexes and only get crashed index files... var autoSaveInfo = AutoSaver.LoadAutoSaveMasterIndex(); var filesToRecover = autoSaveInfo.Values.Where(idx => idx.IsCurrentVersion && idx.ShouldRecover).SelectMany(entry => entry.Files); // check for auto-saved files and offer to recover them if (filesToRecover.Any()) { Log.Debug(Constants.LogMessageTemplate, nameof(ShellViewModel), "ctor", "Found auto-save files, beginning recovery"); recoveringFiles = true; RecoverAutoSavedFiles(autoSaveInfo); } else { // if there are no auto-save files to recover, start the auto save timer Log.Debug(Constants.LogMessageTemplate, nameof(ShellViewModel), "ctor", "Starting auto-save timer"); eventAggregator.PublishOnUIThreadAsync(new StartAutoSaveTimerEvent()); } // if a filename was passed in on the command line open it if (!string.IsNullOrEmpty(_host.CommandLineFileName)) { Log.Debug(Constants.LogMessageTemplate, nameof(ShellViewModel), "ctor", $"Opening file from command line: '{_host.CommandLineFileName}'"); Tabs.NewQueryDocument(_host.CommandLineFileName); } // if no tabs are open at this point and we are not recovering auto-save file then, open a blank document if (Tabs.Items.Count == 0 && !recoveringFiles) { Log.Debug(Constants.LogMessageTemplate, nameof(ShellViewModel), "ctor", "Opening a new blank query window"); NewDocument(); } VersionChecker = versionCheck; VersionChecker.UpdateCompleteCallback += VersionCheckComplete; DisplayName = AppTitle; Application.Current.Activated += OnApplicationActivated; AutoSaveTimer = new Timer(Constants.AutoSaveIntervalMs); AutoSaveTimer.Elapsed += AutoSaveTimerElapsed; Log.Debug("============ Shell Started - v{version} =============", Version.ToString()); }
public void AddTab(Tab tab) { tab.Id = Tabs.Count; Tabs.Add(tab); }
public new void Load(ServersTreeView tree, Tabs _tabs) { this.Tree = tree; this.tabs = _tabs; }
/// <summary> /// Initializes a new instance of the <see cref="SpawnTab"/> class. /// </summary> /// <param name="icon">The icon.</param> /// <param name="editor">The editor instance.</param> public SpawnTab(SpriteHandle icon, Editor editor) : base(string.Empty, icon) { Editor = editor; Selected += tab => Editor.Windows.EditWin.Viewport.SetActiveMode <TransformGizmoMode>(); ScriptsBuilder.ScriptsReload += OnScriptsReload; var actorGroups = new Tabs { Orientation = Orientation.Vertical, UseScroll = true, AnchorPreset = AnchorPresets.StretchAll, Offsets = Margin.Zero, TabsSize = new Float2(120, 32), Parent = this, }; _groupSearch = CreateGroupWithList(actorGroups, "Search", 26); _searchBox = new TextBox { AnchorPreset = AnchorPresets.HorizontalStretchTop, WatermarkText = "Search...", Parent = _groupSearch.Parent.Parent, Bounds = new Rectangle(4, 4, actorGroups.Width - 8, 18), }; _searchBox.TextChanged += OnSearchBoxTextChanged; var groupBasicModels = CreateGroupWithList(actorGroups, "Basic Models"); groupBasicModels.AddChild(CreateEditorAssetItem("Cube", "Primitives/Cube.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Sphere", "Primitives/Sphere.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Plane", "Primitives/Plane.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cylinder", "Primitives/Cylinder.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Cone", "Primitives/Cone.flax")); groupBasicModels.AddChild(CreateEditorAssetItem("Capsule", "Primitives/Capsule.flax")); var groupLights = CreateGroupWithList(actorGroups, "Lights"); groupLights.AddChild(CreateActorItem("Directional Light", typeof(DirectionalLight))); groupLights.AddChild(CreateActorItem("Point Light", typeof(PointLight))); groupLights.AddChild(CreateActorItem("Spot Light", typeof(SpotLight))); groupLights.AddChild(CreateActorItem("Sky Light", typeof(SkyLight))); var groupVisuals = CreateGroupWithList(actorGroups, "Visuals"); groupVisuals.AddChild(CreateActorItem("Camera", typeof(Camera))); groupVisuals.AddChild(CreateActorItem("Environment Probe", typeof(EnvironmentProbe))); groupVisuals.AddChild(CreateActorItem("Skybox", typeof(Skybox))); groupVisuals.AddChild(CreateActorItem("Sky", typeof(Sky))); groupVisuals.AddChild(CreateActorItem("Exponential Height Fog", typeof(ExponentialHeightFog))); groupVisuals.AddChild(CreateActorItem("PostFx Volume", typeof(PostFxVolume))); groupVisuals.AddChild(CreateActorItem("Decal", typeof(Decal))); groupVisuals.AddChild(CreateActorItem("Particle Effect", typeof(ParticleEffect))); var groupPhysics = CreateGroupWithList(actorGroups, "Physics"); groupPhysics.AddChild(CreateActorItem("Rigid Body", typeof(RigidBody))); groupPhysics.AddChild(CreateActorItem("Character Controller", typeof(CharacterController))); groupPhysics.AddChild(CreateActorItem("Box Collider", typeof(BoxCollider))); groupPhysics.AddChild(CreateActorItem("Sphere Collider", typeof(SphereCollider))); groupPhysics.AddChild(CreateActorItem("Capsule Collider", typeof(CapsuleCollider))); groupPhysics.AddChild(CreateActorItem("Mesh Collider", typeof(MeshCollider))); groupPhysics.AddChild(CreateActorItem("Fixed Joint", typeof(FixedJoint))); groupPhysics.AddChild(CreateActorItem("Distance Joint", typeof(DistanceJoint))); groupPhysics.AddChild(CreateActorItem("Slider Joint", typeof(SliderJoint))); groupPhysics.AddChild(CreateActorItem("Spherical Joint", typeof(SphericalJoint))); groupPhysics.AddChild(CreateActorItem("Hinge Joint", typeof(HingeJoint))); groupPhysics.AddChild(CreateActorItem("D6 Joint", typeof(D6Joint))); var groupOther = CreateGroupWithList(actorGroups, "Other"); groupOther.AddChild(CreateActorItem("Animated Model", typeof(AnimatedModel))); groupOther.AddChild(CreateActorItem("Bone Socket", typeof(BoneSocket))); groupOther.AddChild(CreateActorItem("CSG Box Brush", typeof(BoxBrush))); groupOther.AddChild(CreateActorItem("Audio Source", typeof(AudioSource))); groupOther.AddChild(CreateActorItem("Audio Listener", typeof(AudioListener))); groupOther.AddChild(CreateActorItem("Empty Actor", typeof(EmptyActor))); groupOther.AddChild(CreateActorItem("Scene Animation", typeof(SceneAnimationPlayer))); groupOther.AddChild(CreateActorItem("Nav Mesh Bounds Volume", typeof(NavMeshBoundsVolume))); groupOther.AddChild(CreateActorItem("Nav Link", typeof(NavLink))); groupOther.AddChild(CreateActorItem("Nav Modifier Volume", typeof(NavModifierVolume))); groupOther.AddChild(CreateActorItem("Spline", typeof(Spline))); var groupGui = CreateGroupWithList(actorGroups, "GUI"); groupGui.AddChild(CreateActorItem("UI Control", typeof(UIControl))); groupGui.AddChild(CreateActorItem("UI Canvas", typeof(UICanvas))); groupGui.AddChild(CreateActorItem("Text Render", typeof(TextRender))); groupGui.AddChild(CreateActorItem("Sprite Render", typeof(SpriteRender))); actorGroups.SelectedTabIndex = 1; }
public override void OnInspectorGUI() { s_currentTab = TabBar.OnGUI(s_currentTab); GUILayout.Space(10); switch (s_currentTab) { case Tabs.Model: { if (m_migration == null) { EditorGUILayout.HelpBox(m_migration.Message, MessageType.Info); { serializedObject.Update(); // normalize EditorGUILayout.Space(); EditorGUILayout.HelpBox("Create normalized prefab", MessageType.Info); EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(VrmScriptedImporter.Normalize))); serializedObject.ApplyModifiedProperties(); } ApplyRevertGUI(); } else { EditorGUILayout.HelpBox(m_migration.Message, m_model != null ? MessageType.Info : MessageType.Warning); if (VRMShaders.Symbols.VRM_DEVELOP) { if (GUILayout.Button("debug export")) { File.WriteAllBytes("tmp.vrm", m_migration.MigratedBytes); } } { serializedObject.Update(); // migration EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(VrmScriptedImporter.MigrateToVrm1))); serializedObject.ApplyModifiedProperties(); } ApplyRevertGUI(); } break; } case Tabs.Materials: if (m_result.Data != null && m_result.VrmExtension != null) { m_materialEditor.OnGUI(m_importer, m_result.Data, new Vrm10TextureDescriptorGenerator(m_result.Data), assetPath => $"{Path.GetFileNameWithoutExtension(assetPath)}.vrm1.Textures", assetPath => $"{Path.GetFileNameWithoutExtension(assetPath)}.vrm1.Materials"); // render pipeline EditorGUILayout.Space(); EditorGUILayout.HelpBox("Experimental", MessageType.Warning); EditorGUILayout.PropertyField(serializedObject.FindProperty(nameof(VrmScriptedImporter.RenderPipeline))); ApplyRevertGUI(); } break; case Tabs.Vrm: if (m_result.Data != null && m_result.VrmExtension != null) { m_vrmEditor.OnGUI(m_importer, m_result.Data, m_result.VrmExtension); ApplyRevertGUI(); } break; } }
protected override bool DoGUI(bool isValid) { if (State.ExportRoot == null) { return(false); } // // T-Pose // if (State.ExportRoot.GetComponent <Animator>() != null) { var backup = GUI.enabled; GUI.enabled = State.ExportRoot.scene.IsValid(); if (s_foldT = EditorGUILayout.Foldout(s_foldT, "T-Pose")) { if (GUI.enabled) { EditorGUILayout.HelpBox(EnableTPose.ENALBE_TPOSE_BUTTON.Msg(), MessageType.Info); } else { EditorGUILayout.HelpBox(EnableTPose.DISABLE_TPOSE_BUTTON.Msg(), MessageType.Warning); } // // T-Pose // if (GUILayout.Button(VRMExportSettingsEditor.Options.DO_TPOSE.Msg())) { if (State.ExportRoot != null) { // fallback Undo.RecordObjects(State.ExportRoot.GetComponentsInChildren <Transform>(), "tpose"); VRMBoneNormalizer.EnforceTPose(State.ExportRoot); Repaint(); } } if (GUILayout.Button(VRMExportSettingsEditor.Options.DO_TPOSE.Msg() + "(unity internal)")) { if (State.ExportRoot != null) { Undo.RecordObjects(State.ExportRoot.GetComponentsInChildren <Transform>(), "tpose.internal"); if (InternalTPose.TryMakePoseValid(State.ExportRoot)) { // done Repaint(); } else { Debug.LogWarning("not found"); } } } } GUI.enabled = backup; } if (!isValid) { return(false); } // // GUI // _tab = TabBar.OnGUI(_tab); foreach (var meshInfo in m_meshes.Meshes) { switch (meshInfo.VertexColor) { case UniGLTF.VertexColorState.ExistsAndMixed: Validation.Warning($"{meshInfo.Renderers}: Both vcolor.multiply and not multiply unlit materials exist").DrawGUI(); break; } } return(DrawWizardGUI()); }
public Paragraph GenerateLastParagraph(int counts,float length,int page) { Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "00000000", RsidParagraphProperties = "008A3B59", RsidRunAdditionDefault = "008A3B59" }; ParagraphProperties paragraphProperties1 = new ParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 0 }; TabStop tabStop2 = new TabStop() { Val = TabStopValues.Center, Position = 5000 }; TabStop tabStop3 = new TabStop() { Val = TabStopValues.Right, Position = 10070 }; tabs1.Append(tabStop1); tabs1.Append(tabStop2); tabs1.Append(tabStop3); ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties(); FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "28" }; paragraphMarkRunProperties1.Append(fontSizeComplexScript1); paragraphProperties1.Append(tabs1); paragraphProperties1.Append(paragraphMarkRunProperties1); Run run1 = new Run() { RsidRunProperties = "00200017" }; RunProperties runProperties1 = new RunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.EastAsia }; Bold bold1 = new Bold(); FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "28" }; runProperties1.Append(runFonts1); runProperties1.Append(bold1); runProperties1.Append(fontSizeComplexScript2); Text text1 = new Text(); text1.Text = " "; run1.Append(runProperties1); run1.Append(text1); Run run2 = new Run() { RsidRunAddition = "00CE1671" }; RunProperties runProperties2 = new RunProperties(); FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "28" }; runProperties2.Append(fontSizeComplexScript3); Text text2 = new Text(); text2.Text = "共计:" + counts + "根"; run2.Append(runProperties2); run2.Append(text2); Run run3 = new Run() { RsidRunAddition = "00CE1671" }; RunProperties runProperties3 = new RunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.EastAsia }; FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "28" }; runProperties3.Append(runFonts2); runProperties3.Append(fontSizeComplexScript4); TabChar tabChar1 = new TabChar(); run3.Append(runProperties3); run3.Append(tabChar1); Run run4 = new Run() { RsidRunProperties = "00CE1671", RsidRunAddition = "00CE1671" }; RunProperties runProperties4 = new RunProperties(); RunFonts runFonts3 = new RunFonts() { Hint = FontTypeHintValues.EastAsia }; Bold bold2 = new Bold(); BoldComplexScript boldComplexScript1 = new BoldComplexScript(); FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "21" }; runProperties4.Append(runFonts3); runProperties4.Append(bold2); runProperties4.Append(boldComplexScript1); runProperties4.Append(fontSizeComplexScript5); Text text3 = new Text(); text3.Text = " "; run4.Append(runProperties4); run4.Append(text3); Run run5 = new Run() { RsidRunProperties = "00CE1671", RsidRunAddition = "00CE1671" }; RunProperties runProperties5 = new RunProperties(); BoldComplexScript boldComplexScript2 = new BoldComplexScript(); FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "21" }; runProperties5.Append(boldComplexScript2); runProperties5.Append(fontSizeComplexScript6); Text text4 = new Text(); text4.Text = "共计:" + length + "米"; run5.Append(runProperties5); run5.Append(text4); Run run6 = new Run() { RsidRunAddition = "00CE1671" }; RunProperties runProperties6 = new RunProperties(); RunFonts runFonts4 = new RunFonts() { Hint = FontTypeHintValues.EastAsia }; Bold bold3 = new Bold(); BoldComplexScript boldComplexScript3 = new BoldComplexScript(); FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "21" }; runProperties6.Append(runFonts4); runProperties6.Append(bold3); runProperties6.Append(boldComplexScript3); runProperties6.Append(fontSizeComplexScript7); TabChar tabChar2 = new TabChar(); run6.Append(runProperties6); run6.Append(tabChar2); Run run7 = new Run() { RsidRunProperties = "00200017" }; RunProperties runProperties7 = new RunProperties(); //RunFonts runFonts5 = new RunFonts() { Hint = FontTypeHintValues.EastAsia }; //Bold bold4 = new Bold(); FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "28" }; //runProperties7.Append(runFonts5); //runProperties7.Append(bold4); runProperties7.Append(fontSizeComplexScript8); Text text5 = new Text(); text5.Text = "共计:" + page + "页"; run7.Append(runProperties7); run7.Append(text5); paragraph1.Append(paragraphProperties1); paragraph1.Append(run1); paragraph1.Append(run2); paragraph1.Append(run3); paragraph1.Append(run4); paragraph1.Append(run5); paragraph1.Append(run6); paragraph1.Append(run7); return paragraph1; }
private void DrawTabStrip_ToolWindow(Graphics g) { // TODO: Clean up and add properties for colors g.SmoothingMode = SmoothingMode.AntiAlias; for (int i = 0; i <= Tabs.Count - 1; i++) { Rectangle tabrect = GetTabRectangle(i); Rectangle rectIcon = new Rectangle(tabrect.X + ToolWindowImageGapLeft, tabrect.Y + tabrect.Height - 1 - ToolWindowImageGapBottom - ToolWindowImageHeight, ToolWindowImageWidth, ToolWindowImageHeight); Rectangle rectText = rectIcon; rectText.X += rectIcon.Width + ToolWindowImageGapRight; rectText.Width = tabrect.Width - rectIcon.Width - ToolWindowImageGapLeft - ToolWindowImageGapRight - ToolWindowTextGapRight; if (object.ReferenceEquals(DockPane.ActiveContent, Tabs[i].Content)) { // color area as the tab g.FillRectangle(new SolidBrush(Color.FromArgb(252, 252, 254)), ClientRectangle.X, ClientRectangle.Y - 1, ClientRectangle.Width - 1, tabrect.Y + 2); DrawHelper.DrawTab(g, tabrect, BaseControls.Docking.DrawHelper.Corners.Bottom, BaseControls.Docking.DrawHelper.GradientType.Flat, Color.FromArgb(252, 252, 254), Color.FromArgb(252, 252, 254), Color.FromArgb(172, 168, 153), false); // line to the left g.DrawLine(TabSeperatorPen, tabrect.X, tabrect.Y + 1, ClientRectangle.X, tabrect.Y + 1); // line to the right g.DrawLine(TabSeperatorPen, tabrect.X + tabrect.Width, tabrect.Y + 1, ClientRectangle.Width, tabrect.Y + 1); // text g.DrawString(Tabs[i].Content.DockHandler.TabText, Font, new SolidBrush(Color.Black), rectText, ToolWindowTextStringFormat); } else { if (Tabs.IndexOf(DockPane.ActiveContent) != Tabs.IndexOf(Tabs[i].Content) + 1 && Tabs.IndexOf(Tabs[i].Content) != Tabs.Count - 1) { g.DrawLine(TabSeperatorPen, tabrect.X + tabrect.Width - 1, tabrect.Y + ToolWindowTabSeperatorGapTop, tabrect.X + tabrect.Width - 1, tabrect.Y + tabrect.Height - 1 - ToolWindowTabSeperatorGapBottom); } g.DrawString(Tabs[i].Content.DockHandler.TabText, Font, InactiveTextBrush, rectText, ToolWindowTextStringFormat); } if (tabrect.Contains(rectIcon)) { g.DrawIcon(Tabs[i].Content.DockHandler.Icon, rectIcon); } } }
/// <summary> /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// </summary> ///<param name="accountId">The external account number (int) or account ID Guid.</param><param name="envelopeId">The envelopeId Guid of the envelope being accessed.</param><param name="recipientId">The ID of the recipient being accessed.</param> <param name="tabs">TBD Description</param> /// <returns>7Task of Tabs</returns> public async System.Threading.Tasks.Task<Tabs> DeleteTabsAsync (string accountId, string envelopeId, string recipientId, Tabs tabs) { ApiResponse<Tabs> response = await DeleteTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, tabs); return response.Data; }
protected override void OnDragOver(DragEventArgs e) { ExitRenameMode(); base.OnDragOver(e); Point p = PointToClient(new Point(e.X, e.Y)); if (e.Data.GetDataPresent(typeof(SideTabItem))) { ClearDraggings(activeTab); SideTab tab = GetTabAt(p.X, p.Y); if (tab != null && tab != Tabs.DragOverTab) { if (tab.CanDragDrop) { Tabs.DragOverTab = tab; } else { Tabs.DragOverTab = null; } Refresh(); } if (Tabs.DragOverTab != null && Tabs.DragOverTab.CanDragDrop) { e.Effect = GetDragDropEffect(e); } else { e.Effect = DragDropEffects.None; } } else if (e.Data.GetDataPresent(typeof(string))) { SideTab oldTab = Tabs.DragOverTab; if (activeTabMemberArea.Contains(p.X, p.Y)) { Tabs.DragOverTab = activeTab; } else { Tabs.DragOverTab = GetTabAt(p.X, p.Y); } if (oldTab != Tabs.DragOverTab) { Refresh(); } } else if (e.Data.GetDataPresent(typeof(SideTab))) { int tabIndex = GetTabIndexAt(p.X, p.Y); if (tabIndex != -1) { SideTab tab = Tabs.DragOverTab; Tabs.Remove(tab); Tabs.Insert(tabIndex, tab); Refresh(); } e.Effect = DragDropEffects.Move; } }
/// <summary> /// Gets the tabs information for a signer or sign-in-person recipient in a template. Gets the tabs information for a signer or sign-in-person recipient in a template. /// </summary> ///<param name="accountId">The external account number (int) or account ID Guid.</param><param name="templateId">The ID of the template being accessed.</param><param name="recipientId">The ID of the recipient being accessed.</param> <param name="tabs">TBD Description</param> /// <returns>7Task of Tabs</returns> public async System.Threading.Tasks.Task<Tabs> ListTabsAsync (string accountId, string templateId, string recipientId, Tabs tabs) { ApiResponse<Tabs> response = await ListTabsAsyncWithHttpInfo(accountId, templateId, recipientId, tabs); return response.Data; }
public void SelectTab(Tabs tab) { this.tabs.SelectedIndex = (int)tab; }
private void tabs_SelectedIndexChanged( object sender, EventArgs e ) { if( tabs.SelectedTab == tabExisting ) { tab = Tabs.ExistingMap; } else if( tabs.SelectedTab == tabLoad ) { tab = Tabs.LoadFile; } else if( tabs.SelectedTab == tabCopy ) { tab = Tabs.CopyWorld; } else if( tabs.SelectedTab == tabFlatgrass ) { tab = Tabs.Flatgrass; } else { tab = Tabs.Generator; } switch( tab ) { case Tabs.ExistingMap: fileToLoad = World.FullFileName; ShowMapDetails( tExistingMapInfo, fileToLoad ); StartLoadingMap(); return; case Tabs.LoadFile: if( !String.IsNullOrEmpty( tFile.Text ) ) { tFile.SelectAll(); fileToLoad = tFile.Text; ShowMapDetails( tLoadFileInfo, fileToLoad ); StartLoadingMap(); } return; case Tabs.CopyWorld: if( cWorld.SelectedIndex != -1 ) { bShow.Enabled = File.Exists( copyOptionsList[cWorld.SelectedIndex].FullFileName ); } return; case Tabs.Flatgrass: return; case Tabs.Generator: return; } }
public IActionResult Create(string signerEmail, string signerName, string ccEmail, string ccName) { // Check the token with minimal buffer time bool tokenOk = CheckToken(3); if (!tokenOk) { // We could store the parameters of the requested operation so it could be // restarted automatically. But since it should be rare to have a token issue // here, we'll make the user re-enter the form data after authentication RequestItemsService.EgName = EgName; return(Redirect("/ds/mustAuthenticate")); } // The envelope will be sent first to the signer; after it is signed, // a copy is sent to the cc person // // Read files from a local directory // The reads could raise an exception if the file is not available! var basePath = RequestItemsService.Session.BasePath + "/restapi"; // Step 1: Obtain your OAuth token var accessToken = RequestItemsService.User.AccessToken; // Represents your {ACCESS_TOKEN} var accountId = RequestItemsService.Session.AccountId; // Represents your {ACCOUNT_ID} // Step 2: Construct your API headers var apiClient = new ApiClient(basePath); apiClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + accessToken); // Step 3: Create Tabs and CustomFields // Set the values for the fields in the template // List item List colorPicker = new List { Value = "green", DocumentId = "1", PageNumber = "1", TabLabel = "list" }; // Checkboxes Checkbox ckAuthorization = new Checkbox { TabLabel = "ckAuthorization", Selected = "true" }; Checkbox ckAgreement = new Checkbox { TabLabel = "ckAgreement", Selected = "true" }; RadioGroup radioGroup = new RadioGroup { GroupName = "radio1", // You only need to provide the readio entry for the entry you're selecting Radios = new List <Radio> { new Radio { Value = "white", Selected = "true" } } }; Text includedOnTemplate = new Text { TabLabel = "text", Value = "Jabberywocky!" }; // We can also add a new tab (field) to the ones already in the template Text addedField = new Text { DocumentId = "1", PageNumber = "1", XPosition = "280", YPosition = "172", Font = "helvetica", FontSize = "size14", TabLabel = "added text field", Height = "23", Width = "84", Required = "false", Bold = "true", Value = signerName, Locked = "false", TabId = "name" }; // Add the tabs model (including the SignHere tab) to the signer. // The Tabs object wants arrays of the different field/tab types // Tabs are set per recipient/signer Tabs tabs = new Tabs { CheckboxTabs = new List <Checkbox> { ckAuthorization, ckAgreement }, RadioGroupTabs = new List <RadioGroup> { radioGroup }, TextTabs = new List <Text> { includedOnTemplate, addedField }, ListTabs = new List <List> { colorPicker } }; // Create a signer recipient to sign the document, identified by name and email // We're setting the parameters via the object creation TemplateRole signer = new TemplateRole { Email = signerEmail, Name = signerName, RoleName = "signer", ClientUserId = signerClientId, // Change the signer to be embedded Tabs = tabs //Set tab values }; TemplateRole cc = new TemplateRole { Email = ccEmail, Name = ccName, RoleName = "cc" }; // Create an envelope custom field to save our application's // data about the envelope TextCustomField customField = new TextCustomField { Name = "app metadata item", Required = "false", Show = "true", // Yes, include in the CoC Value = "1234567" }; CustomFields cf = new CustomFields { TextCustomFields = new List <TextCustomField> { customField } }; // Step 4: Create the envelope definition EnvelopeDefinition envelopeAttributes = new EnvelopeDefinition { // Uses the template ID received from example 08 TemplateId = RequestItemsService.TemplateId, Status = "Sent", // Add the TemplateRole objects to utilize a pre-defined // document and signing/routing order on an envelope. // Template role names need to match what is available on // the correlated templateID or else an error will occur TemplateRoles = new List <TemplateRole> { signer, cc }, CustomFields = cf }; // Step 5: Call the eSignature REST API var envelopesApi = new EnvelopesApi(apiClient); EnvelopeSummary results = envelopesApi.CreateEnvelope(accountId, envelopeAttributes); // Step 6: Create the View Request RequestItemsService.EnvelopeId = results.EnvelopeId; RecipientViewRequest viewRequest = new RecipientViewRequest(); // Set the URL where you want the recipient to go once they are done signing; // this should typically be a callback route somewhere in your app. // The query parameter is included as an example of how // to save/recover state information during the redirect to // the DocuSign signing ceremony. It's usually better to use // the session mechanism of your web framework. Query parameters // can be changed/spoofed very easily viewRequest.ReturnUrl = dsReturnUrl + "?state=123"; // How has your app authenticated the user? In addition to your app's authentication, // you can include authentication steps from DocuSign; e.g., SMS authentication viewRequest.AuthenticationMethod = "none"; // Recipient information must match the embedded recipient info // that we used to create the envelope viewRequest.Email = signerEmail; viewRequest.UserName = signerName; viewRequest.ClientUserId = signerClientId; // DocuSign recommends that you redirect to DocuSign for the // signing ceremony. There are multiple ways to save state. // To maintain your application's session, use the PingUrl // parameter. It causes the DocuSign Signing Ceremony web page // (not the DocuSign server) to send pings via AJAX to your app viewRequest.PingFrequency = "600"; // seconds // NOTE: The pings will only be sent if the pingUrl is an HTTPS address viewRequest.PingUrl = dsPingUrl; // Optional setting ViewUrl results1 = envelopesApi.CreateRecipientView(accountId, results.EnvelopeId, viewRequest); //*********** // Don't use an iframe with embedded signing requests! //*********** // State can be stored/recovered using the framework's session or a // query parameter on the return URL (see the makeRecipientViewRequest method) string redirectUrl = results1.Url; return(Redirect(redirectUrl)); }
public void ShowTab(Tabs tab) { tabControl.SelectedIndex = (int)tab; }
protected override void OnInit(EventArgs e) { try { if (SPContext.Current.SiteFeatures[new Guid(Constants.ASPLFeature.FeatureID)] == null) { base.OnInit(e); return; } RendringUtil.RenderResources(this.Page.Header); allTabs = Tabs.LoadTabs(GetConfigFile(Constants.ConfigFile.TabSettingFile)); allFieldPermissions = FieldPermissions.LoadFieldPermissions(GetConfigFile(Constants.ConfigFile.FieldPermissionFile)); allFieldDefaults = FieldDefaults.LoadFieldDefaults(GetConfigFile(Constants.ConfigFile.FieldDefaultFile)); #region Testing data //allTabs = new Tabs(); //Tab t1 = new Tab(0, "Tab1", "foo"); //t1.Fields.Add(new Field("Title")); //t1.Fields.Add(new Field("Predecessors")); //t1.Fields.Add(new Field("Priority")); //t1.Fields.Add(new Field("Status")); //t1.Permissions.Add(new TabPermission(false, Enums.PermissionLevel.Write, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None)); //t1.Permissions.Add(new TabPermission(false, Enums.PermissionLevel.Deny, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None)); //t1.IsFirst = true; //allTabs.Add(t1); //Tab t2 = new Tab(0, "Tab2", "foo"); //t2.Fields.Add(new Field("PercentComplete")); //t2.Fields.Add(new Field("DueDate")); //t2.Fields.Add(new Field("Title")); //t2.Fields.Add(new Field("Body")); //t2.IsSelected = true; //t2.Permissions.Add(new TabPermission(false, Enums.PermissionLevel.Deny, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None)); //TabPermission p3 = new TabPermission(false, Enums.PermissionLevel.Write, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None); //p3.Conditions.Add(new Condition(new Field("Title"), Enums.Operator.Contains, "Make write")); //t2.Permissions.Add(p3); //allTabs.Add(t2); //Tab t3 = new Tab(0, "Tab3", "foo"); //t3.Fields.Add(new Field("PercentComplete")); //t3.Fields.Add(new Field("DueDate")); //t3.Fields.Add(new Field("Predecessors")); //t3.IsLast = true; //allTabs.Add(t3); //allFieldPermissions = new FieldPermissions(); //allFieldPermissions.Add(new FieldPermission(new Field("Title"), Enums.PermissionLevel.Write, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None)); //allFieldPermissions.Add(new FieldPermission(new Field("Predecessors"), Enums.PermissionLevel.Read, new List<Enums.SPForms>() { Enums.SPForms.New, Enums.SPForms.Edit }, "", Enums.Operator.None)); //allFieldDefaults = new FieldDefaults(); //allFieldDefaults.Add(new FieldDefault(new Field("Title"), "", Enums.Operator.None, "", "You cant touch me!!")); //allTabs = null; #endregion this.updatePanelIterator = new UpdatePanel(); this.updatePanelIterator.ID = "updatePanelIterator"; this.updatePanelIterator.RenderMode = UpdatePanelRenderMode.Inline; if (this.RequestResultTabsInfoHidden == null) { this.RequestResultTabsInfoHidden = new HiddenField(); } this.RequestResultTabsInfoHidden.ID = "RequestResultTabsInfoHidden"; this.RequestResultTabsInfoHidden.Value = (allTabs == null ? "null" : allTabs.ToHiddenFldValue()); this.updatePanelIterator.ContentTemplateContainer.Controls.Add(this.RequestResultTabsInfoHidden); Panel panel = new Panel(); panel.Style.Add(HtmlTextWriterStyle.Position, "absolute"); panel.Style.Add(HtmlTextWriterStyle.Width, "100%"); this.Controls.Add(panel); panel.Controls.Add(this.updatePanelIterator); panel.Controls.Add(UpdateTemplate.GetUpdateProgress(this.updatePanelIterator.ID)); CreateHelperControls(); base.OnInit(e); // register save handler if not in display mode and form is posted back if ((Page.IsPostBack) && (ControlMode != SPControlMode.Display)) { _formContext.OnSaveHandler += new EventHandler(SaveHandler); } } catch (Exception exp) { base.OnInit(e); Logging.Log(exp); } }
private void Tabs_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { Visibility = Tabs.Any() ? Visibility.Visible : Visibility.Collapsed; }
public Style GenerateFooterStyle() { Style style1 = new Style() { Type = StyleValues.Paragraph, StyleId = "Footer" }; StyleName styleName1 = new StyleName() { Val = "footer" }; BasedOn basedOn1 = new BasedOn() { Val = "Normal" }; LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "FooterChar" }; UIPriority uIPriority1 = new UIPriority() { Val = 99 }; SemiHidden semiHidden1 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed1 = new UnhideWhenUsed(); Rsid rsid1 = new Rsid() { Val = "005641D2" }; StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Center, Position = 4680 }; TabStop tabStop2 = new TabStop() { Val = TabStopValues.Right, Position = 9360 }; tabs1.Append(tabStop1); tabs1.Append(tabStop2); SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { Line = "240", LineRule = LineSpacingRuleValues.Auto }; styleParagraphProperties1.Append(tabs1); styleParagraphProperties1.Append(spacingBetweenLines1); style1.Append(styleName1); style1.Append(basedOn1); style1.Append(linkedStyle1); style1.Append(uIPriority1); style1.Append(semiHidden1); style1.Append(unhideWhenUsed1); style1.Append(rsid1); style1.Append(styleParagraphProperties1); return style1; }
public void AddTab(TabItem item) { Tabs.Add(item); item.Parent = this; }
/// <summary> /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// </summary> ///<param name="accountId">The external account number (int) or account ID Guid.</param><param name="envelopeId">The envelopeId Guid of the envelope being accessed.</param><param name="recipientId">The ID of the recipient being accessed.</param> <param name="tabs">TBD Description</param> /// <returns>5Tabs</returns> public Tabs DeleteTabs (string accountId, string envelopeId, string recipientId, Tabs tabs) { ApiResponse<Tabs> response = DeleteTabsWithHttpInfo(accountId, envelopeId, recipientId, tabs); return response.Data; }
private void BuildInterface(IBusinessObject bizo, string disease) { string mainFormTable = bizo.TableName; // get list of tables, top, down List <string> tableNames = _dataEntryController.EnumerateTableNames(mainFormTable, null); // append optional query string table names (more tables) string queryTableNames = Request.QueryString["tableNames"]; if (!string.IsNullOrEmpty(queryTableNames)) { var queryTables = queryTableNames.Split(',').Except(tableNames); tableNames.AddRange(queryTables); } // get main table string tableName = tableNames.First(); // sub forms var subFormTableNames = tableNames.Where(t => t != tableName); // MAIN TABLE EditFormBox.Visible = true; var inputControls = CICHelper.GetCaisisInputControlsByTableName(tableName, disease); // build main data entry MainDataEntry.Controls.Clear(); LoadDataEntryControl(tableName, MainDataEntry, inputControls); //SetTableLabel(MainLabel, mainFormTable); // build main label using full path of tables SetTableLabel(MainLabel, tableNames); SetTableIcon(MainTableSpecificIcon, tableName); MainLabel.ToolTip = biz.TableName; MainMetaTooltip.BuildTooltipTableMetadata(mainFormTable, QueryDiseaseName); // set button text string btnText = "Edit " + _dataEntryController.GetTableLabel(mainFormTable) + " Form"; MainDataEntryEditBtn.InnerText = btnText; MainDataEntryEditBtn.Attributes["title"] = btnText; // CHILD TABLES foreach (var childTable in subFormTableNames) { string title = GetTableLabel(childTable); Panel childContainer = new Panel(); Tabs.AddTab(title, childContainer); var childControls = CICHelper.GetCaisisInputControlsByTableName(childTable); LoadDataEntryControl(childTable, childContainer, childControls); } // set child container visibility ChildTableContainer.Visible = subFormTableNames.Count() > 0; // set table desc string mainFormTableDesc = _dataEntryController.GetTableDescription(mainFormTable); TableDescLabel.Text = mainFormTableDesc; // set sub form label if (subFormTableNames.Count() > 0) { var childLabels = subFormTableNames.Select(t => GetTableLabel(t)).ToArray(); string childFullLabel = string.Join(", ", childLabels); // trim long lists SubFormsLabel.Text = childFullLabel.Length > 25 ? childFullLabel.Substring(0, 25) + "..." : childFullLabel; // display full list on tooltip SubFormsLabel.ToolTip = childFullLabel; } else { SubFormsLabel.Text = "N/A"; SubFormsLabel.ToolTip = "N/A"; } // MORE TABLES (comment section to supress adding more tabs) //var allChildTables = _dataEntryController.GetChildDataEntryForms(mainFormTable); //// children + not in current list //var moreTables = allChildTables.Except(tableNames); //if (moreTables.Count() > 0) //{ // string baseURL = "AdminEditDataEntry.aspx?diseaseId=" + QueryDiseaseId + "&tableId=" + QueryTableId + "&scrollX=" + ScrollX + "&tableNames="; // foreach (string table in moreTables) // { // string tableLabel = _dataEntryController.GetTableLabel(table); // string tabURL = baseURL + string.Join(",", tableNames.Concat(new string[] { table }).ToArray()); // LinkButton link = new LinkButton(); // link.Text = tableLabel; // link.OnClientClick = "window.location = '" + tabURL + "'; return false;"; // Tabs.AddMoreTab(link); // } //} // set layout text bool isGrid = _dataEntryController.IsGridView(mainFormTable); int colCount = _dataEntryController.GetNumDisplayColumns(mainFormTable); TableLayoutType.Text = isGrid ? "Grid" : (colCount + " Columns"); }
/// <summary> /// Gets the tabs information for a signer or sign-in-person recipient in a template. Gets the tabs information for a signer or sign-in-person recipient in a template. /// </summary> ///<param name="accountId">The external account number (int) or account ID Guid.</param><param name="templateId">The ID of the template being accessed.</param><param name="recipientId">The ID of the recipient being accessed.</param> <param name="tabs">TBD Description</param> /// <returns>5Tabs</returns> public Tabs ListTabs (string accountId, string templateId, string recipientId, Tabs tabs) { ApiResponse<Tabs> response = ListTabsWithHttpInfo(accountId, templateId, recipientId, tabs); return response.Data; }
private void CalculateTabs_ToolWindow() { if (Tabs.Count <= 1 || DockPane.IsAutoHide) { return; } Rectangle rectTabStrip = ClientRectangle; // Calculate tab widths int countTabs = Tabs.Count; foreach (TabVS2003 tab in Tabs) { tab.MaxWidth = GetTabOriginalWidth(Tabs.IndexOf(tab)); tab.Flag = false; } // Set tab whose max width less than average width bool anyWidthWithinAverage = true; int totalWidth = rectTabStrip.Width - ToolWindowStripGapLeft - ToolWindowStripGapRight; int totalAllocatedWidth = 0; int averageWidth = totalWidth / countTabs; int remainedTabs = countTabs; for (anyWidthWithinAverage = true; anyWidthWithinAverage && remainedTabs > 0;) { anyWidthWithinAverage = false; foreach (TabVS2003 tab in Tabs) { if (tab.Flag) { continue; } if (tab.MaxWidth <= averageWidth) { tab.Flag = true; tab.TabWidth = tab.MaxWidth; totalAllocatedWidth += tab.TabWidth; anyWidthWithinAverage = true; remainedTabs--; } } if (remainedTabs != 0) { averageWidth = (totalWidth - totalAllocatedWidth) / remainedTabs; } } // If any tab width not set yet, set it to the average width if (remainedTabs > 0) { int roundUpWidth = (totalWidth - totalAllocatedWidth) - (averageWidth * remainedTabs); foreach (TabVS2003 tab in Tabs) { if (tab.Flag) { continue; } tab.Flag = true; if (roundUpWidth > 0) { tab.TabWidth = averageWidth + 1; roundUpWidth--; } else { tab.TabWidth = averageWidth; } } } // Set the X position of the tabs int x = rectTabStrip.X + ToolWindowStripGapLeft; foreach (TabVS2003 tab in Tabs) { tab.TabX = x; x += tab.TabWidth; } }
/// <summary> /// Gets the tabs information for a signer or sign-in-person recipient in a template. Gets the tabs information for a signer or sign-in-person recipient in a template. /// </summary> ///<param name="accountId">The external account number (int) or account ID Guid.</param><param name="templateId">The ID of the template being accessed.</param><param name="recipientId">The ID of the recipient being accessed.</param> <param name="tabs">TBD Description</param> /// <returns>8Task of ApiResponse (Tabs)</returns> public async System.Threading.Tasks.Task<ApiResponse<Tabs>> ListTabsAsyncWithHttpInfo (string accountId, string templateId, string recipientId, Tabs tabs) { // verify the required parameter 'accountId' is set if (accountId == null) throw new ApiException(400, "Missing required parameter 'accountId' when calling ListTabs"); // verify the required parameter 'templateId' is set if (templateId == null) throw new ApiException(400, "Missing required parameter 'templateId' when calling ListTabs"); // verify the required parameter 'recipientId' is set if (recipientId == null) throw new ApiException(400, "Missing required parameter 'recipientId' when calling ListTabs"); var path_ = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs"; var pathParams = new Dictionary<String, String>(); var queryParams = new Dictionary<String, String>(); var headerParams = new Dictionary<String, String>(); var formParams = new Dictionary<String, String>(); var fileParams = new Dictionary<String, FileParameter>(); String postBody = null; // to determine the Accept header String[] http_header_accepts = new String[] { "application/json" }; String http_header_accept = Configuration.ApiClient.SelectHeaderAccept(http_header_accepts); if (http_header_accept != null) headerParams.Add("Accept", Configuration.ApiClient.SelectHeaderAccept(http_header_accepts)); // set "format" to json by default // e.g. /pet/{petId}.{format} becomes /pet/{petId}.json pathParams.Add("format", "json"); if (accountId != null) pathParams.Add("accountId", Configuration.ApiClient.ParameterToString(accountId)); // path parameter if (templateId != null) pathParams.Add("templateId", Configuration.ApiClient.ParameterToString(templateId)); // path parameter if (recipientId != null) pathParams.Add("recipientId", Configuration.ApiClient.ParameterToString(recipientId)); // path parameter postBody = Configuration.ApiClient.Serialize(tabs); // http body (model) parameter // make the HTTP request IRestResponse response = (IRestResponse) await Configuration.ApiClient.CallApiAsync(path_, Method.GET, queryParams, postBody, headerParams, formParams, fileParams, pathParams); int statusCode = (int) response.StatusCode; if (statusCode >= 400) throw new ApiException (statusCode, "Error calling ListTabs: " + response.Content, response.Content); else if (statusCode == 0) throw new ApiException (statusCode, "Error calling ListTabs: " + response.ErrorMessage, response.ErrorMessage); return new ApiResponse<Tabs>(statusCode, response.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), (Tabs) Configuration.ApiClient.Deserialize(response, typeof(Tabs))); }
private void DrawTab_Document(Graphics g, TabVS2003 tab, Rectangle rect) { Rectangle rectText = rect; if (DockPane.DockPanel.ShowDocumentIcon) { rectText.X += DocumentIconWidth + DocumentIconGapLeft; rectText.Width -= DocumentIconWidth + DocumentIconGapLeft; } if (DockPane.ActiveContent == tab.Content) { g.FillRectangle(ActiveBackBrush, rect); g.DrawLine(OutlineOuterPen, rect.X, rect.Y, rect.X, rect.Y + rect.Height); g.DrawLine(OutlineOuterPen, rect.X, rect.Y, rect.X + rect.Width - 1, rect.Y); g.DrawLine(OutlineInnerPen, rect.X + rect.Width - 1, rect.Y, rect.X + rect.Width - 1, rect.Y + rect.Height - 1); if (DockPane.DockPanel.ShowDocumentIcon) { Icon icon = (tab.Content as Form).Icon; Rectangle rectIcon = new Rectangle( rect.X + DocumentIconGapLeft, rect.Y + (rect.Height - DocumentIconHeight) / 2, DocumentIconWidth, DocumentIconHeight); g.DrawIcon(tab.ContentForm.Icon, rectIcon); } if (DockPane.IsActiveDocumentPane) { using (Font boldFont = new Font(this.Font, FontStyle.Bold)) { TextRenderer.DrawText(g, tab.Content.DockHandler.TabText, boldFont, rectText, ActiveTextColor, DocumentTextFormat); } } else { TextRenderer.DrawText(g, tab.Content.DockHandler.TabText, Font, rectText, InactiveTextColor, DocumentTextFormat); } } else { if (Tabs.IndexOf(DockPane.ActiveContent) != Tabs.IndexOf(tab) + 1) { g.DrawLine(TabSeperatorPen, rect.X + rect.Width - 1, rect.Y, rect.X + rect.Width - 1, rect.Y + rect.Height - 1 - DocumentTabGapTop); } if (DockPane.DockPanel.ShowDocumentIcon) { Icon icon = tab.ContentForm.Icon; Rectangle rectIcon = new Rectangle( rect.X + DocumentIconGapLeft, rect.Y + (rect.Height - DocumentIconHeight) / 2, DocumentIconWidth, DocumentIconHeight); g.DrawIcon(tab.ContentForm.Icon, rectIcon); } TextRenderer.DrawText(g, tab.Content.DockHandler.TabText, Font, rectText, InactiveTextColor, DocumentTextFormat); } }
public override void LoadContent() { _levelSelectionMenu = new GrowingMenuEntry("LEVEL"); MenuEntries.Add(_levelSelectionMenu); _shopMenu = new GrowingMenuEntry("SHOP"); MenuEntries.Add(_shopMenu); _exitMenu = new GrowingMenuEntry("EXIT"); MenuEntries.Add(_exitMenu); LevelSelection = new LevelSelectionScreen(ScreenManager.Game, this); Shop = new ShopScreen(ScreenManager.Game); Shop.SelectedCategory = ShopSelectedCategory; _levelSelectionMenu.Position = new Vector2(120, 16); _levelSelectionMenu.Selected += (s, e) => _activeTab = Tabs.LevelSelection; _shopMenu.Position = new Vector2(240, 18); _shopMenu.Selected += (s, e) => _activeTab = Tabs.Shop; _exitMenu.Position = new Vector2(360, 18); _exitMenu.Selected += (s, e) => ScreenManager.Game.Exit(); LevelSelection.Initialize(); Shop.Initialize(); SoundManager.MenuMelody.Play(); if(SelectedTab.HasValue) { _activeTab = SelectedTab.Value; } base.LoadContent(); }
private void btnVolver_Click(object sender, EventArgs e) { new Principal(Tabs.turnos()).Show(); this.Close(); }
void tabs_SelectedIndexChanged( object sender, EventArgs e ) { if( tabs.SelectedTab == tabExisting ) { tab = Tabs.ExistingMap; } else if( tabs.SelectedTab == tabLoad ) { tab = Tabs.LoadFile; } else if( tabs.SelectedTab == tabCopy ) { tab = Tabs.CopyWorld; } else { tab = Tabs.Generator; } switch( tab ) { case Tabs.ExistingMap: fileToLoad = World.FullFileName; ShowMapDetails( tExistingMapInfo, fileToLoad ); StartLoadingMap(); return; case Tabs.LoadFile: if( !String.IsNullOrEmpty( tFile.Text ) ) { tFile.SelectAll(); fileToLoad = tFile.Text; ShowMapDetails( tLoadFileInfo, fileToLoad ); StartLoadingMap(); } else { Map = null; ClearPreview(); } return; case Tabs.CopyWorld: Map = null; ClearPreview(); cWorld_SelectedIndexChanged( cWorld, EventArgs.Empty ); return; case Tabs.Generator: Map = null; ClearPreview(); bGenerate.PerformClick(); return; } }
public void JwtBulkEnvelopesApiTest() { #region Envelope Creation - with BulkRecipient Flag // the document (file) we want signed const string SignTest1File = @"../../../docs/SignTest1.pdf"; // Read a file from disk to use as a document. byte[] fileBytes = File.ReadAllBytes(SignTest1File); EnvelopeDefinition envDef = new EnvelopeDefinition(); envDef.EmailSubject = "[DocuSign C# SDK] - Please sign this doc"; // Add a document to the envelope Document doc = new Document(); doc.DocumentBase64 = System.Convert.ToBase64String(fileBytes); doc.Name = "TestFile.pdf"; doc.DocumentId = "1"; // doc.FileExtension = System.IO.Path.GetExtension(SignTest1File); envDef.Documents = new List <Document>(); envDef.Documents.Add(doc); // Add a recipient to sign the documeent Signer signer = new Signer(); signer.RecipientId = "1"; signer.IsBulkRecipient = "true"; // Create a |SignHere| tab somewhere on the document for the recipient to sign signer.Tabs = new Tabs(); signer.Tabs.SignHereTabs = new List <SignHere>(); SignHere signHere = new SignHere(); signHere.DocumentId = "1"; signHere.PageNumber = "1"; signHere.RecipientId = "1"; signHere.XPosition = "100"; signHere.YPosition = "100"; signHere.ScaleValue = ".5"; signer.Tabs.SignHereTabs.Add(signHere); envDef.Recipients = new Recipients(); envDef.Recipients.Signers = new List <Signer>(); envDef.Recipients.Signers.Add(signer); TemplateTabs templateTabs = new TemplateTabs(); templateTabs.DateTabs = new List <Date>(); Tabs tabs = new Tabs(); tabs.DateTabs = new List <Date>(); SignerAttachment signerAttachment = new SignerAttachment(); signerAttachment.ScaleValue = ""; // set envelope status to "sent" to immediately send the signature request envDef.Status = "created"; // |EnvelopesApi| contains methods related to creating and sending Envelopes (aka signature requests) EnvelopesApi envelopesApi = new EnvelopesApi(testConfig.ApiClient.Configuration); EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(testConfig.AccountId, envDef); testConfig.EnvelopeId = envelopeSummary.EnvelopeId; #endregion var response = MockBulkRecipientsSummaryResponse(); // update the status of the enve Envelope envelope = new Envelope(); envelope.Status = "sent"; envelopesApi.Update(testConfig.AccountId, testConfig.EnvelopeId, envelope); Assert.IsNotNull(response); Assert.IsNotNull(response.BulkRecipientsUri); Assert.IsNotNull(response.BulkRecipientsCount); }
// Generates content of styleDefinitionsPart2. private void GenerateStyleDefinitionsPart2Content(StyleDefinitionsPart styleDefinitionsPart2) { Styles styles4 = new Styles(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" } }; styles4.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); styles4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); styles4.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); styles4.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); styles4.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml"); DocDefaults docDefaults4 = new DocDefaults(); RunPropertiesDefault runPropertiesDefault4 = new RunPropertiesDefault(); RunPropertiesBaseStyle runPropertiesBaseStyle4 = new RunPropertiesBaseStyle(); RunFonts runFonts36 = new RunFonts(){ AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, EastAsiaTheme = ThemeFontValues.MinorEastAsia, ComplexScriptTheme = ThemeFontValues.MinorBidi }; Kern kern18 = new Kern(){ Val = (UInt32Value)2U }; FontSize fontSize4 = new FontSize(){ Val = "21" }; FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript(){ Val = "22" }; Languages languages4 = new Languages(){ Val = "en-US", EastAsia = "ja-JP", Bidi = "ar-SA" }; runPropertiesBaseStyle4.Append(runFonts36); runPropertiesBaseStyle4.Append(kern18); runPropertiesBaseStyle4.Append(fontSize4); runPropertiesBaseStyle4.Append(fontSizeComplexScript4); runPropertiesBaseStyle4.Append(languages4); runPropertiesDefault4.Append(runPropertiesBaseStyle4); ParagraphPropertiesDefault paragraphPropertiesDefault4 = new ParagraphPropertiesDefault(); docDefaults4.Append(runPropertiesDefault4); docDefaults4.Append(paragraphPropertiesDefault4); LatentStyles latentStyles4 = new LatentStyles(){ DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = true, DefaultUnhideWhenUsed = true, DefaultPrimaryStyle = false, Count = 267 }; LatentStyleExceptionInfo latentStyleExceptionInfo412 = new LatentStyleExceptionInfo(){ Name = "Normal", UiPriority = 0, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo413 = new LatentStyleExceptionInfo(){ Name = "heading 1", UiPriority = 9, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo414 = new LatentStyleExceptionInfo(){ Name = "heading 2", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo415 = new LatentStyleExceptionInfo(){ Name = "heading 3", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo416 = new LatentStyleExceptionInfo(){ Name = "heading 4", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo417 = new LatentStyleExceptionInfo(){ Name = "heading 5", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo418 = new LatentStyleExceptionInfo(){ Name = "heading 6", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo419 = new LatentStyleExceptionInfo(){ Name = "heading 7", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo420 = new LatentStyleExceptionInfo(){ Name = "heading 8", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo421 = new LatentStyleExceptionInfo(){ Name = "heading 9", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo422 = new LatentStyleExceptionInfo(){ Name = "toc 1", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo423 = new LatentStyleExceptionInfo(){ Name = "toc 2", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo424 = new LatentStyleExceptionInfo(){ Name = "toc 3", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo425 = new LatentStyleExceptionInfo(){ Name = "toc 4", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo426 = new LatentStyleExceptionInfo(){ Name = "toc 5", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo427 = new LatentStyleExceptionInfo(){ Name = "toc 6", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo428 = new LatentStyleExceptionInfo(){ Name = "toc 7", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo429 = new LatentStyleExceptionInfo(){ Name = "toc 8", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo430 = new LatentStyleExceptionInfo(){ Name = "toc 9", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo431 = new LatentStyleExceptionInfo(){ Name = "caption", UiPriority = 35, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo432 = new LatentStyleExceptionInfo(){ Name = "Title", UiPriority = 10, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo433 = new LatentStyleExceptionInfo(){ Name = "Default Paragraph Font", UiPriority = 1 }; LatentStyleExceptionInfo latentStyleExceptionInfo434 = new LatentStyleExceptionInfo(){ Name = "Subtitle", UiPriority = 11, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo435 = new LatentStyleExceptionInfo(){ Name = "Strong", UiPriority = 22, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo436 = new LatentStyleExceptionInfo(){ Name = "Emphasis", UiPriority = 20, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo437 = new LatentStyleExceptionInfo(){ Name = "Table Grid", UiPriority = 59, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo438 = new LatentStyleExceptionInfo(){ Name = "Placeholder Text", UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo439 = new LatentStyleExceptionInfo(){ Name = "No Spacing", UiPriority = 36, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo440 = new LatentStyleExceptionInfo(){ Name = "Light Shading", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo441 = new LatentStyleExceptionInfo(){ Name = "Light List", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo442 = new LatentStyleExceptionInfo(){ Name = "Light Grid", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo443 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo444 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo445 = new LatentStyleExceptionInfo(){ Name = "Medium List 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo446 = new LatentStyleExceptionInfo(){ Name = "Medium List 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo447 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo448 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo449 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo450 = new LatentStyleExceptionInfo(){ Name = "Dark List", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo451 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo452 = new LatentStyleExceptionInfo(){ Name = "Colorful List", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo453 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo454 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 1", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo455 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 1", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo456 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 1", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo457 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo458 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 1", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo459 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo460 = new LatentStyleExceptionInfo(){ Name = "Revision", UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo461 = new LatentStyleExceptionInfo(){ Name = "List Paragraph", UiPriority = 34, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo462 = new LatentStyleExceptionInfo(){ Name = "Quote", UiPriority = 29, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo463 = new LatentStyleExceptionInfo(){ Name = "Intense Quote", UiPriority = 30, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo464 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 1", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo465 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo466 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 1", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo467 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 1", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo468 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 1", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo469 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 1", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo470 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 1", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo471 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 1", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo472 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 2", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo473 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 2", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo474 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 2", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo475 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 2", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo476 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo477 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 2", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo478 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo479 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 2", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo480 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo481 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 2", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo482 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 2", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo483 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 2", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo484 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 2", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo485 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 2", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo486 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 3", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo487 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 3", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo488 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 3", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo489 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 3", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo490 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 3", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo491 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 3", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo492 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 3", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo493 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 3", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo494 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 3", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo495 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo496 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 3", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo497 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 3", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo498 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 3", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo499 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 3", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo500 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 4", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo501 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 4", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo502 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 4", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo503 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 4", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo504 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 4", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo505 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 4", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo506 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 4", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo507 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 4", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo508 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 4", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo509 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 4", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo510 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 4", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo511 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 4", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo512 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 4", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo513 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 4", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo514 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 5", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo515 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 5", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo516 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 5", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo517 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 5", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo518 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 5", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo519 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 5", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo520 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 5", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo521 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 5", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo522 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 5", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo523 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 5", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo524 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 5", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo525 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 5", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo526 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 5", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo527 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 5", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo528 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 6", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo529 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 6", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo530 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 6", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo531 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 6", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo532 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 6", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo533 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 6", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo534 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 6", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo535 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 6", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo536 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 6", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo537 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 6", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo538 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 6", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo539 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 6", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo540 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 6", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo541 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 6", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo542 = new LatentStyleExceptionInfo(){ Name = "Subtle Emphasis", UiPriority = 19, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo543 = new LatentStyleExceptionInfo(){ Name = "Intense Emphasis", UiPriority = 21, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo544 = new LatentStyleExceptionInfo(){ Name = "Subtle Reference", UiPriority = 31, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo545 = new LatentStyleExceptionInfo(){ Name = "Intense Reference", UiPriority = 32, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo546 = new LatentStyleExceptionInfo(){ Name = "Book Title", UiPriority = 33, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo547 = new LatentStyleExceptionInfo(){ Name = "Bibliography", UiPriority = 37 }; LatentStyleExceptionInfo latentStyleExceptionInfo548 = new LatentStyleExceptionInfo(){ Name = "TOC Heading", UiPriority = 39, PrimaryStyle = true }; latentStyles4.Append(latentStyleExceptionInfo412); latentStyles4.Append(latentStyleExceptionInfo413); latentStyles4.Append(latentStyleExceptionInfo414); latentStyles4.Append(latentStyleExceptionInfo415); latentStyles4.Append(latentStyleExceptionInfo416); latentStyles4.Append(latentStyleExceptionInfo417); latentStyles4.Append(latentStyleExceptionInfo418); latentStyles4.Append(latentStyleExceptionInfo419); latentStyles4.Append(latentStyleExceptionInfo420); latentStyles4.Append(latentStyleExceptionInfo421); latentStyles4.Append(latentStyleExceptionInfo422); latentStyles4.Append(latentStyleExceptionInfo423); latentStyles4.Append(latentStyleExceptionInfo424); latentStyles4.Append(latentStyleExceptionInfo425); latentStyles4.Append(latentStyleExceptionInfo426); latentStyles4.Append(latentStyleExceptionInfo427); latentStyles4.Append(latentStyleExceptionInfo428); latentStyles4.Append(latentStyleExceptionInfo429); latentStyles4.Append(latentStyleExceptionInfo430); latentStyles4.Append(latentStyleExceptionInfo431); latentStyles4.Append(latentStyleExceptionInfo432); latentStyles4.Append(latentStyleExceptionInfo433); latentStyles4.Append(latentStyleExceptionInfo434); latentStyles4.Append(latentStyleExceptionInfo435); latentStyles4.Append(latentStyleExceptionInfo436); latentStyles4.Append(latentStyleExceptionInfo437); latentStyles4.Append(latentStyleExceptionInfo438); latentStyles4.Append(latentStyleExceptionInfo439); latentStyles4.Append(latentStyleExceptionInfo440); latentStyles4.Append(latentStyleExceptionInfo441); latentStyles4.Append(latentStyleExceptionInfo442); latentStyles4.Append(latentStyleExceptionInfo443); latentStyles4.Append(latentStyleExceptionInfo444); latentStyles4.Append(latentStyleExceptionInfo445); latentStyles4.Append(latentStyleExceptionInfo446); latentStyles4.Append(latentStyleExceptionInfo447); latentStyles4.Append(latentStyleExceptionInfo448); latentStyles4.Append(latentStyleExceptionInfo449); latentStyles4.Append(latentStyleExceptionInfo450); latentStyles4.Append(latentStyleExceptionInfo451); latentStyles4.Append(latentStyleExceptionInfo452); latentStyles4.Append(latentStyleExceptionInfo453); latentStyles4.Append(latentStyleExceptionInfo454); latentStyles4.Append(latentStyleExceptionInfo455); latentStyles4.Append(latentStyleExceptionInfo456); latentStyles4.Append(latentStyleExceptionInfo457); latentStyles4.Append(latentStyleExceptionInfo458); latentStyles4.Append(latentStyleExceptionInfo459); latentStyles4.Append(latentStyleExceptionInfo460); latentStyles4.Append(latentStyleExceptionInfo461); latentStyles4.Append(latentStyleExceptionInfo462); latentStyles4.Append(latentStyleExceptionInfo463); latentStyles4.Append(latentStyleExceptionInfo464); latentStyles4.Append(latentStyleExceptionInfo465); latentStyles4.Append(latentStyleExceptionInfo466); latentStyles4.Append(latentStyleExceptionInfo467); latentStyles4.Append(latentStyleExceptionInfo468); latentStyles4.Append(latentStyleExceptionInfo469); latentStyles4.Append(latentStyleExceptionInfo470); latentStyles4.Append(latentStyleExceptionInfo471); latentStyles4.Append(latentStyleExceptionInfo472); latentStyles4.Append(latentStyleExceptionInfo473); latentStyles4.Append(latentStyleExceptionInfo474); latentStyles4.Append(latentStyleExceptionInfo475); latentStyles4.Append(latentStyleExceptionInfo476); latentStyles4.Append(latentStyleExceptionInfo477); latentStyles4.Append(latentStyleExceptionInfo478); latentStyles4.Append(latentStyleExceptionInfo479); latentStyles4.Append(latentStyleExceptionInfo480); latentStyles4.Append(latentStyleExceptionInfo481); latentStyles4.Append(latentStyleExceptionInfo482); latentStyles4.Append(latentStyleExceptionInfo483); latentStyles4.Append(latentStyleExceptionInfo484); latentStyles4.Append(latentStyleExceptionInfo485); latentStyles4.Append(latentStyleExceptionInfo486); latentStyles4.Append(latentStyleExceptionInfo487); latentStyles4.Append(latentStyleExceptionInfo488); latentStyles4.Append(latentStyleExceptionInfo489); latentStyles4.Append(latentStyleExceptionInfo490); latentStyles4.Append(latentStyleExceptionInfo491); latentStyles4.Append(latentStyleExceptionInfo492); latentStyles4.Append(latentStyleExceptionInfo493); latentStyles4.Append(latentStyleExceptionInfo494); latentStyles4.Append(latentStyleExceptionInfo495); latentStyles4.Append(latentStyleExceptionInfo496); latentStyles4.Append(latentStyleExceptionInfo497); latentStyles4.Append(latentStyleExceptionInfo498); latentStyles4.Append(latentStyleExceptionInfo499); latentStyles4.Append(latentStyleExceptionInfo500); latentStyles4.Append(latentStyleExceptionInfo501); latentStyles4.Append(latentStyleExceptionInfo502); latentStyles4.Append(latentStyleExceptionInfo503); latentStyles4.Append(latentStyleExceptionInfo504); latentStyles4.Append(latentStyleExceptionInfo505); latentStyles4.Append(latentStyleExceptionInfo506); latentStyles4.Append(latentStyleExceptionInfo507); latentStyles4.Append(latentStyleExceptionInfo508); latentStyles4.Append(latentStyleExceptionInfo509); latentStyles4.Append(latentStyleExceptionInfo510); latentStyles4.Append(latentStyleExceptionInfo511); latentStyles4.Append(latentStyleExceptionInfo512); latentStyles4.Append(latentStyleExceptionInfo513); latentStyles4.Append(latentStyleExceptionInfo514); latentStyles4.Append(latentStyleExceptionInfo515); latentStyles4.Append(latentStyleExceptionInfo516); latentStyles4.Append(latentStyleExceptionInfo517); latentStyles4.Append(latentStyleExceptionInfo518); latentStyles4.Append(latentStyleExceptionInfo519); latentStyles4.Append(latentStyleExceptionInfo520); latentStyles4.Append(latentStyleExceptionInfo521); latentStyles4.Append(latentStyleExceptionInfo522); latentStyles4.Append(latentStyleExceptionInfo523); latentStyles4.Append(latentStyleExceptionInfo524); latentStyles4.Append(latentStyleExceptionInfo525); latentStyles4.Append(latentStyleExceptionInfo526); latentStyles4.Append(latentStyleExceptionInfo527); latentStyles4.Append(latentStyleExceptionInfo528); latentStyles4.Append(latentStyleExceptionInfo529); latentStyles4.Append(latentStyleExceptionInfo530); latentStyles4.Append(latentStyleExceptionInfo531); latentStyles4.Append(latentStyleExceptionInfo532); latentStyles4.Append(latentStyleExceptionInfo533); latentStyles4.Append(latentStyleExceptionInfo534); latentStyles4.Append(latentStyleExceptionInfo535); latentStyles4.Append(latentStyleExceptionInfo536); latentStyles4.Append(latentStyleExceptionInfo537); latentStyles4.Append(latentStyleExceptionInfo538); latentStyles4.Append(latentStyleExceptionInfo539); latentStyles4.Append(latentStyleExceptionInfo540); latentStyles4.Append(latentStyleExceptionInfo541); latentStyles4.Append(latentStyleExceptionInfo542); latentStyles4.Append(latentStyleExceptionInfo543); latentStyles4.Append(latentStyleExceptionInfo544); latentStyles4.Append(latentStyleExceptionInfo545); latentStyles4.Append(latentStyleExceptionInfo546); latentStyles4.Append(latentStyleExceptionInfo547); latentStyles4.Append(latentStyleExceptionInfo548); Style style30 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Normal", Default = true }; StyleName styleName30 = new StyleName(){ Val = "Normal" }; PrimaryStyle primaryStyle4 = new PrimaryStyle(); StyleParagraphProperties styleParagraphProperties16 = new StyleParagraphProperties(); WidowControl widowControl14 = new WidowControl(){ Val = false }; Justification justification14 = new Justification(){ Val = JustificationValues.Both }; styleParagraphProperties16.Append(widowControl14); styleParagraphProperties16.Append(justification14); style30.Append(styleName30); style30.Append(primaryStyle4); style30.Append(styleParagraphProperties16); Style style31 = new Style(){ Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true }; StyleName styleName31 = new StyleName(){ Val = "Default Paragraph Font" }; UIPriority uIPriority17 = new UIPriority(){ Val = 1 }; SemiHidden semiHidden13 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed12 = new UnhideWhenUsed(); style31.Append(styleName31); style31.Append(uIPriority17); style31.Append(semiHidden13); style31.Append(unhideWhenUsed12); Style style32 = new Style(){ Type = StyleValues.Table, StyleId = "TableNormal", Default = true }; StyleName styleName32 = new StyleName(){ Val = "Normal Table" }; UIPriority uIPriority18 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden14 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed13 = new UnhideWhenUsed(); StyleTableProperties styleTableProperties4 = new StyleTableProperties(); TableIndentation tableIndentation4 = new TableIndentation(){ Width = 0, Type = TableWidthUnitValues.Dxa }; TableCellMarginDefault tableCellMarginDefault4 = new TableCellMarginDefault(); TopMargin topMargin4 = new TopMargin(){ Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellLeftMargin tableCellLeftMargin4 = new TableCellLeftMargin(){ Width = 108, Type = TableWidthValues.Dxa }; BottomMargin bottomMargin4 = new BottomMargin(){ Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellRightMargin tableCellRightMargin4 = new TableCellRightMargin(){ Width = 108, Type = TableWidthValues.Dxa }; tableCellMarginDefault4.Append(topMargin4); tableCellMarginDefault4.Append(tableCellLeftMargin4); tableCellMarginDefault4.Append(bottomMargin4); tableCellMarginDefault4.Append(tableCellRightMargin4); styleTableProperties4.Append(tableIndentation4); styleTableProperties4.Append(tableCellMarginDefault4); style32.Append(styleName32); style32.Append(uIPriority18); style32.Append(semiHidden14); style32.Append(unhideWhenUsed13); style32.Append(styleTableProperties4); Style style33 = new Style(){ Type = StyleValues.Numbering, StyleId = "NoList", Default = true }; StyleName styleName33 = new StyleName(){ Val = "No List" }; UIPriority uIPriority19 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden15 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed14 = new UnhideWhenUsed(); style33.Append(styleName33); style33.Append(uIPriority19); style33.Append(semiHidden15); style33.Append(unhideWhenUsed14); Style style34 = new Style(){ Type = StyleValues.Character, StyleId = "PlaceholderText" }; StyleName styleName34 = new StyleName(){ Val = "Placeholder Text" }; BasedOn basedOn8 = new BasedOn(){ Val = "DefaultParagraphFont" }; UIPriority uIPriority20 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden16 = new SemiHidden(); Rsid rsid39 = new Rsid(){ Val = "000010BA" }; StyleRunProperties styleRunProperties4 = new StyleRunProperties(); Color color5 = new Color(){ Val = "808080" }; styleRunProperties4.Append(color5); style34.Append(styleName34); style34.Append(basedOn8); style34.Append(uIPriority20); style34.Append(semiHidden16); style34.Append(rsid39); style34.Append(styleRunProperties4); Style style35 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Header" }; StyleName styleName35 = new StyleName(){ Val = "header" }; BasedOn basedOn9 = new BasedOn(){ Val = "Normal" }; LinkedStyle linkedStyle5 = new LinkedStyle(){ Val = "HeaderChar" }; UIPriority uIPriority21 = new UIPriority(){ Val = 99 }; UnhideWhenUsed unhideWhenUsed15 = new UnhideWhenUsed(); Rsid rsid40 = new Rsid(){ Val = "00E930A2" }; StyleParagraphProperties styleParagraphProperties17 = new StyleParagraphProperties(); Tabs tabs3 = new Tabs(); TabStop tabStop5 = new TabStop(){ Val = TabStopValues.Center, Position = 4252 }; TabStop tabStop6 = new TabStop(){ Val = TabStopValues.Right, Position = 8504 }; tabs3.Append(tabStop5); tabs3.Append(tabStop6); SnapToGrid snapToGrid3 = new SnapToGrid(){ Val = false }; styleParagraphProperties17.Append(tabs3); styleParagraphProperties17.Append(snapToGrid3); style35.Append(styleName35); style35.Append(basedOn9); style35.Append(linkedStyle5); style35.Append(uIPriority21); style35.Append(unhideWhenUsed15); style35.Append(rsid40); style35.Append(styleParagraphProperties17); Style style36 = new Style(){ Type = StyleValues.Character, StyleId = "HeaderChar", CustomStyle = true }; StyleName styleName36 = new StyleName(){ Val = "Header Char" }; BasedOn basedOn10 = new BasedOn(){ Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle6 = new LinkedStyle(){ Val = "Header" }; UIPriority uIPriority22 = new UIPriority(){ Val = 99 }; Rsid rsid41 = new Rsid(){ Val = "00E930A2" }; style36.Append(styleName36); style36.Append(basedOn10); style36.Append(linkedStyle6); style36.Append(uIPriority22); style36.Append(rsid41); Style style37 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Footer" }; StyleName styleName37 = new StyleName(){ Val = "footer" }; BasedOn basedOn11 = new BasedOn(){ Val = "Normal" }; LinkedStyle linkedStyle7 = new LinkedStyle(){ Val = "FooterChar" }; UIPriority uIPriority23 = new UIPriority(){ Val = 99 }; UnhideWhenUsed unhideWhenUsed16 = new UnhideWhenUsed(); Rsid rsid42 = new Rsid(){ Val = "00E930A2" }; StyleParagraphProperties styleParagraphProperties18 = new StyleParagraphProperties(); Tabs tabs4 = new Tabs(); TabStop tabStop7 = new TabStop(){ Val = TabStopValues.Center, Position = 4252 }; TabStop tabStop8 = new TabStop(){ Val = TabStopValues.Right, Position = 8504 }; tabs4.Append(tabStop7); tabs4.Append(tabStop8); SnapToGrid snapToGrid4 = new SnapToGrid(){ Val = false }; styleParagraphProperties18.Append(tabs4); styleParagraphProperties18.Append(snapToGrid4); style37.Append(styleName37); style37.Append(basedOn11); style37.Append(linkedStyle7); style37.Append(uIPriority23); style37.Append(unhideWhenUsed16); style37.Append(rsid42); style37.Append(styleParagraphProperties18); Style style38 = new Style(){ Type = StyleValues.Character, StyleId = "FooterChar", CustomStyle = true }; StyleName styleName38 = new StyleName(){ Val = "Footer Char" }; BasedOn basedOn12 = new BasedOn(){ Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle8 = new LinkedStyle(){ Val = "Footer" }; UIPriority uIPriority24 = new UIPriority(){ Val = 99 }; Rsid rsid43 = new Rsid(){ Val = "00E930A2" }; style38.Append(styleName38); style38.Append(basedOn12); style38.Append(linkedStyle8); style38.Append(uIPriority24); style38.Append(rsid43); styles4.Append(docDefaults4); styles4.Append(latentStyles4); styles4.Append(style30); styles4.Append(style31); styles4.Append(style32); styles4.Append(style33); styles4.Append(style34); styles4.Append(style35); styles4.Append(style36); styles4.Append(style37); styles4.Append(style38); styleDefinitionsPart2.Styles = styles4; }
// Generates content of stylesWithEffectsPart2. private void GenerateStylesWithEffectsPart2Content(StylesWithEffectsPart stylesWithEffectsPart2) { Styles styles3 = new Styles(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15 wp14" } }; styles3.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); styles3.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); styles3.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); styles3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); styles3.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); styles3.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); styles3.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); styles3.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); styles3.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); styles3.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); styles3.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); styles3.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml"); styles3.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); styles3.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); styles3.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); styles3.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); DocDefaults docDefaults3 = new DocDefaults(); RunPropertiesDefault runPropertiesDefault3 = new RunPropertiesDefault(); RunPropertiesBaseStyle runPropertiesBaseStyle3 = new RunPropertiesBaseStyle(); RunFonts runFonts35 = new RunFonts(){ AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, EastAsiaTheme = ThemeFontValues.MinorEastAsia, ComplexScriptTheme = ThemeFontValues.MinorBidi }; Kern kern17 = new Kern(){ Val = (UInt32Value)2U }; FontSize fontSize3 = new FontSize(){ Val = "21" }; FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript(){ Val = "22" }; Languages languages3 = new Languages(){ Val = "en-US", EastAsia = "ja-JP", Bidi = "ar-SA" }; runPropertiesBaseStyle3.Append(runFonts35); runPropertiesBaseStyle3.Append(kern17); runPropertiesBaseStyle3.Append(fontSize3); runPropertiesBaseStyle3.Append(fontSizeComplexScript3); runPropertiesBaseStyle3.Append(languages3); runPropertiesDefault3.Append(runPropertiesBaseStyle3); ParagraphPropertiesDefault paragraphPropertiesDefault3 = new ParagraphPropertiesDefault(); docDefaults3.Append(runPropertiesDefault3); docDefaults3.Append(paragraphPropertiesDefault3); LatentStyles latentStyles3 = new LatentStyles(){ DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = true, DefaultUnhideWhenUsed = true, DefaultPrimaryStyle = false, Count = 267 }; LatentStyleExceptionInfo latentStyleExceptionInfo275 = new LatentStyleExceptionInfo(){ Name = "Normal", UiPriority = 0, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo276 = new LatentStyleExceptionInfo(){ Name = "heading 1", UiPriority = 9, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo277 = new LatentStyleExceptionInfo(){ Name = "heading 2", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo278 = new LatentStyleExceptionInfo(){ Name = "heading 3", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo279 = new LatentStyleExceptionInfo(){ Name = "heading 4", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo280 = new LatentStyleExceptionInfo(){ Name = "heading 5", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo281 = new LatentStyleExceptionInfo(){ Name = "heading 6", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo282 = new LatentStyleExceptionInfo(){ Name = "heading 7", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo283 = new LatentStyleExceptionInfo(){ Name = "heading 8", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo284 = new LatentStyleExceptionInfo(){ Name = "heading 9", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo285 = new LatentStyleExceptionInfo(){ Name = "toc 1", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo286 = new LatentStyleExceptionInfo(){ Name = "toc 2", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo287 = new LatentStyleExceptionInfo(){ Name = "toc 3", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo288 = new LatentStyleExceptionInfo(){ Name = "toc 4", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo289 = new LatentStyleExceptionInfo(){ Name = "toc 5", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo290 = new LatentStyleExceptionInfo(){ Name = "toc 6", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo291 = new LatentStyleExceptionInfo(){ Name = "toc 7", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo292 = new LatentStyleExceptionInfo(){ Name = "toc 8", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo293 = new LatentStyleExceptionInfo(){ Name = "toc 9", UiPriority = 39 }; LatentStyleExceptionInfo latentStyleExceptionInfo294 = new LatentStyleExceptionInfo(){ Name = "caption", UiPriority = 35, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo295 = new LatentStyleExceptionInfo(){ Name = "Title", UiPriority = 10, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo296 = new LatentStyleExceptionInfo(){ Name = "Default Paragraph Font", UiPriority = 1 }; LatentStyleExceptionInfo latentStyleExceptionInfo297 = new LatentStyleExceptionInfo(){ Name = "Subtitle", UiPriority = 11, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo298 = new LatentStyleExceptionInfo(){ Name = "Strong", UiPriority = 22, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo299 = new LatentStyleExceptionInfo(){ Name = "Emphasis", UiPriority = 20, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo300 = new LatentStyleExceptionInfo(){ Name = "Table Grid", UiPriority = 59, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo301 = new LatentStyleExceptionInfo(){ Name = "Placeholder Text", UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo302 = new LatentStyleExceptionInfo(){ Name = "No Spacing", UiPriority = 36, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo303 = new LatentStyleExceptionInfo(){ Name = "Light Shading", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo304 = new LatentStyleExceptionInfo(){ Name = "Light List", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo305 = new LatentStyleExceptionInfo(){ Name = "Light Grid", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo306 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo307 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo308 = new LatentStyleExceptionInfo(){ Name = "Medium List 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo309 = new LatentStyleExceptionInfo(){ Name = "Medium List 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo310 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo311 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo312 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo313 = new LatentStyleExceptionInfo(){ Name = "Dark List", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo314 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo315 = new LatentStyleExceptionInfo(){ Name = "Colorful List", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo316 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo317 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 1", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo318 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 1", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo319 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 1", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo320 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 1", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo321 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 1", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo322 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 1", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo323 = new LatentStyleExceptionInfo(){ Name = "Revision", UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo324 = new LatentStyleExceptionInfo(){ Name = "List Paragraph", UiPriority = 34, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo325 = new LatentStyleExceptionInfo(){ Name = "Quote", UiPriority = 29, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo326 = new LatentStyleExceptionInfo(){ Name = "Intense Quote", UiPriority = 30, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo327 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 1", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo328 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 1", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo329 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 1", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo330 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 1", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo331 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 1", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo332 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 1", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo333 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 1", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo334 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 1", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo335 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 2", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo336 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 2", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo337 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 2", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo338 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 2", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo339 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 2", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo340 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 2", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo341 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 2", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo342 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 2", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo343 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 2", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo344 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 2", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo345 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 2", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo346 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 2", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo347 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 2", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo348 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 2", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo349 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 3", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo350 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 3", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo351 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 3", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo352 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 3", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo353 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 3", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo354 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 3", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo355 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 3", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo356 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 3", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo357 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 3", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo358 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 3", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo359 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 3", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo360 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 3", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo361 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 3", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo362 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 3", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo363 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 4", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo364 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 4", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo365 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 4", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo366 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 4", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo367 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 4", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo368 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 4", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo369 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 4", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo370 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 4", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo371 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 4", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo372 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 4", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo373 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 4", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo374 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 4", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo375 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 4", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo376 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 4", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo377 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 5", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo378 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 5", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo379 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 5", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo380 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 5", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo381 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 5", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo382 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 5", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo383 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 5", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo384 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 5", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo385 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 5", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo386 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 5", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo387 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 5", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo388 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 5", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo389 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 5", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo390 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 5", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo391 = new LatentStyleExceptionInfo(){ Name = "Light Shading Accent 6", UiPriority = 60, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo392 = new LatentStyleExceptionInfo(){ Name = "Light List Accent 6", UiPriority = 61, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo393 = new LatentStyleExceptionInfo(){ Name = "Light Grid Accent 6", UiPriority = 62, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo394 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 1 Accent 6", UiPriority = 63, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo395 = new LatentStyleExceptionInfo(){ Name = "Medium Shading 2 Accent 6", UiPriority = 64, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo396 = new LatentStyleExceptionInfo(){ Name = "Medium List 1 Accent 6", UiPriority = 65, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo397 = new LatentStyleExceptionInfo(){ Name = "Medium List 2 Accent 6", UiPriority = 66, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo398 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 1 Accent 6", UiPriority = 67, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo399 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 2 Accent 6", UiPriority = 68, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo400 = new LatentStyleExceptionInfo(){ Name = "Medium Grid 3 Accent 6", UiPriority = 69, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo401 = new LatentStyleExceptionInfo(){ Name = "Dark List Accent 6", UiPriority = 70, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo402 = new LatentStyleExceptionInfo(){ Name = "Colorful Shading Accent 6", UiPriority = 71, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo403 = new LatentStyleExceptionInfo(){ Name = "Colorful List Accent 6", UiPriority = 72, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo404 = new LatentStyleExceptionInfo(){ Name = "Colorful Grid Accent 6", UiPriority = 73, SemiHidden = false, UnhideWhenUsed = false }; LatentStyleExceptionInfo latentStyleExceptionInfo405 = new LatentStyleExceptionInfo(){ Name = "Subtle Emphasis", UiPriority = 19, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo406 = new LatentStyleExceptionInfo(){ Name = "Intense Emphasis", UiPriority = 21, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo407 = new LatentStyleExceptionInfo(){ Name = "Subtle Reference", UiPriority = 31, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo408 = new LatentStyleExceptionInfo(){ Name = "Intense Reference", UiPriority = 32, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo409 = new LatentStyleExceptionInfo(){ Name = "Book Title", UiPriority = 33, SemiHidden = false, UnhideWhenUsed = false, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo410 = new LatentStyleExceptionInfo(){ Name = "Bibliography", UiPriority = 37 }; LatentStyleExceptionInfo latentStyleExceptionInfo411 = new LatentStyleExceptionInfo(){ Name = "TOC Heading", UiPriority = 39, PrimaryStyle = true }; latentStyles3.Append(latentStyleExceptionInfo275); latentStyles3.Append(latentStyleExceptionInfo276); latentStyles3.Append(latentStyleExceptionInfo277); latentStyles3.Append(latentStyleExceptionInfo278); latentStyles3.Append(latentStyleExceptionInfo279); latentStyles3.Append(latentStyleExceptionInfo280); latentStyles3.Append(latentStyleExceptionInfo281); latentStyles3.Append(latentStyleExceptionInfo282); latentStyles3.Append(latentStyleExceptionInfo283); latentStyles3.Append(latentStyleExceptionInfo284); latentStyles3.Append(latentStyleExceptionInfo285); latentStyles3.Append(latentStyleExceptionInfo286); latentStyles3.Append(latentStyleExceptionInfo287); latentStyles3.Append(latentStyleExceptionInfo288); latentStyles3.Append(latentStyleExceptionInfo289); latentStyles3.Append(latentStyleExceptionInfo290); latentStyles3.Append(latentStyleExceptionInfo291); latentStyles3.Append(latentStyleExceptionInfo292); latentStyles3.Append(latentStyleExceptionInfo293); latentStyles3.Append(latentStyleExceptionInfo294); latentStyles3.Append(latentStyleExceptionInfo295); latentStyles3.Append(latentStyleExceptionInfo296); latentStyles3.Append(latentStyleExceptionInfo297); latentStyles3.Append(latentStyleExceptionInfo298); latentStyles3.Append(latentStyleExceptionInfo299); latentStyles3.Append(latentStyleExceptionInfo300); latentStyles3.Append(latentStyleExceptionInfo301); latentStyles3.Append(latentStyleExceptionInfo302); latentStyles3.Append(latentStyleExceptionInfo303); latentStyles3.Append(latentStyleExceptionInfo304); latentStyles3.Append(latentStyleExceptionInfo305); latentStyles3.Append(latentStyleExceptionInfo306); latentStyles3.Append(latentStyleExceptionInfo307); latentStyles3.Append(latentStyleExceptionInfo308); latentStyles3.Append(latentStyleExceptionInfo309); latentStyles3.Append(latentStyleExceptionInfo310); latentStyles3.Append(latentStyleExceptionInfo311); latentStyles3.Append(latentStyleExceptionInfo312); latentStyles3.Append(latentStyleExceptionInfo313); latentStyles3.Append(latentStyleExceptionInfo314); latentStyles3.Append(latentStyleExceptionInfo315); latentStyles3.Append(latentStyleExceptionInfo316); latentStyles3.Append(latentStyleExceptionInfo317); latentStyles3.Append(latentStyleExceptionInfo318); latentStyles3.Append(latentStyleExceptionInfo319); latentStyles3.Append(latentStyleExceptionInfo320); latentStyles3.Append(latentStyleExceptionInfo321); latentStyles3.Append(latentStyleExceptionInfo322); latentStyles3.Append(latentStyleExceptionInfo323); latentStyles3.Append(latentStyleExceptionInfo324); latentStyles3.Append(latentStyleExceptionInfo325); latentStyles3.Append(latentStyleExceptionInfo326); latentStyles3.Append(latentStyleExceptionInfo327); latentStyles3.Append(latentStyleExceptionInfo328); latentStyles3.Append(latentStyleExceptionInfo329); latentStyles3.Append(latentStyleExceptionInfo330); latentStyles3.Append(latentStyleExceptionInfo331); latentStyles3.Append(latentStyleExceptionInfo332); latentStyles3.Append(latentStyleExceptionInfo333); latentStyles3.Append(latentStyleExceptionInfo334); latentStyles3.Append(latentStyleExceptionInfo335); latentStyles3.Append(latentStyleExceptionInfo336); latentStyles3.Append(latentStyleExceptionInfo337); latentStyles3.Append(latentStyleExceptionInfo338); latentStyles3.Append(latentStyleExceptionInfo339); latentStyles3.Append(latentStyleExceptionInfo340); latentStyles3.Append(latentStyleExceptionInfo341); latentStyles3.Append(latentStyleExceptionInfo342); latentStyles3.Append(latentStyleExceptionInfo343); latentStyles3.Append(latentStyleExceptionInfo344); latentStyles3.Append(latentStyleExceptionInfo345); latentStyles3.Append(latentStyleExceptionInfo346); latentStyles3.Append(latentStyleExceptionInfo347); latentStyles3.Append(latentStyleExceptionInfo348); latentStyles3.Append(latentStyleExceptionInfo349); latentStyles3.Append(latentStyleExceptionInfo350); latentStyles3.Append(latentStyleExceptionInfo351); latentStyles3.Append(latentStyleExceptionInfo352); latentStyles3.Append(latentStyleExceptionInfo353); latentStyles3.Append(latentStyleExceptionInfo354); latentStyles3.Append(latentStyleExceptionInfo355); latentStyles3.Append(latentStyleExceptionInfo356); latentStyles3.Append(latentStyleExceptionInfo357); latentStyles3.Append(latentStyleExceptionInfo358); latentStyles3.Append(latentStyleExceptionInfo359); latentStyles3.Append(latentStyleExceptionInfo360); latentStyles3.Append(latentStyleExceptionInfo361); latentStyles3.Append(latentStyleExceptionInfo362); latentStyles3.Append(latentStyleExceptionInfo363); latentStyles3.Append(latentStyleExceptionInfo364); latentStyles3.Append(latentStyleExceptionInfo365); latentStyles3.Append(latentStyleExceptionInfo366); latentStyles3.Append(latentStyleExceptionInfo367); latentStyles3.Append(latentStyleExceptionInfo368); latentStyles3.Append(latentStyleExceptionInfo369); latentStyles3.Append(latentStyleExceptionInfo370); latentStyles3.Append(latentStyleExceptionInfo371); latentStyles3.Append(latentStyleExceptionInfo372); latentStyles3.Append(latentStyleExceptionInfo373); latentStyles3.Append(latentStyleExceptionInfo374); latentStyles3.Append(latentStyleExceptionInfo375); latentStyles3.Append(latentStyleExceptionInfo376); latentStyles3.Append(latentStyleExceptionInfo377); latentStyles3.Append(latentStyleExceptionInfo378); latentStyles3.Append(latentStyleExceptionInfo379); latentStyles3.Append(latentStyleExceptionInfo380); latentStyles3.Append(latentStyleExceptionInfo381); latentStyles3.Append(latentStyleExceptionInfo382); latentStyles3.Append(latentStyleExceptionInfo383); latentStyles3.Append(latentStyleExceptionInfo384); latentStyles3.Append(latentStyleExceptionInfo385); latentStyles3.Append(latentStyleExceptionInfo386); latentStyles3.Append(latentStyleExceptionInfo387); latentStyles3.Append(latentStyleExceptionInfo388); latentStyles3.Append(latentStyleExceptionInfo389); latentStyles3.Append(latentStyleExceptionInfo390); latentStyles3.Append(latentStyleExceptionInfo391); latentStyles3.Append(latentStyleExceptionInfo392); latentStyles3.Append(latentStyleExceptionInfo393); latentStyles3.Append(latentStyleExceptionInfo394); latentStyles3.Append(latentStyleExceptionInfo395); latentStyles3.Append(latentStyleExceptionInfo396); latentStyles3.Append(latentStyleExceptionInfo397); latentStyles3.Append(latentStyleExceptionInfo398); latentStyles3.Append(latentStyleExceptionInfo399); latentStyles3.Append(latentStyleExceptionInfo400); latentStyles3.Append(latentStyleExceptionInfo401); latentStyles3.Append(latentStyleExceptionInfo402); latentStyles3.Append(latentStyleExceptionInfo403); latentStyles3.Append(latentStyleExceptionInfo404); latentStyles3.Append(latentStyleExceptionInfo405); latentStyles3.Append(latentStyleExceptionInfo406); latentStyles3.Append(latentStyleExceptionInfo407); latentStyles3.Append(latentStyleExceptionInfo408); latentStyles3.Append(latentStyleExceptionInfo409); latentStyles3.Append(latentStyleExceptionInfo410); latentStyles3.Append(latentStyleExceptionInfo411); Style style21 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Normal", Default = true }; StyleName styleName21 = new StyleName(){ Val = "Normal" }; PrimaryStyle primaryStyle3 = new PrimaryStyle(); StyleParagraphProperties styleParagraphProperties13 = new StyleParagraphProperties(); WidowControl widowControl13 = new WidowControl(){ Val = false }; Justification justification13 = new Justification(){ Val = JustificationValues.Both }; styleParagraphProperties13.Append(widowControl13); styleParagraphProperties13.Append(justification13); style21.Append(styleName21); style21.Append(primaryStyle3); style21.Append(styleParagraphProperties13); Style style22 = new Style(){ Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true }; StyleName styleName22 = new StyleName(){ Val = "Default Paragraph Font" }; UIPriority uIPriority9 = new UIPriority(){ Val = 1 }; SemiHidden semiHidden9 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed7 = new UnhideWhenUsed(); style22.Append(styleName22); style22.Append(uIPriority9); style22.Append(semiHidden9); style22.Append(unhideWhenUsed7); Style style23 = new Style(){ Type = StyleValues.Table, StyleId = "TableNormal", Default = true }; StyleName styleName23 = new StyleName(){ Val = "Normal Table" }; UIPriority uIPriority10 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden10 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed8 = new UnhideWhenUsed(); StyleTableProperties styleTableProperties3 = new StyleTableProperties(); TableIndentation tableIndentation3 = new TableIndentation(){ Width = 0, Type = TableWidthUnitValues.Dxa }; TableCellMarginDefault tableCellMarginDefault3 = new TableCellMarginDefault(); TopMargin topMargin3 = new TopMargin(){ Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellLeftMargin tableCellLeftMargin3 = new TableCellLeftMargin(){ Width = 108, Type = TableWidthValues.Dxa }; BottomMargin bottomMargin3 = new BottomMargin(){ Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellRightMargin tableCellRightMargin3 = new TableCellRightMargin(){ Width = 108, Type = TableWidthValues.Dxa }; tableCellMarginDefault3.Append(topMargin3); tableCellMarginDefault3.Append(tableCellLeftMargin3); tableCellMarginDefault3.Append(bottomMargin3); tableCellMarginDefault3.Append(tableCellRightMargin3); styleTableProperties3.Append(tableIndentation3); styleTableProperties3.Append(tableCellMarginDefault3); style23.Append(styleName23); style23.Append(uIPriority10); style23.Append(semiHidden10); style23.Append(unhideWhenUsed8); style23.Append(styleTableProperties3); Style style24 = new Style(){ Type = StyleValues.Numbering, StyleId = "NoList", Default = true }; StyleName styleName24 = new StyleName(){ Val = "No List" }; UIPriority uIPriority11 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden11 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed9 = new UnhideWhenUsed(); style24.Append(styleName24); style24.Append(uIPriority11); style24.Append(semiHidden11); style24.Append(unhideWhenUsed9); Style style25 = new Style(){ Type = StyleValues.Character, StyleId = "PlaceholderText" }; StyleName styleName25 = new StyleName(){ Val = "Placeholder Text" }; BasedOn basedOn3 = new BasedOn(){ Val = "DefaultParagraphFont" }; UIPriority uIPriority12 = new UIPriority(){ Val = 99 }; SemiHidden semiHidden12 = new SemiHidden(); Rsid rsid34 = new Rsid(){ Val = "000010BA" }; StyleRunProperties styleRunProperties3 = new StyleRunProperties(); Color color4 = new Color(){ Val = "808080" }; styleRunProperties3.Append(color4); style25.Append(styleName25); style25.Append(basedOn3); style25.Append(uIPriority12); style25.Append(semiHidden12); style25.Append(rsid34); style25.Append(styleRunProperties3); Style style26 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Header" }; StyleName styleName26 = new StyleName(){ Val = "header" }; BasedOn basedOn4 = new BasedOn(){ Val = "Normal" }; LinkedStyle linkedStyle1 = new LinkedStyle(){ Val = "HeaderChar" }; UIPriority uIPriority13 = new UIPriority(){ Val = 99 }; UnhideWhenUsed unhideWhenUsed10 = new UnhideWhenUsed(); Rsid rsid35 = new Rsid(){ Val = "00E930A2" }; StyleParagraphProperties styleParagraphProperties14 = new StyleParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop(){ Val = TabStopValues.Center, Position = 4252 }; TabStop tabStop2 = new TabStop(){ Val = TabStopValues.Right, Position = 8504 }; tabs1.Append(tabStop1); tabs1.Append(tabStop2); SnapToGrid snapToGrid1 = new SnapToGrid(){ Val = false }; styleParagraphProperties14.Append(tabs1); styleParagraphProperties14.Append(snapToGrid1); style26.Append(styleName26); style26.Append(basedOn4); style26.Append(linkedStyle1); style26.Append(uIPriority13); style26.Append(unhideWhenUsed10); style26.Append(rsid35); style26.Append(styleParagraphProperties14); Style style27 = new Style(){ Type = StyleValues.Character, StyleId = "HeaderChar", CustomStyle = true }; StyleName styleName27 = new StyleName(){ Val = "Header Char" }; BasedOn basedOn5 = new BasedOn(){ Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle2 = new LinkedStyle(){ Val = "Header" }; UIPriority uIPriority14 = new UIPriority(){ Val = 99 }; Rsid rsid36 = new Rsid(){ Val = "00E930A2" }; style27.Append(styleName27); style27.Append(basedOn5); style27.Append(linkedStyle2); style27.Append(uIPriority14); style27.Append(rsid36); Style style28 = new Style(){ Type = StyleValues.Paragraph, StyleId = "Footer" }; StyleName styleName28 = new StyleName(){ Val = "footer" }; BasedOn basedOn6 = new BasedOn(){ Val = "Normal" }; LinkedStyle linkedStyle3 = new LinkedStyle(){ Val = "FooterChar" }; UIPriority uIPriority15 = new UIPriority(){ Val = 99 }; UnhideWhenUsed unhideWhenUsed11 = new UnhideWhenUsed(); Rsid rsid37 = new Rsid(){ Val = "00E930A2" }; StyleParagraphProperties styleParagraphProperties15 = new StyleParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop3 = new TabStop(){ Val = TabStopValues.Center, Position = 4252 }; TabStop tabStop4 = new TabStop(){ Val = TabStopValues.Right, Position = 8504 }; tabs2.Append(tabStop3); tabs2.Append(tabStop4); SnapToGrid snapToGrid2 = new SnapToGrid(){ Val = false }; styleParagraphProperties15.Append(tabs2); styleParagraphProperties15.Append(snapToGrid2); style28.Append(styleName28); style28.Append(basedOn6); style28.Append(linkedStyle3); style28.Append(uIPriority15); style28.Append(unhideWhenUsed11); style28.Append(rsid37); style28.Append(styleParagraphProperties15); Style style29 = new Style(){ Type = StyleValues.Character, StyleId = "FooterChar", CustomStyle = true }; StyleName styleName29 = new StyleName(){ Val = "Footer Char" }; BasedOn basedOn7 = new BasedOn(){ Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle4 = new LinkedStyle(){ Val = "Footer" }; UIPriority uIPriority16 = new UIPriority(){ Val = 99 }; Rsid rsid38 = new Rsid(){ Val = "00E930A2" }; style29.Append(styleName29); style29.Append(basedOn7); style29.Append(linkedStyle4); style29.Append(uIPriority16); style29.Append(rsid38); styles3.Append(docDefaults3); styles3.Append(latentStyles3); styles3.Append(style21); styles3.Append(style22); styles3.Append(style23); styles3.Append(style24); styles3.Append(style25); styles3.Append(style26); styles3.Append(style27); styles3.Append(style28); styles3.Append(style29); stylesWithEffectsPart2.Styles = styles3; }
private void OnSignupResult(bool didSucceed, string apiKey, string email, string error) { _enableTabChange = true; _selectedTab = Tabs.Bug_Reporter; if (!didSucceed) { _errorMessage = error; return; } Settings.Instance.ApiKey = apiKey; Settings.Instance.EnableBugReporter = true; EditorUtility.DisplayDialog("SRDebugger API", "API key has been created successfully. An email has been sent to your email address ({0}) with a verification link. You must verify your email before you can receive any bug reports." .Fmt(email), "OK"); _showBugReportSignupForm = false; }
private void OnGUI() { // Draw header area SRDebugEditorUtil.BeginDrawBackground(); SRDebugEditorUtil.DrawLogo(SRDebugEditorUtil.GetLogo()); SRDebugEditorUtil.EndDrawBackground(); // Draw header/content divider EditorGUILayout.BeginVertical(SRDebugEditorUtil.Styles.SettingsHeaderBoxStyle); EditorGUILayout.EndVertical(); // Draw tab buttons var rect = EditorGUILayout.BeginVertical(GUI.skin.box); --rect.width; var height = 18; EditorGUI.BeginChangeCheck(); EditorGUI.BeginDisabledGroup(!_enableTabChange); for (var i = 0; i < _tabs.Length; ++i) { var xStart = Mathf.RoundToInt(i*rect.width/_tabs.Length); var xEnd = Mathf.RoundToInt((i + 1)*rect.width/_tabs.Length); var pos = new Rect(rect.x + xStart, rect.y, xEnd - xStart, height); if (GUI.Toggle(pos, (int) _selectedTab == i, new GUIContent(_tabs[i]), EditorStyles.toolbarButton)) { _selectedTab = (Tabs) i; } } GUILayoutUtility.GetRect(10f, height); EditorGUI.EndDisabledGroup(); if (EditorGUI.EndChangeCheck()) { GUIUtility.keyboardControl = 0; } // Draw selected tab switch (_selectedTab) { case Tabs.General: DrawTabGeneral(); break; case Tabs.Layout: DrawTabLayout(); break; case Tabs.Bug_Reporter: DrawTabBugReporter(); break; case Tabs.Shortcuts: DrawTabShortcuts(); break; case Tabs.Advanced: DrawTabAdvanced(); break; } EditorGUILayout.EndVertical(); // Display rating prompt and link buttons EditorGUILayout.LabelField(SRDebugStrings.Current.SettingsRateBoxContents, EditorStyles.miniLabel); SRDebugEditorUtil.DrawFooterLayout(Screen.width); if (GUI.changed) { EditorUtility.SetDirty(Settings.Instance); } }
// Generates content of styleDefinitionsPart1. private static void GenerateStyleDefinitionsPart1Content(StyleDefinitionsPart styleDefinitionsPart1) { Styles styles1 = new Styles() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } }; styles1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); styles1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); styles1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); styles1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); styles1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); DocDefaults docDefaults1 = new DocDefaults(); RunPropertiesDefault runPropertiesDefault1 = new RunPropertiesDefault(); RunPropertiesBaseStyle runPropertiesBaseStyle1 = new RunPropertiesBaseStyle(); RunFonts runFonts1 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, EastAsiaTheme = ThemeFontValues.MinorEastAsia, ComplexScriptTheme = ThemeFontValues.MinorBidi }; Kern kern1 = new Kern() { Val = (UInt32Value)2U }; FontSize fontSize1 = new FontSize() { Val = "21" }; FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "22" }; Languages languages1 = new Languages() { Val = "en-US", EastAsia = "zh-CN", Bidi = "ar-SA" }; runPropertiesBaseStyle1.Append(runFonts1); runPropertiesBaseStyle1.Append(kern1); runPropertiesBaseStyle1.Append(fontSize1); runPropertiesBaseStyle1.Append(fontSizeComplexScript1); runPropertiesBaseStyle1.Append(languages1); runPropertiesDefault1.Append(runPropertiesBaseStyle1); ParagraphPropertiesDefault paragraphPropertiesDefault1 = new ParagraphPropertiesDefault(); docDefaults1.Append(runPropertiesDefault1); docDefaults1.Append(paragraphPropertiesDefault1); LatentStyles latentStyles1 = new LatentStyles() { DefaultLockedState = false, DefaultUiPriority = 99, DefaultSemiHidden = false, DefaultUnhideWhenUsed = false, DefaultPrimaryStyle = false, Count = 371 }; LatentStyleExceptionInfo latentStyleExceptionInfo1 = new LatentStyleExceptionInfo() { Name = "Normal", UiPriority = 0, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo2 = new LatentStyleExceptionInfo() { Name = "heading 1", UiPriority = 9, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo3 = new LatentStyleExceptionInfo() { Name = "heading 2", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo4 = new LatentStyleExceptionInfo() { Name = "heading 3", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo5 = new LatentStyleExceptionInfo() { Name = "heading 4", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo6 = new LatentStyleExceptionInfo() { Name = "heading 5", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo7 = new LatentStyleExceptionInfo() { Name = "heading 6", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo8 = new LatentStyleExceptionInfo() { Name = "heading 7", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo9 = new LatentStyleExceptionInfo() { Name = "heading 8", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo10 = new LatentStyleExceptionInfo() { Name = "heading 9", UiPriority = 9, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo11 = new LatentStyleExceptionInfo() { Name = "index 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo12 = new LatentStyleExceptionInfo() { Name = "index 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo13 = new LatentStyleExceptionInfo() { Name = "index 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo14 = new LatentStyleExceptionInfo() { Name = "index 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo15 = new LatentStyleExceptionInfo() { Name = "index 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo16 = new LatentStyleExceptionInfo() { Name = "index 6", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo17 = new LatentStyleExceptionInfo() { Name = "index 7", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo18 = new LatentStyleExceptionInfo() { Name = "index 8", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo19 = new LatentStyleExceptionInfo() { Name = "index 9", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo20 = new LatentStyleExceptionInfo() { Name = "toc 1", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo21 = new LatentStyleExceptionInfo() { Name = "toc 2", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo22 = new LatentStyleExceptionInfo() { Name = "toc 3", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo23 = new LatentStyleExceptionInfo() { Name = "toc 4", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo24 = new LatentStyleExceptionInfo() { Name = "toc 5", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo25 = new LatentStyleExceptionInfo() { Name = "toc 6", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo26 = new LatentStyleExceptionInfo() { Name = "toc 7", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo27 = new LatentStyleExceptionInfo() { Name = "toc 8", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo28 = new LatentStyleExceptionInfo() { Name = "toc 9", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo29 = new LatentStyleExceptionInfo() { Name = "Normal Indent", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo30 = new LatentStyleExceptionInfo() { Name = "footnote text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo31 = new LatentStyleExceptionInfo() { Name = "annotation text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo32 = new LatentStyleExceptionInfo() { Name = "header", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo33 = new LatentStyleExceptionInfo() { Name = "footer", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo34 = new LatentStyleExceptionInfo() { Name = "index heading", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo35 = new LatentStyleExceptionInfo() { Name = "caption", UiPriority = 35, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo36 = new LatentStyleExceptionInfo() { Name = "table of figures", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo37 = new LatentStyleExceptionInfo() { Name = "envelope address", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo38 = new LatentStyleExceptionInfo() { Name = "envelope return", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo39 = new LatentStyleExceptionInfo() { Name = "footnote reference", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo40 = new LatentStyleExceptionInfo() { Name = "annotation reference", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo41 = new LatentStyleExceptionInfo() { Name = "line number", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo42 = new LatentStyleExceptionInfo() { Name = "page number", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo43 = new LatentStyleExceptionInfo() { Name = "endnote reference", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo44 = new LatentStyleExceptionInfo() { Name = "endnote text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo45 = new LatentStyleExceptionInfo() { Name = "table of authorities", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo46 = new LatentStyleExceptionInfo() { Name = "macro", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo47 = new LatentStyleExceptionInfo() { Name = "toa heading", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo48 = new LatentStyleExceptionInfo() { Name = "List", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo49 = new LatentStyleExceptionInfo() { Name = "List Bullet", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo50 = new LatentStyleExceptionInfo() { Name = "List Number", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo51 = new LatentStyleExceptionInfo() { Name = "List 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo52 = new LatentStyleExceptionInfo() { Name = "List 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo53 = new LatentStyleExceptionInfo() { Name = "List 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo54 = new LatentStyleExceptionInfo() { Name = "List 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo55 = new LatentStyleExceptionInfo() { Name = "List Bullet 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo56 = new LatentStyleExceptionInfo() { Name = "List Bullet 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo57 = new LatentStyleExceptionInfo() { Name = "List Bullet 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo58 = new LatentStyleExceptionInfo() { Name = "List Bullet 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo59 = new LatentStyleExceptionInfo() { Name = "List Number 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo60 = new LatentStyleExceptionInfo() { Name = "List Number 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo61 = new LatentStyleExceptionInfo() { Name = "List Number 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo62 = new LatentStyleExceptionInfo() { Name = "List Number 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo63 = new LatentStyleExceptionInfo() { Name = "Title", UiPriority = 10, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo64 = new LatentStyleExceptionInfo() { Name = "Closing", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo65 = new LatentStyleExceptionInfo() { Name = "Signature", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo66 = new LatentStyleExceptionInfo() { Name = "Default Paragraph Font", UiPriority = 1, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo67 = new LatentStyleExceptionInfo() { Name = "Body Text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo68 = new LatentStyleExceptionInfo() { Name = "Body Text Indent", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo69 = new LatentStyleExceptionInfo() { Name = "List Continue", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo70 = new LatentStyleExceptionInfo() { Name = "List Continue 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo71 = new LatentStyleExceptionInfo() { Name = "List Continue 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo72 = new LatentStyleExceptionInfo() { Name = "List Continue 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo73 = new LatentStyleExceptionInfo() { Name = "List Continue 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo74 = new LatentStyleExceptionInfo() { Name = "Message Header", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo75 = new LatentStyleExceptionInfo() { Name = "Subtitle", UiPriority = 11, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo76 = new LatentStyleExceptionInfo() { Name = "Salutation", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo77 = new LatentStyleExceptionInfo() { Name = "Date", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo78 = new LatentStyleExceptionInfo() { Name = "Body Text First Indent", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo79 = new LatentStyleExceptionInfo() { Name = "Body Text First Indent 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo80 = new LatentStyleExceptionInfo() { Name = "Note Heading", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo81 = new LatentStyleExceptionInfo() { Name = "Body Text 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo82 = new LatentStyleExceptionInfo() { Name = "Body Text 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo83 = new LatentStyleExceptionInfo() { Name = "Body Text Indent 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo84 = new LatentStyleExceptionInfo() { Name = "Body Text Indent 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo85 = new LatentStyleExceptionInfo() { Name = "Block Text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo86 = new LatentStyleExceptionInfo() { Name = "Hyperlink", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo87 = new LatentStyleExceptionInfo() { Name = "FollowedHyperlink", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo88 = new LatentStyleExceptionInfo() { Name = "Strong", UiPriority = 22, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo89 = new LatentStyleExceptionInfo() { Name = "Emphasis", UiPriority = 20, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo90 = new LatentStyleExceptionInfo() { Name = "Document Map", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo91 = new LatentStyleExceptionInfo() { Name = "Plain Text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo92 = new LatentStyleExceptionInfo() { Name = "E-mail Signature", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo93 = new LatentStyleExceptionInfo() { Name = "HTML Top of Form", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo94 = new LatentStyleExceptionInfo() { Name = "HTML Bottom of Form", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo95 = new LatentStyleExceptionInfo() { Name = "Normal (Web)", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo96 = new LatentStyleExceptionInfo() { Name = "HTML Acronym", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo97 = new LatentStyleExceptionInfo() { Name = "HTML Address", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo98 = new LatentStyleExceptionInfo() { Name = "HTML Cite", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo99 = new LatentStyleExceptionInfo() { Name = "HTML Code", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo100 = new LatentStyleExceptionInfo() { Name = "HTML Definition", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo101 = new LatentStyleExceptionInfo() { Name = "HTML Keyboard", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo102 = new LatentStyleExceptionInfo() { Name = "HTML Preformatted", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo103 = new LatentStyleExceptionInfo() { Name = "HTML Sample", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo104 = new LatentStyleExceptionInfo() { Name = "HTML Typewriter", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo105 = new LatentStyleExceptionInfo() { Name = "HTML Variable", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo106 = new LatentStyleExceptionInfo() { Name = "Normal Table", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo107 = new LatentStyleExceptionInfo() { Name = "annotation subject", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo108 = new LatentStyleExceptionInfo() { Name = "No List", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo109 = new LatentStyleExceptionInfo() { Name = "Outline List 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo110 = new LatentStyleExceptionInfo() { Name = "Outline List 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo111 = new LatentStyleExceptionInfo() { Name = "Outline List 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo112 = new LatentStyleExceptionInfo() { Name = "Table Simple 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo113 = new LatentStyleExceptionInfo() { Name = "Table Simple 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo114 = new LatentStyleExceptionInfo() { Name = "Table Simple 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo115 = new LatentStyleExceptionInfo() { Name = "Table Classic 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo116 = new LatentStyleExceptionInfo() { Name = "Table Classic 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo117 = new LatentStyleExceptionInfo() { Name = "Table Classic 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo118 = new LatentStyleExceptionInfo() { Name = "Table Classic 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo119 = new LatentStyleExceptionInfo() { Name = "Table Colorful 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo120 = new LatentStyleExceptionInfo() { Name = "Table Colorful 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo121 = new LatentStyleExceptionInfo() { Name = "Table Colorful 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo122 = new LatentStyleExceptionInfo() { Name = "Table Columns 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo123 = new LatentStyleExceptionInfo() { Name = "Table Columns 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo124 = new LatentStyleExceptionInfo() { Name = "Table Columns 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo125 = new LatentStyleExceptionInfo() { Name = "Table Columns 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo126 = new LatentStyleExceptionInfo() { Name = "Table Columns 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo127 = new LatentStyleExceptionInfo() { Name = "Table Grid 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo128 = new LatentStyleExceptionInfo() { Name = "Table Grid 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo129 = new LatentStyleExceptionInfo() { Name = "Table Grid 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo130 = new LatentStyleExceptionInfo() { Name = "Table Grid 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo131 = new LatentStyleExceptionInfo() { Name = "Table Grid 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo132 = new LatentStyleExceptionInfo() { Name = "Table Grid 6", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo133 = new LatentStyleExceptionInfo() { Name = "Table Grid 7", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo134 = new LatentStyleExceptionInfo() { Name = "Table Grid 8", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo135 = new LatentStyleExceptionInfo() { Name = "Table List 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo136 = new LatentStyleExceptionInfo() { Name = "Table List 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo137 = new LatentStyleExceptionInfo() { Name = "Table List 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo138 = new LatentStyleExceptionInfo() { Name = "Table List 4", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo139 = new LatentStyleExceptionInfo() { Name = "Table List 5", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo140 = new LatentStyleExceptionInfo() { Name = "Table List 6", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo141 = new LatentStyleExceptionInfo() { Name = "Table List 7", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo142 = new LatentStyleExceptionInfo() { Name = "Table List 8", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo143 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo144 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo145 = new LatentStyleExceptionInfo() { Name = "Table 3D effects 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo146 = new LatentStyleExceptionInfo() { Name = "Table Contemporary", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo147 = new LatentStyleExceptionInfo() { Name = "Table Elegant", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo148 = new LatentStyleExceptionInfo() { Name = "Table Professional", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo149 = new LatentStyleExceptionInfo() { Name = "Table Subtle 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo150 = new LatentStyleExceptionInfo() { Name = "Table Subtle 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo151 = new LatentStyleExceptionInfo() { Name = "Table Web 1", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo152 = new LatentStyleExceptionInfo() { Name = "Table Web 2", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo153 = new LatentStyleExceptionInfo() { Name = "Table Web 3", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo154 = new LatentStyleExceptionInfo() { Name = "Balloon Text", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo155 = new LatentStyleExceptionInfo() { Name = "Table Grid", UiPriority = 59 }; LatentStyleExceptionInfo latentStyleExceptionInfo156 = new LatentStyleExceptionInfo() { Name = "Table Theme", SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo157 = new LatentStyleExceptionInfo() { Name = "Placeholder Text", SemiHidden = true }; LatentStyleExceptionInfo latentStyleExceptionInfo158 = new LatentStyleExceptionInfo() { Name = "No Spacing", UiPriority = 1, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo159 = new LatentStyleExceptionInfo() { Name = "Light Shading", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo160 = new LatentStyleExceptionInfo() { Name = "Light List", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo161 = new LatentStyleExceptionInfo() { Name = "Light Grid", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo162 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo163 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo164 = new LatentStyleExceptionInfo() { Name = "Medium List 1", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo165 = new LatentStyleExceptionInfo() { Name = "Medium List 2", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo166 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo167 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo168 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo169 = new LatentStyleExceptionInfo() { Name = "Dark List", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo170 = new LatentStyleExceptionInfo() { Name = "Colorful Shading", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo171 = new LatentStyleExceptionInfo() { Name = "Colorful List", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo172 = new LatentStyleExceptionInfo() { Name = "Colorful Grid", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo173 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 1", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo174 = new LatentStyleExceptionInfo() { Name = "Light List Accent 1", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo175 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 1", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo176 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 1", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo177 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 1", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo178 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 1", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo179 = new LatentStyleExceptionInfo() { Name = "Revision", SemiHidden = true }; LatentStyleExceptionInfo latentStyleExceptionInfo180 = new LatentStyleExceptionInfo() { Name = "List Paragraph", UiPriority = 34, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo181 = new LatentStyleExceptionInfo() { Name = "Quote", UiPriority = 29, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo182 = new LatentStyleExceptionInfo() { Name = "Intense Quote", UiPriority = 30, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo183 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 1", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo184 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 1", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo185 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 1", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo186 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 1", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo187 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 1", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo188 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 1", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo189 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 1", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo190 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 1", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo191 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 2", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo192 = new LatentStyleExceptionInfo() { Name = "Light List Accent 2", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo193 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 2", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo194 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 2", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo195 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 2", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo196 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 2", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo197 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 2", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo198 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 2", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo199 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 2", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo200 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 2", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo201 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 2", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo202 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 2", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo203 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 2", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo204 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 2", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo205 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 3", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo206 = new LatentStyleExceptionInfo() { Name = "Light List Accent 3", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo207 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 3", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo208 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 3", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo209 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 3", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo210 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 3", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo211 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 3", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo212 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 3", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo213 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 3", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo214 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 3", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo215 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 3", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo216 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 3", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo217 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 3", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo218 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 3", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo219 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 4", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo220 = new LatentStyleExceptionInfo() { Name = "Light List Accent 4", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo221 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 4", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo222 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 4", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo223 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 4", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo224 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 4", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo225 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 4", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo226 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 4", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo227 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 4", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo228 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 4", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo229 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 4", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo230 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 4", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo231 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 4", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo232 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 4", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo233 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 5", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo234 = new LatentStyleExceptionInfo() { Name = "Light List Accent 5", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo235 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 5", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo236 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 5", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo237 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 5", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo238 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 5", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo239 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 5", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo240 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 5", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo241 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 5", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo242 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 5", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo243 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 5", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo244 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 5", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo245 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 5", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo246 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 5", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo247 = new LatentStyleExceptionInfo() { Name = "Light Shading Accent 6", UiPriority = 60 }; LatentStyleExceptionInfo latentStyleExceptionInfo248 = new LatentStyleExceptionInfo() { Name = "Light List Accent 6", UiPriority = 61 }; LatentStyleExceptionInfo latentStyleExceptionInfo249 = new LatentStyleExceptionInfo() { Name = "Light Grid Accent 6", UiPriority = 62 }; LatentStyleExceptionInfo latentStyleExceptionInfo250 = new LatentStyleExceptionInfo() { Name = "Medium Shading 1 Accent 6", UiPriority = 63 }; LatentStyleExceptionInfo latentStyleExceptionInfo251 = new LatentStyleExceptionInfo() { Name = "Medium Shading 2 Accent 6", UiPriority = 64 }; LatentStyleExceptionInfo latentStyleExceptionInfo252 = new LatentStyleExceptionInfo() { Name = "Medium List 1 Accent 6", UiPriority = 65 }; LatentStyleExceptionInfo latentStyleExceptionInfo253 = new LatentStyleExceptionInfo() { Name = "Medium List 2 Accent 6", UiPriority = 66 }; LatentStyleExceptionInfo latentStyleExceptionInfo254 = new LatentStyleExceptionInfo() { Name = "Medium Grid 1 Accent 6", UiPriority = 67 }; LatentStyleExceptionInfo latentStyleExceptionInfo255 = new LatentStyleExceptionInfo() { Name = "Medium Grid 2 Accent 6", UiPriority = 68 }; LatentStyleExceptionInfo latentStyleExceptionInfo256 = new LatentStyleExceptionInfo() { Name = "Medium Grid 3 Accent 6", UiPriority = 69 }; LatentStyleExceptionInfo latentStyleExceptionInfo257 = new LatentStyleExceptionInfo() { Name = "Dark List Accent 6", UiPriority = 70 }; LatentStyleExceptionInfo latentStyleExceptionInfo258 = new LatentStyleExceptionInfo() { Name = "Colorful Shading Accent 6", UiPriority = 71 }; LatentStyleExceptionInfo latentStyleExceptionInfo259 = new LatentStyleExceptionInfo() { Name = "Colorful List Accent 6", UiPriority = 72 }; LatentStyleExceptionInfo latentStyleExceptionInfo260 = new LatentStyleExceptionInfo() { Name = "Colorful Grid Accent 6", UiPriority = 73 }; LatentStyleExceptionInfo latentStyleExceptionInfo261 = new LatentStyleExceptionInfo() { Name = "Subtle Emphasis", UiPriority = 19, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo262 = new LatentStyleExceptionInfo() { Name = "Intense Emphasis", UiPriority = 21, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo263 = new LatentStyleExceptionInfo() { Name = "Subtle Reference", UiPriority = 31, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo264 = new LatentStyleExceptionInfo() { Name = "Intense Reference", UiPriority = 32, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo265 = new LatentStyleExceptionInfo() { Name = "Book Title", UiPriority = 33, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo266 = new LatentStyleExceptionInfo() { Name = "Bibliography", UiPriority = 37, SemiHidden = true, UnhideWhenUsed = true }; LatentStyleExceptionInfo latentStyleExceptionInfo267 = new LatentStyleExceptionInfo() { Name = "TOC Heading", UiPriority = 39, SemiHidden = true, UnhideWhenUsed = true, PrimaryStyle = true }; LatentStyleExceptionInfo latentStyleExceptionInfo268 = new LatentStyleExceptionInfo() { Name = "Plain Table 1", UiPriority = 41 }; LatentStyleExceptionInfo latentStyleExceptionInfo269 = new LatentStyleExceptionInfo() { Name = "Plain Table 2", UiPriority = 42 }; LatentStyleExceptionInfo latentStyleExceptionInfo270 = new LatentStyleExceptionInfo() { Name = "Plain Table 3", UiPriority = 43 }; LatentStyleExceptionInfo latentStyleExceptionInfo271 = new LatentStyleExceptionInfo() { Name = "Plain Table 4", UiPriority = 44 }; LatentStyleExceptionInfo latentStyleExceptionInfo272 = new LatentStyleExceptionInfo() { Name = "Plain Table 5", UiPriority = 45 }; LatentStyleExceptionInfo latentStyleExceptionInfo273 = new LatentStyleExceptionInfo() { Name = "Grid Table Light", UiPriority = 40 }; LatentStyleExceptionInfo latentStyleExceptionInfo274 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo275 = new LatentStyleExceptionInfo() { Name = "Grid Table 2", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo276 = new LatentStyleExceptionInfo() { Name = "Grid Table 3", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo277 = new LatentStyleExceptionInfo() { Name = "Grid Table 4", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo278 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo279 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo280 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo281 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 1", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo282 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 1", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo283 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 1", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo284 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 1", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo285 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 1", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo286 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 1", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo287 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 1", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo288 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 2", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo289 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 2", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo290 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 2", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo291 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 2", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo292 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 2", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo293 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 2", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo294 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 2", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo295 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 3", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo296 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 3", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo297 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 3", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo298 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 3", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo299 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 3", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo300 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 3", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo301 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 3", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo302 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 4", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo303 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 4", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo304 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 4", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo305 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 4", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo306 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 4", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo307 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 4", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo308 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 4", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo309 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 5", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo310 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 5", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo311 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 5", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo312 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 5", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo313 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 5", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo314 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 5", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo315 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 5", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo316 = new LatentStyleExceptionInfo() { Name = "Grid Table 1 Light Accent 6", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo317 = new LatentStyleExceptionInfo() { Name = "Grid Table 2 Accent 6", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo318 = new LatentStyleExceptionInfo() { Name = "Grid Table 3 Accent 6", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo319 = new LatentStyleExceptionInfo() { Name = "Grid Table 4 Accent 6", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo320 = new LatentStyleExceptionInfo() { Name = "Grid Table 5 Dark Accent 6", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo321 = new LatentStyleExceptionInfo() { Name = "Grid Table 6 Colorful Accent 6", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo322 = new LatentStyleExceptionInfo() { Name = "Grid Table 7 Colorful Accent 6", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo323 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo324 = new LatentStyleExceptionInfo() { Name = "List Table 2", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo325 = new LatentStyleExceptionInfo() { Name = "List Table 3", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo326 = new LatentStyleExceptionInfo() { Name = "List Table 4", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo327 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo328 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo329 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo330 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 1", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo331 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 1", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo332 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 1", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo333 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 1", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo334 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 1", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo335 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 1", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo336 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 1", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo337 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 2", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo338 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 2", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo339 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 2", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo340 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 2", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo341 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 2", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo342 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 2", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo343 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 2", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo344 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 3", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo345 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 3", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo346 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 3", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo347 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 3", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo348 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 3", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo349 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 3", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo350 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 3", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo351 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 4", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo352 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 4", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo353 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 4", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo354 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 4", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo355 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 4", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo356 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 4", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo357 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 4", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo358 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 5", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo359 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 5", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo360 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 5", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo361 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 5", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo362 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 5", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo363 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 5", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo364 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 5", UiPriority = 52 }; LatentStyleExceptionInfo latentStyleExceptionInfo365 = new LatentStyleExceptionInfo() { Name = "List Table 1 Light Accent 6", UiPriority = 46 }; LatentStyleExceptionInfo latentStyleExceptionInfo366 = new LatentStyleExceptionInfo() { Name = "List Table 2 Accent 6", UiPriority = 47 }; LatentStyleExceptionInfo latentStyleExceptionInfo367 = new LatentStyleExceptionInfo() { Name = "List Table 3 Accent 6", UiPriority = 48 }; LatentStyleExceptionInfo latentStyleExceptionInfo368 = new LatentStyleExceptionInfo() { Name = "List Table 4 Accent 6", UiPriority = 49 }; LatentStyleExceptionInfo latentStyleExceptionInfo369 = new LatentStyleExceptionInfo() { Name = "List Table 5 Dark Accent 6", UiPriority = 50 }; LatentStyleExceptionInfo latentStyleExceptionInfo370 = new LatentStyleExceptionInfo() { Name = "List Table 6 Colorful Accent 6", UiPriority = 51 }; LatentStyleExceptionInfo latentStyleExceptionInfo371 = new LatentStyleExceptionInfo() { Name = "List Table 7 Colorful Accent 6", UiPriority = 52 }; latentStyles1.Append(latentStyleExceptionInfo1); latentStyles1.Append(latentStyleExceptionInfo2); latentStyles1.Append(latentStyleExceptionInfo3); latentStyles1.Append(latentStyleExceptionInfo4); latentStyles1.Append(latentStyleExceptionInfo5); latentStyles1.Append(latentStyleExceptionInfo6); latentStyles1.Append(latentStyleExceptionInfo7); latentStyles1.Append(latentStyleExceptionInfo8); latentStyles1.Append(latentStyleExceptionInfo9); latentStyles1.Append(latentStyleExceptionInfo10); latentStyles1.Append(latentStyleExceptionInfo11); latentStyles1.Append(latentStyleExceptionInfo12); latentStyles1.Append(latentStyleExceptionInfo13); latentStyles1.Append(latentStyleExceptionInfo14); latentStyles1.Append(latentStyleExceptionInfo15); latentStyles1.Append(latentStyleExceptionInfo16); latentStyles1.Append(latentStyleExceptionInfo17); latentStyles1.Append(latentStyleExceptionInfo18); latentStyles1.Append(latentStyleExceptionInfo19); latentStyles1.Append(latentStyleExceptionInfo20); latentStyles1.Append(latentStyleExceptionInfo21); latentStyles1.Append(latentStyleExceptionInfo22); latentStyles1.Append(latentStyleExceptionInfo23); latentStyles1.Append(latentStyleExceptionInfo24); latentStyles1.Append(latentStyleExceptionInfo25); latentStyles1.Append(latentStyleExceptionInfo26); latentStyles1.Append(latentStyleExceptionInfo27); latentStyles1.Append(latentStyleExceptionInfo28); latentStyles1.Append(latentStyleExceptionInfo29); latentStyles1.Append(latentStyleExceptionInfo30); latentStyles1.Append(latentStyleExceptionInfo31); latentStyles1.Append(latentStyleExceptionInfo32); latentStyles1.Append(latentStyleExceptionInfo33); latentStyles1.Append(latentStyleExceptionInfo34); latentStyles1.Append(latentStyleExceptionInfo35); latentStyles1.Append(latentStyleExceptionInfo36); latentStyles1.Append(latentStyleExceptionInfo37); latentStyles1.Append(latentStyleExceptionInfo38); latentStyles1.Append(latentStyleExceptionInfo39); latentStyles1.Append(latentStyleExceptionInfo40); latentStyles1.Append(latentStyleExceptionInfo41); latentStyles1.Append(latentStyleExceptionInfo42); latentStyles1.Append(latentStyleExceptionInfo43); latentStyles1.Append(latentStyleExceptionInfo44); latentStyles1.Append(latentStyleExceptionInfo45); latentStyles1.Append(latentStyleExceptionInfo46); latentStyles1.Append(latentStyleExceptionInfo47); latentStyles1.Append(latentStyleExceptionInfo48); latentStyles1.Append(latentStyleExceptionInfo49); latentStyles1.Append(latentStyleExceptionInfo50); latentStyles1.Append(latentStyleExceptionInfo51); latentStyles1.Append(latentStyleExceptionInfo52); latentStyles1.Append(latentStyleExceptionInfo53); latentStyles1.Append(latentStyleExceptionInfo54); latentStyles1.Append(latentStyleExceptionInfo55); latentStyles1.Append(latentStyleExceptionInfo56); latentStyles1.Append(latentStyleExceptionInfo57); latentStyles1.Append(latentStyleExceptionInfo58); latentStyles1.Append(latentStyleExceptionInfo59); latentStyles1.Append(latentStyleExceptionInfo60); latentStyles1.Append(latentStyleExceptionInfo61); latentStyles1.Append(latentStyleExceptionInfo62); latentStyles1.Append(latentStyleExceptionInfo63); latentStyles1.Append(latentStyleExceptionInfo64); latentStyles1.Append(latentStyleExceptionInfo65); latentStyles1.Append(latentStyleExceptionInfo66); latentStyles1.Append(latentStyleExceptionInfo67); latentStyles1.Append(latentStyleExceptionInfo68); latentStyles1.Append(latentStyleExceptionInfo69); latentStyles1.Append(latentStyleExceptionInfo70); latentStyles1.Append(latentStyleExceptionInfo71); latentStyles1.Append(latentStyleExceptionInfo72); latentStyles1.Append(latentStyleExceptionInfo73); latentStyles1.Append(latentStyleExceptionInfo74); latentStyles1.Append(latentStyleExceptionInfo75); latentStyles1.Append(latentStyleExceptionInfo76); latentStyles1.Append(latentStyleExceptionInfo77); latentStyles1.Append(latentStyleExceptionInfo78); latentStyles1.Append(latentStyleExceptionInfo79); latentStyles1.Append(latentStyleExceptionInfo80); latentStyles1.Append(latentStyleExceptionInfo81); latentStyles1.Append(latentStyleExceptionInfo82); latentStyles1.Append(latentStyleExceptionInfo83); latentStyles1.Append(latentStyleExceptionInfo84); latentStyles1.Append(latentStyleExceptionInfo85); latentStyles1.Append(latentStyleExceptionInfo86); latentStyles1.Append(latentStyleExceptionInfo87); latentStyles1.Append(latentStyleExceptionInfo88); latentStyles1.Append(latentStyleExceptionInfo89); latentStyles1.Append(latentStyleExceptionInfo90); latentStyles1.Append(latentStyleExceptionInfo91); latentStyles1.Append(latentStyleExceptionInfo92); latentStyles1.Append(latentStyleExceptionInfo93); latentStyles1.Append(latentStyleExceptionInfo94); latentStyles1.Append(latentStyleExceptionInfo95); latentStyles1.Append(latentStyleExceptionInfo96); latentStyles1.Append(latentStyleExceptionInfo97); latentStyles1.Append(latentStyleExceptionInfo98); latentStyles1.Append(latentStyleExceptionInfo99); latentStyles1.Append(latentStyleExceptionInfo100); latentStyles1.Append(latentStyleExceptionInfo101); latentStyles1.Append(latentStyleExceptionInfo102); latentStyles1.Append(latentStyleExceptionInfo103); latentStyles1.Append(latentStyleExceptionInfo104); latentStyles1.Append(latentStyleExceptionInfo105); latentStyles1.Append(latentStyleExceptionInfo106); latentStyles1.Append(latentStyleExceptionInfo107); latentStyles1.Append(latentStyleExceptionInfo108); latentStyles1.Append(latentStyleExceptionInfo109); latentStyles1.Append(latentStyleExceptionInfo110); latentStyles1.Append(latentStyleExceptionInfo111); latentStyles1.Append(latentStyleExceptionInfo112); latentStyles1.Append(latentStyleExceptionInfo113); latentStyles1.Append(latentStyleExceptionInfo114); latentStyles1.Append(latentStyleExceptionInfo115); latentStyles1.Append(latentStyleExceptionInfo116); latentStyles1.Append(latentStyleExceptionInfo117); latentStyles1.Append(latentStyleExceptionInfo118); latentStyles1.Append(latentStyleExceptionInfo119); latentStyles1.Append(latentStyleExceptionInfo120); latentStyles1.Append(latentStyleExceptionInfo121); latentStyles1.Append(latentStyleExceptionInfo122); latentStyles1.Append(latentStyleExceptionInfo123); latentStyles1.Append(latentStyleExceptionInfo124); latentStyles1.Append(latentStyleExceptionInfo125); latentStyles1.Append(latentStyleExceptionInfo126); latentStyles1.Append(latentStyleExceptionInfo127); latentStyles1.Append(latentStyleExceptionInfo128); latentStyles1.Append(latentStyleExceptionInfo129); latentStyles1.Append(latentStyleExceptionInfo130); latentStyles1.Append(latentStyleExceptionInfo131); latentStyles1.Append(latentStyleExceptionInfo132); latentStyles1.Append(latentStyleExceptionInfo133); latentStyles1.Append(latentStyleExceptionInfo134); latentStyles1.Append(latentStyleExceptionInfo135); latentStyles1.Append(latentStyleExceptionInfo136); latentStyles1.Append(latentStyleExceptionInfo137); latentStyles1.Append(latentStyleExceptionInfo138); latentStyles1.Append(latentStyleExceptionInfo139); latentStyles1.Append(latentStyleExceptionInfo140); latentStyles1.Append(latentStyleExceptionInfo141); latentStyles1.Append(latentStyleExceptionInfo142); latentStyles1.Append(latentStyleExceptionInfo143); latentStyles1.Append(latentStyleExceptionInfo144); latentStyles1.Append(latentStyleExceptionInfo145); latentStyles1.Append(latentStyleExceptionInfo146); latentStyles1.Append(latentStyleExceptionInfo147); latentStyles1.Append(latentStyleExceptionInfo148); latentStyles1.Append(latentStyleExceptionInfo149); latentStyles1.Append(latentStyleExceptionInfo150); latentStyles1.Append(latentStyleExceptionInfo151); latentStyles1.Append(latentStyleExceptionInfo152); latentStyles1.Append(latentStyleExceptionInfo153); latentStyles1.Append(latentStyleExceptionInfo154); latentStyles1.Append(latentStyleExceptionInfo155); latentStyles1.Append(latentStyleExceptionInfo156); latentStyles1.Append(latentStyleExceptionInfo157); latentStyles1.Append(latentStyleExceptionInfo158); latentStyles1.Append(latentStyleExceptionInfo159); latentStyles1.Append(latentStyleExceptionInfo160); latentStyles1.Append(latentStyleExceptionInfo161); latentStyles1.Append(latentStyleExceptionInfo162); latentStyles1.Append(latentStyleExceptionInfo163); latentStyles1.Append(latentStyleExceptionInfo164); latentStyles1.Append(latentStyleExceptionInfo165); latentStyles1.Append(latentStyleExceptionInfo166); latentStyles1.Append(latentStyleExceptionInfo167); latentStyles1.Append(latentStyleExceptionInfo168); latentStyles1.Append(latentStyleExceptionInfo169); latentStyles1.Append(latentStyleExceptionInfo170); latentStyles1.Append(latentStyleExceptionInfo171); latentStyles1.Append(latentStyleExceptionInfo172); latentStyles1.Append(latentStyleExceptionInfo173); latentStyles1.Append(latentStyleExceptionInfo174); latentStyles1.Append(latentStyleExceptionInfo175); latentStyles1.Append(latentStyleExceptionInfo176); latentStyles1.Append(latentStyleExceptionInfo177); latentStyles1.Append(latentStyleExceptionInfo178); latentStyles1.Append(latentStyleExceptionInfo179); latentStyles1.Append(latentStyleExceptionInfo180); latentStyles1.Append(latentStyleExceptionInfo181); latentStyles1.Append(latentStyleExceptionInfo182); latentStyles1.Append(latentStyleExceptionInfo183); latentStyles1.Append(latentStyleExceptionInfo184); latentStyles1.Append(latentStyleExceptionInfo185); latentStyles1.Append(latentStyleExceptionInfo186); latentStyles1.Append(latentStyleExceptionInfo187); latentStyles1.Append(latentStyleExceptionInfo188); latentStyles1.Append(latentStyleExceptionInfo189); latentStyles1.Append(latentStyleExceptionInfo190); latentStyles1.Append(latentStyleExceptionInfo191); latentStyles1.Append(latentStyleExceptionInfo192); latentStyles1.Append(latentStyleExceptionInfo193); latentStyles1.Append(latentStyleExceptionInfo194); latentStyles1.Append(latentStyleExceptionInfo195); latentStyles1.Append(latentStyleExceptionInfo196); latentStyles1.Append(latentStyleExceptionInfo197); latentStyles1.Append(latentStyleExceptionInfo198); latentStyles1.Append(latentStyleExceptionInfo199); latentStyles1.Append(latentStyleExceptionInfo200); latentStyles1.Append(latentStyleExceptionInfo201); latentStyles1.Append(latentStyleExceptionInfo202); latentStyles1.Append(latentStyleExceptionInfo203); latentStyles1.Append(latentStyleExceptionInfo204); latentStyles1.Append(latentStyleExceptionInfo205); latentStyles1.Append(latentStyleExceptionInfo206); latentStyles1.Append(latentStyleExceptionInfo207); latentStyles1.Append(latentStyleExceptionInfo208); latentStyles1.Append(latentStyleExceptionInfo209); latentStyles1.Append(latentStyleExceptionInfo210); latentStyles1.Append(latentStyleExceptionInfo211); latentStyles1.Append(latentStyleExceptionInfo212); latentStyles1.Append(latentStyleExceptionInfo213); latentStyles1.Append(latentStyleExceptionInfo214); latentStyles1.Append(latentStyleExceptionInfo215); latentStyles1.Append(latentStyleExceptionInfo216); latentStyles1.Append(latentStyleExceptionInfo217); latentStyles1.Append(latentStyleExceptionInfo218); latentStyles1.Append(latentStyleExceptionInfo219); latentStyles1.Append(latentStyleExceptionInfo220); latentStyles1.Append(latentStyleExceptionInfo221); latentStyles1.Append(latentStyleExceptionInfo222); latentStyles1.Append(latentStyleExceptionInfo223); latentStyles1.Append(latentStyleExceptionInfo224); latentStyles1.Append(latentStyleExceptionInfo225); latentStyles1.Append(latentStyleExceptionInfo226); latentStyles1.Append(latentStyleExceptionInfo227); latentStyles1.Append(latentStyleExceptionInfo228); latentStyles1.Append(latentStyleExceptionInfo229); latentStyles1.Append(latentStyleExceptionInfo230); latentStyles1.Append(latentStyleExceptionInfo231); latentStyles1.Append(latentStyleExceptionInfo232); latentStyles1.Append(latentStyleExceptionInfo233); latentStyles1.Append(latentStyleExceptionInfo234); latentStyles1.Append(latentStyleExceptionInfo235); latentStyles1.Append(latentStyleExceptionInfo236); latentStyles1.Append(latentStyleExceptionInfo237); latentStyles1.Append(latentStyleExceptionInfo238); latentStyles1.Append(latentStyleExceptionInfo239); latentStyles1.Append(latentStyleExceptionInfo240); latentStyles1.Append(latentStyleExceptionInfo241); latentStyles1.Append(latentStyleExceptionInfo242); latentStyles1.Append(latentStyleExceptionInfo243); latentStyles1.Append(latentStyleExceptionInfo244); latentStyles1.Append(latentStyleExceptionInfo245); latentStyles1.Append(latentStyleExceptionInfo246); latentStyles1.Append(latentStyleExceptionInfo247); latentStyles1.Append(latentStyleExceptionInfo248); latentStyles1.Append(latentStyleExceptionInfo249); latentStyles1.Append(latentStyleExceptionInfo250); latentStyles1.Append(latentStyleExceptionInfo251); latentStyles1.Append(latentStyleExceptionInfo252); latentStyles1.Append(latentStyleExceptionInfo253); latentStyles1.Append(latentStyleExceptionInfo254); latentStyles1.Append(latentStyleExceptionInfo255); latentStyles1.Append(latentStyleExceptionInfo256); latentStyles1.Append(latentStyleExceptionInfo257); latentStyles1.Append(latentStyleExceptionInfo258); latentStyles1.Append(latentStyleExceptionInfo259); latentStyles1.Append(latentStyleExceptionInfo260); latentStyles1.Append(latentStyleExceptionInfo261); latentStyles1.Append(latentStyleExceptionInfo262); latentStyles1.Append(latentStyleExceptionInfo263); latentStyles1.Append(latentStyleExceptionInfo264); latentStyles1.Append(latentStyleExceptionInfo265); latentStyles1.Append(latentStyleExceptionInfo266); latentStyles1.Append(latentStyleExceptionInfo267); latentStyles1.Append(latentStyleExceptionInfo268); latentStyles1.Append(latentStyleExceptionInfo269); latentStyles1.Append(latentStyleExceptionInfo270); latentStyles1.Append(latentStyleExceptionInfo271); latentStyles1.Append(latentStyleExceptionInfo272); latentStyles1.Append(latentStyleExceptionInfo273); latentStyles1.Append(latentStyleExceptionInfo274); latentStyles1.Append(latentStyleExceptionInfo275); latentStyles1.Append(latentStyleExceptionInfo276); latentStyles1.Append(latentStyleExceptionInfo277); latentStyles1.Append(latentStyleExceptionInfo278); latentStyles1.Append(latentStyleExceptionInfo279); latentStyles1.Append(latentStyleExceptionInfo280); latentStyles1.Append(latentStyleExceptionInfo281); latentStyles1.Append(latentStyleExceptionInfo282); latentStyles1.Append(latentStyleExceptionInfo283); latentStyles1.Append(latentStyleExceptionInfo284); latentStyles1.Append(latentStyleExceptionInfo285); latentStyles1.Append(latentStyleExceptionInfo286); latentStyles1.Append(latentStyleExceptionInfo287); latentStyles1.Append(latentStyleExceptionInfo288); latentStyles1.Append(latentStyleExceptionInfo289); latentStyles1.Append(latentStyleExceptionInfo290); latentStyles1.Append(latentStyleExceptionInfo291); latentStyles1.Append(latentStyleExceptionInfo292); latentStyles1.Append(latentStyleExceptionInfo293); latentStyles1.Append(latentStyleExceptionInfo294); latentStyles1.Append(latentStyleExceptionInfo295); latentStyles1.Append(latentStyleExceptionInfo296); latentStyles1.Append(latentStyleExceptionInfo297); latentStyles1.Append(latentStyleExceptionInfo298); latentStyles1.Append(latentStyleExceptionInfo299); latentStyles1.Append(latentStyleExceptionInfo300); latentStyles1.Append(latentStyleExceptionInfo301); latentStyles1.Append(latentStyleExceptionInfo302); latentStyles1.Append(latentStyleExceptionInfo303); latentStyles1.Append(latentStyleExceptionInfo304); latentStyles1.Append(latentStyleExceptionInfo305); latentStyles1.Append(latentStyleExceptionInfo306); latentStyles1.Append(latentStyleExceptionInfo307); latentStyles1.Append(latentStyleExceptionInfo308); latentStyles1.Append(latentStyleExceptionInfo309); latentStyles1.Append(latentStyleExceptionInfo310); latentStyles1.Append(latentStyleExceptionInfo311); latentStyles1.Append(latentStyleExceptionInfo312); latentStyles1.Append(latentStyleExceptionInfo313); latentStyles1.Append(latentStyleExceptionInfo314); latentStyles1.Append(latentStyleExceptionInfo315); latentStyles1.Append(latentStyleExceptionInfo316); latentStyles1.Append(latentStyleExceptionInfo317); latentStyles1.Append(latentStyleExceptionInfo318); latentStyles1.Append(latentStyleExceptionInfo319); latentStyles1.Append(latentStyleExceptionInfo320); latentStyles1.Append(latentStyleExceptionInfo321); latentStyles1.Append(latentStyleExceptionInfo322); latentStyles1.Append(latentStyleExceptionInfo323); latentStyles1.Append(latentStyleExceptionInfo324); latentStyles1.Append(latentStyleExceptionInfo325); latentStyles1.Append(latentStyleExceptionInfo326); latentStyles1.Append(latentStyleExceptionInfo327); latentStyles1.Append(latentStyleExceptionInfo328); latentStyles1.Append(latentStyleExceptionInfo329); latentStyles1.Append(latentStyleExceptionInfo330); latentStyles1.Append(latentStyleExceptionInfo331); latentStyles1.Append(latentStyleExceptionInfo332); latentStyles1.Append(latentStyleExceptionInfo333); latentStyles1.Append(latentStyleExceptionInfo334); latentStyles1.Append(latentStyleExceptionInfo335); latentStyles1.Append(latentStyleExceptionInfo336); latentStyles1.Append(latentStyleExceptionInfo337); latentStyles1.Append(latentStyleExceptionInfo338); latentStyles1.Append(latentStyleExceptionInfo339); latentStyles1.Append(latentStyleExceptionInfo340); latentStyles1.Append(latentStyleExceptionInfo341); latentStyles1.Append(latentStyleExceptionInfo342); latentStyles1.Append(latentStyleExceptionInfo343); latentStyles1.Append(latentStyleExceptionInfo344); latentStyles1.Append(latentStyleExceptionInfo345); latentStyles1.Append(latentStyleExceptionInfo346); latentStyles1.Append(latentStyleExceptionInfo347); latentStyles1.Append(latentStyleExceptionInfo348); latentStyles1.Append(latentStyleExceptionInfo349); latentStyles1.Append(latentStyleExceptionInfo350); latentStyles1.Append(latentStyleExceptionInfo351); latentStyles1.Append(latentStyleExceptionInfo352); latentStyles1.Append(latentStyleExceptionInfo353); latentStyles1.Append(latentStyleExceptionInfo354); latentStyles1.Append(latentStyleExceptionInfo355); latentStyles1.Append(latentStyleExceptionInfo356); latentStyles1.Append(latentStyleExceptionInfo357); latentStyles1.Append(latentStyleExceptionInfo358); latentStyles1.Append(latentStyleExceptionInfo359); latentStyles1.Append(latentStyleExceptionInfo360); latentStyles1.Append(latentStyleExceptionInfo361); latentStyles1.Append(latentStyleExceptionInfo362); latentStyles1.Append(latentStyleExceptionInfo363); latentStyles1.Append(latentStyleExceptionInfo364); latentStyles1.Append(latentStyleExceptionInfo365); latentStyles1.Append(latentStyleExceptionInfo366); latentStyles1.Append(latentStyleExceptionInfo367); latentStyles1.Append(latentStyleExceptionInfo368); latentStyles1.Append(latentStyleExceptionInfo369); latentStyles1.Append(latentStyleExceptionInfo370); latentStyles1.Append(latentStyleExceptionInfo371); Style style1 = new Style() { Type = StyleValues.Paragraph, StyleId = "Normal", Default = true }; StyleName styleName1 = new StyleName() { Val = "Normal" }; PrimaryStyle primaryStyle1 = new PrimaryStyle(); Rsid rsid157 = new Rsid() { Val = "00C20112" }; StyleParagraphProperties styleParagraphProperties1 = new StyleParagraphProperties(); WidowControl widowControl1 = new WidowControl() { Val = false }; Justification justification1 = new Justification() { Val = JustificationValues.Both }; styleParagraphProperties1.Append(widowControl1); styleParagraphProperties1.Append(justification1); StyleRunProperties styleRunProperties1 = new StyleRunProperties(); RunFonts runFonts2 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "宋体", ComplexScript = "Times New Roman" }; FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "20" }; styleRunProperties1.Append(runFonts2); styleRunProperties1.Append(fontSizeComplexScript2); style1.Append(styleName1); style1.Append(primaryStyle1); style1.Append(rsid157); style1.Append(styleParagraphProperties1); style1.Append(styleRunProperties1); Style style2 = new Style() { Type = StyleValues.Character, StyleId = "DefaultParagraphFont", Default = true }; StyleName styleName2 = new StyleName() { Val = "Default Paragraph Font" }; UIPriority uIPriority1 = new UIPriority() { Val = 1 }; SemiHidden semiHidden1 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed1 = new UnhideWhenUsed(); style2.Append(styleName2); style2.Append(uIPriority1); style2.Append(semiHidden1); style2.Append(unhideWhenUsed1); Style style3 = new Style() { Type = StyleValues.Table, StyleId = "TableNormal", Default = true }; StyleName styleName3 = new StyleName() { Val = "Normal Table" }; UIPriority uIPriority2 = new UIPriority() { Val = 99 }; SemiHidden semiHidden2 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed2 = new UnhideWhenUsed(); StyleTableProperties styleTableProperties1 = new StyleTableProperties(); TableIndentation tableIndentation1 = new TableIndentation() { Width = 0, Type = TableWidthUnitValues.Dxa }; TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault(); TopMargin topMargin1 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellLeftMargin tableCellLeftMargin1 = new TableCellLeftMargin() { Width = 108, Type = TableWidthValues.Dxa }; BottomMargin bottomMargin1 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa }; TableCellRightMargin tableCellRightMargin1 = new TableCellRightMargin() { Width = 108, Type = TableWidthValues.Dxa }; tableCellMarginDefault1.Append(topMargin1); tableCellMarginDefault1.Append(tableCellLeftMargin1); tableCellMarginDefault1.Append(bottomMargin1); tableCellMarginDefault1.Append(tableCellRightMargin1); styleTableProperties1.Append(tableIndentation1); styleTableProperties1.Append(tableCellMarginDefault1); style3.Append(styleName3); style3.Append(uIPriority2); style3.Append(semiHidden2); style3.Append(unhideWhenUsed2); style3.Append(styleTableProperties1); Style style4 = new Style() { Type = StyleValues.Numbering, StyleId = "NoList", Default = true }; StyleName styleName4 = new StyleName() { Val = "No List" }; UIPriority uIPriority3 = new UIPriority() { Val = 99 }; SemiHidden semiHidden3 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed3 = new UnhideWhenUsed(); style4.Append(styleName4); style4.Append(uIPriority3); style4.Append(semiHidden3); style4.Append(unhideWhenUsed3); Style style5 = new Style() { Type = StyleValues.Table, StyleId = "TableGrid" }; StyleName styleName5 = new StyleName() { Val = "Table Grid" }; BasedOn basedOn1 = new BasedOn() { Val = "TableNormal" }; UIPriority uIPriority4 = new UIPriority() { Val = 59 }; Rsid rsid158 = new Rsid() { Val = "00C20112" }; StyleRunProperties styleRunProperties2 = new StyleRunProperties(); Kern kern2 = new Kern() { Val = (UInt32Value)0U }; FontSize fontSize2 = new FontSize() { Val = "22" }; styleRunProperties2.Append(kern2); styleRunProperties2.Append(fontSize2); StyleTableProperties styleTableProperties2 = new StyleTableProperties(); TableBorders tableBorders1 = new TableBorders(); TopBorder topBorder1 = new TopBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; LeftBorder leftBorder1 = new LeftBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; BottomBorder bottomBorder1 = new BottomBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; RightBorder rightBorder1 = new RightBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; InsideHorizontalBorder insideHorizontalBorder1 = new InsideHorizontalBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U }; tableBorders1.Append(topBorder1); tableBorders1.Append(leftBorder1); tableBorders1.Append(bottomBorder1); tableBorders1.Append(rightBorder1); tableBorders1.Append(insideHorizontalBorder1); tableBorders1.Append(insideVerticalBorder1); styleTableProperties2.Append(tableBorders1); style5.Append(styleName5); style5.Append(basedOn1); style5.Append(uIPriority4); style5.Append(rsid158); style5.Append(styleRunProperties2); style5.Append(styleTableProperties2); Style style6 = new Style() { Type = StyleValues.Paragraph, StyleId = "EndnoteText" }; StyleName styleName6 = new StyleName() { Val = "endnote text" }; BasedOn basedOn2 = new BasedOn() { Val = "Normal" }; LinkedStyle linkedStyle1 = new LinkedStyle() { Val = "EndnoteTextChar" }; UIPriority uIPriority5 = new UIPriority() { Val = 99 }; SemiHidden semiHidden4 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed4 = new UnhideWhenUsed(); Rsid rsid159 = new Rsid() { Val = "0054593E" }; StyleParagraphProperties styleParagraphProperties2 = new StyleParagraphProperties(); SnapToGrid snapToGrid1 = new SnapToGrid() { Val = false }; Justification justification2 = new Justification() { Val = JustificationValues.Left }; styleParagraphProperties2.Append(snapToGrid1); styleParagraphProperties2.Append(justification2); style6.Append(styleName6); style6.Append(basedOn2); style6.Append(linkedStyle1); style6.Append(uIPriority5); style6.Append(semiHidden4); style6.Append(unhideWhenUsed4); style6.Append(rsid159); style6.Append(styleParagraphProperties2); Style style7 = new Style() { Type = StyleValues.Character, StyleId = "EndnoteTextChar", CustomStyle = true }; StyleName styleName7 = new StyleName() { Val = "Endnote Text Char" }; BasedOn basedOn3 = new BasedOn() { Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle2 = new LinkedStyle() { Val = "EndnoteText" }; UIPriority uIPriority6 = new UIPriority() { Val = 99 }; SemiHidden semiHidden5 = new SemiHidden(); Rsid rsid160 = new Rsid() { Val = "0054593E" }; StyleRunProperties styleRunProperties3 = new StyleRunProperties(); RunFonts runFonts3 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "宋体", ComplexScript = "Times New Roman" }; FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "20" }; styleRunProperties3.Append(runFonts3); styleRunProperties3.Append(fontSizeComplexScript3); style7.Append(styleName7); style7.Append(basedOn3); style7.Append(linkedStyle2); style7.Append(uIPriority6); style7.Append(semiHidden5); style7.Append(rsid160); style7.Append(styleRunProperties3); Style style8 = new Style() { Type = StyleValues.Character, StyleId = "EndnoteReference" }; StyleName styleName8 = new StyleName() { Val = "endnote reference" }; BasedOn basedOn4 = new BasedOn() { Val = "DefaultParagraphFont" }; UIPriority uIPriority7 = new UIPriority() { Val = 99 }; SemiHidden semiHidden6 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed5 = new UnhideWhenUsed(); Rsid rsid161 = new Rsid() { Val = "0054593E" }; StyleRunProperties styleRunProperties4 = new StyleRunProperties(); VerticalTextAlignment verticalTextAlignment1 = new VerticalTextAlignment() { Val = VerticalPositionValues.Superscript }; styleRunProperties4.Append(verticalTextAlignment1); style8.Append(styleName8); style8.Append(basedOn4); style8.Append(uIPriority7); style8.Append(semiHidden6); style8.Append(unhideWhenUsed5); style8.Append(rsid161); style8.Append(styleRunProperties4); Style style9 = new Style() { Type = StyleValues.Paragraph, StyleId = "FootnoteText" }; StyleName styleName9 = new StyleName() { Val = "footnote text" }; BasedOn basedOn5 = new BasedOn() { Val = "Normal" }; LinkedStyle linkedStyle3 = new LinkedStyle() { Val = "FootnoteTextChar" }; UIPriority uIPriority8 = new UIPriority() { Val = 99 }; SemiHidden semiHidden7 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed6 = new UnhideWhenUsed(); Rsid rsid162 = new Rsid() { Val = "00134DB2" }; StyleParagraphProperties styleParagraphProperties3 = new StyleParagraphProperties(); SnapToGrid snapToGrid2 = new SnapToGrid() { Val = false }; Justification justification3 = new Justification() { Val = JustificationValues.Left }; styleParagraphProperties3.Append(snapToGrid2); styleParagraphProperties3.Append(justification3); StyleRunProperties styleRunProperties5 = new StyleRunProperties(); FontSize fontSize3 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties5.Append(fontSize3); styleRunProperties5.Append(fontSizeComplexScript4); style9.Append(styleName9); style9.Append(basedOn5); style9.Append(linkedStyle3); style9.Append(uIPriority8); style9.Append(semiHidden7); style9.Append(unhideWhenUsed6); style9.Append(rsid162); style9.Append(styleParagraphProperties3); style9.Append(styleRunProperties5); Style style10 = new Style() { Type = StyleValues.Character, StyleId = "FootnoteTextChar", CustomStyle = true }; StyleName styleName10 = new StyleName() { Val = "Footnote Text Char" }; BasedOn basedOn6 = new BasedOn() { Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle4 = new LinkedStyle() { Val = "FootnoteText" }; UIPriority uIPriority9 = new UIPriority() { Val = 99 }; SemiHidden semiHidden8 = new SemiHidden(); Rsid rsid163 = new Rsid() { Val = "00134DB2" }; StyleRunProperties styleRunProperties6 = new StyleRunProperties(); RunFonts runFonts4 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "宋体", ComplexScript = "Times New Roman" }; FontSize fontSize4 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties6.Append(runFonts4); styleRunProperties6.Append(fontSize4); styleRunProperties6.Append(fontSizeComplexScript5); style10.Append(styleName10); style10.Append(basedOn6); style10.Append(linkedStyle4); style10.Append(uIPriority9); style10.Append(semiHidden8); style10.Append(rsid163); style10.Append(styleRunProperties6); Style style11 = new Style() { Type = StyleValues.Character, StyleId = "FootnoteReference" }; StyleName styleName11 = new StyleName() { Val = "footnote reference" }; BasedOn basedOn7 = new BasedOn() { Val = "DefaultParagraphFont" }; UIPriority uIPriority10 = new UIPriority() { Val = 99 }; SemiHidden semiHidden9 = new SemiHidden(); UnhideWhenUsed unhideWhenUsed7 = new UnhideWhenUsed(); Rsid rsid164 = new Rsid() { Val = "00134DB2" }; StyleRunProperties styleRunProperties7 = new StyleRunProperties(); VerticalTextAlignment verticalTextAlignment2 = new VerticalTextAlignment() { Val = VerticalPositionValues.Superscript }; styleRunProperties7.Append(verticalTextAlignment2); style11.Append(styleName11); style11.Append(basedOn7); style11.Append(uIPriority10); style11.Append(semiHidden9); style11.Append(unhideWhenUsed7); style11.Append(rsid164); style11.Append(styleRunProperties7); Style style12 = new Style() { Type = StyleValues.Paragraph, StyleId = "Header" }; StyleName styleName12 = new StyleName() { Val = "header" }; BasedOn basedOn8 = new BasedOn() { Val = "Normal" }; LinkedStyle linkedStyle5 = new LinkedStyle() { Val = "HeaderChar" }; UIPriority uIPriority11 = new UIPriority() { Val = 99 }; UnhideWhenUsed unhideWhenUsed8 = new UnhideWhenUsed(); Rsid rsid165 = new Rsid() { Val = "003F7A75" }; StyleParagraphProperties styleParagraphProperties4 = new StyleParagraphProperties(); ParagraphBorders paragraphBorders1 = new ParagraphBorders(); BottomBorder bottomBorder2 = new BottomBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)6U, Space = (UInt32Value)1U }; paragraphBorders1.Append(bottomBorder2); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Center, Position = 4153 }; TabStop tabStop2 = new TabStop() { Val = TabStopValues.Right, Position = 8306 }; tabs1.Append(tabStop1); tabs1.Append(tabStop2); SnapToGrid snapToGrid3 = new SnapToGrid() { Val = false }; Justification justification4 = new Justification() { Val = JustificationValues.Center }; styleParagraphProperties4.Append(paragraphBorders1); styleParagraphProperties4.Append(tabs1); styleParagraphProperties4.Append(snapToGrid3); styleParagraphProperties4.Append(justification4); StyleRunProperties styleRunProperties8 = new StyleRunProperties(); FontSize fontSize5 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties8.Append(fontSize5); styleRunProperties8.Append(fontSizeComplexScript6); style12.Append(styleName12); style12.Append(basedOn8); style12.Append(linkedStyle5); style12.Append(uIPriority11); style12.Append(unhideWhenUsed8); style12.Append(rsid165); style12.Append(styleParagraphProperties4); style12.Append(styleRunProperties8); Style style13 = new Style() { Type = StyleValues.Character, StyleId = "HeaderChar", CustomStyle = true }; StyleName styleName13 = new StyleName() { Val = "Header Char" }; BasedOn basedOn9 = new BasedOn() { Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle6 = new LinkedStyle() { Val = "Header" }; UIPriority uIPriority12 = new UIPriority() { Val = 99 }; Rsid rsid166 = new Rsid() { Val = "003F7A75" }; StyleRunProperties styleRunProperties9 = new StyleRunProperties(); RunFonts runFonts5 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "宋体", ComplexScript = "Times New Roman" }; FontSize fontSize6 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties9.Append(runFonts5); styleRunProperties9.Append(fontSize6); styleRunProperties9.Append(fontSizeComplexScript7); style13.Append(styleName13); style13.Append(basedOn9); style13.Append(linkedStyle6); style13.Append(uIPriority12); style13.Append(rsid166); style13.Append(styleRunProperties9); Style style14 = new Style() { Type = StyleValues.Paragraph, StyleId = "Footer" }; StyleName styleName14 = new StyleName() { Val = "footer" }; BasedOn basedOn10 = new BasedOn() { Val = "Normal" }; LinkedStyle linkedStyle7 = new LinkedStyle() { Val = "FooterChar" }; UIPriority uIPriority13 = new UIPriority() { Val = 99 }; UnhideWhenUsed unhideWhenUsed9 = new UnhideWhenUsed(); Rsid rsid167 = new Rsid() { Val = "003F7A75" }; StyleParagraphProperties styleParagraphProperties5 = new StyleParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop3 = new TabStop() { Val = TabStopValues.Center, Position = 4153 }; TabStop tabStop4 = new TabStop() { Val = TabStopValues.Right, Position = 8306 }; tabs2.Append(tabStop3); tabs2.Append(tabStop4); SnapToGrid snapToGrid4 = new SnapToGrid() { Val = false }; Justification justification5 = new Justification() { Val = JustificationValues.Left }; styleParagraphProperties5.Append(tabs2); styleParagraphProperties5.Append(snapToGrid4); styleParagraphProperties5.Append(justification5); StyleRunProperties styleRunProperties10 = new StyleRunProperties(); FontSize fontSize7 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties10.Append(fontSize7); styleRunProperties10.Append(fontSizeComplexScript8); style14.Append(styleName14); style14.Append(basedOn10); style14.Append(linkedStyle7); style14.Append(uIPriority13); style14.Append(unhideWhenUsed9); style14.Append(rsid167); style14.Append(styleParagraphProperties5); style14.Append(styleRunProperties10); Style style15 = new Style() { Type = StyleValues.Character, StyleId = "FooterChar", CustomStyle = true }; StyleName styleName15 = new StyleName() { Val = "Footer Char" }; BasedOn basedOn11 = new BasedOn() { Val = "DefaultParagraphFont" }; LinkedStyle linkedStyle8 = new LinkedStyle() { Val = "Footer" }; UIPriority uIPriority14 = new UIPriority() { Val = 99 }; Rsid rsid168 = new Rsid() { Val = "003F7A75" }; StyleRunProperties styleRunProperties11 = new StyleRunProperties(); RunFonts runFonts6 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "宋体", ComplexScript = "Times New Roman" }; FontSize fontSize8 = new FontSize() { Val = "18" }; FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "18" }; styleRunProperties11.Append(runFonts6); styleRunProperties11.Append(fontSize8); styleRunProperties11.Append(fontSizeComplexScript9); style15.Append(styleName15); style15.Append(basedOn11); style15.Append(linkedStyle8); style15.Append(uIPriority14); style15.Append(rsid168); style15.Append(styleRunProperties11); Style style16 = new Style() { Type = StyleValues.Character, StyleId = "PlaceholderText" }; StyleName styleName16 = new StyleName() { Val = "Placeholder Text" }; BasedOn basedOn12 = new BasedOn() { Val = "DefaultParagraphFont" }; UIPriority uIPriority15 = new UIPriority() { Val = 99 }; SemiHidden semiHidden10 = new SemiHidden(); Rsid rsid169 = new Rsid() { Val = "00305AC1" }; StyleRunProperties styleRunProperties12 = new StyleRunProperties(); Color color1 = new Color() { Val = "808080" }; styleRunProperties12.Append(color1); style16.Append(styleName16); style16.Append(basedOn12); style16.Append(uIPriority15); style16.Append(semiHidden10); style16.Append(rsid169); style16.Append(styleRunProperties12); Style style17 = new Style() { Type = StyleValues.Character, StyleId = "Hyperlink" }; StyleName styleName17 = new StyleName() { Val = "Hyperlink" }; BasedOn basedOn13 = new BasedOn() { Val = "DefaultParagraphFont" }; UIPriority uIPriority16 = new UIPriority() { Val = 99 }; UnhideWhenUsed unhideWhenUsed10 = new UnhideWhenUsed(); Rsid rsid170 = new Rsid() { Val = "001D24A4" }; StyleRunProperties styleRunProperties13 = new StyleRunProperties(); Color color2 = new Color() { Val = "0563C1", ThemeColor = ThemeColorValues.Hyperlink }; Underline underline1 = new Underline() { Val = UnderlineValues.Single }; styleRunProperties13.Append(color2); styleRunProperties13.Append(underline1); style17.Append(styleName17); style17.Append(basedOn13); style17.Append(uIPriority16); style17.Append(unhideWhenUsed10); style17.Append(rsid170); style17.Append(styleRunProperties13); styles1.Append(docDefaults1); styles1.Append(latentStyles1); styles1.Append(style1); styles1.Append(style2); styles1.Append(style3); styles1.Append(style4); styles1.Append(style5); styles1.Append(style6); styles1.Append(style7); styles1.Append(style8); styles1.Append(style9); styles1.Append(style10); styles1.Append(style11); styles1.Append(style12); styles1.Append(style13); styles1.Append(style14); styles1.Append(style15); styles1.Append(style16); styles1.Append(style17); styleDefinitionsPart1.Styles = styles1; }