@@ -16,6 +16,21 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1616- Add & remove watermarks and protection.
1717- Read & write access to Document Object Model.
1818
19+ ## Enhancements in Version 20.6
20+
21+ - Added new methods:
22+ - deleteAllParagraphTabStopsWithoutNodePath
23+ - deleteParagraphTabStopWithoutNodePath
24+ - getParagraphTabStopsWithoutNodePath
25+ - insertOrUpdateParagraphTabStopWithoutNodePath
26+ - insertParagraphWithoutNodePath
27+ - updateParagraphFormatWithoutNodePath
28+ - updateParagraphListFormatWithoutNodePath
29+ - deleteParagraphListFormatWithoutNodePath
30+ - DrawingObject related methods have been changed body content. Special request classes are introduced instead of strings.
31+ - insertOrUpdateParagraphTabStop, deleteParagraphTabStop methods have been changed parameter order
32+ - OoxmlSaveOptionsData.CompressionLevel property has been added
33+
1934## Enhancements in Version 20.5
2035
2136- Added methods to work with Word document lists
@@ -109,7 +124,7 @@ The complete source code is available at [GitHub Repository](https://github.com/
109124 // Start README example
110125
111126 // create API instance (baseUrl is optional)
112- var wordsApi = new WordsApi (appSid, appKey, baseUrl);
127+ const wordsApi = new WordsApi (appSid, appKey, baseUrl);
113128
114129 // upload file to the Aspose cloud
115130 const uploadRequest = new UploadFileRequest ();
@@ -119,7 +134,7 @@ The complete source code is available at [GitHub Repository](https://github.com/
119134 wordsApi .uploadFile (uploadRequest)
120135 .then ((_uploadResult ) => {
121136 // save the file as pdf in the cloud
122- var request = new SaveAsRequest ({
137+ const request = new SaveAsRequest ({
123138 name: " uploaded.docx" ,
124139 saveOptionsData: new SaveOptionsData (
125140 {
@@ -132,14 +147,12 @@ The complete source code is available at [GitHub Repository](https://github.com/
132147 .then ((_result ) => {
133148 // deal with the pdf file
134149 })
135- .catch (function (err ) {
136- console .log (err .reponse .statusCode );
137- console .log (err .body );
150+ .catch (function (_err ) {
151+ // handle saveAs request error
138152 });
139153 })
140- .catch (function (err ) {
141- console .log (err .reponse .statusCode );
142- console .log (err .body );
154+ .catch (function (_err ) {
155+ // handle uploadFile request error
143156 });
144157
145158 // End README example
0 commit comments