void Start() { m_Transform = transform; m_CameraTransform = Camera.main.transform; m_PlayerTransform = GameObject.FindGameObjectWithTag("Player").transform; m_EnemiesTransform = GameObject.FindGameObjectWithTag("Enemies").transform; m_ShieldsTransform = GameObject.FindGameObjectWithTag("Shields").transform; m_InGameUITransform = m_Transform.GetChild(3); m_PlayerController = m_PlayerTransform.gameObject.GetComponent <PlayerController>(); m_EnemyController = m_EnemiesTransform.gameObject.GetComponent <EnemyController>(); m_ShieldController = m_ShieldsTransform.gameObject.GetComponent <ShieldController>(); m_LivesText = GetComponentInChildren <LivesText>(); m_ScoreText = GetComponentInChildren <ScoreText>(); m_LevelText = GetComponentInChildren <LevelText>(); m_OriginalCameraPosition = m_CameraTransform.position; m_StartMenu = m_Transform.GetChild(0).gameObject; m_GameOverMenu = m_Transform.GetChild(1).gameObject; m_PauseMenu = m_Transform.GetChild(2).gameObject; m_InGameUI = m_Transform.GetChild(3).gameObject; m_ExplosionPrefab = Resources.Load <GameObject>("Prefabs/Explosion"); m_CanPause = false; DisableInGameUI(); }
private void InitializeGame() { scoreText = new ScoreText(); levelText = new LevelText(); realTimeText = new RealTimeText(); AssetPool.statsSprite.Position = new Vector2f(AssetPool.holdSprite.Position.X, realTimeText.Position.Y + AssetPool.blockSize.Y); statsTextBlock = new StatsTextBlock(); controlsText.Position = new Vector2f(AssetPool.queueSprite.Position.X, AssetPool.queueSprite.Position.Y + AssetPool.queueTexture.Size.Y + AssetPool.blockSize.Y); //Select a new active piece NewPiece(); //Add the piece to the grid, with a movement of 0,0 grid.AddPiece(activePiece, new Vector2i(0, 0)); AssetPool.drawGridSprite.Position = new Vector2f(GridUI.position.X - AssetPool.blockSize.X * 1.5f, GridUI.position.Y - AssetPool.blockSize.Y * 2f); }
private void Contract() { var anim = new DoubleAnimation(0, new Duration(TimeSpan.FromMilliseconds(200))); Image.BeginAnimation(Image.HeightProperty, anim); Image.BeginAnimation(Image.WidthProperty, anim); LevelText.BeginAnimation(Label.HeightProperty, anim); }
private void InitNumberDefinitions(NumberFormatValues numberFormat) { AbstractNum abstractNum = new AbstractNum() { AbstractNumberId = numberId }; Level level = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat = new NumberingFormat() { Val = numberFormat }; LevelText levelText = new LevelText() { Val = "%1." }; LevelJustification levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties = new PreviousParagraphProperties(); Indentation indentation = new Indentation() { Left = "720", Hanging = "360" }; previousParagraphProperties.Append(indentation); level.Append(startNumberingValue); level.Append(numberingFormat); level.Append(levelText); level.Append(levelJustification); level.Append(previousParagraphProperties); abstractNum.Append(level); NumberingInstance numberingInstance = new NumberingInstance() { NumberID = numberId }; AbstractNumId abstractNumId = new AbstractNumId() { Val = numberId }; numberingInstance.Append(abstractNumId); context.SaveNumberingDefinition(numberId, abstractNum, numberingInstance); }
private void Expand() { var img = new DoubleAnimation(52, new Duration(TimeSpan.FromMilliseconds(200))); var lvlHeight = new DoubleAnimation(20, new Duration(TimeSpan.FromMilliseconds(200))); Image.BeginAnimation(Image.HeightProperty, img); Image.BeginAnimation(Image.WidthProperty, img); LevelText.BeginAnimation(Label.HeightProperty, lvlHeight); }
public void Setup() { messagesArr = new[] { msg1, msg2, msg3, msg4 }; levelText = GameObject.Find("GameScreen").GetComponentInChildren <LevelText>(); packet = GameObject.Find("Packet"); packetInitPos = packet.transform.position; pm = packet.GetComponent <PacketMovement>(); gc = GameObject.Find("GameController").GetComponent <GameController>(); }
public static void Initialize(Vector3 startPos) { if (_instance == null) { LevelText textInScene = GameObject.FindObjectOfType <LevelText> (); _instance = textInScene; } _instance.transform.position = startPos; }
public void SetTargetChar(char c) { int nextIndex = LevelText.GetIndexOfClosestChar(c, currentIndex, range); if (nextIndex != -1) { target = LevelText.IndexToVector3(nextIndex); currentIndex = nextIndex; } }
public static void CreateLevelFromXML(string path, Vector3 startPos) { XmlDocument doc = new XmlDocument(); doc.Load(path); XmlNode levelNode = doc.SelectSingleNode(LEVEL_NODE); LevelText.Initialize(startPos); TextCharDef currentDef = TextCharDef.CreateDefault(); foreach (XmlNode node in levelNode.ChildNodes) { if (node.Name == PARAGRAPH_NODE) { Paragraph currentParagraph = LevelText.AttachNewParagraph(); currentDef = ChangeDefOnDemand(currentDef, node.Attributes); foreach (XmlNode textNode in node.ChildNodes) { if (textNode.Name == TEXT_NODE) { string text = node.InnerText; foreach (char c in text) { char convertedC = c.ToString().ToLower().ToCharArray()[0]; if (ValidateChar(convertedC)) { currentDef.theChar = convertedC; currentParagraph.AddChar(currentDef); } } } if (textNode.Name == LETTER_NODE) { TextCharDef backup = currentDef; currentDef = ChangeDefOnDemand(currentDef, node.Attributes); char convertedC = node.InnerText.ToLower().ToCharArray()[0]; if (ValidateChar(convertedC)) { currentDef.theChar = convertedC; currentParagraph.AddChar(currentDef); } currentDef = backup; } } } } LevelText.RecalculateLength(); }
public void Draw(SpriteBatch spriteBatch) { LevelText.Text = "Lvl " + GlobalData.Session.CurrentLevel; ScoreText.Text = scene.Player.Score.Value.ToString("N0"); ComboText.Text = "x" + scene.Player.CurrentCombo.ToString(); MaxComboText.Text = "x" + scene.Player.HighestCombo.ToString(); int levelLength = (int)TitleFont.MeasureString(LevelText.Text).X + margin; int comboLength = (int)TitleFont.MeasureString(ComboText.Text).X + margin; int maxComboLength = (int)TitleFont.MeasureString(MaxComboText.Text).X + margin; int maxComboVerticalPos = TitleFont.LineSpacing + margin; Rectangle leftSourceRectangle = new Rectangle(0, 0, background.Width, background.Height); Rectangle leftDestinationRectangle = new Rectangle(0, 0, levelLength, background.Height); Rectangle rightSourceRectangle = new Rectangle( GlobalData.Screen.Width - comboLength, 0, background.Width, background.Height); Rectangle rightDestinationRectangle = new Rectangle( GlobalData.Screen.Width - comboLength, 0, comboLength, background.Height); Rectangle rightBottomSourceRectangle = new Rectangle( GlobalData.Screen.Width - maxComboLength, maxComboVerticalPos, background.Width, background.Height); Rectangle rightBottomDestinationRectangle = new Rectangle( GlobalData.Screen.Width - maxComboLength, maxComboVerticalPos, maxComboLength, background.Height); spriteBatch.Draw(background, leftDestinationRectangle, leftSourceRectangle, Color.White); spriteBatch.Draw(textures["LeftEdge"], new Vector2(levelLength, 0), Color.White); spriteBatch.Draw(background, rightDestinationRectangle, rightSourceRectangle, Color.White); spriteBatch.Draw(textures["RightEdge"], new Vector2(GlobalData.Screen.Width - comboLength - textures["RightEdge"].Width, 0), Color.White); spriteBatch.Draw(textures["GoldenBackground"], rightBottomDestinationRectangle, rightBottomSourceRectangle, Color.White); spriteBatch.Draw(textures["GoldenRightEdge"], new Vector2(GlobalData.Screen.Width - maxComboLength - textures["GoldenRightEdge"].Width, maxComboVerticalPos), Color.White); AlignText(LevelText, Alignment.Left); AlignText(ScoreText, Alignment.Center); AlignText(ComboText, Alignment.Right); AlignText(MaxComboText, Alignment.Right, verticalOffset: maxComboVerticalPos); LevelText.Draw(spriteBatch); ScoreText.Draw(spriteBatch); ComboText.Draw(spriteBatch); MaxComboText.Draw(spriteBatch); }
//Called in the update method; assigns player UI elements to their correct values void UpdatePlayerStats() { HealthText.SetText(this.HP.ToString()); TavernHealthText.SetText(this.HP.ToString()); TavernGoldText.SetText(gold.ToString()); GoldText.SetText(gold.ToString()); XPText.SetText(xp.ToString()); LevelText.SetText(level.ToString()); TurnsText.SetText(turnNumber.ToString()); }
public void Start() { //For new level(restart) Touch.S_Touch = "nope"; B_First = true; B_Second = true; gameObject.transform.localScale = new Vector3(0, 0, 0); B_SpawnEffect = true; B_Lose = true; I_level = 1; LevelText.ChangeLevelText(); F_Speed = 0; F_SpeedValue = 0.00005f; B_IsScale = false; V_NewLevel(); }
public void OnEnterArea() { if (levelText == null) { levelText = UserInterface.Instance.Create(UIElemType.LEVEL_TEXT).GetComponent <LevelText>(); levelText.GetComponent <Text>().text = levelName; } //comment below to get rid of TrackLevel(); if (!hasBeenEntered) { OnFirstEnter(); } hasBeenEntered = true; }
/// <summary> /// генарция настроек для списков /// </summary> public void GenerateListNumbering(ref Numbering numbering) { #region AbstractNum AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; Nsid nsid1 = new Nsid() { Val = "2EB766E6" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "C1F20472" }; Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04190001" }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText1 = new LevelText() { Val = "·" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Indentation indentation1 = new Indentation() { Left = "1429", Hanging = "360" }; previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); #endregion NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 }; numberingInstance1.Append(abstractNumId1); numbering.Append(abstractNum1); numbering.Append(numberingInstance1); }
public GameScene() : base(SceneType.Game, new GameLayout()) { isPaused = true; nextScene = SceneType; evaluator = new Evaluator(); controller = new Controller(); SubscribeToInputs(); scoreText = new ScoreText(); levelText = new LevelText(); realTimeText = new RealTimeText(); controlsText = new ControlsText(); heldPieceUi = new HeldPieceUI(); queuedPiecesUi = new QueuedPiecesUI(); StartNewGame(); }
private void InitNumberDefinitions(NumberFormatValues numberFormat) { if (!context.HasNumberingDefinition(numberFormat)) { //Enum values starting from zero. We need non zero values here Int32 numberId = ((Int32)numberFormat) + 1; AbstractNum abstractNum = new AbstractNum() { AbstractNumberId = numberId }; Level level = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat = new NumberingFormat() { Val = numberFormat }; LevelText levelText = new LevelText() { Val = "%1." }; LevelJustification levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties = new PreviousParagraphProperties(); Indentation indentation = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties.Append(indentation); level.Append(startNumberingValue); level.Append(numberingFormat); level.Append(levelText); level.Append(levelJustification); level.Append(previousParagraphProperties); abstractNum.Append(level); NumberingInstance numberingInstance = new NumberingInstance() { NumberID = numberId }; AbstractNumId abstractNumId = new AbstractNumId() { Val = numberId }; numberingInstance.Append(abstractNumId); context.SaveNumberingDefinition(numberFormat, abstractNum, numberingInstance); } }
private void DefineLevel(NumberFormatValues numberFormat, int levelIndex) { Level level = new Level() { LevelIndex = gLevelId }; StartNumberingValue startNumberingValue = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat = new NumberingFormat() { Val = numberFormat }; LevelText levelText = new LevelText() { Val = $"%{gLevelId + 1})" }; //Later we need a provison to configure this text. LevelJustification levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties = new PreviousParagraphProperties(); Indentation indentation = new Indentation() { Left = (indent * (levelIndex + 1)).ToString(), Hanging = "360" }; previousParagraphProperties.Append(indentation); level.Append(startNumberingValue); level.Append(numberingFormat); level.Append(levelText); level.Append(levelJustification); level.Append(previousParagraphProperties); abstractNum.Append(level); }
// Use this for initialization void Start() { /* Commenting this out while I'm not building levels * // Make sure we didn't leave a level up * foreach (Base bas in FindObjectsOfType<Base>()) { * GameObject level = bas.transform.parent.gameObject; * for (int i = 0; i < levels.Length; i++) { * if (levels[i] == level) { * levelIndex = i; * level.SetActive(false); * break; * } * } * } */ audioSource = GetComponent <AudioSource>(); levelText = FindObjectOfType <LevelText>(); startScreenUI.SetActive(true); victoryScreenUI.SetActive(false); defeatScreenUI.SetActive(false); }
private void startGame() { GameObject obj = findInList(controlSceneObj, "LevelGroup"); Activate(obj, true); LevelText lt = obj.GetComponent <LevelText>(); lt.show(); if (isMenu) { obj = findInList(controlSceneObj, "Menu_handle"); Activate(obj, false); obj = findInList(controlSceneObj, "GameOverTitle"); Activate(obj, true); obj = findInList(controlSceneObj, "DataCollector"); Activate(obj, true); cam.GetComponent <AudioSource>().clip = cam.GetComponent <CameraScript>().getSong(); cam.GetComponent <AudioSource>().Play(); isMenu = false; } resetAll(); player.rigidbody2D.isKinematic = false; }
// Update is called once per frame void Update() { // Debug.Log (gameOver); if (gameOver || gameWin) { return; } //if (Input.GetKeyDown(pauseKey)) { if (Input.GetButtonDown(pauseKey)) { if (!gamePaused) { oldTimeScale = Time.timeScale; Time.timeScale = 0f; gameOverScreen.pause(); gamePaused = true; } else { //Time.timeScale = oldTimeScale; // it will call Resume() indirectly gameOverScreen.resume(); } } if (gamePaused) { return; } if (isLerping) { lerpTo(destination); } if (gameOver || rigidbody2D.isKinematic) { return; } // if(rigidbody2D.IsAwake()) // { // rigidbody2D.Sleep(); // } /* * if (Input.GetKey (jump)) { * transform.rigidbody2D.AddForce (new Vector2 (50,jumpForce)); * } */ /* * if (Input.GetKeyDown(jump)) { * if (energy > enUsage * Time.deltaTime) { * transform.rigidbody2D.AddForce( * //new Vector2(50 * Time.deltaTime, jumpForce * Time.deltaTime)); * new Vector2(25, jumpForce)); * * energy -= enUsage * Time.deltaTime; * if (energy <= 0f) * energy = 0f; * } * } else { * energy += enUsage * 0.375f * Time.deltaTime; * if (energy > maxEN) { * energy = maxEN; * } * } * * float percent = energy/maxEN; * percent = Mathf.Sqrt(percent); * renderer.material.SetColor("_Color", * new Color(0f, percent, percent)); */ //if (Input.GetKeyDown (jump)) { hasJumped = false; if (Input.GetButtonDown(jump)) { if (jumpsLeft > 0) { hasJumped = true; Instantiate(shadow, transform.position, Quaternion.identity); //transform.rigidbody2D.velocity = new Vector2(transform.rigidbody2D.velocity.x,(0.5f+((0.5f/noOfJumps)*jumpsLeft)*jumpSpeed)); transform.rigidbody2D.velocity = new Vector2(transform.rigidbody2D.velocity.x, jumpSpeed); jumpsLeft--; foreach (Transform child in transform) { if (child.gameObject.activeSelf) { child.gameObject.SetActive(false); break; } } } } if (transform.position.y < -10f || transform.position.y > 15f || transform.position.x < -18f || transform.position.x > 18f) { //Application.LoadLevel (Application.loadedLevel); int songIdx = GameObject.Find("Control").GetComponent <ConfigLoader>().songIdx; float highScore = PlayerPrefs.GetFloat("HighScore_" + songIdx.ToString()); LevelText levelText = GameObject.Find("LevelGroup").GetComponent <LevelText>(); if (score + levelText.percent / 100f > highScore) { highScore = score + levelText.percent / 100f; PlayerPrefs.SetFloat("HighScore_" + songIdx.ToString(), score + levelText.percent / 100f); } gameOver = true; rigidbody2D.isKinematic = true; rigidbody2D.Sleep(); gameOverScreen.setScores(score + levelText.percent / 100f, highScore); gameOverScreen.flyIn(false); /* * int highScore = PlayerPrefs.GetInt ("HighScore"); * if (score > highScore) { * highScore = score; * PlayerPrefs.SetInt ("HighScore", score); * } * gameOver = true; * //Deactivating rigidBody * rigidbody2D.isKinematic = true; * rigidbody2D.Sleep(); * gameOverScreen.setScores (score, highScore); * gameOverScreen.flyIn (false); */ } }
void Update() { transform.position = new Vector3(x: GameController.F_X, y: GameController.F_Y, z: transform.position.z); //Ball will be do bigger into the circle, near the Touch #region hold if (B_Lose) { if (Touch.S_Touch == "true" && !B_Second) { //Do ball bigger F_Speed += F_SpeedValue; transform.localScale = new Vector2(x: transform.localScale.y + F_Speed, y: transform.localScale.y + F_Speed); } //What happened (haw big ball when pleyer stop do it bigger) if (Touch.S_Touch == "false" && !B_First && !B_Second) //Middle { SoundManagerGame.V_PlaySoundLose(); I_AdShow++; if (Advertisement.IsReady() && I_AdShow % 5 == 0) { Advertisement.Show(); } print("test Middle"); Touch.S_Touch = "nope"; GameController.V_AdMoney(); StartCoroutine(LoseEffect.I_LoseEffect( C_FromColor: new Color32(0, 0, 0, 0), C_ToColor: new Color32(0, 0, 0, 113), F_OverTime: 1f)); StartCoroutine(GameButtons.I_RestartButtonCur( C_ToColor: 203, F_OverTime: 1)); StartCoroutine(AdTotalCoinText.I_AdCoinCur( C_ToColor: 203, F_OverTime: 1)); B_Lose = false; } if (Touch.S_Touch == "false" && B_First && !B_Second) //Win { SoundManagerGame.V_PlaySoundPassLevel(); LevelText.ChangeLevelText(); print("test Win"); Touch.S_Touch = "nope"; I_level++; LevelText.ChangeLevelText(); V_NewLevel(); if (I_level >= I_WhenMoveCircle) //If level >= level after what value u d'like to move circle { GameController.I_NewPos( width: Random.Range( //Random range X (Screen.width / 128.113f / 2 * -1) + (F_RandomScale * 3.25f), //From(smoller) (Screen.width / 128.113f / 2) - (F_RandomScale * 3.25f)), //To(bigger) height: Random.Range( //Random range Y (Screen.height / 128 / 2 * -1) + (F_RandomScale * 3.25f), //From(smoller) (Screen.height / 128 / 2) - (F_RandomScale * 3.25f))); //To(bigger) } if (I_level <= 100) { F_SpeedValue += 0.000003f; } ProgressBar.V_Win(); } if ((Touch.S_Touch == "false" && B_Second) || B_Second) //Lose { SoundManagerGame.V_PlaySoundLose(); I_AdShow++; if (Advertisement.IsReady() && I_AdShow % 5 == 0) { Advertisement.Show(); } print("test Lose"); Touch.S_Touch = "nope"; GameController.V_AdMoney(); StartCoroutine(LoseEffect.I_LoseEffect( C_FromColor: new Color32(0, 0, 0, 0), C_ToColor: new Color32(0, 0, 0, 113), F_OverTime: 1f)); StartCoroutine(GameButtons.I_RestartButtonCur( C_ToColor: 203, F_OverTime: 1)); StartCoroutine(AdTotalCoinText.I_AdCoinCur( C_ToColor: 203, F_OverTime: 1)); B_Lose = false; } if (Touch.S_Touch == "exit") //Exit { SoundManagerGame.V_PlaySoundLose(); I_AdShow++; if (Advertisement.IsReady() && I_AdShow % 5 == 0) { Advertisement.Show(); } print("test Exit"); Touch.S_Touch = "nope"; GameController.V_AdMoney(); StartCoroutine(LoseEffect.I_LoseEffect( C_FromColor: new Color32(0, 0, 0, 0), C_ToColor: new Color32(0, 0, 0, 113), F_OverTime: 1f)); StartCoroutine(GameButtons.I_RestartButtonCur( C_ToColor: 203, F_OverTime: 1)); StartCoroutine(AdTotalCoinText.I_AdCoinCur( C_ToColor: 203, F_OverTime: 1)); B_Lose = false; } } #endregion if (B_IsScale) { G_LevelCircle.transform.localScale = Vector3.Lerp( a: V_LocalScale, b: G_LevelCircle.transform.localScale = new Vector3(F_RandomScale, F_RandomScale, transform.localScale.z), t: Time.deltaTime * F_SpeedScale); V_LocalScale = new Vector3(G_LevelCircle.transform.localScale.x, G_LevelCircle.transform.localScale.x, G_LevelCircle.transform.localScale.x); } }
public void ClearProgress() { LevelManager.Level = 1; LevelText.UpdateText(); ShowClearedText(1); }
// Creates an NumberingInstance instance and adds its children. public static NumberingInstance GenerateNumberingInstance() { NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 7 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 1 }; LevelOverride levelOverride1 = new LevelOverride() { LevelIndex = 0 }; StartOverrideNumberingValue startOverrideNumberingValue1 = new StartOverrideNumberingValue() { Val = 1 }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel1 = new ParagraphStyleIdInLevel() { Val = "Legal1" }; LevelText levelText1 = new LevelText() { Val = "%1." }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(paragraphStyleIdInLevel1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(numberingSymbolRunProperties1); levelOverride1.Append(startOverrideNumberingValue1); levelOverride1.Append(level1); LevelOverride levelOverride2 = new LevelOverride() { LevelIndex = 1 }; StartOverrideNumberingValue startOverrideNumberingValue2 = new StartOverrideNumberingValue() { Val = 1 }; LevelOverride levelOverride3 = new LevelOverride() { LevelIndex = 2 }; StartOverrideNumberingValue startOverrideNumberingValue3 = new StartOverrideNumberingValue() { Val = 1 }; Level level3 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel3 = new ParagraphStyleIdInLevel() { Val = "Legal3" }; LevelText levelText3 = new LevelText() { Val = "(%3)" }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts3 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties3.Append(runFonts3); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(paragraphStyleIdInLevel3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(numberingSymbolRunProperties3); levelOverride3.Append(startOverrideNumberingValue3); levelOverride3.Append(level3); LevelOverride levelOverride4 = new LevelOverride() { LevelIndex = 3 }; StartOverrideNumberingValue startOverrideNumberingValue4 = new StartOverrideNumberingValue() { Val = 1 }; Level level4 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.DecimalEnclosedCircle }; ParagraphStyleIdInLevel paragraphStyleIdInLevel4 = new ParagraphStyleIdInLevel() { Val = "Legal4" }; LevelText levelText4 = new LevelText() { Val = "(%4)" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties4.Append(runFonts4); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(paragraphStyleIdInLevel4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(numberingSymbolRunProperties4); levelOverride4.Append(startOverrideNumberingValue4); levelOverride4.Append(level4); LevelOverride levelOverride5 = new LevelOverride() { LevelIndex = 4 }; StartOverrideNumberingValue startOverrideNumberingValue5 = new StartOverrideNumberingValue() { Val = 1 }; Level level5 = new Level() { LevelIndex = 4 }; //StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; //NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; //LevelText levelText5 = new LevelText() { Val = "%5" }; //LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; //NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); //RunFonts runFonts5 = new RunFonts() { ComplexScript = "Times New Roman" }; //numberingSymbolRunProperties5.Append(runFonts5); //level5.Append(startNumberingValue5); //level5.Append(numberingFormat5); //level5.Append(levelText5); //level5.Append(levelJustification5); //level5.Append(numberingSymbolRunProperties5); //levelOverride5.Append(startOverrideNumberingValue5); //levelOverride5.Append(level5); LevelOverride levelOverride6 = new LevelOverride() { LevelIndex = 5 }; StartOverrideNumberingValue startOverrideNumberingValue6 = new StartOverrideNumberingValue() { Val = 1 }; Level level6 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText6 = new LevelText() { Val = "%6" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties6.Append(runFonts6); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(numberingSymbolRunProperties6); levelOverride6.Append(startOverrideNumberingValue6); levelOverride6.Append(level6); LevelOverride levelOverride7 = new LevelOverride() { LevelIndex = 6 }; StartOverrideNumberingValue startOverrideNumberingValue7 = new StartOverrideNumberingValue() { Val = 1 }; Level level7 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText7 = new LevelText() { Val = "%7" }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties7.Append(runFonts7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(numberingSymbolRunProperties7); levelOverride7.Append(startOverrideNumberingValue7); levelOverride7.Append(level7); LevelOverride levelOverride8 = new LevelOverride() { LevelIndex = 7 }; StartOverrideNumberingValue startOverrideNumberingValue8 = new StartOverrideNumberingValue() { Val = 1 }; Level level8 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText8 = new LevelText() { Val = "%8" }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties8.Append(runFonts8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(numberingSymbolRunProperties8); levelOverride8.Append(startOverrideNumberingValue8); levelOverride8.Append(level8); numberingInstance1.Append(abstractNumId1); numberingInstance1.Append(levelOverride1); //numberingInstance1.Append(levelOverride2); numberingInstance1.Append(levelOverride3); numberingInstance1.Append(levelOverride4); numberingInstance1.Append(levelOverride5); numberingInstance1.Append(levelOverride6); numberingInstance1.Append(levelOverride7); numberingInstance1.Append(levelOverride8); return(numberingInstance1); }
static public AbstractNum GenerateAbstractNum() { AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 1 }; Nsid nsid1 = new Nsid() { Val = "00000001" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "00000000" }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 0 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; ParagraphStyleIdInLevel paragraphStyleIdInLevel1 = new ParagraphStyleIdInLevel() { Val = "Legal1" }; LevelText levelText1 = new LevelText() { Val = "%1-" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs1.Append(tabStop1); previousParagraphProperties1.Append(tabs1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Ascii = "Baskerville Old Face", HighAnsi = "Baskerville Old Face", ComplexScript = "Times New Roman" }; FontSize fontSize1 = new FontSize() { Val = "20" }; numberingSymbolRunProperties1.Append(runFonts1); numberingSymbolRunProperties1.Append(fontSize1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(paragraphStyleIdInLevel1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel2 = new ParagraphStyleIdInLevel() { Val = "Legal2" }; LevelText levelText2 = new LevelText() { Val = "%1.%2." }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs2.Append(tabStop2); Indentation indentation1 = new Indentation() { FirstLine = "720" }; previousParagraphProperties2.Append(tabs2); previousParagraphProperties2.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties2.Append(runFonts2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(paragraphStyleIdInLevel2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level4 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel4 = new ParagraphStyleIdInLevel() { Val = "Legal4" }; LevelText levelText4 = new LevelText() { Val = "(%4)" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Tabs tabs4 = new Tabs(); TabStop tabStop4 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs4.Append(tabStop4); Indentation indentation3 = new Indentation() { Left = "1440", FirstLine = "720" }; previousParagraphProperties4.Append(tabs4); previousParagraphProperties4.Append(indentation3); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties4.Append(runFonts4); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(paragraphStyleIdInLevel4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText5 = new LevelText() { Val = "%5" }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts5 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties5.Append(runFonts5); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText6 = new LevelText() { Val = "%6" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties6.Append(runFonts6); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText7 = new LevelText() { Val = "%7" }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties7.Append(runFonts7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText8 = new LevelText() { Val = "%8" }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties8.Append(runFonts8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8 }; var isLegalNumberingStyle = new IsLegalNumberingStyle(); NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText9 = new LevelText() { Val = "" }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts9 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties9.Append(runFonts9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(numberingSymbolRunProperties9); //level9.Append(isLegalNumberingStyle); level9.IsLegalNumberingStyle = isLegalNumberingStyle; abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); //abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); return(abstractNum1); }
public static void GenerateNumberingDefinitionsPart1Content(NumberingDefinitionsPart numberingDefinitionsPart1) { Numbering numbering1 = new Numbering() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid wp14" } }; numbering1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); numbering1.AddNamespaceDeclaration("cx", "http://schemas.microsoft.com/office/drawing/2014/chartex"); numbering1.AddNamespaceDeclaration("cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"); numbering1.AddNamespaceDeclaration("cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"); numbering1.AddNamespaceDeclaration("cx3", "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex"); numbering1.AddNamespaceDeclaration("cx4", "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex"); numbering1.AddNamespaceDeclaration("cx5", "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex"); numbering1.AddNamespaceDeclaration("cx6", "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex"); numbering1.AddNamespaceDeclaration("cx7", "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex"); numbering1.AddNamespaceDeclaration("cx8", "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex"); numbering1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); numbering1.AddNamespaceDeclaration("aink", "http://schemas.microsoft.com/office/drawing/2016/ink"); numbering1.AddNamespaceDeclaration("am3d", "http://schemas.microsoft.com/office/drawing/2017/model3d"); numbering1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); numbering1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); numbering1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); numbering1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); numbering1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); numbering1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); numbering1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); numbering1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); numbering1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid"); numbering1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"); numbering1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); numbering1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); numbering1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); numbering1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; abstractNum1.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid1 = new Nsid() { Val = "1FFE17EE" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "65746D14" }; Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04260001" }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText1 = new LevelText() { Val = "·" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Indentation indentation2 = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties1.Append(indentation2); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties1.Append(runFonts2); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1, TemplateCode = "04260003", Tentative = true }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText2 = new LevelText() { Val = "o" }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Indentation indentation3 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties2.Append(indentation3); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts3 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties2.Append(runFonts3); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level3 = new Level() { LevelIndex = 2, TemplateCode = "04260005", Tentative = true }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText3 = new LevelText() { Val = "§" }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Indentation indentation4 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties3.Append(indentation4); NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties3.Append(runFonts4); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); level3.Append(numberingSymbolRunProperties3); Level level4 = new Level() { LevelIndex = 3, TemplateCode = "04260001", Tentative = true }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText4 = new LevelText() { Val = "·" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Indentation indentation5 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties4.Append(indentation5); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts5 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties4.Append(runFonts5); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4, TemplateCode = "04260003", Tentative = true }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText5 = new LevelText() { Val = "o" }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Indentation indentation6 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties5.Append(indentation6); NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties5.Append(runFonts6); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5, TemplateCode = "04260005", Tentative = true }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText6 = new LevelText() { Val = "§" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Indentation indentation7 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties6.Append(indentation7); NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties6.Append(runFonts7); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6, TemplateCode = "04260001", Tentative = true }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText7 = new LevelText() { Val = "·" }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Indentation indentation8 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties7.Append(indentation8); NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties7.Append(runFonts8); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7, TemplateCode = "04260003", Tentative = true }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText8 = new LevelText() { Val = "o" }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Indentation indentation9 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties8.Append(indentation9); NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts9 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties8.Append(runFonts9); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8, TemplateCode = "04260005", Tentative = true }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText9 = new LevelText() { Val = "§" }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Indentation indentation10 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties9.Append(indentation10); NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts10 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties9.Append(runFonts10); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); level9.Append(numberingSymbolRunProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 }; numberingInstance1.Append(abstractNumId1); numbering1.Append(abstractNum1); numbering1.Append(numberingInstance1); numberingDefinitionsPart1.Numbering = numbering1; }
private static void Draw(ChampionSprite sprite, int Yoffset, int x, int y) { try { if (!DownloadTexture.Finished || sprite == null) { return; } sprite.Offset = 0; var vector2 = new Vector2(x, y + Yoffset); var iconPos = vector2; sprite.CurrentIcon.Sprite.Draw(vector2); var heroIconHeight = 0; if (sprite.Icon.Sprite.Rectangle.HasValue) { heroIconHeight = sprite.Icon.Sprite.Rectangle.Value.Height; } var heroIconWidth = 0; if (sprite.Icon.Sprite.Rectangle.HasValue) { heroIconWidth = sprite.Icon.Sprite.Rectangle.Value.Width; } var spellIconHeight = 0; var rndspell = sprite.SpellSprites.FirstOrDefault(); if (rndspell?.Icon.Sprite.Rectangle != null) { spellIconHeight = rndspell.Icon.Sprite.Rectangle.Value.Height; } var barIconHeight = 0; if (sprite.XPBar.Sprite.Rectangle.HasValue) { barIconHeight = sprite.XPBar.Sprite.Rectangle.Value.Height; } var barVector = vector2; barVector.Y += heroIconHeight; sprite.Offset += heroIconHeight; if (HUDConfig.DrawXP) { sprite.Offset += barIconHeight; var xp = Math.Min(Math.Max(0, sprite.Champion.CurrentXPPercent()), 100); sprite.XPBar.Sprite.Scale = new Vector2(1 * (xp / 100), 1); sprite.EmptyBar.Sprite.Draw(barVector); sprite.XPBar.Sprite.Draw(barVector); } else { barVector.Y -= barIconHeight; } if (HUDConfig.DrawHP) { sprite.Offset += barIconHeight; barVector.Y += barIconHeight; var hp = sprite.Champion.IsDead ? 0 : Math.Min(Math.Max(0, sprite.Champion.HealthPercent), 100); sprite.HPBar.Sprite.Scale = new Vector2(1 * (hp / 100), 1); sprite.EmptyBar.Sprite.Draw(barVector); sprite.HPBar.Sprite.Draw(barVector); } if (HUDConfig.DrawMP) { sprite.Offset += barIconHeight; barVector.Y += barIconHeight; var mp = sprite.Champion.IsDead ? 0 : Math.Min(Math.Max(0, sprite.Champion.ManaPercent), 100); sprite.MPBar.Sprite.Scale = new Vector2(1 * (mp / 100), 1); sprite.EmptyBar.Sprite.Draw(barVector); sprite.MPBar.Sprite.Draw(barVector); } try { if (HUDConfig.DrawRecall) { var tpInfo = sprite.Champion.GetTeleportInfo(); if (tpInfo != null && (tpInfo.Started || ((tpInfo.Aborted || tpInfo.Finished) && tpInfo.Duration > Core.GameTickCount - tpInfo.StartTick))) { if (RecallText == null) { var SIZE = sprite.Icon.Sprite.Rectangle.Value.Height + sprite.Icon.Sprite.Rectangle.Value.Width; RecallText = new Text("Lato", new Font(FontFamily.GenericSerif, SIZE * 0.067f, FontStyle.Bold)); } if (tpInfo.Args.Type == TeleportType.Unknown) { Logger.Warn($"KappAIO: Unknown TP type {tpInfo.Args.TeleportName} - Caster: {tpInfo.Caster.BaseSkinName} Duration: {tpInfo.Args.Duration}"); } var c = new Color(); var color = ScaleColors.FirstOrDefault(s => s.Sprite.Equals(sprite)); if (color != null) { c = color.CurrentColor; } else { var scaleColor = new ScaleColor(sprite, Color.White, Color.Gold) { Duration = tpInfo.Duration }; ScaleColors.Add(scaleColor); c = scaleColor.CurrentColor; } var text = tpInfo.Finished || tpInfo.Aborted ? tpInfo.Args.Status.ToString() : tpInfo.Name; var modx = vector2.X * 1.01f; var modY = (vector2.Y * 2 + sprite.Icon.Sprite.Rectangle.Value.Height) / 2; var recallPos = new Vector2(modx, modY); RecallText?.Draw(text.ToUpper(), c, recallPos); } else { ScaleColors.RemoveAll(s => s.Sprite.Equals(sprite)); } } } catch (Exception ex) { Logger.Error(ex.Message); } vector2.X += heroIconWidth; foreach (var spell in sprite.SpellSprites.OrderBy(s => s.Slot)) { if (spell.IsOnCoolDown(sprite.Champion)) { if (CDText == null) { var cdtextsize = spell.Icon.Sprite.Rectangle.Value.Height + spell.Icon.Sprite.Rectangle.Value.Width; CDText = new Text("", new Font(FontFamily.GenericSerif, cdtextsize * 0.22f, FontStyle.Regular)) { Color = Color.AliceBlue }; } var cdPos = new Vector2(vector2.X + spell.Icon.Sprite.Rectangle.Value.Width * 1.3f, vector2.Y); CDText.Draw(spell.CurrentCD(sprite.Champion), Color.AliceBlue, cdPos); } spell.CurrentSprite(sprite.Champion).Draw(vector2); vector2.Y += spellIconHeight; } if (LevelText == null) { var size = (heroIconHeight + heroIconWidth) * 0.1f; LevelText = new Text("", new Font(FontFamily.GenericSerif, size, FontStyle.Bold)); } var lvlpos = new Vector2(iconPos.X + heroIconWidth * 0.69f, iconPos.Y + heroIconHeight * 0.69f); LevelText.Draw(sprite.Champion.Level.ToString(), Color.Red, lvlpos); if (sprite.Champion.IsDead) { if (DeadText == null) { var size = (heroIconHeight + heroIconWidth) * 0.125f; DeadText = new Text("Arial", new Font(FontFamily.GenericSerif, size, FontStyle.Bold)); } DeadText.Draw(sprite.Champion.GetDeathDuration().ToTimeSpan(), Color.Red, new Vector2(iconPos.X + heroIconWidth * 0.225f, iconPos.Y + heroIconHeight * 0.375f)); } } catch (Exception e) { if (e.Message.Contains("D3DERR_INVALIDCALL")) { TextureManager.Reload(); } } }
// Creates an Numbering instance and adds its children. public static Numbering GenerateNumbering() { Numbering numbering1 = new Numbering() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid wp14" } }; numbering1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); numbering1.AddNamespaceDeclaration("cx", "http://schemas.microsoft.com/office/drawing/2014/chartex"); numbering1.AddNamespaceDeclaration("cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"); numbering1.AddNamespaceDeclaration("cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"); numbering1.AddNamespaceDeclaration("cx3", "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex"); numbering1.AddNamespaceDeclaration("cx4", "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex"); numbering1.AddNamespaceDeclaration("cx5", "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex"); numbering1.AddNamespaceDeclaration("cx6", "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex"); numbering1.AddNamespaceDeclaration("cx7", "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex"); numbering1.AddNamespaceDeclaration("cx8", "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex"); numbering1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); numbering1.AddNamespaceDeclaration("aink", "http://schemas.microsoft.com/office/drawing/2016/ink"); numbering1.AddNamespaceDeclaration("am3d", "http://schemas.microsoft.com/office/drawing/2017/model3d"); numbering1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); numbering1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); numbering1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); numbering1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); numbering1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); numbering1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); numbering1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); numbering1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); numbering1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid"); numbering1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"); numbering1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); numbering1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); numbering1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); numbering1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; abstractNum1.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid1 = new Nsid() { Val = "02791BC6" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "565C7098" }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel1 = new ParagraphStyleIdInLevel() { Val = "Heading1" }; LevelSuffix levelSuffix1 = new LevelSuffix() { Val = LevelSuffixValues.Nothing }; LevelText levelText1 = new LevelText() { Val = "Article %1" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Indentation indentation1 = new Indentation() { Left = "0", FirstLine = "0" }; previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(paragraphStyleIdInLevel1); level1.Append(levelSuffix1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel2 = new ParagraphStyleIdInLevel() { Val = "Heading2" }; LevelText levelText2 = new LevelText() { Val = "%1.%2" }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs1.Append(tabStop1); Indentation indentation2 = new Indentation() { Left = "0", FirstLine = "0" }; previousParagraphProperties2.Append(tabs1); previousParagraphProperties2.Append(indentation2); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.Default, ComplexScript = "Times New Roman" }; Bold bold1 = new Bold() { Val = false }; Italic italic1 = new Italic() { Val = false }; ItalicComplexScript italicComplexScript1 = new ItalicComplexScript() { Val = false }; Caps caps1 = new Caps() { Val = false }; SmallCaps smallCaps1 = new SmallCaps() { Val = false }; Strike strike1 = new Strike() { Val = false }; DoubleStrike doubleStrike1 = new DoubleStrike() { Val = false }; NoProof noProof1 = new NoProof() { Val = false }; Vanish vanish1 = new Vanish() { Val = false }; Color color1 = new Color() { Val = "000000" }; Spacing spacing1 = new Spacing() { Val = 0 }; Kern kern1 = new Kern() { Val = 0U }; Position position1 = new Position() { Val = "0" }; Underline underline1 = new Underline() { Val = UnderlineValues.None }; TextEffect textEffect1 = new TextEffect() { Val = TextEffectValues.None }; VerticalTextAlignment verticalTextAlignment1 = new VerticalTextAlignment() { Val = VerticalPositionValues.Baseline }; Emphasis emphasis1 = new Emphasis() { Val = EmphasisMarkValues.None }; SpecVanish specVanish1 = new SpecVanish() { Val = false }; OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w14:shadow w14:blurRad=\"0\" w14:dist=\"0\" w14:dir=\"0\" w14:sx=\"0\" w14:sy=\"0\" w14:kx=\"0\" w14:ky=\"0\" w14:algn=\"none\" xmlns:w14=\"http://schemas.microsoft.com/office/word/2010/wordml\"><w14:srgbClr w14:val=\"000000\" /></w14:shadow>"); OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w14:textOutline w14:w=\"0\" w14:cap=\"rnd\" w14:cmpd=\"sng\" w14:algn=\"ctr\" xmlns:w14=\"http://schemas.microsoft.com/office/word/2010/wordml\"><w14:noFill /><w14:prstDash w14:val=\"solid\" /><w14:bevel /></w14:textOutline>"); numberingSymbolRunProperties2.Append(runFonts2); numberingSymbolRunProperties2.Append(bold1); numberingSymbolRunProperties2.Append(italic1); numberingSymbolRunProperties2.Append(italicComplexScript1); numberingSymbolRunProperties2.Append(caps1); numberingSymbolRunProperties2.Append(smallCaps1); numberingSymbolRunProperties2.Append(strike1); numberingSymbolRunProperties2.Append(doubleStrike1); numberingSymbolRunProperties2.Append(noProof1); numberingSymbolRunProperties2.Append(vanish1); numberingSymbolRunProperties2.Append(color1); numberingSymbolRunProperties2.Append(spacing1); numberingSymbolRunProperties2.Append(kern1); numberingSymbolRunProperties2.Append(position1); numberingSymbolRunProperties2.Append(underline1); numberingSymbolRunProperties2.Append(textEffect1); numberingSymbolRunProperties2.Append(verticalTextAlignment1); numberingSymbolRunProperties2.Append(emphasis1); numberingSymbolRunProperties2.Append(specVanish1); numberingSymbolRunProperties2.Append(openXmlUnknownElement1); numberingSymbolRunProperties2.Append(openXmlUnknownElement2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(paragraphStyleIdInLevel2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level3 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; ParagraphStyleIdInLevel paragraphStyleIdInLevel3 = new ParagraphStyleIdInLevel() { Val = "Heading3" }; LevelText levelText3 = new LevelText() { Val = "(%3)" }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Number, Position = 1800 }; tabs2.Append(tabStop2); Indentation indentation3 = new Indentation() { Left = "1800", Hanging = "720" }; previousParagraphProperties3.Append(tabs2); previousParagraphProperties3.Append(indentation3); NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts3 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties3.Append(runFonts3); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(paragraphStyleIdInLevel3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); level3.Append(numberingSymbolRunProperties3); Level level4 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; ParagraphStyleIdInLevel paragraphStyleIdInLevel4 = new ParagraphStyleIdInLevel() { Val = "Heading4" }; LevelText levelText4 = new LevelText() { Val = "(%4)" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Tabs tabs3 = new Tabs(); TabStop tabStop3 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs3.Append(tabStop3); Indentation indentation4 = new Indentation() { Left = "2160", Hanging = "720" }; previousParagraphProperties4.Append(tabs3); previousParagraphProperties4.Append(indentation4); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { Hint = FontTypeHintValues.Default }; Bold bold2 = new Bold() { Val = false }; Italic italic2 = new Italic() { Val = false }; numberingSymbolRunProperties4.Append(runFonts4); numberingSymbolRunProperties4.Append(bold2); numberingSymbolRunProperties4.Append(italic2); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(paragraphStyleIdInLevel4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; ParagraphStyleIdInLevel paragraphStyleIdInLevel5 = new ParagraphStyleIdInLevel() { Val = "Heading5" }; LevelText levelText5 = new LevelText() { Val = "%5)" }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Tabs tabs4 = new Tabs(); TabStop tabStop4 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs4.Append(tabStop4); Indentation indentation5 = new Indentation() { Left = "2880", Hanging = "720" }; previousParagraphProperties5.Append(tabs4); previousParagraphProperties5.Append(indentation5); NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts5 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Book Antiqua", HighAnsi = "Book Antiqua" }; Bold bold3 = new Bold() { Val = false }; Italic italic3 = new Italic() { Val = false }; FontSize fontSize1 = new FontSize() { Val = "22" }; numberingSymbolRunProperties5.Append(runFonts5); numberingSymbolRunProperties5.Append(bold3); numberingSymbolRunProperties5.Append(italic3); numberingSymbolRunProperties5.Append(fontSize1); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(paragraphStyleIdInLevel5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; ParagraphStyleIdInLevel paragraphStyleIdInLevel6 = new ParagraphStyleIdInLevel() { Val = "Heading6" }; LevelText levelText6 = new LevelText() { Val = "(%6)" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Tabs tabs5 = new Tabs(); TabStop tabStop5 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs5.Append(tabStop5); Indentation indentation6 = new Indentation() { Left = "1440", Hanging = "720" }; previousParagraphProperties6.Append(tabs5); previousParagraphProperties6.Append(indentation6); NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Book Antiqua", HighAnsi = "Book Antiqua" }; Bold bold4 = new Bold() { Val = false }; Italic italic4 = new Italic() { Val = false }; FontSize fontSize2 = new FontSize() { Val = "22" }; numberingSymbolRunProperties6.Append(runFonts6); numberingSymbolRunProperties6.Append(bold4); numberingSymbolRunProperties6.Append(italic4); numberingSymbolRunProperties6.Append(fontSize2); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(paragraphStyleIdInLevel6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText7 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7." }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Tabs tabs6 = new Tabs(); TabStop tabStop6 = new TabStop() { Val = TabStopValues.Number, Position = 5400 }; tabs6.Append(tabStop6); Indentation indentation7 = new Indentation() { Left = "3240", Hanging = "1080" }; previousParagraphProperties7.Append(tabs6); previousParagraphProperties7.Append(indentation7); NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties7.Append(runFonts7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText8 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7.%8." }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Tabs tabs7 = new Tabs(); TabStop tabStop7 = new TabStop() { Val = TabStopValues.Number, Position = 6120 }; tabs7.Append(tabStop7); Indentation indentation8 = new Indentation() { Left = "3744", Hanging = "1224" }; previousParagraphProperties8.Append(tabs7); previousParagraphProperties8.Append(indentation8); NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties8.Append(runFonts8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8 }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText9 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9." }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Tabs tabs8 = new Tabs(); TabStop tabStop8 = new TabStop() { Val = TabStopValues.Number, Position = 6840 }; tabs8.Append(tabStop8); Indentation indentation9 = new Indentation() { Left = "4320", Hanging = "1440" }; previousParagraphProperties9.Append(tabs8); previousParagraphProperties9.Append(indentation9); NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts9 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties9.Append(runFonts9); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); level9.Append(numberingSymbolRunProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 }; LevelOverride levelOverride1 = new LevelOverride() { LevelIndex = 0 }; StartOverrideNumberingValue startOverrideNumberingValue1 = new StartOverrideNumberingValue() { Val = 2 }; levelOverride1.Append(startOverrideNumberingValue1); LevelOverride levelOverride2 = new LevelOverride() { LevelIndex = 1 }; StartOverrideNumberingValue startOverrideNumberingValue2 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride2.Append(startOverrideNumberingValue2); LevelOverride levelOverride3 = new LevelOverride() { LevelIndex = 2 }; StartOverrideNumberingValue startOverrideNumberingValue3 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride3.Append(startOverrideNumberingValue3); LevelOverride levelOverride4 = new LevelOverride() { LevelIndex = 3 }; StartOverrideNumberingValue startOverrideNumberingValue4 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride4.Append(startOverrideNumberingValue4); LevelOverride levelOverride5 = new LevelOverride() { LevelIndex = 4 }; StartOverrideNumberingValue startOverrideNumberingValue5 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride5.Append(startOverrideNumberingValue5); LevelOverride levelOverride6 = new LevelOverride() { LevelIndex = 5 }; StartOverrideNumberingValue startOverrideNumberingValue6 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride6.Append(startOverrideNumberingValue6); LevelOverride levelOverride7 = new LevelOverride() { LevelIndex = 6 }; StartOverrideNumberingValue startOverrideNumberingValue7 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride7.Append(startOverrideNumberingValue7); LevelOverride levelOverride8 = new LevelOverride() { LevelIndex = 7 }; StartOverrideNumberingValue startOverrideNumberingValue8 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride8.Append(startOverrideNumberingValue8); LevelOverride levelOverride9 = new LevelOverride() { LevelIndex = 8 }; StartOverrideNumberingValue startOverrideNumberingValue9 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride9.Append(startOverrideNumberingValue9); numberingInstance1.Append(abstractNumId1); numberingInstance1.Append(levelOverride1); numberingInstance1.Append(levelOverride2); numberingInstance1.Append(levelOverride3); numberingInstance1.Append(levelOverride4); numberingInstance1.Append(levelOverride5); numberingInstance1.Append(levelOverride6); numberingInstance1.Append(levelOverride7); numberingInstance1.Append(levelOverride8); numberingInstance1.Append(levelOverride9); NumberingInstance numberingInstance2 = new NumberingInstance() { NumberID = 2 }; AbstractNumId abstractNumId2 = new AbstractNumId() { Val = 0 }; numberingInstance2.Append(abstractNumId2); numbering1.Append(abstractNum1); numbering1.Append(numberingInstance1); numbering1.Append(numberingInstance2); return(numbering1); }
public string ChooseText() { // Debug.Log("Choosing Text"); if (controller.gameCompleted == true) { return(completeText); } // this is the text from TextTrigger if (overrideText != "" && ( (overrideCondition == OverrideCondition.levelSuccess && controller.transitionReason == TransitionReason.levelSuccess) || (overrideCondition == OverrideCondition.levelFailure && controller.transitionReason == TransitionReason.levelFailure) || overrideCondition == OverrideCondition.none) ) { return(overrideText); } // GameObject levelGO = GameObject.FindGameObjectWithTag("Level"); // if (levelGO != null) // { // LevelText levelText = levelGO.GetComponent<LevelText>(); // if (levelText != null) // { // Debug.Log("Woop"); // } // } if (controller.modeManager.GetMode() == Mode.Time) { float time = controller.timeChallengeManager.GetTime(); if (time <= 0) { return("Outta Time Baby"); } return(time.ToString("f2")); } if (controller.modeManager.GetMode() == Mode.Lives) { int lives = controller.livesChallengeManager.GetLives(); if (lives <= 0) { return("Outta Lives Baby"); } return(lives.ToString()); } switch (controller.transitionReason) { case TransitionReason.levelSkip: List <string> optionsS = new List <string>(); optionsS.Add("Giving Up?"); optionsS.Add("Ha, Knew It"); optionsS.Add("Come Back To It Later"); optionsS.Add("I Think It's Best"); optionsS.Add("Quitter"); optionsS.Add("Coward"); optionsS.Add("Disappointing"); return(optionsS[Random.Range(0, optionsS.Count)]); //break; case TransitionReason.levelLoad: List <string> optionsL = new List <string>(loadTextOptions); if (controller.gameReset == true) { optionsL.Clear(); optionsL.Add("Another Go?"); optionsL.Add("Clearing Data"); optionsL.Add("Doing A Reset"); optionsL.Add("Back For More?"); optionsL.Add("Do Better This Time"); optionsL.Add("Cleaning Up"); return(optionsL[Random.Range(0, optionsL.Count)]); } return(optionsL[Random.Range(0, optionsL.Count)]); // break; case TransitionReason.levelSuccess: // Check for Unique Level Text // GameObject levelGO = GameObject.FindGameObjectWithTag("Level"); // if (levelGO != null) // { LevelText levelText = GameObject.FindGameObjectWithTag("Level").GetComponent <LevelText>(); if (levelText != null) { int r = Random.Range(0, 10); // might balance this out based on times attempted / number of options / start at 2 add 1 for each option // bool doThis = r < 8 ? true : false; bool doThis = false; List <string> uniqueLevelOptions = new List <string>(); // LevelText levelText = levelGO.GetComponent<LevelText>(); // if (levelText != null) // { if (levelText.bonusSuccessText.Length > 0) { uniqueLevelOptions = new List <string>(levelText.bonusSuccessText); // doThis = r < (7 + uniqueLevelOptions.Count) ? true : false; doThis = r < 8 ? true : false; } // } // if (doThis && uniqueLevelOptions.Count > 0) return uniqueLevelOptions[Random.Range(0, uniqueLevelOptions.Count)]; if (doThis) { return(uniqueLevelOptions[Random.Range(0, uniqueLevelOptions.Count)]); } } // Start of normal text options List <string> options = new List <string>(successTextOptions); //basic ones - TODO: Move others here // options.Add("..."); int currentLevelAttempts = statsManager.GetCurrentLevelCurrentAttempts(); if (currentLevelAttempts == 1) { float r = Random.Range(0.0f, 1f) - statsManager.GetPercentageComplete(modeManager.GetMode()); bool doThis = r < 0.02f ? true : false; if (doThis) { options.Clear(); } options.Add("First Time Lucky!"); options.Add("Beginner's Luck"); options.Add("Hole In One!"); options.Add("We Got Us A Natural"); options.Add("Straight To It"); options.Add("No Messing About"); options.Add("Ooft"); if (doThis) { return(options[Random.Range(0, options.Count)]); } } if (currentLevelAttempts >= 3) { options.Add(GetNumberSuffix(currentLevelAttempts) + " Time Lucky"); options.Add("Whatever"); options.Add("Practice Makes Perfect"); options.Add("That's More Like It"); } if (currentLevelAttempts >= 10) { options.Add("Finally"); options.Add("About Time"); options.Add("Yawn"); options.Add("Proud Of You"); options.Add("Knew You Could Do It"); } switch (statsManager.GetPercentageComplete(modeManager.GetMode()).ToString()) { // case "0.25": // // options.Add("Quarter Done!"); // return "Quarter Done!"; // break; case "0.5": // options.Add("Halfway There!"); return("Halfway There!"); break; case "0.75": // options.Add("Three Quarters Done!"); return("Three Quarters Done!"); break; default: if (statsManager.GetPercentageComplete(modeManager.GetMode()) >= 0.5f) // it's off-putting unless over 50% { options.Add((statsManager.GetPercentageComplete(modeManager.GetMode()) * 100).ToString("f2") + "% Done!"); } break; } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.1f && statsManager.GetPercentageComplete(modeManager.GetMode()) < 0.2f) { options.Add("Only Gets Better From Here"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.45f && statsManager.GetPercentageComplete(modeManager.GetMode()) < 0.5f) { options.Add("Nearly Halfway There!"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.92f && statsManager.GetPercentageComplete(modeManager.GetMode()) < 0.98f) { options.Add("Not Long To Go Now"); options.Add("Just A Few More"); options.Add("Nearly There"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) < 0.1f) { options.Add("Just Getting Started"); options.Add("Early Victory"); options.Add("Pfft, That Was Easy"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.5f) { options.Add("Way To Go Slugger"); options.Add("CHAMPION"); options.Add("A+ Performance There"); options.Add("Textbook"); options.Add("Back Of The Net"); options.Add("GOOOOOOOAAAAAAL"); options.Add("BRING IT ON"); options.Add("Feeling It Yet?"); options.Add("As If"); options.Add("I Don't Believe It"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.75f) { options.Add("Getting There"); options.Add(":D"); } // if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.85f) // { // if (statsManager.GetCurrentAttempts(modeManager.GetMode()) < statsManager.GetBestAttempts(modeManager.GetMode()) // && statsManager.GetCurrentAttempts(modeManager.GetMode()) - statsManager.GetBestAttempts(modeManager.GetMode()) >= statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode())) // { // options.Add("Can Still Beat Your Attempts Record!"); // } // if (statsManager.GetCurrentSeconds() < statsManager.GetBestSeconds()) // { // options.Add("Can Still Beat Your Time Record!"); // } // } switch (statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode())) { case 5: options.Add("Final Five"); break; case 4: options.Add("Four More To Go!"); break; case 3: options.Add("Just Three To Go!"); break; case 2: options.Add("Only Two Left!"); break; case 1: options.Add("Last Level!"); break; default: if (statsManager.GetPercentageComplete(modeManager.GetMode()) >= 0.5f) // it's off-putting unless over 50% { options.Add("Just " + statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode()).ToString() + " Levels To Go"); options.Add("Only " + statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode()).ToString() + " Levels Remaining"); options.Add("Now Do That " + statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode()).ToString() + " More Times"); } break; } if (statsManager.GetCurrentStreak() > 9) { float r = Random.Range(0.0f, 1f) - statsManager.GetPercentageComplete(modeManager.GetMode()); bool doThis = r < 0.02f ? true : false; if (doThis) { options.Clear(); } options.Add("You Got The Golden Touch"); options.Add("Wowza!"); options.Add("Gee Wizz"); options.Add("Now This Is Impressive"); if (doThis) { return(options[Random.Range(0, options.Count)]); } } if (statsManager.GetCurrentStreak() > 4) { float r = Random.Range(0.0f, 1f) - statsManager.GetPercentageComplete(modeManager.GetMode()); bool doThis = r < 0.02f ? true : false; if (doThis) { options.Clear(); } options.Add("Hot Streak!"); options.Add("Keep 'em Coming"); options.Add("Hanging Out In The Zone"); options.Add("Oooh Baby"); options.Add("You've Seen The Light"); options.Add("Surely You Can't Keep This Up"); options.Add("Show Off"); options.Add(statsManager.GetCurrentStreak().ToString() + " Done And No Signs Of Slowing"); options.Add(statsManager.GetCurrentStreak().ToString() + " In A Row!"); // if (LoadLevel.GetBestGoodStreak() == LoadLevel.GetCurrentGoodStreak()) // { // options.Add("Best Streak Yet!"); // } if (doThis) { return(options[Random.Range(0, options.Count)]); } } if (statsManager.GetStreakBreak() == true) { // float r = Random.Range(0.0f, 1f) - statsManager.GetPercentageComplete(modeManager.GetMode()); float r = Random.Range(0.0f, 1f); // bool doThis = r < 0.02f ? true : false; bool doThis = r < 0.8f ? true : false; if (doThis) { options.Clear(); } options.Add("That's The Spirit"); options.Add("About Time"); options.Add("Finally"); options.Add("Bad Streak Broken"); options.Add("But Can You Keep It Going?"); options.Add("Ruin My Fun"); options.Add("That Was Some Losing Streak"); options.Add("Glad You're Doing Better"); options.Add("I Knew You Could Do One Of Them"); if (doThis) { return(options[Random.Range(0, options.Count)]); } } // Debug.Log("Best Time: " + LoadLevel.GetCurrentLevelBestTime() + " Last Time: " + LoadLevel.GetLastSeconds() // + " Last Best Time: " + LoadLevel.GetLastBestTime()); // if (LoadLevel.GetCurrentLevelBestTime() == LoadLevel.GetLastSeconds() && LoadLevel.GetLastBestTime() != 0) // { // options.Add("Best Time!"); // options.Add("New Record!"); // options.Add("Better Than Last Time!"); // options.Add(Mathf.Abs(LoadLevel.GetLastTimeDifference()).ToString("f2") + " Seconds Faster!"); // // return Mathf.Abs(LoadLevel.GetLastTimeDifference()).ToString("f2") + " Seconds Faster!"; // } // if (LoadLevel.GetCurrentLevelBestTime() < LoadLevel.GetLastSeconds()) // { // options.Add("Not Your Best Time"); // options.Add(Mathf.Abs(LoadLevel.GetLastTimeDifference()).ToString("f2") + " Seconds Slower"); // // return Mathf.Abs(LoadLevel.GetLastTimeDifference()).ToString("f2") + " Seconds Slower"; // } // if (LoadLevel.GetCurrentLevelBestAttempts() == LoadLevel.GetCurrentLevelCurrentAttempts() && LoadLevel.GetBestAttemptsLast() != 0) // { // options.Add("Best Effort!"); // options.Add("New Record!"); // options.Add("Better Than Last Time!"); // options.Add(Mathf.Abs(LoadLevel.GetLastAttemptsDifference()).ToString() + " Attempts Better!"); // // return Mathf.Abs(LoadLevel.GetLastAttemptsDifference()).ToString() + " Attempts Better!"; // } // if (LoadLevel.GetCurrentLevelBestAttempts() < LoadLevel.GetCurrentLevelCurrentAttempts()) // { // options.Add("Not Your Best Effort"); // options.Add("Took " + LoadLevel.GetLastAttemptsDifference() + " More Attempts"); // } if (statsManager.GetLevelsCompleted(modeManager.GetMode()) > 1) { options.Add(statsManager.GetLevelsCompleted(modeManager.GetMode()).ToString() + " Levels Completed"); } if (statsManager.GetPercentageComplete(modeManager.GetMode()) >= 0.5f) // it's off-putting unless over 50% { options.Add(statsManager.GetLevelsCompleted(modeManager.GetMode()).ToString() + " Down, " + statsManager.GetNumberOfLevelsRemaining(modeManager.GetMode()).ToString() + " To Go"); options.Add(statsManager.GetLevelsCompleted(modeManager.GetMode()).ToString() + " / " + statsManager.GetNumberOfLevels(modeManager.GetMode()).ToString()); } if (statsManager.GetLastSeconds() > 10) { options.Add("Took Your Time"); options.Add("Slowpoke"); options.Add("Well That Wasn't Very Fast"); } options.Add("In Only " + statsManager.GetLastSeconds().ToString("f2") + " Seconds"); options.Add("Your " + GetNumberSuffix(statsManager.GetLevelsCompleted(modeManager.GetMode())) + " Success"); #if UNITY_WSA options.Add("Press B To Return To Menu"); #endif #if UNITY_STANDALONE options.Add("Press Escape To Return To Menu"); #endif return(options[Random.Range(0, options.Count)]); break; case TransitionReason.levelFailure: // Check for Unique Level Text // GameObject levelGO = GameObject.FindGameObjectWithTag("Level"); // if (levelGO != null) // { LevelText levelTextF = GameObject.FindGameObjectWithTag("Level").GetComponent <LevelText>(); if (levelTextF != null) { int r = Random.Range(0, 10); // bool doThis = r < 8 ? true : false; bool doThis = false; List <string> uniqueLevelOptions = new List <string>(); // LevelText levelText = levelGO.GetComponent<LevelText>(); // if (levelText != null) // { if (levelTextF.bonusFailureText.Length > 0) { uniqueLevelOptions = new List <string>(levelTextF.bonusFailureText); doThis = r < (2 + uniqueLevelOptions.Count) ? true : false; } if (statsManager.GetCurrentLevelCurrentAttempts() > 4 && levelTextF.bonusHintText.Length > 0) { for (int i = 0; i < levelTextF.bonusHintText.Length; i++) { uniqueLevelOptions.Add(levelTextF.bonusHintText[i]); } doThis = r < (2 + uniqueLevelOptions.Count) ? true : false; } // } // if (doThis && uniqueLevelOptions.Count > 0) return uniqueLevelOptions[Random.Range(0, uniqueLevelOptions.Count)]; if (doThis) { return(uniqueLevelOptions[Random.Range(0, uniqueLevelOptions.Count)]); } // return uniqueLevelOptions[Random.Range(0, uniqueLevelOptions.Count)]; } List <string> optionsF = new List <string>(failureTextOptions); // basics optionsF.Add("..."); optionsF.Add("Seriously?"); optionsF.Add("Brave Move That"); optionsF.Add("Don't Do That"); if (statsManager.GetCurrentLevelCurrentAttempts() > 1) { optionsF.Add("Again?"); optionsF.Add("History Repeats Itself"); } if (statsManager.GetCurrentLevelCurrentAttempts() > 4) { optionsF.Add(statsManager.GetCurrentLevelCurrentAttempts().ToString() + " Tries Already?"); optionsF.Add("Level Attempts: " + statsManager.GetCurrentLevelCurrentAttempts().ToString()); optionsF.Add("Tricky isn't it?"); optionsF.Add("Struggling?"); optionsF.Add("You're Having Trouble With <i>This</i> One?"); optionsF.Add("This Is An Easy One!"); } if (statsManager.GetCurrentLevelCurrentAttempts() > 6) { optionsF.Add("Ha"); optionsF.Add(":("); optionsF.Add("NOT AGAIN"); } if (statsManager.GetCurrentLevelCurrentAttempts() > 10) { optionsF.Add("I Admire Your Determination"); optionsF.Add("Keep Going!"); optionsF.Add("I Believe In You"); optionsF.Add("I No Longer Believe In You"); optionsF.Add("Give Up"); optionsF.Add("This One Level Eh?"); optionsF.Add("Giving You Real Trouble Isn't It"); optionsF.Add("I Did It First Try"); optionsF.Add("You're Doing It Wrong"); } if (statsManager.GetCurrentAttempts(modeManager.GetMode()) > 20) { optionsF.Add("That's Your " + GetNumberSuffix(statsManager.GetCurrentAttempts(modeManager.GetMode())) + " Attempt"); optionsF.Add(statsManager.GetCurrentAttempts(modeManager.GetMode()).ToString() + " Attempts So Far"); optionsF.Add("That Was Attempt " + statsManager.GetCurrentAttempts(modeManager.GetMode()).ToString()); } if (statsManager.GetCurrentAttempts(modeManager.GetMode()) > 700) { optionsF.Add("This Isn't Going Great"); optionsF.Add("Not Going For A Highscore Eh?"); optionsF.Add("Probably Won't Be #1"); } // if (LoadLevel.GetTimesStarted() >= 1) // { // optionsF.Add("That's Your " + GetNumberSuffix(LoadLevel.GetTotalAttempts()) + " Total Attempt"); // optionsF.Add("At " + LoadLevel.GetTotalSeconds().ToString("f2") + " Seconds Across All Games"); // } // if (LoadLevel.GetTimesCompleted() >= 1) // { // optionsF.Add(LoadLevel.GetTimesCompleted().ToString() ); // } if (statsManager.GetPercentageComplete(modeManager.GetMode()) > 0.5f) { optionsF.Add("Thought You Could Handle It?"); optionsF.Add("Bad"); optionsF.Add("Made A Mistake There"); optionsF.Add("Classic"); optionsF.Add("Oh Boo Hoo"); optionsF.Add("Miss The Easy Levels?"); optionsF.Add("It Doesn't Get Better"); optionsF.Add("Shameful"); optionsF.Add("What Happened There?"); optionsF.Add("I Wouldn't Have Done That"); optionsF.Add("One More Try"); optionsF.Add("C'mon"); optionsF.Add("Ouch"); optionsF.Add("Rookie Mistake"); optionsF.Add("Biffed It"); } if (controller.closeCall == true) { int r = Random.Range(0, 4); bool doThis = r == 0 ? true : false; if (doThis) { optionsF.Clear(); } optionsF.Add("So Close!"); optionsF.Add("You Nearly Had It!"); optionsF.Add("AARRGGHH!"); optionsF.Add("AAAAHHHHH!"); optionsF.Add("WHY!"); optionsF.Add("That's Disappointing!"); if (doThis) { return(optionsF[Random.Range(0, optionsF.Count)]); } } // minus because bad streak is negative, might change if (statsManager.GetCurrentStreak() < -9) { float r = Random.Range(0.0f, 1f) - statsManager.GetPercentageComplete(modeManager.GetMode()); bool doThis = r < 0.02f ? true : false; if (doThis) { optionsF.Clear(); } optionsF.Add("Not Doing So Hot"); optionsF.Add("Doing Real Bad Boss"); optionsF.Add("Failure After Failure"); optionsF.Add("Consistently Awful"); optionsF.Add("Turn It Around"); optionsF.Add("Pattern Of Defeat"); optionsF.Add("Can You Break The Cycle?"); optionsF.Add("Surely You Can Do One Of These?"); optionsF.Add(Mathf.Abs(statsManager.GetCurrentStreak()).ToString() + " Failures And Counting"); optionsF.Add(Mathf.Abs(statsManager.GetCurrentStreak()).ToString() + " Failures In A Row!"); // if (statsManager.GetBestBadStreak() == statsManager.GetCurrentBadStreak()) // { // optionsF.Add("Worst Streak Yet!"); // optionsF.Add("Hopeless!"); // } if (doThis) { return(optionsF[Random.Range(0, optionsF.Count)]); } } if (statsManager.GetStreakBreak() == true) { optionsF.Add("Couldn't Last Forever"); optionsF.Add("You Had A Good Run"); optionsF.Add("Win Some Lose Some"); optionsF.Add("You Deserved That"); optionsF.Add("All Good Things End"); optionsF.Add("Rightly So"); optionsF.Add("About Time"); } // if (LoadLevel.GetCurrentLevelBestAttempts() < LoadLevel.GetCurrentLevelCurrentAttempts()) // { // optionsF.Add("No Record For You"); // optionsF.Add("Taken " + Mathf.Abs(LoadLevel.GetLastAttemptsDifference()).ToString() + " More Attempts Already"); // } optionsF.Add(statsManager.GetLastSeconds().ToString("f2") + " Seconds Wasted"); optionsF.Add(statsManager.GetCurrentSeconds(modeManager.GetMode()).ToString("f2") + " Seconds Of Practice..."); optionsF.Add("Current Running Time: " + statsManager.GetCurrentSeconds(modeManager.GetMode()).ToString("f2") + " Seconds"); optionsF.Add("At " + statsManager.GetCurrentSeconds(modeManager.GetMode()).ToString("f2") + " Seconds And Counting"); if (statsManager.GetCurrentSeconds(modeManager.GetMode()) > 3600) { optionsF.Add("It's Been Over An Hour"); } if (statsManager.GetCurrentLevelCurrentSeconds() > 5) { optionsF.Add("That's " + statsManager.GetCurrentLevelCurrentSeconds().ToString("f2") + " Seconds On This Level Alone"); } // optionsF.Add("Double Press Direction To Boost"); // optionsF.Add("Remember To Boost?"); // optionsF.Add("Did You Boost?"); optionsF.Add("Your " + GetNumberSuffix(statsManager.GetCurrentAttempts(modeManager.GetMode()) - statsManager.GetLevelsCompleted(modeManager.GetMode())) + " Failure"); return(optionsF[Random.Range(0, optionsF.Count)]); break; } return("OH NO SOMETHING HAS GONE WRONG?"); }
// Generates content of numberingDefinitionsPart1. private void GenerateNumberingDefinitionsPart1Content(NumberingDefinitionsPart numberingDefinitionsPart1) { Numbering numbering1 = new Numbering() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se wp14" } }; numbering1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); numbering1.AddNamespaceDeclaration("cx", "http://schemas.microsoft.com/office/drawing/2014/chartex"); numbering1.AddNamespaceDeclaration("cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"); numbering1.AddNamespaceDeclaration("cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"); numbering1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); numbering1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); numbering1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); numbering1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); numbering1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); numbering1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); numbering1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); numbering1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); numbering1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); numbering1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"); numbering1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); numbering1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); numbering1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); numbering1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; abstractNum1.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid1 = new Nsid() { Val = "10C33A66" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "3FEA53E8" }; Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04090001" }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText1 = new LevelText() { Val = "·" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Tabs tabs12 = new Tabs(); TabStop tabStop14 = new TabStop() { Val = TabStopValues.Number, Position = 1080 }; tabs12.Append(tabStop14); Indentation indentation29 = new Indentation() { Start = "1080", Hanging = "360" }; previousParagraphProperties1.Append(tabs12); previousParagraphProperties1.Append(indentation29); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1070 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties1.Append(runFonts1070); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText2 = new LevelText() { Val = "o" }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs13 = new Tabs(); TabStop tabStop15 = new TabStop() { Val = TabStopValues.Number, Position = 1800 }; tabs13.Append(tabStop15); Indentation indentation30 = new Indentation() { Start = "1800", Hanging = "360" }; previousParagraphProperties2.Append(tabs13); previousParagraphProperties2.Append(indentation30); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts1071 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties2.Append(runFonts1071); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level3 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText3 = new LevelText() { Val = "§" }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Tabs tabs14 = new Tabs(); TabStop tabStop16 = new TabStop() { Val = TabStopValues.Number, Position = 2520 }; tabs14.Append(tabStop16); Indentation indentation31 = new Indentation() { Start = "2520", Hanging = "360" }; previousParagraphProperties3.Append(tabs14); previousParagraphProperties3.Append(indentation31); NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts1072 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties3.Append(runFonts1072); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); level3.Append(numberingSymbolRunProperties3); Level level4 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText4 = new LevelText() { Val = "·" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Tabs tabs15 = new Tabs(); TabStop tabStop17 = new TabStop() { Val = TabStopValues.Number, Position = 3240 }; tabs15.Append(tabStop17); Indentation indentation32 = new Indentation() { Start = "3240", Hanging = "360" }; previousParagraphProperties4.Append(tabs15); previousParagraphProperties4.Append(indentation32); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts1073 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties4.Append(runFonts1073); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText5 = new LevelText() { Val = "o" }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Tabs tabs16 = new Tabs(); TabStop tabStop18 = new TabStop() { Val = TabStopValues.Number, Position = 3960 }; tabs16.Append(tabStop18); Indentation indentation33 = new Indentation() { Start = "3960", Hanging = "360" }; previousParagraphProperties5.Append(tabs16); previousParagraphProperties5.Append(indentation33); NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts1074 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties5.Append(runFonts1074); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText6 = new LevelText() { Val = "§" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Tabs tabs17 = new Tabs(); TabStop tabStop19 = new TabStop() { Val = TabStopValues.Number, Position = 4680 }; tabs17.Append(tabStop19); Indentation indentation34 = new Indentation() { Start = "4680", Hanging = "360" }; previousParagraphProperties6.Append(tabs17); previousParagraphProperties6.Append(indentation34); NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts1075 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties6.Append(runFonts1075); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText7 = new LevelText() { Val = "·" }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Tabs tabs18 = new Tabs(); TabStop tabStop20 = new TabStop() { Val = TabStopValues.Number, Position = 5400 }; tabs18.Append(tabStop20); Indentation indentation35 = new Indentation() { Start = "5400", Hanging = "360" }; previousParagraphProperties7.Append(tabs18); previousParagraphProperties7.Append(indentation35); NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts1076 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties7.Append(runFonts1076); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText8 = new LevelText() { Val = "o" }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Tabs tabs19 = new Tabs(); TabStop tabStop21 = new TabStop() { Val = TabStopValues.Number, Position = 6120 }; tabs19.Append(tabStop21); Indentation indentation36 = new Indentation() { Start = "6120", Hanging = "360" }; previousParagraphProperties8.Append(tabs19); previousParagraphProperties8.Append(indentation36); NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts1077 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties8.Append(runFonts1077); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText9 = new LevelText() { Val = "§" }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Tabs tabs20 = new Tabs(); TabStop tabStop22 = new TabStop() { Val = TabStopValues.Number, Position = 6840 }; tabs20.Append(tabStop22); Indentation indentation37 = new Indentation() { Start = "6840", Hanging = "360" }; previousParagraphProperties9.Append(tabs20); previousParagraphProperties9.Append(indentation37); NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts1078 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties9.Append(runFonts1078); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); level9.Append(numberingSymbolRunProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); AbstractNum abstractNum2 = new AbstractNum() { AbstractNumberId = 1 }; abstractNum2.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid2 = new Nsid() { Val = "1296366A" }; MultiLevelType multiLevelType2 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode2 = new TemplateCode() { Val = "675A410C" }; Level level10 = new Level() { LevelIndex = 0, TemplateCode = "183637AE" }; StartNumberingValue startNumberingValue10 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat10 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText10 = new LevelText() { Val = "%1)" }; LevelJustification levelJustification10 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties10 = new PreviousParagraphProperties(); Tabs tabs21 = new Tabs(); TabStop tabStop23 = new TabStop() { Val = TabStopValues.Number, Position = 1080 }; tabs21.Append(tabStop23); Indentation indentation38 = new Indentation() { Start = "1080", Hanging = "720" }; previousParagraphProperties10.Append(tabs21); previousParagraphProperties10.Append(indentation38); NumberingSymbolRunProperties numberingSymbolRunProperties10 = new NumberingSymbolRunProperties(); RunFonts runFonts1079 = new RunFonts() { Hint = FontTypeHintValues.Default, ComplexScript = "Times New Roman" }; numberingSymbolRunProperties10.Append(runFonts1079); level10.Append(startNumberingValue10); level10.Append(numberingFormat10); level10.Append(levelText10); level10.Append(levelJustification10); level10.Append(previousParagraphProperties10); level10.Append(numberingSymbolRunProperties10); Level level11 = new Level() { LevelIndex = 1, TemplateCode = "04090019", Tentative = true }; StartNumberingValue startNumberingValue11 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat11 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText11 = new LevelText() { Val = "%2." }; LevelJustification levelJustification11 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties11 = new PreviousParagraphProperties(); Tabs tabs22 = new Tabs(); TabStop tabStop24 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs22.Append(tabStop24); Indentation indentation39 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties11.Append(tabs22); previousParagraphProperties11.Append(indentation39); NumberingSymbolRunProperties numberingSymbolRunProperties11 = new NumberingSymbolRunProperties(); RunFonts runFonts1080 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties11.Append(runFonts1080); level11.Append(startNumberingValue11); level11.Append(numberingFormat11); level11.Append(levelText11); level11.Append(levelJustification11); level11.Append(previousParagraphProperties11); level11.Append(numberingSymbolRunProperties11); Level level12 = new Level() { LevelIndex = 2, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue12 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat12 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText12 = new LevelText() { Val = "%3." }; LevelJustification levelJustification12 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties12 = new PreviousParagraphProperties(); Tabs tabs23 = new Tabs(); TabStop tabStop25 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs23.Append(tabStop25); Indentation indentation40 = new Indentation() { Start = "2160", Hanging = "180" }; previousParagraphProperties12.Append(tabs23); previousParagraphProperties12.Append(indentation40); NumberingSymbolRunProperties numberingSymbolRunProperties12 = new NumberingSymbolRunProperties(); RunFonts runFonts1081 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties12.Append(runFonts1081); level12.Append(startNumberingValue12); level12.Append(numberingFormat12); level12.Append(levelText12); level12.Append(levelJustification12); level12.Append(previousParagraphProperties12); level12.Append(numberingSymbolRunProperties12); Level level13 = new Level() { LevelIndex = 3, TemplateCode = "0409000F", Tentative = true }; StartNumberingValue startNumberingValue13 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat13 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText13 = new LevelText() { Val = "%4." }; LevelJustification levelJustification13 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties13 = new PreviousParagraphProperties(); Tabs tabs24 = new Tabs(); TabStop tabStop26 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs24.Append(tabStop26); Indentation indentation41 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties13.Append(tabs24); previousParagraphProperties13.Append(indentation41); NumberingSymbolRunProperties numberingSymbolRunProperties13 = new NumberingSymbolRunProperties(); RunFonts runFonts1082 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties13.Append(runFonts1082); level13.Append(startNumberingValue13); level13.Append(numberingFormat13); level13.Append(levelText13); level13.Append(levelJustification13); level13.Append(previousParagraphProperties13); level13.Append(numberingSymbolRunProperties13); Level level14 = new Level() { LevelIndex = 4, TemplateCode = "04090019", Tentative = true }; StartNumberingValue startNumberingValue14 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat14 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText14 = new LevelText() { Val = "%5." }; LevelJustification levelJustification14 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties14 = new PreviousParagraphProperties(); Tabs tabs25 = new Tabs(); TabStop tabStop27 = new TabStop() { Val = TabStopValues.Number, Position = 3600 }; tabs25.Append(tabStop27); Indentation indentation42 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties14.Append(tabs25); previousParagraphProperties14.Append(indentation42); NumberingSymbolRunProperties numberingSymbolRunProperties14 = new NumberingSymbolRunProperties(); RunFonts runFonts1083 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties14.Append(runFonts1083); level14.Append(startNumberingValue14); level14.Append(numberingFormat14); level14.Append(levelText14); level14.Append(levelJustification14); level14.Append(previousParagraphProperties14); level14.Append(numberingSymbolRunProperties14); Level level15 = new Level() { LevelIndex = 5, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue15 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat15 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText15 = new LevelText() { Val = "%6." }; LevelJustification levelJustification15 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties15 = new PreviousParagraphProperties(); Tabs tabs26 = new Tabs(); TabStop tabStop28 = new TabStop() { Val = TabStopValues.Number, Position = 4320 }; tabs26.Append(tabStop28); Indentation indentation43 = new Indentation() { Start = "4320", Hanging = "180" }; previousParagraphProperties15.Append(tabs26); previousParagraphProperties15.Append(indentation43); NumberingSymbolRunProperties numberingSymbolRunProperties15 = new NumberingSymbolRunProperties(); RunFonts runFonts1084 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties15.Append(runFonts1084); level15.Append(startNumberingValue15); level15.Append(numberingFormat15); level15.Append(levelText15); level15.Append(levelJustification15); level15.Append(previousParagraphProperties15); level15.Append(numberingSymbolRunProperties15); Level level16 = new Level() { LevelIndex = 6, TemplateCode = "0409000F", Tentative = true }; StartNumberingValue startNumberingValue16 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat16 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText16 = new LevelText() { Val = "%7." }; LevelJustification levelJustification16 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties16 = new PreviousParagraphProperties(); Tabs tabs27 = new Tabs(); TabStop tabStop29 = new TabStop() { Val = TabStopValues.Number, Position = 5040 }; tabs27.Append(tabStop29); Indentation indentation44 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties16.Append(tabs27); previousParagraphProperties16.Append(indentation44); NumberingSymbolRunProperties numberingSymbolRunProperties16 = new NumberingSymbolRunProperties(); RunFonts runFonts1085 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties16.Append(runFonts1085); level16.Append(startNumberingValue16); level16.Append(numberingFormat16); level16.Append(levelText16); level16.Append(levelJustification16); level16.Append(previousParagraphProperties16); level16.Append(numberingSymbolRunProperties16); Level level17 = new Level() { LevelIndex = 7, TemplateCode = "04090019", Tentative = true }; StartNumberingValue startNumberingValue17 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat17 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText17 = new LevelText() { Val = "%8." }; LevelJustification levelJustification17 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties17 = new PreviousParagraphProperties(); Tabs tabs28 = new Tabs(); TabStop tabStop30 = new TabStop() { Val = TabStopValues.Number, Position = 5760 }; tabs28.Append(tabStop30); Indentation indentation45 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties17.Append(tabs28); previousParagraphProperties17.Append(indentation45); NumberingSymbolRunProperties numberingSymbolRunProperties17 = new NumberingSymbolRunProperties(); RunFonts runFonts1086 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties17.Append(runFonts1086); level17.Append(startNumberingValue17); level17.Append(numberingFormat17); level17.Append(levelText17); level17.Append(levelJustification17); level17.Append(previousParagraphProperties17); level17.Append(numberingSymbolRunProperties17); Level level18 = new Level() { LevelIndex = 8, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue18 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat18 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText18 = new LevelText() { Val = "%9." }; LevelJustification levelJustification18 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties18 = new PreviousParagraphProperties(); Tabs tabs29 = new Tabs(); TabStop tabStop31 = new TabStop() { Val = TabStopValues.Number, Position = 6480 }; tabs29.Append(tabStop31); Indentation indentation46 = new Indentation() { Start = "6480", Hanging = "180" }; previousParagraphProperties18.Append(tabs29); previousParagraphProperties18.Append(indentation46); NumberingSymbolRunProperties numberingSymbolRunProperties18 = new NumberingSymbolRunProperties(); RunFonts runFonts1087 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties18.Append(runFonts1087); level18.Append(startNumberingValue18); level18.Append(numberingFormat18); level18.Append(levelText18); level18.Append(levelJustification18); level18.Append(previousParagraphProperties18); level18.Append(numberingSymbolRunProperties18); abstractNum2.Append(nsid2); abstractNum2.Append(multiLevelType2); abstractNum2.Append(templateCode2); abstractNum2.Append(level10); abstractNum2.Append(level11); abstractNum2.Append(level12); abstractNum2.Append(level13); abstractNum2.Append(level14); abstractNum2.Append(level15); abstractNum2.Append(level16); abstractNum2.Append(level17); abstractNum2.Append(level18); AbstractNum abstractNum3 = new AbstractNum() { AbstractNumberId = 2 }; abstractNum3.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid3 = new Nsid() { Val = "32E81A4B" }; MultiLevelType multiLevelType3 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode3 = new TemplateCode() { Val = "5EA8BC10" }; Level level19 = new Level() { LevelIndex = 0, TemplateCode = "FCC81E08" }; StartNumberingValue startNumberingValue19 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat19 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText19 = new LevelText() { Val = "%1)" }; LevelJustification levelJustification19 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties19 = new PreviousParagraphProperties(); Tabs tabs30 = new Tabs(); TabStop tabStop32 = new TabStop() { Val = TabStopValues.Number, Position = 1080 }; tabs30.Append(tabStop32); Indentation indentation47 = new Indentation() { Start = "1080", Hanging = "720" }; previousParagraphProperties19.Append(tabs30); previousParagraphProperties19.Append(indentation47); NumberingSymbolRunProperties numberingSymbolRunProperties19 = new NumberingSymbolRunProperties(); RunFonts runFonts1088 = new RunFonts() { Hint = FontTypeHintValues.Default, ComplexScript = "Times New Roman" }; numberingSymbolRunProperties19.Append(runFonts1088); level19.Append(startNumberingValue19); level19.Append(numberingFormat19); level19.Append(levelText19); level19.Append(levelJustification19); level19.Append(previousParagraphProperties19); level19.Append(numberingSymbolRunProperties19); Level level20 = new Level() { LevelIndex = 1, TemplateCode = "04090019" }; StartNumberingValue startNumberingValue20 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat20 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText20 = new LevelText() { Val = "%2." }; LevelJustification levelJustification20 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties20 = new PreviousParagraphProperties(); Tabs tabs31 = new Tabs(); TabStop tabStop33 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs31.Append(tabStop33); Indentation indentation48 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties20.Append(tabs31); previousParagraphProperties20.Append(indentation48); NumberingSymbolRunProperties numberingSymbolRunProperties20 = new NumberingSymbolRunProperties(); RunFonts runFonts1089 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties20.Append(runFonts1089); level20.Append(startNumberingValue20); level20.Append(numberingFormat20); level20.Append(levelText20); level20.Append(levelJustification20); level20.Append(previousParagraphProperties20); level20.Append(numberingSymbolRunProperties20); Level level21 = new Level() { LevelIndex = 2, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue21 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat21 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText21 = new LevelText() { Val = "%3." }; LevelJustification levelJustification21 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties21 = new PreviousParagraphProperties(); Tabs tabs32 = new Tabs(); TabStop tabStop34 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs32.Append(tabStop34); Indentation indentation49 = new Indentation() { Start = "2160", Hanging = "180" }; previousParagraphProperties21.Append(tabs32); previousParagraphProperties21.Append(indentation49); NumberingSymbolRunProperties numberingSymbolRunProperties21 = new NumberingSymbolRunProperties(); RunFonts runFonts1090 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties21.Append(runFonts1090); level21.Append(startNumberingValue21); level21.Append(numberingFormat21); level21.Append(levelText21); level21.Append(levelJustification21); level21.Append(previousParagraphProperties21); level21.Append(numberingSymbolRunProperties21); Level level22 = new Level() { LevelIndex = 3, TemplateCode = "0409000F", Tentative = true }; StartNumberingValue startNumberingValue22 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat22 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText22 = new LevelText() { Val = "%4." }; LevelJustification levelJustification22 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties22 = new PreviousParagraphProperties(); Tabs tabs33 = new Tabs(); TabStop tabStop35 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs33.Append(tabStop35); Indentation indentation50 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties22.Append(tabs33); previousParagraphProperties22.Append(indentation50); NumberingSymbolRunProperties numberingSymbolRunProperties22 = new NumberingSymbolRunProperties(); RunFonts runFonts1091 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties22.Append(runFonts1091); level22.Append(startNumberingValue22); level22.Append(numberingFormat22); level22.Append(levelText22); level22.Append(levelJustification22); level22.Append(previousParagraphProperties22); level22.Append(numberingSymbolRunProperties22); Level level23 = new Level() { LevelIndex = 4, TemplateCode = "04090019", Tentative = true }; StartNumberingValue startNumberingValue23 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat23 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText23 = new LevelText() { Val = "%5." }; LevelJustification levelJustification23 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties23 = new PreviousParagraphProperties(); Tabs tabs34 = new Tabs(); TabStop tabStop36 = new TabStop() { Val = TabStopValues.Number, Position = 3600 }; tabs34.Append(tabStop36); Indentation indentation51 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties23.Append(tabs34); previousParagraphProperties23.Append(indentation51); NumberingSymbolRunProperties numberingSymbolRunProperties23 = new NumberingSymbolRunProperties(); RunFonts runFonts1092 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties23.Append(runFonts1092); level23.Append(startNumberingValue23); level23.Append(numberingFormat23); level23.Append(levelText23); level23.Append(levelJustification23); level23.Append(previousParagraphProperties23); level23.Append(numberingSymbolRunProperties23); Level level24 = new Level() { LevelIndex = 5, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue24 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat24 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText24 = new LevelText() { Val = "%6." }; LevelJustification levelJustification24 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties24 = new PreviousParagraphProperties(); Tabs tabs35 = new Tabs(); TabStop tabStop37 = new TabStop() { Val = TabStopValues.Number, Position = 4320 }; tabs35.Append(tabStop37); Indentation indentation52 = new Indentation() { Start = "4320", Hanging = "180" }; previousParagraphProperties24.Append(tabs35); previousParagraphProperties24.Append(indentation52); NumberingSymbolRunProperties numberingSymbolRunProperties24 = new NumberingSymbolRunProperties(); RunFonts runFonts1093 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties24.Append(runFonts1093); level24.Append(startNumberingValue24); level24.Append(numberingFormat24); level24.Append(levelText24); level24.Append(levelJustification24); level24.Append(previousParagraphProperties24); level24.Append(numberingSymbolRunProperties24); Level level25 = new Level() { LevelIndex = 6, TemplateCode = "0409000F", Tentative = true }; StartNumberingValue startNumberingValue25 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat25 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText25 = new LevelText() { Val = "%7." }; LevelJustification levelJustification25 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties25 = new PreviousParagraphProperties(); Tabs tabs36 = new Tabs(); TabStop tabStop38 = new TabStop() { Val = TabStopValues.Number, Position = 5040 }; tabs36.Append(tabStop38); Indentation indentation53 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties25.Append(tabs36); previousParagraphProperties25.Append(indentation53); NumberingSymbolRunProperties numberingSymbolRunProperties25 = new NumberingSymbolRunProperties(); RunFonts runFonts1094 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties25.Append(runFonts1094); level25.Append(startNumberingValue25); level25.Append(numberingFormat25); level25.Append(levelText25); level25.Append(levelJustification25); level25.Append(previousParagraphProperties25); level25.Append(numberingSymbolRunProperties25); Level level26 = new Level() { LevelIndex = 7, TemplateCode = "04090019", Tentative = true }; StartNumberingValue startNumberingValue26 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat26 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText26 = new LevelText() { Val = "%8." }; LevelJustification levelJustification26 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties26 = new PreviousParagraphProperties(); Tabs tabs37 = new Tabs(); TabStop tabStop39 = new TabStop() { Val = TabStopValues.Number, Position = 5760 }; tabs37.Append(tabStop39); Indentation indentation54 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties26.Append(tabs37); previousParagraphProperties26.Append(indentation54); NumberingSymbolRunProperties numberingSymbolRunProperties26 = new NumberingSymbolRunProperties(); RunFonts runFonts1095 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties26.Append(runFonts1095); level26.Append(startNumberingValue26); level26.Append(numberingFormat26); level26.Append(levelText26); level26.Append(levelJustification26); level26.Append(previousParagraphProperties26); level26.Append(numberingSymbolRunProperties26); Level level27 = new Level() { LevelIndex = 8, TemplateCode = "0409001B", Tentative = true }; StartNumberingValue startNumberingValue27 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat27 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText27 = new LevelText() { Val = "%9." }; LevelJustification levelJustification27 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties27 = new PreviousParagraphProperties(); Tabs tabs38 = new Tabs(); TabStop tabStop40 = new TabStop() { Val = TabStopValues.Number, Position = 6480 }; tabs38.Append(tabStop40); Indentation indentation55 = new Indentation() { Start = "6480", Hanging = "180" }; previousParagraphProperties27.Append(tabs38); previousParagraphProperties27.Append(indentation55); NumberingSymbolRunProperties numberingSymbolRunProperties27 = new NumberingSymbolRunProperties(); RunFonts runFonts1096 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties27.Append(runFonts1096); level27.Append(startNumberingValue27); level27.Append(numberingFormat27); level27.Append(levelText27); level27.Append(levelJustification27); level27.Append(previousParagraphProperties27); level27.Append(numberingSymbolRunProperties27); abstractNum3.Append(nsid3); abstractNum3.Append(multiLevelType3); abstractNum3.Append(templateCode3); abstractNum3.Append(level19); abstractNum3.Append(level20); abstractNum3.Append(level21); abstractNum3.Append(level22); abstractNum3.Append(level23); abstractNum3.Append(level24); abstractNum3.Append(level25); abstractNum3.Append(level26); abstractNum3.Append(level27); AbstractNum abstractNum4 = new AbstractNum() { AbstractNumberId = 3 }; abstractNum4.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid4 = new Nsid() { Val = "3A783B25" }; MultiLevelType multiLevelType4 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode4 = new TemplateCode() { Val = "93AEE3CA" }; Level level28 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue28 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat28 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText28 = new LevelText() { Val = "%1." }; LevelJustification levelJustification28 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties28 = new PreviousParagraphProperties(); Tabs tabs39 = new Tabs(); TabStop tabStop41 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs39.Append(tabStop41); Indentation indentation56 = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties28.Append(tabs39); previousParagraphProperties28.Append(indentation56); NumberingSymbolRunProperties numberingSymbolRunProperties28 = new NumberingSymbolRunProperties(); RunFonts runFonts1097 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties28.Append(runFonts1097); level28.Append(startNumberingValue28); level28.Append(numberingFormat28); level28.Append(levelText28); level28.Append(levelJustification28); level28.Append(previousParagraphProperties28); level28.Append(numberingSymbolRunProperties28); Level level29 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue29 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat29 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText29 = new LevelText() { Val = "%2." }; LevelJustification levelJustification29 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties29 = new PreviousParagraphProperties(); Tabs tabs40 = new Tabs(); TabStop tabStop42 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs40.Append(tabStop42); Indentation indentation57 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties29.Append(tabs40); previousParagraphProperties29.Append(indentation57); NumberingSymbolRunProperties numberingSymbolRunProperties29 = new NumberingSymbolRunProperties(); RunFonts runFonts1098 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties29.Append(runFonts1098); level29.Append(startNumberingValue29); level29.Append(numberingFormat29); level29.Append(levelText29); level29.Append(levelJustification29); level29.Append(previousParagraphProperties29); level29.Append(numberingSymbolRunProperties29); Level level30 = new Level() { LevelIndex = 2, Tentative = true }; StartNumberingValue startNumberingValue30 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat30 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText30 = new LevelText() { Val = "%3." }; LevelJustification levelJustification30 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties30 = new PreviousParagraphProperties(); Tabs tabs41 = new Tabs(); TabStop tabStop43 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs41.Append(tabStop43); Indentation indentation58 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties30.Append(tabs41); previousParagraphProperties30.Append(indentation58); NumberingSymbolRunProperties numberingSymbolRunProperties30 = new NumberingSymbolRunProperties(); RunFonts runFonts1099 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties30.Append(runFonts1099); level30.Append(startNumberingValue30); level30.Append(numberingFormat30); level30.Append(levelText30); level30.Append(levelJustification30); level30.Append(previousParagraphProperties30); level30.Append(numberingSymbolRunProperties30); Level level31 = new Level() { LevelIndex = 3, Tentative = true }; StartNumberingValue startNumberingValue31 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat31 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText31 = new LevelText() { Val = "%4." }; LevelJustification levelJustification31 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties31 = new PreviousParagraphProperties(); Tabs tabs42 = new Tabs(); TabStop tabStop44 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs42.Append(tabStop44); Indentation indentation59 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties31.Append(tabs42); previousParagraphProperties31.Append(indentation59); NumberingSymbolRunProperties numberingSymbolRunProperties31 = new NumberingSymbolRunProperties(); RunFonts runFonts1100 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties31.Append(runFonts1100); level31.Append(startNumberingValue31); level31.Append(numberingFormat31); level31.Append(levelText31); level31.Append(levelJustification31); level31.Append(previousParagraphProperties31); level31.Append(numberingSymbolRunProperties31); Level level32 = new Level() { LevelIndex = 4, Tentative = true }; StartNumberingValue startNumberingValue32 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat32 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText32 = new LevelText() { Val = "%5." }; LevelJustification levelJustification32 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties32 = new PreviousParagraphProperties(); Tabs tabs43 = new Tabs(); TabStop tabStop45 = new TabStop() { Val = TabStopValues.Number, Position = 3600 }; tabs43.Append(tabStop45); Indentation indentation60 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties32.Append(tabs43); previousParagraphProperties32.Append(indentation60); NumberingSymbolRunProperties numberingSymbolRunProperties32 = new NumberingSymbolRunProperties(); RunFonts runFonts1101 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties32.Append(runFonts1101); level32.Append(startNumberingValue32); level32.Append(numberingFormat32); level32.Append(levelText32); level32.Append(levelJustification32); level32.Append(previousParagraphProperties32); level32.Append(numberingSymbolRunProperties32); Level level33 = new Level() { LevelIndex = 5, Tentative = true }; StartNumberingValue startNumberingValue33 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat33 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText33 = new LevelText() { Val = "%6." }; LevelJustification levelJustification33 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties33 = new PreviousParagraphProperties(); Tabs tabs44 = new Tabs(); TabStop tabStop46 = new TabStop() { Val = TabStopValues.Number, Position = 4320 }; tabs44.Append(tabStop46); Indentation indentation61 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties33.Append(tabs44); previousParagraphProperties33.Append(indentation61); NumberingSymbolRunProperties numberingSymbolRunProperties33 = new NumberingSymbolRunProperties(); RunFonts runFonts1102 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties33.Append(runFonts1102); level33.Append(startNumberingValue33); level33.Append(numberingFormat33); level33.Append(levelText33); level33.Append(levelJustification33); level33.Append(previousParagraphProperties33); level33.Append(numberingSymbolRunProperties33); Level level34 = new Level() { LevelIndex = 6, Tentative = true }; StartNumberingValue startNumberingValue34 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat34 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText34 = new LevelText() { Val = "%7." }; LevelJustification levelJustification34 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties34 = new PreviousParagraphProperties(); Tabs tabs45 = new Tabs(); TabStop tabStop47 = new TabStop() { Val = TabStopValues.Number, Position = 5040 }; tabs45.Append(tabStop47); Indentation indentation62 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties34.Append(tabs45); previousParagraphProperties34.Append(indentation62); NumberingSymbolRunProperties numberingSymbolRunProperties34 = new NumberingSymbolRunProperties(); RunFonts runFonts1103 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties34.Append(runFonts1103); level34.Append(startNumberingValue34); level34.Append(numberingFormat34); level34.Append(levelText34); level34.Append(levelJustification34); level34.Append(previousParagraphProperties34); level34.Append(numberingSymbolRunProperties34); Level level35 = new Level() { LevelIndex = 7, Tentative = true }; StartNumberingValue startNumberingValue35 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat35 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText35 = new LevelText() { Val = "%8." }; LevelJustification levelJustification35 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties35 = new PreviousParagraphProperties(); Tabs tabs46 = new Tabs(); TabStop tabStop48 = new TabStop() { Val = TabStopValues.Number, Position = 5760 }; tabs46.Append(tabStop48); Indentation indentation63 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties35.Append(tabs46); previousParagraphProperties35.Append(indentation63); NumberingSymbolRunProperties numberingSymbolRunProperties35 = new NumberingSymbolRunProperties(); RunFonts runFonts1104 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties35.Append(runFonts1104); level35.Append(startNumberingValue35); level35.Append(numberingFormat35); level35.Append(levelText35); level35.Append(levelJustification35); level35.Append(previousParagraphProperties35); level35.Append(numberingSymbolRunProperties35); Level level36 = new Level() { LevelIndex = 8, Tentative = true }; StartNumberingValue startNumberingValue36 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat36 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText36 = new LevelText() { Val = "%9." }; LevelJustification levelJustification36 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties36 = new PreviousParagraphProperties(); Tabs tabs47 = new Tabs(); TabStop tabStop49 = new TabStop() { Val = TabStopValues.Number, Position = 6480 }; tabs47.Append(tabStop49); Indentation indentation64 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties36.Append(tabs47); previousParagraphProperties36.Append(indentation64); NumberingSymbolRunProperties numberingSymbolRunProperties36 = new NumberingSymbolRunProperties(); RunFonts runFonts1105 = new RunFonts() { ComplexScript = "Times New Roman" }; numberingSymbolRunProperties36.Append(runFonts1105); level36.Append(startNumberingValue36); level36.Append(numberingFormat36); level36.Append(levelText36); level36.Append(levelJustification36); level36.Append(previousParagraphProperties36); level36.Append(numberingSymbolRunProperties36); abstractNum4.Append(nsid4); abstractNum4.Append(multiLevelType4); abstractNum4.Append(templateCode4); abstractNum4.Append(level28); abstractNum4.Append(level29); abstractNum4.Append(level30); abstractNum4.Append(level31); abstractNum4.Append(level32); abstractNum4.Append(level33); abstractNum4.Append(level34); abstractNum4.Append(level35); abstractNum4.Append(level36); AbstractNum abstractNum5 = new AbstractNum() { AbstractNumberId = 4 }; abstractNum5.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid5 = new Nsid() { Val = "3ABB4F29" }; MultiLevelType multiLevelType5 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode5 = new TemplateCode() { Val = "C38A21FA" }; Level level37 = new Level() { LevelIndex = 0, TemplateCode = "560ED3AA" }; NumberingFormat numberingFormat37 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText37 = new LevelText() { Val = "-" }; LevelJustification levelJustification37 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties37 = new PreviousParagraphProperties(); Indentation indentation65 = new Indentation() { Start = "1080", Hanging = "360" }; previousParagraphProperties37.Append(indentation65); NumberingSymbolRunProperties numberingSymbolRunProperties37 = new NumberingSymbolRunProperties(); RunFonts runFonts1106 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Calibri", HighAnsi = "Calibri", EastAsia = "Times New Roman" }; numberingSymbolRunProperties37.Append(runFonts1106); level37.Append(numberingFormat37); level37.Append(levelText37); level37.Append(levelJustification37); level37.Append(previousParagraphProperties37); level37.Append(numberingSymbolRunProperties37); Level level38 = new Level() { LevelIndex = 1, TemplateCode = "04090003" }; StartNumberingValue startNumberingValue37 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat38 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText38 = new LevelText() { Val = "o" }; LevelJustification levelJustification38 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties38 = new PreviousParagraphProperties(); Indentation indentation66 = new Indentation() { Start = "1800", Hanging = "360" }; previousParagraphProperties38.Append(indentation66); NumberingSymbolRunProperties numberingSymbolRunProperties38 = new NumberingSymbolRunProperties(); RunFonts runFonts1107 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties38.Append(runFonts1107); level38.Append(startNumberingValue37); level38.Append(numberingFormat38); level38.Append(levelText38); level38.Append(levelJustification38); level38.Append(previousParagraphProperties38); level38.Append(numberingSymbolRunProperties38); Level level39 = new Level() { LevelIndex = 2, TemplateCode = "04090005" }; StartNumberingValue startNumberingValue38 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat39 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText39 = new LevelText() { Val = "§" }; LevelJustification levelJustification39 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties39 = new PreviousParagraphProperties(); Indentation indentation67 = new Indentation() { Start = "2520", Hanging = "360" }; previousParagraphProperties39.Append(indentation67); NumberingSymbolRunProperties numberingSymbolRunProperties39 = new NumberingSymbolRunProperties(); RunFonts runFonts1108 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties39.Append(runFonts1108); level39.Append(startNumberingValue38); level39.Append(numberingFormat39); level39.Append(levelText39); level39.Append(levelJustification39); level39.Append(previousParagraphProperties39); level39.Append(numberingSymbolRunProperties39); Level level40 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue39 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat40 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText40 = new LevelText() { Val = "·" }; LevelJustification levelJustification40 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties40 = new PreviousParagraphProperties(); Indentation indentation68 = new Indentation() { Start = "3240", Hanging = "360" }; previousParagraphProperties40.Append(indentation68); NumberingSymbolRunProperties numberingSymbolRunProperties40 = new NumberingSymbolRunProperties(); RunFonts runFonts1109 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties40.Append(runFonts1109); level40.Append(startNumberingValue39); level40.Append(numberingFormat40); level40.Append(levelText40); level40.Append(levelJustification40); level40.Append(previousParagraphProperties40); level40.Append(numberingSymbolRunProperties40); Level level41 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue40 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat41 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText41 = new LevelText() { Val = "o" }; LevelJustification levelJustification41 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties41 = new PreviousParagraphProperties(); Indentation indentation69 = new Indentation() { Start = "3960", Hanging = "360" }; previousParagraphProperties41.Append(indentation69); NumberingSymbolRunProperties numberingSymbolRunProperties41 = new NumberingSymbolRunProperties(); RunFonts runFonts1110 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties41.Append(runFonts1110); level41.Append(startNumberingValue40); level41.Append(numberingFormat41); level41.Append(levelText41); level41.Append(levelJustification41); level41.Append(previousParagraphProperties41); level41.Append(numberingSymbolRunProperties41); Level level42 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue41 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat42 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText42 = new LevelText() { Val = "§" }; LevelJustification levelJustification42 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties42 = new PreviousParagraphProperties(); Indentation indentation70 = new Indentation() { Start = "4680", Hanging = "360" }; previousParagraphProperties42.Append(indentation70); NumberingSymbolRunProperties numberingSymbolRunProperties42 = new NumberingSymbolRunProperties(); RunFonts runFonts1111 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties42.Append(runFonts1111); level42.Append(startNumberingValue41); level42.Append(numberingFormat42); level42.Append(levelText42); level42.Append(levelJustification42); level42.Append(previousParagraphProperties42); level42.Append(numberingSymbolRunProperties42); Level level43 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue42 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat43 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText43 = new LevelText() { Val = "·" }; LevelJustification levelJustification43 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties43 = new PreviousParagraphProperties(); Indentation indentation71 = new Indentation() { Start = "5400", Hanging = "360" }; previousParagraphProperties43.Append(indentation71); NumberingSymbolRunProperties numberingSymbolRunProperties43 = new NumberingSymbolRunProperties(); RunFonts runFonts1112 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties43.Append(runFonts1112); level43.Append(startNumberingValue42); level43.Append(numberingFormat43); level43.Append(levelText43); level43.Append(levelJustification43); level43.Append(previousParagraphProperties43); level43.Append(numberingSymbolRunProperties43); Level level44 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue43 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat44 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText44 = new LevelText() { Val = "o" }; LevelJustification levelJustification44 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties44 = new PreviousParagraphProperties(); Indentation indentation72 = new Indentation() { Start = "6120", Hanging = "360" }; previousParagraphProperties44.Append(indentation72); NumberingSymbolRunProperties numberingSymbolRunProperties44 = new NumberingSymbolRunProperties(); RunFonts runFonts1113 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties44.Append(runFonts1113); level44.Append(startNumberingValue43); level44.Append(numberingFormat44); level44.Append(levelText44); level44.Append(levelJustification44); level44.Append(previousParagraphProperties44); level44.Append(numberingSymbolRunProperties44); Level level45 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue44 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat45 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText45 = new LevelText() { Val = "§" }; LevelJustification levelJustification45 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties45 = new PreviousParagraphProperties(); Indentation indentation73 = new Indentation() { Start = "6840", Hanging = "360" }; previousParagraphProperties45.Append(indentation73); NumberingSymbolRunProperties numberingSymbolRunProperties45 = new NumberingSymbolRunProperties(); RunFonts runFonts1114 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties45.Append(runFonts1114); level45.Append(startNumberingValue44); level45.Append(numberingFormat45); level45.Append(levelText45); level45.Append(levelJustification45); level45.Append(previousParagraphProperties45); level45.Append(numberingSymbolRunProperties45); abstractNum5.Append(nsid5); abstractNum5.Append(multiLevelType5); abstractNum5.Append(templateCode5); abstractNum5.Append(level37); abstractNum5.Append(level38); abstractNum5.Append(level39); abstractNum5.Append(level40); abstractNum5.Append(level41); abstractNum5.Append(level42); abstractNum5.Append(level43); abstractNum5.Append(level44); abstractNum5.Append(level45); AbstractNum abstractNum6 = new AbstractNum() { AbstractNumberId = 5 }; abstractNum6.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid6 = new Nsid() { Val = "3F5F553F" }; MultiLevelType multiLevelType6 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode6 = new TemplateCode() { Val = "2BDAC302" }; Level level46 = new Level() { LevelIndex = 0, TemplateCode = "04090001" }; StartNumberingValue startNumberingValue45 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat46 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText46 = new LevelText() { Val = "·" }; LevelJustification levelJustification46 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties46 = new PreviousParagraphProperties(); Indentation indentation74 = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties46.Append(indentation74); NumberingSymbolRunProperties numberingSymbolRunProperties46 = new NumberingSymbolRunProperties(); RunFonts runFonts1115 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties46.Append(runFonts1115); level46.Append(startNumberingValue45); level46.Append(numberingFormat46); level46.Append(levelText46); level46.Append(levelJustification46); level46.Append(previousParagraphProperties46); level46.Append(numberingSymbolRunProperties46); Level level47 = new Level() { LevelIndex = 1, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue46 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat47 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText47 = new LevelText() { Val = "o" }; LevelJustification levelJustification47 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties47 = new PreviousParagraphProperties(); Indentation indentation75 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties47.Append(indentation75); NumberingSymbolRunProperties numberingSymbolRunProperties47 = new NumberingSymbolRunProperties(); RunFonts runFonts1116 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties47.Append(runFonts1116); level47.Append(startNumberingValue46); level47.Append(numberingFormat47); level47.Append(levelText47); level47.Append(levelJustification47); level47.Append(previousParagraphProperties47); level47.Append(numberingSymbolRunProperties47); Level level48 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue47 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat48 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText48 = new LevelText() { Val = "§" }; LevelJustification levelJustification48 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties48 = new PreviousParagraphProperties(); Indentation indentation76 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties48.Append(indentation76); NumberingSymbolRunProperties numberingSymbolRunProperties48 = new NumberingSymbolRunProperties(); RunFonts runFonts1117 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties48.Append(runFonts1117); level48.Append(startNumberingValue47); level48.Append(numberingFormat48); level48.Append(levelText48); level48.Append(levelJustification48); level48.Append(previousParagraphProperties48); level48.Append(numberingSymbolRunProperties48); Level level49 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue48 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat49 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText49 = new LevelText() { Val = "·" }; LevelJustification levelJustification49 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties49 = new PreviousParagraphProperties(); Indentation indentation77 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties49.Append(indentation77); NumberingSymbolRunProperties numberingSymbolRunProperties49 = new NumberingSymbolRunProperties(); RunFonts runFonts1118 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties49.Append(runFonts1118); level49.Append(startNumberingValue48); level49.Append(numberingFormat49); level49.Append(levelText49); level49.Append(levelJustification49); level49.Append(previousParagraphProperties49); level49.Append(numberingSymbolRunProperties49); Level level50 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue49 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat50 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText50 = new LevelText() { Val = "o" }; LevelJustification levelJustification50 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties50 = new PreviousParagraphProperties(); Indentation indentation78 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties50.Append(indentation78); NumberingSymbolRunProperties numberingSymbolRunProperties50 = new NumberingSymbolRunProperties(); RunFonts runFonts1119 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties50.Append(runFonts1119); level50.Append(startNumberingValue49); level50.Append(numberingFormat50); level50.Append(levelText50); level50.Append(levelJustification50); level50.Append(previousParagraphProperties50); level50.Append(numberingSymbolRunProperties50); Level level51 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue50 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat51 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText51 = new LevelText() { Val = "§" }; LevelJustification levelJustification51 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties51 = new PreviousParagraphProperties(); Indentation indentation79 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties51.Append(indentation79); NumberingSymbolRunProperties numberingSymbolRunProperties51 = new NumberingSymbolRunProperties(); RunFonts runFonts1120 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties51.Append(runFonts1120); level51.Append(startNumberingValue50); level51.Append(numberingFormat51); level51.Append(levelText51); level51.Append(levelJustification51); level51.Append(previousParagraphProperties51); level51.Append(numberingSymbolRunProperties51); Level level52 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue51 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat52 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText52 = new LevelText() { Val = "·" }; LevelJustification levelJustification52 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties52 = new PreviousParagraphProperties(); Indentation indentation80 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties52.Append(indentation80); NumberingSymbolRunProperties numberingSymbolRunProperties52 = new NumberingSymbolRunProperties(); RunFonts runFonts1121 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties52.Append(runFonts1121); level52.Append(startNumberingValue51); level52.Append(numberingFormat52); level52.Append(levelText52); level52.Append(levelJustification52); level52.Append(previousParagraphProperties52); level52.Append(numberingSymbolRunProperties52); Level level53 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue52 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat53 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText53 = new LevelText() { Val = "o" }; LevelJustification levelJustification53 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties53 = new PreviousParagraphProperties(); Indentation indentation81 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties53.Append(indentation81); NumberingSymbolRunProperties numberingSymbolRunProperties53 = new NumberingSymbolRunProperties(); RunFonts runFonts1122 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties53.Append(runFonts1122); level53.Append(startNumberingValue52); level53.Append(numberingFormat53); level53.Append(levelText53); level53.Append(levelJustification53); level53.Append(previousParagraphProperties53); level53.Append(numberingSymbolRunProperties53); Level level54 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue53 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat54 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText54 = new LevelText() { Val = "§" }; LevelJustification levelJustification54 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties54 = new PreviousParagraphProperties(); Indentation indentation82 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties54.Append(indentation82); NumberingSymbolRunProperties numberingSymbolRunProperties54 = new NumberingSymbolRunProperties(); RunFonts runFonts1123 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties54.Append(runFonts1123); level54.Append(startNumberingValue53); level54.Append(numberingFormat54); level54.Append(levelText54); level54.Append(levelJustification54); level54.Append(previousParagraphProperties54); level54.Append(numberingSymbolRunProperties54); abstractNum6.Append(nsid6); abstractNum6.Append(multiLevelType6); abstractNum6.Append(templateCode6); abstractNum6.Append(level46); abstractNum6.Append(level47); abstractNum6.Append(level48); abstractNum6.Append(level49); abstractNum6.Append(level50); abstractNum6.Append(level51); abstractNum6.Append(level52); abstractNum6.Append(level53); abstractNum6.Append(level54); AbstractNum abstractNum7 = new AbstractNum() { AbstractNumberId = 6 }; abstractNum7.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid7 = new Nsid() { Val = "4EC82650" }; MultiLevelType multiLevelType7 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode7 = new TemplateCode() { Val = "1A66371E" }; Level level55 = new Level() { LevelIndex = 0, TemplateCode = "04090001" }; StartNumberingValue startNumberingValue54 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat55 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText55 = new LevelText() { Val = "·" }; LevelJustification levelJustification55 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties55 = new PreviousParagraphProperties(); Indentation indentation83 = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties55.Append(indentation83); NumberingSymbolRunProperties numberingSymbolRunProperties55 = new NumberingSymbolRunProperties(); RunFonts runFonts1124 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties55.Append(runFonts1124); level55.Append(startNumberingValue54); level55.Append(numberingFormat55); level55.Append(levelText55); level55.Append(levelJustification55); level55.Append(previousParagraphProperties55); level55.Append(numberingSymbolRunProperties55); Level level56 = new Level() { LevelIndex = 1, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue55 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat56 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText56 = new LevelText() { Val = "o" }; LevelJustification levelJustification56 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties56 = new PreviousParagraphProperties(); Indentation indentation84 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties56.Append(indentation84); NumberingSymbolRunProperties numberingSymbolRunProperties56 = new NumberingSymbolRunProperties(); RunFonts runFonts1125 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties56.Append(runFonts1125); level56.Append(startNumberingValue55); level56.Append(numberingFormat56); level56.Append(levelText56); level56.Append(levelJustification56); level56.Append(previousParagraphProperties56); level56.Append(numberingSymbolRunProperties56); Level level57 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue56 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat57 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText57 = new LevelText() { Val = "§" }; LevelJustification levelJustification57 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties57 = new PreviousParagraphProperties(); Indentation indentation85 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties57.Append(indentation85); NumberingSymbolRunProperties numberingSymbolRunProperties57 = new NumberingSymbolRunProperties(); RunFonts runFonts1126 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties57.Append(runFonts1126); level57.Append(startNumberingValue56); level57.Append(numberingFormat57); level57.Append(levelText57); level57.Append(levelJustification57); level57.Append(previousParagraphProperties57); level57.Append(numberingSymbolRunProperties57); Level level58 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue57 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat58 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText58 = new LevelText() { Val = "·" }; LevelJustification levelJustification58 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties58 = new PreviousParagraphProperties(); Indentation indentation86 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties58.Append(indentation86); NumberingSymbolRunProperties numberingSymbolRunProperties58 = new NumberingSymbolRunProperties(); RunFonts runFonts1127 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties58.Append(runFonts1127); level58.Append(startNumberingValue57); level58.Append(numberingFormat58); level58.Append(levelText58); level58.Append(levelJustification58); level58.Append(previousParagraphProperties58); level58.Append(numberingSymbolRunProperties58); Level level59 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue58 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat59 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText59 = new LevelText() { Val = "o" }; LevelJustification levelJustification59 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties59 = new PreviousParagraphProperties(); Indentation indentation87 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties59.Append(indentation87); NumberingSymbolRunProperties numberingSymbolRunProperties59 = new NumberingSymbolRunProperties(); RunFonts runFonts1128 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties59.Append(runFonts1128); level59.Append(startNumberingValue58); level59.Append(numberingFormat59); level59.Append(levelText59); level59.Append(levelJustification59); level59.Append(previousParagraphProperties59); level59.Append(numberingSymbolRunProperties59); Level level60 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue59 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat60 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText60 = new LevelText() { Val = "§" }; LevelJustification levelJustification60 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties60 = new PreviousParagraphProperties(); Indentation indentation88 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties60.Append(indentation88); NumberingSymbolRunProperties numberingSymbolRunProperties60 = new NumberingSymbolRunProperties(); RunFonts runFonts1129 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties60.Append(runFonts1129); level60.Append(startNumberingValue59); level60.Append(numberingFormat60); level60.Append(levelText60); level60.Append(levelJustification60); level60.Append(previousParagraphProperties60); level60.Append(numberingSymbolRunProperties60); Level level61 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue60 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat61 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText61 = new LevelText() { Val = "·" }; LevelJustification levelJustification61 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties61 = new PreviousParagraphProperties(); Indentation indentation89 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties61.Append(indentation89); NumberingSymbolRunProperties numberingSymbolRunProperties61 = new NumberingSymbolRunProperties(); RunFonts runFonts1130 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties61.Append(runFonts1130); level61.Append(startNumberingValue60); level61.Append(numberingFormat61); level61.Append(levelText61); level61.Append(levelJustification61); level61.Append(previousParagraphProperties61); level61.Append(numberingSymbolRunProperties61); Level level62 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue61 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat62 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText62 = new LevelText() { Val = "o" }; LevelJustification levelJustification62 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties62 = new PreviousParagraphProperties(); Indentation indentation90 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties62.Append(indentation90); NumberingSymbolRunProperties numberingSymbolRunProperties62 = new NumberingSymbolRunProperties(); RunFonts runFonts1131 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties62.Append(runFonts1131); level62.Append(startNumberingValue61); level62.Append(numberingFormat62); level62.Append(levelText62); level62.Append(levelJustification62); level62.Append(previousParagraphProperties62); level62.Append(numberingSymbolRunProperties62); Level level63 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue62 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat63 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText63 = new LevelText() { Val = "§" }; LevelJustification levelJustification63 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties63 = new PreviousParagraphProperties(); Indentation indentation91 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties63.Append(indentation91); NumberingSymbolRunProperties numberingSymbolRunProperties63 = new NumberingSymbolRunProperties(); RunFonts runFonts1132 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties63.Append(runFonts1132); level63.Append(startNumberingValue62); level63.Append(numberingFormat63); level63.Append(levelText63); level63.Append(levelJustification63); level63.Append(previousParagraphProperties63); level63.Append(numberingSymbolRunProperties63); abstractNum7.Append(nsid7); abstractNum7.Append(multiLevelType7); abstractNum7.Append(templateCode7); abstractNum7.Append(level55); abstractNum7.Append(level56); abstractNum7.Append(level57); abstractNum7.Append(level58); abstractNum7.Append(level59); abstractNum7.Append(level60); abstractNum7.Append(level61); abstractNum7.Append(level62); abstractNum7.Append(level63); AbstractNum abstractNum8 = new AbstractNum() { AbstractNumberId = 7 }; abstractNum8.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid8 = new Nsid() { Val = "558D3D84" }; MultiLevelType multiLevelType8 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode8 = new TemplateCode() { Val = "53183C44" }; Level level64 = new Level() { LevelIndex = 0, TemplateCode = "04090003" }; StartNumberingValue startNumberingValue63 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat64 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText64 = new LevelText() { Val = "o" }; LevelJustification levelJustification64 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties64 = new PreviousParagraphProperties(); Indentation indentation92 = new Indentation() { Start = "360", Hanging = "360" }; previousParagraphProperties64.Append(indentation92); NumberingSymbolRunProperties numberingSymbolRunProperties64 = new NumberingSymbolRunProperties(); RunFonts runFonts1133 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties64.Append(runFonts1133); level64.Append(startNumberingValue63); level64.Append(numberingFormat64); level64.Append(levelText64); level64.Append(levelJustification64); level64.Append(previousParagraphProperties64); level64.Append(numberingSymbolRunProperties64); Level level65 = new Level() { LevelIndex = 1, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue64 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat65 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText65 = new LevelText() { Val = "o" }; LevelJustification levelJustification65 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties65 = new PreviousParagraphProperties(); Indentation indentation93 = new Indentation() { Start = "1080", Hanging = "360" }; previousParagraphProperties65.Append(indentation93); NumberingSymbolRunProperties numberingSymbolRunProperties65 = new NumberingSymbolRunProperties(); RunFonts runFonts1134 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties65.Append(runFonts1134); level65.Append(startNumberingValue64); level65.Append(numberingFormat65); level65.Append(levelText65); level65.Append(levelJustification65); level65.Append(previousParagraphProperties65); level65.Append(numberingSymbolRunProperties65); Level level66 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue65 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat66 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText66 = new LevelText() { Val = "§" }; LevelJustification levelJustification66 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties66 = new PreviousParagraphProperties(); Indentation indentation94 = new Indentation() { Start = "1800", Hanging = "360" }; previousParagraphProperties66.Append(indentation94); NumberingSymbolRunProperties numberingSymbolRunProperties66 = new NumberingSymbolRunProperties(); RunFonts runFonts1135 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties66.Append(runFonts1135); level66.Append(startNumberingValue65); level66.Append(numberingFormat66); level66.Append(levelText66); level66.Append(levelJustification66); level66.Append(previousParagraphProperties66); level66.Append(numberingSymbolRunProperties66); Level level67 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue66 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat67 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText67 = new LevelText() { Val = "·" }; LevelJustification levelJustification67 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties67 = new PreviousParagraphProperties(); Indentation indentation95 = new Indentation() { Start = "2520", Hanging = "360" }; previousParagraphProperties67.Append(indentation95); NumberingSymbolRunProperties numberingSymbolRunProperties67 = new NumberingSymbolRunProperties(); RunFonts runFonts1136 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties67.Append(runFonts1136); level67.Append(startNumberingValue66); level67.Append(numberingFormat67); level67.Append(levelText67); level67.Append(levelJustification67); level67.Append(previousParagraphProperties67); level67.Append(numberingSymbolRunProperties67); Level level68 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue67 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat68 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText68 = new LevelText() { Val = "o" }; LevelJustification levelJustification68 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties68 = new PreviousParagraphProperties(); Indentation indentation96 = new Indentation() { Start = "3240", Hanging = "360" }; previousParagraphProperties68.Append(indentation96); NumberingSymbolRunProperties numberingSymbolRunProperties68 = new NumberingSymbolRunProperties(); RunFonts runFonts1137 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties68.Append(runFonts1137); level68.Append(startNumberingValue67); level68.Append(numberingFormat68); level68.Append(levelText68); level68.Append(levelJustification68); level68.Append(previousParagraphProperties68); level68.Append(numberingSymbolRunProperties68); Level level69 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue68 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat69 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText69 = new LevelText() { Val = "§" }; LevelJustification levelJustification69 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties69 = new PreviousParagraphProperties(); Indentation indentation97 = new Indentation() { Start = "3960", Hanging = "360" }; previousParagraphProperties69.Append(indentation97); NumberingSymbolRunProperties numberingSymbolRunProperties69 = new NumberingSymbolRunProperties(); RunFonts runFonts1138 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties69.Append(runFonts1138); level69.Append(startNumberingValue68); level69.Append(numberingFormat69); level69.Append(levelText69); level69.Append(levelJustification69); level69.Append(previousParagraphProperties69); level69.Append(numberingSymbolRunProperties69); Level level70 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue69 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat70 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText70 = new LevelText() { Val = "·" }; LevelJustification levelJustification70 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties70 = new PreviousParagraphProperties(); Indentation indentation98 = new Indentation() { Start = "4680", Hanging = "360" }; previousParagraphProperties70.Append(indentation98); NumberingSymbolRunProperties numberingSymbolRunProperties70 = new NumberingSymbolRunProperties(); RunFonts runFonts1139 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties70.Append(runFonts1139); level70.Append(startNumberingValue69); level70.Append(numberingFormat70); level70.Append(levelText70); level70.Append(levelJustification70); level70.Append(previousParagraphProperties70); level70.Append(numberingSymbolRunProperties70); Level level71 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue70 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat71 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText71 = new LevelText() { Val = "o" }; LevelJustification levelJustification71 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties71 = new PreviousParagraphProperties(); Indentation indentation99 = new Indentation() { Start = "5400", Hanging = "360" }; previousParagraphProperties71.Append(indentation99); NumberingSymbolRunProperties numberingSymbolRunProperties71 = new NumberingSymbolRunProperties(); RunFonts runFonts1140 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties71.Append(runFonts1140); level71.Append(startNumberingValue70); level71.Append(numberingFormat71); level71.Append(levelText71); level71.Append(levelJustification71); level71.Append(previousParagraphProperties71); level71.Append(numberingSymbolRunProperties71); Level level72 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue71 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat72 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText72 = new LevelText() { Val = "§" }; LevelJustification levelJustification72 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties72 = new PreviousParagraphProperties(); Indentation indentation100 = new Indentation() { Start = "6120", Hanging = "360" }; previousParagraphProperties72.Append(indentation100); NumberingSymbolRunProperties numberingSymbolRunProperties72 = new NumberingSymbolRunProperties(); RunFonts runFonts1141 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties72.Append(runFonts1141); level72.Append(startNumberingValue71); level72.Append(numberingFormat72); level72.Append(levelText72); level72.Append(levelJustification72); level72.Append(previousParagraphProperties72); level72.Append(numberingSymbolRunProperties72); abstractNum8.Append(nsid8); abstractNum8.Append(multiLevelType8); abstractNum8.Append(templateCode8); abstractNum8.Append(level64); abstractNum8.Append(level65); abstractNum8.Append(level66); abstractNum8.Append(level67); abstractNum8.Append(level68); abstractNum8.Append(level69); abstractNum8.Append(level70); abstractNum8.Append(level71); abstractNum8.Append(level72); AbstractNum abstractNum9 = new AbstractNum() { AbstractNumberId = 8 }; abstractNum9.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid9 = new Nsid() { Val = "5E0A7050" }; MultiLevelType multiLevelType9 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode9 = new TemplateCode() { Val = "0F3CAC40" }; Level level73 = new Level() { LevelIndex = 0, TemplateCode = "04090001" }; StartNumberingValue startNumberingValue72 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat73 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText73 = new LevelText() { Val = "·" }; LevelJustification levelJustification73 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties73 = new PreviousParagraphProperties(); Indentation indentation101 = new Indentation() { Start = "630", Hanging = "360" }; previousParagraphProperties73.Append(indentation101); NumberingSymbolRunProperties numberingSymbolRunProperties73 = new NumberingSymbolRunProperties(); RunFonts runFonts1142 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties73.Append(runFonts1142); level73.Append(startNumberingValue72); level73.Append(numberingFormat73); level73.Append(levelText73); level73.Append(levelJustification73); level73.Append(previousParagraphProperties73); level73.Append(numberingSymbolRunProperties73); Level level74 = new Level() { LevelIndex = 1, TemplateCode = "04090003" }; StartNumberingValue startNumberingValue73 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat74 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText74 = new LevelText() { Val = "o" }; LevelJustification levelJustification74 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties74 = new PreviousParagraphProperties(); Indentation indentation102 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties74.Append(indentation102); NumberingSymbolRunProperties numberingSymbolRunProperties74 = new NumberingSymbolRunProperties(); RunFonts runFonts1143 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties74.Append(runFonts1143); level74.Append(startNumberingValue73); level74.Append(numberingFormat74); level74.Append(levelText74); level74.Append(levelJustification74); level74.Append(previousParagraphProperties74); level74.Append(numberingSymbolRunProperties74); Level level75 = new Level() { LevelIndex = 2, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue74 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat75 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText75 = new LevelText() { Val = "§" }; LevelJustification levelJustification75 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties75 = new PreviousParagraphProperties(); Indentation indentation103 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties75.Append(indentation103); NumberingSymbolRunProperties numberingSymbolRunProperties75 = new NumberingSymbolRunProperties(); RunFonts runFonts1144 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties75.Append(runFonts1144); level75.Append(startNumberingValue74); level75.Append(numberingFormat75); level75.Append(levelText75); level75.Append(levelJustification75); level75.Append(previousParagraphProperties75); level75.Append(numberingSymbolRunProperties75); Level level76 = new Level() { LevelIndex = 3, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue75 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat76 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText76 = new LevelText() { Val = "·" }; LevelJustification levelJustification76 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties76 = new PreviousParagraphProperties(); Indentation indentation104 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties76.Append(indentation104); NumberingSymbolRunProperties numberingSymbolRunProperties76 = new NumberingSymbolRunProperties(); RunFonts runFonts1145 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties76.Append(runFonts1145); level76.Append(startNumberingValue75); level76.Append(numberingFormat76); level76.Append(levelText76); level76.Append(levelJustification76); level76.Append(previousParagraphProperties76); level76.Append(numberingSymbolRunProperties76); Level level77 = new Level() { LevelIndex = 4, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue76 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat77 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText77 = new LevelText() { Val = "o" }; LevelJustification levelJustification77 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties77 = new PreviousParagraphProperties(); Indentation indentation105 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties77.Append(indentation105); NumberingSymbolRunProperties numberingSymbolRunProperties77 = new NumberingSymbolRunProperties(); RunFonts runFonts1146 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties77.Append(runFonts1146); level77.Append(startNumberingValue76); level77.Append(numberingFormat77); level77.Append(levelText77); level77.Append(levelJustification77); level77.Append(previousParagraphProperties77); level77.Append(numberingSymbolRunProperties77); Level level78 = new Level() { LevelIndex = 5, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue77 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat78 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText78 = new LevelText() { Val = "§" }; LevelJustification levelJustification78 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties78 = new PreviousParagraphProperties(); Indentation indentation106 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties78.Append(indentation106); NumberingSymbolRunProperties numberingSymbolRunProperties78 = new NumberingSymbolRunProperties(); RunFonts runFonts1147 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties78.Append(runFonts1147); level78.Append(startNumberingValue77); level78.Append(numberingFormat78); level78.Append(levelText78); level78.Append(levelJustification78); level78.Append(previousParagraphProperties78); level78.Append(numberingSymbolRunProperties78); Level level79 = new Level() { LevelIndex = 6, TemplateCode = "04090001", Tentative = true }; StartNumberingValue startNumberingValue78 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat79 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText79 = new LevelText() { Val = "·" }; LevelJustification levelJustification79 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties79 = new PreviousParagraphProperties(); Indentation indentation107 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties79.Append(indentation107); NumberingSymbolRunProperties numberingSymbolRunProperties79 = new NumberingSymbolRunProperties(); RunFonts runFonts1148 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties79.Append(runFonts1148); level79.Append(startNumberingValue78); level79.Append(numberingFormat79); level79.Append(levelText79); level79.Append(levelJustification79); level79.Append(previousParagraphProperties79); level79.Append(numberingSymbolRunProperties79); Level level80 = new Level() { LevelIndex = 7, TemplateCode = "04090003", Tentative = true }; StartNumberingValue startNumberingValue79 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat80 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText80 = new LevelText() { Val = "o" }; LevelJustification levelJustification80 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties80 = new PreviousParagraphProperties(); Indentation indentation108 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties80.Append(indentation108); NumberingSymbolRunProperties numberingSymbolRunProperties80 = new NumberingSymbolRunProperties(); RunFonts runFonts1149 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New", ComplexScript = "Courier New" }; numberingSymbolRunProperties80.Append(runFonts1149); level80.Append(startNumberingValue79); level80.Append(numberingFormat80); level80.Append(levelText80); level80.Append(levelJustification80); level80.Append(previousParagraphProperties80); level80.Append(numberingSymbolRunProperties80); Level level81 = new Level() { LevelIndex = 8, TemplateCode = "04090005", Tentative = true }; StartNumberingValue startNumberingValue80 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat81 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText81 = new LevelText() { Val = "§" }; LevelJustification levelJustification81 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties81 = new PreviousParagraphProperties(); Indentation indentation109 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties81.Append(indentation109); NumberingSymbolRunProperties numberingSymbolRunProperties81 = new NumberingSymbolRunProperties(); RunFonts runFonts1150 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties81.Append(runFonts1150); level81.Append(startNumberingValue80); level81.Append(numberingFormat81); level81.Append(levelText81); level81.Append(levelJustification81); level81.Append(previousParagraphProperties81); level81.Append(numberingSymbolRunProperties81); abstractNum9.Append(nsid9); abstractNum9.Append(multiLevelType9); abstractNum9.Append(templateCode9); abstractNum9.Append(level73); abstractNum9.Append(level74); abstractNum9.Append(level75); abstractNum9.Append(level76); abstractNum9.Append(level77); abstractNum9.Append(level78); abstractNum9.Append(level79); abstractNum9.Append(level80); abstractNum9.Append(level81); AbstractNum abstractNum10 = new AbstractNum() { AbstractNumberId = 9 }; abstractNum10.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid10 = new Nsid() { Val = "79894ABD" }; MultiLevelType multiLevelType10 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode10 = new TemplateCode() { Val = "D8BC25B6" }; Level level82 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue81 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat82 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText82 = new LevelText() { Val = "·" }; LevelJustification levelJustification82 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties82 = new PreviousParagraphProperties(); Tabs tabs48 = new Tabs(); TabStop tabStop50 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs48.Append(tabStop50); Indentation indentation110 = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties82.Append(tabs48); previousParagraphProperties82.Append(indentation110); NumberingSymbolRunProperties numberingSymbolRunProperties82 = new NumberingSymbolRunProperties(); RunFonts runFonts1151 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1078 = new FontSize() { Val = "20" }; numberingSymbolRunProperties82.Append(runFonts1151); numberingSymbolRunProperties82.Append(fontSize1078); level82.Append(startNumberingValue81); level82.Append(numberingFormat82); level82.Append(levelText82); level82.Append(levelJustification82); level82.Append(previousParagraphProperties82); level82.Append(numberingSymbolRunProperties82); Level level83 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue82 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat83 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText83 = new LevelText() { Val = "·" }; LevelJustification levelJustification83 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties83 = new PreviousParagraphProperties(); Tabs tabs49 = new Tabs(); TabStop tabStop51 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs49.Append(tabStop51); Indentation indentation111 = new Indentation() { Start = "1440", Hanging = "360" }; previousParagraphProperties83.Append(tabs49); previousParagraphProperties83.Append(indentation111); NumberingSymbolRunProperties numberingSymbolRunProperties83 = new NumberingSymbolRunProperties(); RunFonts runFonts1152 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1079 = new FontSize() { Val = "20" }; numberingSymbolRunProperties83.Append(runFonts1152); numberingSymbolRunProperties83.Append(fontSize1079); level83.Append(startNumberingValue82); level83.Append(numberingFormat83); level83.Append(levelText83); level83.Append(levelJustification83); level83.Append(previousParagraphProperties83); level83.Append(numberingSymbolRunProperties83); Level level84 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue83 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat84 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText84 = new LevelText() { Val = "·" }; LevelJustification levelJustification84 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties84 = new PreviousParagraphProperties(); Tabs tabs50 = new Tabs(); TabStop tabStop52 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs50.Append(tabStop52); Indentation indentation112 = new Indentation() { Start = "2160", Hanging = "360" }; previousParagraphProperties84.Append(tabs50); previousParagraphProperties84.Append(indentation112); NumberingSymbolRunProperties numberingSymbolRunProperties84 = new NumberingSymbolRunProperties(); RunFonts runFonts1153 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1080 = new FontSize() { Val = "20" }; numberingSymbolRunProperties84.Append(runFonts1153); numberingSymbolRunProperties84.Append(fontSize1080); level84.Append(startNumberingValue83); level84.Append(numberingFormat84); level84.Append(levelText84); level84.Append(levelJustification84); level84.Append(previousParagraphProperties84); level84.Append(numberingSymbolRunProperties84); Level level85 = new Level() { LevelIndex = 3, Tentative = true }; StartNumberingValue startNumberingValue84 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat85 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText85 = new LevelText() { Val = "·" }; LevelJustification levelJustification85 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties85 = new PreviousParagraphProperties(); Tabs tabs51 = new Tabs(); TabStop tabStop53 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs51.Append(tabStop53); Indentation indentation113 = new Indentation() { Start = "2880", Hanging = "360" }; previousParagraphProperties85.Append(tabs51); previousParagraphProperties85.Append(indentation113); NumberingSymbolRunProperties numberingSymbolRunProperties85 = new NumberingSymbolRunProperties(); RunFonts runFonts1154 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1081 = new FontSize() { Val = "20" }; numberingSymbolRunProperties85.Append(runFonts1154); numberingSymbolRunProperties85.Append(fontSize1081); level85.Append(startNumberingValue84); level85.Append(numberingFormat85); level85.Append(levelText85); level85.Append(levelJustification85); level85.Append(previousParagraphProperties85); level85.Append(numberingSymbolRunProperties85); Level level86 = new Level() { LevelIndex = 4, Tentative = true }; StartNumberingValue startNumberingValue85 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat86 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText86 = new LevelText() { Val = "·" }; LevelJustification levelJustification86 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties86 = new PreviousParagraphProperties(); Tabs tabs52 = new Tabs(); TabStop tabStop54 = new TabStop() { Val = TabStopValues.Number, Position = 3600 }; tabs52.Append(tabStop54); Indentation indentation114 = new Indentation() { Start = "3600", Hanging = "360" }; previousParagraphProperties86.Append(tabs52); previousParagraphProperties86.Append(indentation114); NumberingSymbolRunProperties numberingSymbolRunProperties86 = new NumberingSymbolRunProperties(); RunFonts runFonts1155 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1082 = new FontSize() { Val = "20" }; numberingSymbolRunProperties86.Append(runFonts1155); numberingSymbolRunProperties86.Append(fontSize1082); level86.Append(startNumberingValue85); level86.Append(numberingFormat86); level86.Append(levelText86); level86.Append(levelJustification86); level86.Append(previousParagraphProperties86); level86.Append(numberingSymbolRunProperties86); Level level87 = new Level() { LevelIndex = 5, Tentative = true }; StartNumberingValue startNumberingValue86 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat87 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText87 = new LevelText() { Val = "·" }; LevelJustification levelJustification87 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties87 = new PreviousParagraphProperties(); Tabs tabs53 = new Tabs(); TabStop tabStop55 = new TabStop() { Val = TabStopValues.Number, Position = 4320 }; tabs53.Append(tabStop55); Indentation indentation115 = new Indentation() { Start = "4320", Hanging = "360" }; previousParagraphProperties87.Append(tabs53); previousParagraphProperties87.Append(indentation115); NumberingSymbolRunProperties numberingSymbolRunProperties87 = new NumberingSymbolRunProperties(); RunFonts runFonts1156 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1083 = new FontSize() { Val = "20" }; numberingSymbolRunProperties87.Append(runFonts1156); numberingSymbolRunProperties87.Append(fontSize1083); level87.Append(startNumberingValue86); level87.Append(numberingFormat87); level87.Append(levelText87); level87.Append(levelJustification87); level87.Append(previousParagraphProperties87); level87.Append(numberingSymbolRunProperties87); Level level88 = new Level() { LevelIndex = 6, Tentative = true }; StartNumberingValue startNumberingValue87 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat88 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText88 = new LevelText() { Val = "·" }; LevelJustification levelJustification88 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties88 = new PreviousParagraphProperties(); Tabs tabs54 = new Tabs(); TabStop tabStop56 = new TabStop() { Val = TabStopValues.Number, Position = 5040 }; tabs54.Append(tabStop56); Indentation indentation116 = new Indentation() { Start = "5040", Hanging = "360" }; previousParagraphProperties88.Append(tabs54); previousParagraphProperties88.Append(indentation116); NumberingSymbolRunProperties numberingSymbolRunProperties88 = new NumberingSymbolRunProperties(); RunFonts runFonts1157 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1084 = new FontSize() { Val = "20" }; numberingSymbolRunProperties88.Append(runFonts1157); numberingSymbolRunProperties88.Append(fontSize1084); level88.Append(startNumberingValue87); level88.Append(numberingFormat88); level88.Append(levelText88); level88.Append(levelJustification88); level88.Append(previousParagraphProperties88); level88.Append(numberingSymbolRunProperties88); Level level89 = new Level() { LevelIndex = 7, Tentative = true }; StartNumberingValue startNumberingValue88 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat89 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText89 = new LevelText() { Val = "·" }; LevelJustification levelJustification89 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties89 = new PreviousParagraphProperties(); Tabs tabs55 = new Tabs(); TabStop tabStop57 = new TabStop() { Val = TabStopValues.Number, Position = 5760 }; tabs55.Append(tabStop57); Indentation indentation117 = new Indentation() { Start = "5760", Hanging = "360" }; previousParagraphProperties89.Append(tabs55); previousParagraphProperties89.Append(indentation117); NumberingSymbolRunProperties numberingSymbolRunProperties89 = new NumberingSymbolRunProperties(); RunFonts runFonts1158 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1085 = new FontSize() { Val = "20" }; numberingSymbolRunProperties89.Append(runFonts1158); numberingSymbolRunProperties89.Append(fontSize1085); level89.Append(startNumberingValue88); level89.Append(numberingFormat89); level89.Append(levelText89); level89.Append(levelJustification89); level89.Append(previousParagraphProperties89); level89.Append(numberingSymbolRunProperties89); Level level90 = new Level() { LevelIndex = 8, Tentative = true }; StartNumberingValue startNumberingValue89 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat90 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText90 = new LevelText() { Val = "·" }; LevelJustification levelJustification90 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties90 = new PreviousParagraphProperties(); Tabs tabs56 = new Tabs(); TabStop tabStop58 = new TabStop() { Val = TabStopValues.Number, Position = 6480 }; tabs56.Append(tabStop58); Indentation indentation118 = new Indentation() { Start = "6480", Hanging = "360" }; previousParagraphProperties90.Append(tabs56); previousParagraphProperties90.Append(indentation118); NumberingSymbolRunProperties numberingSymbolRunProperties90 = new NumberingSymbolRunProperties(); RunFonts runFonts1159 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1086 = new FontSize() { Val = "20" }; numberingSymbolRunProperties90.Append(runFonts1159); numberingSymbolRunProperties90.Append(fontSize1086); level90.Append(startNumberingValue89); level90.Append(numberingFormat90); level90.Append(levelText90); level90.Append(levelJustification90); level90.Append(previousParagraphProperties90); level90.Append(numberingSymbolRunProperties90); abstractNum10.Append(nsid10); abstractNum10.Append(multiLevelType10); abstractNum10.Append(templateCode10); abstractNum10.Append(level82); abstractNum10.Append(level83); abstractNum10.Append(level84); abstractNum10.Append(level85); abstractNum10.Append(level86); abstractNum10.Append(level87); abstractNum10.Append(level88); abstractNum10.Append(level89); abstractNum10.Append(level90); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 9 }; numberingInstance1.Append(abstractNumId1); NumberingInstance numberingInstance2 = new NumberingInstance() { NumberID = 2 }; AbstractNumId abstractNumId2 = new AbstractNumId() { Val = 3 }; numberingInstance2.Append(abstractNumId2); NumberingInstance numberingInstance3 = new NumberingInstance() { NumberID = 3 }; AbstractNumId abstractNumId3 = new AbstractNumId() { Val = 2 }; numberingInstance3.Append(abstractNumId3); NumberingInstance numberingInstance4 = new NumberingInstance() { NumberID = 4 }; AbstractNumId abstractNumId4 = new AbstractNumId() { Val = 1 }; numberingInstance4.Append(abstractNumId4); NumberingInstance numberingInstance5 = new NumberingInstance() { NumberID = 5 }; AbstractNumId abstractNumId5 = new AbstractNumId() { Val = 4 }; numberingInstance5.Append(abstractNumId5); NumberingInstance numberingInstance6 = new NumberingInstance() { NumberID = 6 }; AbstractNumId abstractNumId6 = new AbstractNumId() { Val = 0 }; numberingInstance6.Append(abstractNumId6); NumberingInstance numberingInstance7 = new NumberingInstance() { NumberID = 7 }; AbstractNumId abstractNumId7 = new AbstractNumId() { Val = 6 }; numberingInstance7.Append(abstractNumId7); NumberingInstance numberingInstance8 = new NumberingInstance() { NumberID = 8 }; AbstractNumId abstractNumId8 = new AbstractNumId() { Val = 8 }; numberingInstance8.Append(abstractNumId8); NumberingInstance numberingInstance9 = new NumberingInstance() { NumberID = 9 }; AbstractNumId abstractNumId9 = new AbstractNumId() { Val = 5 }; numberingInstance9.Append(abstractNumId9); NumberingInstance numberingInstance10 = new NumberingInstance() { NumberID = 10 }; AbstractNumId abstractNumId10 = new AbstractNumId() { Val = 7 }; numberingInstance10.Append(abstractNumId10); numbering1.Append(abstractNum1); numbering1.Append(abstractNum2); numbering1.Append(abstractNum3); numbering1.Append(abstractNum4); numbering1.Append(abstractNum5); numbering1.Append(abstractNum6); numbering1.Append(abstractNum7); numbering1.Append(abstractNum8); numbering1.Append(abstractNum9); numbering1.Append(abstractNum10); numbering1.Append(numberingInstance1); numbering1.Append(numberingInstance2); numbering1.Append(numberingInstance3); numbering1.Append(numberingInstance4); numbering1.Append(numberingInstance5); numbering1.Append(numberingInstance6); numbering1.Append(numberingInstance7); numbering1.Append(numberingInstance8); numbering1.Append(numberingInstance9); numbering1.Append(numberingInstance10); numberingDefinitionsPart1.Numbering = numbering1; }
// Generates content of numberingDefinitionsPart1. private void GenerateNumberingDefinitionsPart1Content(NumberingDefinitionsPart numberingDefinitionsPart1) { Numbering numbering1 = new Numbering(); AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; Nsid nsid1 = new Nsid() { Val = "2BE110B5" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "263EA1D2" }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; ParagraphStyleIdInLevel paragraphStyleIdInLevel1 = new ParagraphStyleIdInLevel() { Val = "NumberedList" }; LevelText levelText1 = new LevelText() { Val = "%1." }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs1.Append(tabStop1); Indentation indentation1 = new Indentation() { Left = "720", Hanging = "360" }; previousParagraphProperties1.Append(tabs1); previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(paragraphStyleIdInLevel1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText2 = new LevelText() { Val = "%1.%2." }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Number, Position = 792 }; tabs2.Append(tabStop2); Indentation indentation2 = new Indentation() { Left = "792", Hanging = "432" }; previousParagraphProperties2.Append(tabs2); previousParagraphProperties2.Append(indentation2); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties2.Append(runFonts2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level3 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText3 = new LevelText() { Val = "%1.%2.%3." }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Tabs tabs3 = new Tabs(); TabStop tabStop3 = new TabStop() { Val = TabStopValues.Number, Position = 1224 }; tabs3.Append(tabStop3); Indentation indentation3 = new Indentation() { Left = "1224", Hanging = "504" }; previousParagraphProperties3.Append(tabs3); previousParagraphProperties3.Append(indentation3); NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts3 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties3.Append(runFonts3); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); level3.Append(numberingSymbolRunProperties3); Level level4 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText4 = new LevelText() { Val = "%1.%2.%3.%4." }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Tabs tabs4 = new Tabs(); TabStop tabStop4 = new TabStop() { Val = TabStopValues.Number, Position = 1728 }; tabs4.Append(tabStop4); Indentation indentation4 = new Indentation() { Left = "1728", Hanging = "648" }; previousParagraphProperties4.Append(tabs4); previousParagraphProperties4.Append(indentation4); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties4.Append(runFonts4); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText5 = new LevelText() { Val = "%1.%2.%3.%4.%5." }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Tabs tabs5 = new Tabs(); TabStop tabStop5 = new TabStop() { Val = TabStopValues.Number, Position = 2232 }; tabs5.Append(tabStop5); Indentation indentation5 = new Indentation() { Left = "2232", Hanging = "792" }; previousParagraphProperties5.Append(tabs5); previousParagraphProperties5.Append(indentation5); NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts5 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties5.Append(runFonts5); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText6 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6." }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Tabs tabs6 = new Tabs(); TabStop tabStop6 = new TabStop() { Val = TabStopValues.Number, Position = 2736 }; tabs6.Append(tabStop6); Indentation indentation6 = new Indentation() { Left = "2736", Hanging = "936" }; previousParagraphProperties6.Append(tabs6); previousParagraphProperties6.Append(indentation6); NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties6.Append(runFonts6); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText7 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7." }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Tabs tabs7 = new Tabs(); TabStop tabStop7 = new TabStop() { Val = TabStopValues.Number, Position = 3240 }; tabs7.Append(tabStop7); Indentation indentation7 = new Indentation() { Left = "3240", Hanging = "1080" }; previousParagraphProperties7.Append(tabs7); previousParagraphProperties7.Append(indentation7); NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties7.Append(runFonts7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText8 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7.%8." }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Tabs tabs8 = new Tabs(); TabStop tabStop8 = new TabStop() { Val = TabStopValues.Number, Position = 3744 }; tabs8.Append(tabStop8); Indentation indentation8 = new Indentation() { Left = "3744", Hanging = "1224" }; previousParagraphProperties8.Append(tabs8); previousParagraphProperties8.Append(indentation8); NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties8.Append(runFonts8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8 }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText9 = new LevelText() { Val = "%1.%2.%3.%4.%5.%6.%7.%8.%9." }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Tabs tabs9 = new Tabs(); TabStop tabStop9 = new TabStop() { Val = TabStopValues.Number, Position = 4320 }; tabs9.Append(tabStop9); Indentation indentation9 = new Indentation() { Left = "4320", Hanging = "1440" }; previousParagraphProperties9.Append(tabs9); previousParagraphProperties9.Append(indentation9); NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts9 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties9.Append(runFonts9); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); level9.Append(numberingSymbolRunProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); AbstractNum abstractNum2 = new AbstractNum() { AbstractNumberId = 1 }; Nsid nsid2 = new Nsid() { Val = "460E3EC6" }; MultiLevelType multiLevelType2 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode2 = new TemplateCode() { Val = "DD28C6DC" }; Level level10 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue10 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat10 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText10 = new LevelText() { Val = "·" }; LevelJustification levelJustification10 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties10 = new PreviousParagraphProperties(); Tabs tabs10 = new Tabs(); TabStop tabStop10 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs10.Append(tabStop10); Indentation indentation10 = new Indentation() { Left = "720", Hanging = "360" }; previousParagraphProperties10.Append(tabs10); previousParagraphProperties10.Append(indentation10); NumberingSymbolRunProperties numberingSymbolRunProperties10 = new NumberingSymbolRunProperties(); RunFonts runFonts10 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; FontSize fontSize1 = new FontSize() { Val = "16" }; numberingSymbolRunProperties10.Append(runFonts10); numberingSymbolRunProperties10.Append(fontSize1); level10.Append(startNumberingValue10); level10.Append(numberingFormat10); level10.Append(levelText10); level10.Append(levelJustification10); level10.Append(previousParagraphProperties10); level10.Append(numberingSymbolRunProperties10); Level level11 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue11 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat11 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText11 = new LevelText() { Val = "n" }; LevelJustification levelJustification11 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties11 = new PreviousParagraphProperties(); Tabs tabs11 = new Tabs(); TabStop tabStop11 = new TabStop() { Val = TabStopValues.Number, Position = 1080 }; tabs11.Append(tabStop11); Indentation indentation11 = new Indentation() { Left = "1080", Hanging = "360" }; previousParagraphProperties11.Append(tabs11); previousParagraphProperties11.Append(indentation11); NumberingSymbolRunProperties numberingSymbolRunProperties11 = new NumberingSymbolRunProperties(); RunFonts runFonts11 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize2 = new FontSize() { Val = "16" }; numberingSymbolRunProperties11.Append(runFonts11); numberingSymbolRunProperties11.Append(fontSize2); level11.Append(startNumberingValue11); level11.Append(numberingFormat11); level11.Append(levelText11); level11.Append(levelJustification11); level11.Append(previousParagraphProperties11); level11.Append(numberingSymbolRunProperties11); Level level12 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue12 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat12 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText12 = new LevelText() { Val = "n" }; LevelJustification levelJustification12 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties12 = new PreviousParagraphProperties(); Tabs tabs12 = new Tabs(); TabStop tabStop12 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs12.Append(tabStop12); Indentation indentation12 = new Indentation() { Left = "1440", Hanging = "360" }; previousParagraphProperties12.Append(tabs12); previousParagraphProperties12.Append(indentation12); NumberingSymbolRunProperties numberingSymbolRunProperties12 = new NumberingSymbolRunProperties(); RunFonts runFonts12 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize3 = new FontSize() { Val = "16" }; numberingSymbolRunProperties12.Append(runFonts12); numberingSymbolRunProperties12.Append(fontSize3); level12.Append(startNumberingValue12); level12.Append(numberingFormat12); level12.Append(levelText12); level12.Append(levelJustification12); level12.Append(previousParagraphProperties12); level12.Append(numberingSymbolRunProperties12); Level level13 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue13 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat13 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText13 = new LevelText() { Val = "n" }; LevelJustification levelJustification13 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties13 = new PreviousParagraphProperties(); Tabs tabs13 = new Tabs(); TabStop tabStop13 = new TabStop() { Val = TabStopValues.Number, Position = 1800 }; tabs13.Append(tabStop13); Indentation indentation13 = new Indentation() { Left = "1800", Hanging = "360" }; previousParagraphProperties13.Append(tabs13); previousParagraphProperties13.Append(indentation13); NumberingSymbolRunProperties numberingSymbolRunProperties13 = new NumberingSymbolRunProperties(); RunFonts runFonts13 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize4 = new FontSize() { Val = "16" }; numberingSymbolRunProperties13.Append(runFonts13); numberingSymbolRunProperties13.Append(fontSize4); level13.Append(startNumberingValue13); level13.Append(numberingFormat13); level13.Append(levelText13); level13.Append(levelJustification13); level13.Append(previousParagraphProperties13); level13.Append(numberingSymbolRunProperties13); Level level14 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue14 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat14 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText14 = new LevelText() { Val = "n" }; LevelJustification levelJustification14 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties14 = new PreviousParagraphProperties(); Tabs tabs14 = new Tabs(); TabStop tabStop14 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs14.Append(tabStop14); Indentation indentation14 = new Indentation() { Left = "2160", Hanging = "360" }; previousParagraphProperties14.Append(tabs14); previousParagraphProperties14.Append(indentation14); NumberingSymbolRunProperties numberingSymbolRunProperties14 = new NumberingSymbolRunProperties(); RunFonts runFonts14 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize5 = new FontSize() { Val = "16" }; numberingSymbolRunProperties14.Append(runFonts14); numberingSymbolRunProperties14.Append(fontSize5); level14.Append(startNumberingValue14); level14.Append(numberingFormat14); level14.Append(levelText14); level14.Append(levelJustification14); level14.Append(previousParagraphProperties14); level14.Append(numberingSymbolRunProperties14); Level level15 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue15 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat15 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText15 = new LevelText() { Val = "n" }; LevelJustification levelJustification15 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties15 = new PreviousParagraphProperties(); Tabs tabs15 = new Tabs(); TabStop tabStop15 = new TabStop() { Val = TabStopValues.Number, Position = 2520 }; tabs15.Append(tabStop15); Indentation indentation15 = new Indentation() { Left = "2520", Hanging = "360" }; previousParagraphProperties15.Append(tabs15); previousParagraphProperties15.Append(indentation15); NumberingSymbolRunProperties numberingSymbolRunProperties15 = new NumberingSymbolRunProperties(); RunFonts runFonts15 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize6 = new FontSize() { Val = "16" }; numberingSymbolRunProperties15.Append(runFonts15); numberingSymbolRunProperties15.Append(fontSize6); level15.Append(startNumberingValue15); level15.Append(numberingFormat15); level15.Append(levelText15); level15.Append(levelJustification15); level15.Append(previousParagraphProperties15); level15.Append(numberingSymbolRunProperties15); Level level16 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue16 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat16 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText16 = new LevelText() { Val = "n" }; LevelJustification levelJustification16 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties16 = new PreviousParagraphProperties(); Tabs tabs16 = new Tabs(); TabStop tabStop16 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs16.Append(tabStop16); Indentation indentation16 = new Indentation() { Left = "2880", Hanging = "360" }; previousParagraphProperties16.Append(tabs16); previousParagraphProperties16.Append(indentation16); NumberingSymbolRunProperties numberingSymbolRunProperties16 = new NumberingSymbolRunProperties(); RunFonts runFonts16 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize7 = new FontSize() { Val = "16" }; numberingSymbolRunProperties16.Append(runFonts16); numberingSymbolRunProperties16.Append(fontSize7); level16.Append(startNumberingValue16); level16.Append(numberingFormat16); level16.Append(levelText16); level16.Append(levelJustification16); level16.Append(previousParagraphProperties16); level16.Append(numberingSymbolRunProperties16); Level level17 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue17 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat17 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText17 = new LevelText() { Val = "n" }; LevelJustification levelJustification17 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties17 = new PreviousParagraphProperties(); Tabs tabs17 = new Tabs(); TabStop tabStop17 = new TabStop() { Val = TabStopValues.Number, Position = 3240 }; tabs17.Append(tabStop17); Indentation indentation17 = new Indentation() { Left = "3240", Hanging = "360" }; previousParagraphProperties17.Append(tabs17); previousParagraphProperties17.Append(indentation17); NumberingSymbolRunProperties numberingSymbolRunProperties17 = new NumberingSymbolRunProperties(); RunFonts runFonts17 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize8 = new FontSize() { Val = "16" }; numberingSymbolRunProperties17.Append(runFonts17); numberingSymbolRunProperties17.Append(fontSize8); level17.Append(startNumberingValue17); level17.Append(numberingFormat17); level17.Append(levelText17); level17.Append(levelJustification17); level17.Append(previousParagraphProperties17); level17.Append(numberingSymbolRunProperties17); Level level18 = new Level() { LevelIndex = 8 }; StartNumberingValue startNumberingValue18 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat18 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText18 = new LevelText() { Val = "n" }; LevelJustification levelJustification18 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties18 = new PreviousParagraphProperties(); Tabs tabs18 = new Tabs(); TabStop tabStop18 = new TabStop() { Val = TabStopValues.Number, Position = 3600 }; tabs18.Append(tabStop18); Indentation indentation18 = new Indentation() { Left = "3600", Hanging = "360" }; previousParagraphProperties18.Append(tabs18); previousParagraphProperties18.Append(indentation18); NumberingSymbolRunProperties numberingSymbolRunProperties18 = new NumberingSymbolRunProperties(); RunFonts runFonts18 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize9 = new FontSize() { Val = "16" }; numberingSymbolRunProperties18.Append(runFonts18); numberingSymbolRunProperties18.Append(fontSize9); level18.Append(startNumberingValue18); level18.Append(numberingFormat18); level18.Append(levelText18); level18.Append(levelJustification18); level18.Append(previousParagraphProperties18); level18.Append(numberingSymbolRunProperties18); abstractNum2.Append(nsid2); abstractNum2.Append(multiLevelType2); abstractNum2.Append(templateCode2); abstractNum2.Append(level10); abstractNum2.Append(level11); abstractNum2.Append(level12); abstractNum2.Append(level13); abstractNum2.Append(level14); abstractNum2.Append(level15); abstractNum2.Append(level16); abstractNum2.Append(level17); abstractNum2.Append(level18); AbstractNum abstractNum3 = new AbstractNum() { AbstractNumberId = 2 }; Nsid nsid3 = new Nsid() { Val = "70913756" }; MultiLevelType multiLevelType3 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode3 = new TemplateCode() { Val = "624EA66A" }; AbstractNumDefinitionName abstractNumDefinitionName1 = new AbstractNumDefinitionName() { Val = "RussellSubbullet" }; Level level19 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue19 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat19 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText19 = new LevelText() { Val = "n" }; LevelJustification levelJustification19 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties19 = new PreviousParagraphProperties(); Tabs tabs19 = new Tabs(); TabStop tabStop19 = new TabStop() { Val = TabStopValues.Number, Position = 360 }; tabs19.Append(tabStop19); Indentation indentation19 = new Indentation() { Left = "360", Hanging = "360" }; previousParagraphProperties19.Append(tabs19); previousParagraphProperties19.Append(indentation19); NumberingSymbolRunProperties numberingSymbolRunProperties19 = new NumberingSymbolRunProperties(); RunFonts runFonts19 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize10 = new FontSize() { Val = "16" }; numberingSymbolRunProperties19.Append(runFonts19); numberingSymbolRunProperties19.Append(fontSize10); level19.Append(startNumberingValue19); level19.Append(numberingFormat19); level19.Append(levelText19); level19.Append(levelJustification19); level19.Append(previousParagraphProperties19); level19.Append(numberingSymbolRunProperties19); Level level20 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue20 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat20 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText20 = new LevelText() { Val = "n" }; LevelJustification levelJustification20 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties20 = new PreviousParagraphProperties(); Tabs tabs20 = new Tabs(); TabStop tabStop20 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs20.Append(tabStop20); Indentation indentation20 = new Indentation() { Left = "720", Hanging = "360" }; previousParagraphProperties20.Append(tabs20); previousParagraphProperties20.Append(indentation20); NumberingSymbolRunProperties numberingSymbolRunProperties20 = new NumberingSymbolRunProperties(); RunFonts runFonts20 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize11 = new FontSize() { Val = "16" }; numberingSymbolRunProperties20.Append(runFonts20); numberingSymbolRunProperties20.Append(fontSize11); level20.Append(startNumberingValue20); level20.Append(numberingFormat20); level20.Append(levelText20); level20.Append(levelJustification20); level20.Append(previousParagraphProperties20); level20.Append(numberingSymbolRunProperties20); Level level21 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue21 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat21 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText21 = new LevelText() { Val = "n" }; LevelJustification levelJustification21 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties21 = new PreviousParagraphProperties(); Tabs tabs21 = new Tabs(); TabStop tabStop21 = new TabStop() { Val = TabStopValues.Number, Position = 1080 }; tabs21.Append(tabStop21); Indentation indentation21 = new Indentation() { Left = "1080", Hanging = "360" }; previousParagraphProperties21.Append(tabs21); previousParagraphProperties21.Append(indentation21); NumberingSymbolRunProperties numberingSymbolRunProperties21 = new NumberingSymbolRunProperties(); RunFonts runFonts21 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize12 = new FontSize() { Val = "16" }; numberingSymbolRunProperties21.Append(runFonts21); numberingSymbolRunProperties21.Append(fontSize12); level21.Append(startNumberingValue21); level21.Append(numberingFormat21); level21.Append(levelText21); level21.Append(levelJustification21); level21.Append(previousParagraphProperties21); level21.Append(numberingSymbolRunProperties21); Level level22 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue22 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat22 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText22 = new LevelText() { Val = "n" }; LevelJustification levelJustification22 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties22 = new PreviousParagraphProperties(); Tabs tabs22 = new Tabs(); TabStop tabStop22 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs22.Append(tabStop22); Indentation indentation22 = new Indentation() { Left = "1440", Hanging = "360" }; previousParagraphProperties22.Append(tabs22); previousParagraphProperties22.Append(indentation22); NumberingSymbolRunProperties numberingSymbolRunProperties22 = new NumberingSymbolRunProperties(); RunFonts runFonts22 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize13 = new FontSize() { Val = "16" }; numberingSymbolRunProperties22.Append(runFonts22); numberingSymbolRunProperties22.Append(fontSize13); level22.Append(startNumberingValue22); level22.Append(numberingFormat22); level22.Append(levelText22); level22.Append(levelJustification22); level22.Append(previousParagraphProperties22); level22.Append(numberingSymbolRunProperties22); Level level23 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue23 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat23 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText23 = new LevelText() { Val = "n" }; LevelJustification levelJustification23 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties23 = new PreviousParagraphProperties(); Tabs tabs23 = new Tabs(); TabStop tabStop23 = new TabStop() { Val = TabStopValues.Number, Position = 1800 }; tabs23.Append(tabStop23); Indentation indentation23 = new Indentation() { Left = "1800", Hanging = "360" }; previousParagraphProperties23.Append(tabs23); previousParagraphProperties23.Append(indentation23); NumberingSymbolRunProperties numberingSymbolRunProperties23 = new NumberingSymbolRunProperties(); RunFonts runFonts23 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize14 = new FontSize() { Val = "16" }; numberingSymbolRunProperties23.Append(runFonts23); numberingSymbolRunProperties23.Append(fontSize14); level23.Append(startNumberingValue23); level23.Append(numberingFormat23); level23.Append(levelText23); level23.Append(levelJustification23); level23.Append(previousParagraphProperties23); level23.Append(numberingSymbolRunProperties23); Level level24 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue24 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat24 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText24 = new LevelText() { Val = "n" }; LevelJustification levelJustification24 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties24 = new PreviousParagraphProperties(); Tabs tabs24 = new Tabs(); TabStop tabStop24 = new TabStop() { Val = TabStopValues.Number, Position = 2160 }; tabs24.Append(tabStop24); Indentation indentation24 = new Indentation() { Left = "2160", Hanging = "360" }; previousParagraphProperties24.Append(tabs24); previousParagraphProperties24.Append(indentation24); NumberingSymbolRunProperties numberingSymbolRunProperties24 = new NumberingSymbolRunProperties(); RunFonts runFonts24 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize15 = new FontSize() { Val = "16" }; numberingSymbolRunProperties24.Append(runFonts24); numberingSymbolRunProperties24.Append(fontSize15); level24.Append(startNumberingValue24); level24.Append(numberingFormat24); level24.Append(levelText24); level24.Append(levelJustification24); level24.Append(previousParagraphProperties24); level24.Append(numberingSymbolRunProperties24); Level level25 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue25 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat25 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText25 = new LevelText() { Val = "n" }; LevelJustification levelJustification25 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties25 = new PreviousParagraphProperties(); Tabs tabs25 = new Tabs(); TabStop tabStop25 = new TabStop() { Val = TabStopValues.Number, Position = 2520 }; tabs25.Append(tabStop25); Indentation indentation25 = new Indentation() { Left = "2520", Hanging = "360" }; previousParagraphProperties25.Append(tabs25); previousParagraphProperties25.Append(indentation25); NumberingSymbolRunProperties numberingSymbolRunProperties25 = new NumberingSymbolRunProperties(); RunFonts runFonts25 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize16 = new FontSize() { Val = "16" }; numberingSymbolRunProperties25.Append(runFonts25); numberingSymbolRunProperties25.Append(fontSize16); level25.Append(startNumberingValue25); level25.Append(numberingFormat25); level25.Append(levelText25); level25.Append(levelJustification25); level25.Append(previousParagraphProperties25); level25.Append(numberingSymbolRunProperties25); Level level26 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue26 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat26 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText26 = new LevelText() { Val = "n" }; LevelJustification levelJustification26 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties26 = new PreviousParagraphProperties(); Tabs tabs26 = new Tabs(); TabStop tabStop26 = new TabStop() { Val = TabStopValues.Number, Position = 2880 }; tabs26.Append(tabStop26); Indentation indentation26 = new Indentation() { Left = "2880", Hanging = "360" }; previousParagraphProperties26.Append(tabs26); previousParagraphProperties26.Append(indentation26); NumberingSymbolRunProperties numberingSymbolRunProperties26 = new NumberingSymbolRunProperties(); RunFonts runFonts26 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize17 = new FontSize() { Val = "16" }; numberingSymbolRunProperties26.Append(runFonts26); numberingSymbolRunProperties26.Append(fontSize17); level26.Append(startNumberingValue26); level26.Append(numberingFormat26); level26.Append(levelText26); level26.Append(levelJustification26); level26.Append(previousParagraphProperties26); level26.Append(numberingSymbolRunProperties26); Level level27 = new Level() { LevelIndex = 8 }; StartNumberingValue startNumberingValue27 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat27 = new NumberingFormat() { Val = NumberFormatValues.None }; LevelText levelText27 = new LevelText() { Val = "n" }; LevelJustification levelJustification27 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties27 = new PreviousParagraphProperties(); Tabs tabs27 = new Tabs(); TabStop tabStop27 = new TabStop() { Val = TabStopValues.Number, Position = 3240 }; tabs27.Append(tabStop27); Indentation indentation27 = new Indentation() { Left = "3240", Hanging = "360" }; previousParagraphProperties27.Append(tabs27); previousParagraphProperties27.Append(indentation27); NumberingSymbolRunProperties numberingSymbolRunProperties27 = new NumberingSymbolRunProperties(); RunFonts runFonts27 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; FontSize fontSize18 = new FontSize() { Val = "16" }; numberingSymbolRunProperties27.Append(runFonts27); numberingSymbolRunProperties27.Append(fontSize18); level27.Append(startNumberingValue27); level27.Append(numberingFormat27); level27.Append(levelText27); level27.Append(levelJustification27); level27.Append(previousParagraphProperties27); level27.Append(numberingSymbolRunProperties27); abstractNum3.Append(nsid3); abstractNum3.Append(multiLevelType3); abstractNum3.Append(templateCode3); abstractNum3.Append(abstractNumDefinitionName1); abstractNum3.Append(level19); abstractNum3.Append(level20); abstractNum3.Append(level21); abstractNum3.Append(level22); abstractNum3.Append(level23); abstractNum3.Append(level24); abstractNum3.Append(level25); abstractNum3.Append(level26); abstractNum3.Append(level27); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 2 }; numberingInstance1.Append(abstractNumId1); NumberingInstance numberingInstance2 = new NumberingInstance() { NumberID = 2 }; AbstractNumId abstractNumId2 = new AbstractNumId() { Val = 0 }; numberingInstance2.Append(abstractNumId2); NumberingInstance numberingInstance3 = new NumberingInstance() { NumberID = 3 }; AbstractNumId abstractNumId3 = new AbstractNumId() { Val = 1 }; numberingInstance3.Append(abstractNumId3); NumberingInstance numberingInstance4 = new NumberingInstance() { NumberID = 4 }; LevelOverride levelOverride1 = new LevelOverride() { LevelIndex = 0 }; StartOverrideNumberingValue startOverrideNumberingValue1 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride1.Append(startOverrideNumberingValue1); LevelOverride levelOverride2 = new LevelOverride() { LevelIndex = 1 }; StartOverrideNumberingValue startOverrideNumberingValue2 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride2.Append(startOverrideNumberingValue2); LevelOverride levelOverride3 = new LevelOverride() { LevelIndex = 2 }; StartOverrideNumberingValue startOverrideNumberingValue3 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride3.Append(startOverrideNumberingValue3); LevelOverride levelOverride4 = new LevelOverride() { LevelIndex = 3 }; StartOverrideNumberingValue startOverrideNumberingValue4 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride4.Append(startOverrideNumberingValue4); LevelOverride levelOverride5 = new LevelOverride() { LevelIndex = 4 }; StartOverrideNumberingValue startOverrideNumberingValue5 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride5.Append(startOverrideNumberingValue5); LevelOverride levelOverride6 = new LevelOverride() { LevelIndex = 5 }; StartOverrideNumberingValue startOverrideNumberingValue6 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride6.Append(startOverrideNumberingValue6); LevelOverride levelOverride7 = new LevelOverride() { LevelIndex = 6 }; StartOverrideNumberingValue startOverrideNumberingValue7 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride7.Append(startOverrideNumberingValue7); LevelOverride levelOverride8 = new LevelOverride() { LevelIndex = 7 }; StartOverrideNumberingValue startOverrideNumberingValue8 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride8.Append(startOverrideNumberingValue8); LevelOverride levelOverride9 = new LevelOverride() { LevelIndex = 8 }; StartOverrideNumberingValue startOverrideNumberingValue9 = new StartOverrideNumberingValue() { Val = 1 }; levelOverride9.Append(startOverrideNumberingValue9); numberingInstance4.Append(levelOverride1); numberingInstance4.Append(levelOverride2); numberingInstance4.Append(levelOverride3); numberingInstance4.Append(levelOverride4); numberingInstance4.Append(levelOverride5); numberingInstance4.Append(levelOverride6); numberingInstance4.Append(levelOverride7); numberingInstance4.Append(levelOverride8); numberingInstance4.Append(levelOverride9); numbering1.Append(abstractNum1); numbering1.Append(abstractNum2); numbering1.Append(abstractNum3); numbering1.Append(numberingInstance1); numbering1.Append(numberingInstance2); numbering1.Append(numberingInstance3); numbering1.Append(numberingInstance4); numberingDefinitionsPart1.Numbering = numbering1; }
public void GetNumbering(ref Numbering numbering, int abstractNumId, int numberingInstanceId ) { AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = abstractNumId }; Nsid nsid1 = new Nsid() { Val = "3C7E7798" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.HybridMultilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "46C6786C" }; Level level1 = new Level() { LevelIndex = 0, TemplateCode = "38EAF7A0" }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText1 = new LevelText() { Val = "%1." }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Indentation indentation1 = new Indentation() { Left = "786", Hanging = "360" }; previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1, TemplateCode = "04190019", Tentative = true }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText2 = new LevelText() { Val = "%2." }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Indentation indentation2 = new Indentation() { Left = "1647", Hanging = "360" }; previousParagraphProperties2.Append(indentation2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); Level level3 = new Level() { LevelIndex = 2, TemplateCode = "0419001B", Tentative = true }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText3 = new LevelText() { Val = "%3." }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Indentation indentation3 = new Indentation() { Left = "2367", Hanging = "180" }; previousParagraphProperties3.Append(indentation3); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); Level level4 = new Level() { LevelIndex = 3, TemplateCode = "0419000F", Tentative = true }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText4 = new LevelText() { Val = "%4." }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Indentation indentation4 = new Indentation() { Left = "3087", Hanging = "360" }; previousParagraphProperties4.Append(indentation4); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); Level level5 = new Level() { LevelIndex = 4, TemplateCode = "04190019", Tentative = true }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText5 = new LevelText() { Val = "%5." }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Indentation indentation5 = new Indentation() { Left = "3807", Hanging = "360" }; previousParagraphProperties5.Append(indentation5); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); Level level6 = new Level() { LevelIndex = 5, TemplateCode = "0419001B", Tentative = true }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText6 = new LevelText() { Val = "%6." }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Indentation indentation6 = new Indentation() { Left = "4527", Hanging = "180" }; previousParagraphProperties6.Append(indentation6); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); Level level7 = new Level() { LevelIndex = 6, TemplateCode = "0419000F", Tentative = true }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Decimal }; LevelText levelText7 = new LevelText() { Val = "%7." }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Indentation indentation7 = new Indentation() { Left = "5247", Hanging = "360" }; previousParagraphProperties7.Append(indentation7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); Level level8 = new Level() { LevelIndex = 7, TemplateCode = "04190019", Tentative = true }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText8 = new LevelText() { Val = "%8." }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Indentation indentation8 = new Indentation() { Left = "5967", Hanging = "360" }; previousParagraphProperties8.Append(indentation8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); Level level9 = new Level() { LevelIndex = 8, TemplateCode = "0419001B", Tentative = true }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText9 = new LevelText() { Val = "%9." }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Right }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Indentation indentation9 = new Indentation() { Left = "6687", Hanging = "180" }; previousParagraphProperties9.Append(indentation9); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = numberingInstanceId }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 0 }; numberingInstance1.Append(abstractNumId1); numbering.Append(abstractNum1); numbering.Append(numberingInstance1); }
/// <summary> /// Generates a level definition, either for a bullet list or for an ordered list. /// </summary> /// <param name="level">The level (1..9).</param> /// <param name="isOrdered">If set to <c>true</c>, this is an ordered list (numbers are shown before the list items), /// if false, this is an unordered list (bullets are shown before the list items).</param> /// <returns></returns> public Level GenerateLevel(int level, bool isOrdered) { var levelInst = new Level() { LevelIndex = level - 1 }; var startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat; LevelText levelText; if (isOrdered) { numberingFormat = new NumberingFormat() { Val = NumberFormatValues.Decimal }; levelText = new LevelText() { Val = string.Format(System.Globalization.CultureInfo.InvariantCulture, "%{0}.", level) }; } else { numberingFormat = new NumberingFormat() { Val = NumberFormatValues.Bullet }; levelText = new LevelText() { Val = "·" }; } var levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left }; var previousParagraphProperties = new PreviousParagraphProperties(); string indentationLeft = (360 + 360 * level).ToString(System.Globalization.CultureInfo.InvariantCulture); var indentation1 = new Indentation() { Left = indentationLeft, Hanging = "360" }; previousParagraphProperties.Append(indentation1); var numberingSymbolRunProperties = new NumberingSymbolRunProperties(); // needed only for bullet list, Font may depend on the bullet you want to show var runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties.Append(runFonts1); levelInst.Append(startNumberingValue1); levelInst.Append(numberingFormat); levelInst.Append(levelText); levelInst.Append(levelJustification); levelInst.Append(previousParagraphProperties); if (!isOrdered) { levelInst.Append(numberingSymbolRunProperties); } return(levelInst); }
// Creates an Numbering instance and adds its children. public static Numbering GenerateNumbering() { Numbering numbering1 = new Numbering() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se w16cid wp14" } }; numbering1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"); numbering1.AddNamespaceDeclaration("cx", "http://schemas.microsoft.com/office/drawing/2014/chartex"); numbering1.AddNamespaceDeclaration("cx1", "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"); numbering1.AddNamespaceDeclaration("cx2", "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex"); numbering1.AddNamespaceDeclaration("cx3", "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex"); numbering1.AddNamespaceDeclaration("cx4", "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex"); numbering1.AddNamespaceDeclaration("cx5", "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex"); numbering1.AddNamespaceDeclaration("cx6", "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex"); numbering1.AddNamespaceDeclaration("cx7", "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex"); numbering1.AddNamespaceDeclaration("cx8", "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex"); numbering1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); numbering1.AddNamespaceDeclaration("aink", "http://schemas.microsoft.com/office/drawing/2016/ink"); numbering1.AddNamespaceDeclaration("am3d", "http://schemas.microsoft.com/office/drawing/2017/model3d"); numbering1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office"); numbering1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); numbering1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"); numbering1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml"); numbering1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"); numbering1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word"); numbering1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"); numbering1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml"); numbering1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml"); numbering1.AddNamespaceDeclaration("w16cid", "http://schemas.microsoft.com/office/word/2016/wordml/cid"); numbering1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex"); numbering1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"); numbering1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk"); numbering1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml"); numbering1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"); AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 0 }; abstractNum1.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid1 = new Nsid() { Val = "10C4535E" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.SingleLevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "2CD42C2E" }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.LowerRoman }; LevelText levelText1 = new LevelText() { Val = "(%1)" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Number, Position = 1440 }; tabs1.Append(tabStop1); Indentation indentation1 = new Indentation() { Left = "1440", Hanging = "720" }; previousParagraphProperties1.Append(tabs1); previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); AbstractNum abstractNum2 = new AbstractNum() { AbstractNumberId = 1 }; abstractNum2.SetAttribute(new OpenXmlAttribute("w15", "restartNumberingAfterBreak", "http://schemas.microsoft.com/office/word/2012/wordml", "0")); Nsid nsid2 = new Nsid() { Val = "59A96530" }; MultiLevelType multiLevelType2 = new MultiLevelType() { Val = MultiLevelValues.SingleLevel }; TemplateCode templateCode2 = new TemplateCode() { Val = "519068B4" }; Level level2 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 3 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.LowerLetter }; LevelText levelText2 = new LevelText() { Val = "(%1)" }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Number, Position = 720 }; tabs2.Append(tabStop2); Indentation indentation2 = new Indentation() { Left = "720", Hanging = "720" }; previousParagraphProperties2.Append(tabs2); previousParagraphProperties2.Append(indentation2); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.Default }; numberingSymbolRunProperties2.Append(runFonts2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); abstractNum2.Append(nsid2); abstractNum2.Append(multiLevelType2); abstractNum2.Append(templateCode2); abstractNum2.Append(level2); NumberingInstance numberingInstance1 = new NumberingInstance() { NumberID = 1 }; AbstractNumId abstractNumId1 = new AbstractNumId() { Val = 1 }; numberingInstance1.Append(abstractNumId1); NumberingInstance numberingInstance2 = new NumberingInstance() { NumberID = 2 }; AbstractNumId abstractNumId2 = new AbstractNumId() { Val = 0 }; numberingInstance2.Append(abstractNumId2); numbering1.Append(abstractNum1); numbering1.Append(abstractNum2); numbering1.Append(numberingInstance1); numbering1.Append(numberingInstance2); return(numbering1); }
// Creates an AbstractNum instance and adds its children. public static AbstractNum GenerateAbstractNum10() { AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = 10 }; Nsid nsid1 = new Nsid() { Val = "056B0B64" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.Multilevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "34D070E4" }; StyleLink styleLink1 = new StyleLink() { Val = "ListBullets" }; Level level1 = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; ParagraphStyleIdInLevel paragraphStyleIdInLevel1 = new ParagraphStyleIdInLevel() { Val = "ListBullet1" }; LevelText levelText1 = new LevelText() { Val = "§" }; LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Tabs tabs1 = new Tabs(); TabStop tabStop1 = new TabStop() { Val = TabStopValues.Number, Position = 1267 }; tabs1.Append(tabStop1); Indentation indentation1 = new Indentation() { Left = "1267", Hanging = "360" }; previousParagraphProperties1.Append(tabs1); previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(paragraphStyleIdInLevel1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); Level level2 = new Level() { LevelIndex = 1 }; StartNumberingValue startNumberingValue2 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat2 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; ParagraphStyleIdInLevel paragraphStyleIdInLevel2 = new ParagraphStyleIdInLevel() { Val = "ListBullet2" }; LevelText levelText2 = new LevelText() { Val = "o" }; LevelJustification levelJustification2 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties2 = new PreviousParagraphProperties(); Tabs tabs2 = new Tabs(); TabStop tabStop2 = new TabStop() { Val = TabStopValues.Number, Position = 1627 }; tabs2.Append(tabStop2); Indentation indentation2 = new Indentation() { Left = "1627", Hanging = "360" }; previousParagraphProperties2.Append(tabs2); previousParagraphProperties2.Append(indentation2); NumberingSymbolRunProperties numberingSymbolRunProperties2 = new NumberingSymbolRunProperties(); RunFonts runFonts2 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties2.Append(runFonts2); level2.Append(startNumberingValue2); level2.Append(numberingFormat2); level2.Append(paragraphStyleIdInLevel2); level2.Append(levelText2); level2.Append(levelJustification2); level2.Append(previousParagraphProperties2); level2.Append(numberingSymbolRunProperties2); Level level3 = new Level() { LevelIndex = 2 }; StartNumberingValue startNumberingValue3 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat3 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText3 = new LevelText() { Val = "§" }; LevelJustification levelJustification3 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties3 = new PreviousParagraphProperties(); Indentation indentation3 = new Indentation() { Left = "2160", Hanging = "360" }; previousParagraphProperties3.Append(indentation3); NumberingSymbolRunProperties numberingSymbolRunProperties3 = new NumberingSymbolRunProperties(); RunFonts runFonts3 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties3.Append(runFonts3); level3.Append(startNumberingValue3); level3.Append(numberingFormat3); level3.Append(levelText3); level3.Append(levelJustification3); level3.Append(previousParagraphProperties3); level3.Append(numberingSymbolRunProperties3); Level level4 = new Level() { LevelIndex = 3 }; StartNumberingValue startNumberingValue4 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat4 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText4 = new LevelText() { Val = "·" }; LevelJustification levelJustification4 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties4 = new PreviousParagraphProperties(); Indentation indentation4 = new Indentation() { Left = "2880", Hanging = "360" }; previousParagraphProperties4.Append(indentation4); NumberingSymbolRunProperties numberingSymbolRunProperties4 = new NumberingSymbolRunProperties(); RunFonts runFonts4 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties4.Append(runFonts4); level4.Append(startNumberingValue4); level4.Append(numberingFormat4); level4.Append(levelText4); level4.Append(levelJustification4); level4.Append(previousParagraphProperties4); level4.Append(numberingSymbolRunProperties4); Level level5 = new Level() { LevelIndex = 4 }; StartNumberingValue startNumberingValue5 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat5 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText5 = new LevelText() { Val = "o" }; LevelJustification levelJustification5 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties5 = new PreviousParagraphProperties(); Indentation indentation5 = new Indentation() { Left = "3600", Hanging = "360" }; previousParagraphProperties5.Append(indentation5); NumberingSymbolRunProperties numberingSymbolRunProperties5 = new NumberingSymbolRunProperties(); RunFonts runFonts5 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties5.Append(runFonts5); level5.Append(startNumberingValue5); level5.Append(numberingFormat5); level5.Append(levelText5); level5.Append(levelJustification5); level5.Append(previousParagraphProperties5); level5.Append(numberingSymbolRunProperties5); Level level6 = new Level() { LevelIndex = 5 }; StartNumberingValue startNumberingValue6 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat6 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText6 = new LevelText() { Val = "§" }; LevelJustification levelJustification6 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties6 = new PreviousParagraphProperties(); Indentation indentation6 = new Indentation() { Left = "4320", Hanging = "360" }; previousParagraphProperties6.Append(indentation6); NumberingSymbolRunProperties numberingSymbolRunProperties6 = new NumberingSymbolRunProperties(); RunFonts runFonts6 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties6.Append(runFonts6); level6.Append(startNumberingValue6); level6.Append(numberingFormat6); level6.Append(levelText6); level6.Append(levelJustification6); level6.Append(previousParagraphProperties6); level6.Append(numberingSymbolRunProperties6); Level level7 = new Level() { LevelIndex = 6 }; StartNumberingValue startNumberingValue7 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat7 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText7 = new LevelText() { Val = "·" }; LevelJustification levelJustification7 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties7 = new PreviousParagraphProperties(); Indentation indentation7 = new Indentation() { Left = "5040", Hanging = "360" }; previousParagraphProperties7.Append(indentation7); NumberingSymbolRunProperties numberingSymbolRunProperties7 = new NumberingSymbolRunProperties(); RunFonts runFonts7 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties7.Append(runFonts7); level7.Append(startNumberingValue7); level7.Append(numberingFormat7); level7.Append(levelText7); level7.Append(levelJustification7); level7.Append(previousParagraphProperties7); level7.Append(numberingSymbolRunProperties7); Level level8 = new Level() { LevelIndex = 7 }; StartNumberingValue startNumberingValue8 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat8 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText8 = new LevelText() { Val = "o" }; LevelJustification levelJustification8 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties8 = new PreviousParagraphProperties(); Indentation indentation8 = new Indentation() { Left = "5760", Hanging = "360" }; previousParagraphProperties8.Append(indentation8); NumberingSymbolRunProperties numberingSymbolRunProperties8 = new NumberingSymbolRunProperties(); RunFonts runFonts8 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Courier New", HighAnsi = "Courier New" }; numberingSymbolRunProperties8.Append(runFonts8); level8.Append(startNumberingValue8); level8.Append(numberingFormat8); level8.Append(levelText8); level8.Append(levelJustification8); level8.Append(previousParagraphProperties8); level8.Append(numberingSymbolRunProperties8); Level level9 = new Level() { LevelIndex = 8 }; StartNumberingValue startNumberingValue9 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat9 = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText9 = new LevelText() { Val = "§" }; LevelJustification levelJustification9 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties9 = new PreviousParagraphProperties(); Indentation indentation9 = new Indentation() { Left = "6480", Hanging = "360" }; previousParagraphProperties9.Append(indentation9); NumberingSymbolRunProperties numberingSymbolRunProperties9 = new NumberingSymbolRunProperties(); RunFonts runFonts9 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Wingdings", HighAnsi = "Wingdings" }; numberingSymbolRunProperties9.Append(runFonts9); level9.Append(startNumberingValue9); level9.Append(numberingFormat9); level9.Append(levelText9); level9.Append(levelJustification9); level9.Append(previousParagraphProperties9); level9.Append(numberingSymbolRunProperties9); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(styleLink1); abstractNum1.Append(level1); abstractNum1.Append(level2); abstractNum1.Append(level3); abstractNum1.Append(level4); abstractNum1.Append(level5); abstractNum1.Append(level6); abstractNum1.Append(level7); abstractNum1.Append(level8); abstractNum1.Append(level9); return(abstractNum1); }
private void InitNumberDefinitions() { AbstractNum abstractNum = new AbstractNum() { AbstractNumberId = numberId }; Level level = new Level() { LevelIndex = 0 }; StartNumberingValue startNumberingValue = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat = new NumberingFormat() { Val = NumberFormatValues.Bullet }; LevelText levelText = new LevelText() { Val = "·" }; LevelJustification levelJustification = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties = new PreviousParagraphProperties(); Indentation indentation = new Indentation() { Start = "720", Hanging = "360" }; previousParagraphProperties.Append(indentation); NumberingSymbolRunProperties numberingSymbolRunProperties = new NumberingSymbolRunProperties(); RunFonts runFonts = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; numberingSymbolRunProperties.Append(runFonts); level.Append(startNumberingValue); level.Append(numberingFormat); level.Append(levelText); level.Append(levelJustification); level.Append(previousParagraphProperties); level.Append(numberingSymbolRunProperties); abstractNum.Append(level); NumberingInstance numberingInstance = new NumberingInstance() { NumberID = numberId }; AbstractNumId abstractNumId = new AbstractNumId() { Val = numberId }; numberingInstance.Append(abstractNumId); context.SaveNumberingDefinition(numberId, abstractNum, numberingInstance); }
private static AbstractNum GenerateAbstractNum(int id, bool ordered, String symbol) { AbstractNum abstractNum1 = new AbstractNum() { AbstractNumberId = id }; Nsid nsid1 = new Nsid() { Val = "1FAB1E90" }; MultiLevelType multiLevelType1 = new MultiLevelType() { Val = MultiLevelValues.SingleLevel }; TemplateCode templateCode1 = new TemplateCode() { Val = "5BB0F638" }; Level level1 = new Level() { LevelIndex = 0, TemplateCode = "04090001" }; StartNumberingValue startNumberingValue1 = new StartNumberingValue() { Val = 1 }; NumberingFormat numberingFormat1 = new NumberingFormat(); LevelText levelText1 = new LevelText(); if (ordered) { numberingFormat1.Val = NumberFormatValues.Decimal; if (symbol == null) symbol = "."; levelText1.Val = "%1" + symbol; }else { numberingFormat1.Val = NumberFormatValues.Bullet; if (symbol == null) symbol = "-"; levelText1.Val = symbol; } LevelJustification levelJustification1 = new LevelJustification() { Val = LevelJustificationValues.Left }; PreviousParagraphProperties previousParagraphProperties1 = new PreviousParagraphProperties(); Indentation indentation1 = new Indentation() { Left = "720", Hanging = "360" }; previousParagraphProperties1.Append(indentation1); NumberingSymbolRunProperties numberingSymbolRunProperties1 = new NumberingSymbolRunProperties(); //RunFonts runFonts1 = new RunFonts() { Hint = FontTypeHintValues.Default, Ascii = "Symbol", HighAnsi = "Symbol" }; //numberingSymbolRunProperties1.Append(runFonts1); level1.Append(startNumberingValue1); level1.Append(numberingFormat1); level1.Append(levelText1); level1.Append(levelJustification1); level1.Append(previousParagraphProperties1); level1.Append(numberingSymbolRunProperties1); abstractNum1.Append(nsid1); abstractNum1.Append(multiLevelType1); abstractNum1.Append(templateCode1); abstractNum1.Append(level1); return abstractNum1; }