From c5c67fd92aa6a7d6684d471da2edfede6caa3fc3 Mon Sep 17 00:00:00 2001 From: askoufis Date: Thu, 7 Mar 2019 15:28:30 +1100 Subject: [PATCH 1/4] Fixes typo in numbering documentation --- docs/usage/numbering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/numbering.md b/docs/usage/numbering.md index 841ac2e114..7a639a283f 100644 --- a/docs/usage/numbering.md +++ b/docs/usage/numbering.md @@ -26,7 +26,7 @@ _levels_ which form a sequence starting at 0 indicating the top-level list look and increasing from there to descibe the sublists, then sub-sublists, etc. Each level includes the following properties: -* **level**: This its 0-based index in the defintion stack +* **level**: This is its 0-based index in the defintion stack * **numberFormat**: This indicates how the bullet or number should be generated. Options include `bullet` (meaning don't count), `decimal` (arabic numerals), `upperRoman`, `lowerRoman`, `hex`, and many From 3bebe0ad59dad6b3f0ff6c962f40d4f23b66c877 Mon Sep 17 00:00:00 2001 From: askoufis Date: Thu, 7 Mar 2019 15:32:16 +1100 Subject: [PATCH 2/4] Found another typo --- docs/usage/numbering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/numbering.md b/docs/usage/numbering.md index 7a639a283f..8e0318a68c 100644 --- a/docs/usage/numbering.md +++ b/docs/usage/numbering.md @@ -26,7 +26,7 @@ _levels_ which form a sequence starting at 0 indicating the top-level list look and increasing from there to descibe the sublists, then sub-sublists, etc. Each level includes the following properties: -* **level**: This is its 0-based index in the defintion stack +* **level**: This is its 0-based index in the definition stack * **numberFormat**: This indicates how the bullet or number should be generated. Options include `bullet` (meaning don't count), `decimal` (arabic numerals), `upperRoman`, `lowerRoman`, `hex`, and many From 55c5dd818a7eb3c2d2d8990d0513d4282a797e54 Mon Sep 17 00:00:00 2001 From: askoufis Date: Thu, 7 Mar 2019 15:33:32 +1100 Subject: [PATCH 3/4] More typos --- docs/usage/numbering.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/numbering.md b/docs/usage/numbering.md index 8e0318a68c..31fa697b1b 100644 --- a/docs/usage/numbering.md +++ b/docs/usage/numbering.md @@ -64,8 +64,8 @@ styles or numbering of any kind, you'll have to use the `docx.Numbering` class. First you need to create a new numbering container class and use it to -create your abstract numbering style, define your levels, and creat -your concreate numbering style: +create your abstract numbering style, define your levels, and create +your concrete numbering style: ```js const numbering = new docx.Numbering(); From b0d0041ff9ecce7defb05e0be528fd8a9c063165 Mon Sep 17 00:00:00 2001 From: askoufis Date: Thu, 7 Mar 2019 15:36:06 +1100 Subject: [PATCH 4/4] Rewording and remove # --- docs/usage/numbering.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/numbering.md b/docs/usage/numbering.md index 31fa697b1b..ba8f10cdba 100644 --- a/docs/usage/numbering.md +++ b/docs/usage/numbering.md @@ -78,8 +78,8 @@ abstractNum.createLevel(2, "lowerLetter", "%3)", "start").addParagraphProperty(n const concrete = numbering.createConcreteNumbering(abstractNum); ``` -You can then apply your concrete style to paragraphs using their -`#setNumbering` method: +You can then apply your concrete style to paragraphs using the +`setNumbering` method: ```js topLevelP.setNumbering(concrete, 0);