{"@attributes":{"version":"2.0"},"channel":{"title":"Documentation \u2013 Working with Styles in a Word document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/","description":"Recent content in Working with Styles in a Word document online on Documentation","generator":"Hugo -- gohugo.io","item":[{"title":"Developer-Guide: Apply a style to an element in a Word document. online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/apply\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/apply\/","description":"\n        \n        \n        <p>Applies a style to an element in a Word document.<\/p>\n<h2 id=\"apply-a-style-to-an-element-in-a-word-document-rest-api\">Apply a style to an element in a Word document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/put\/{styledNodePath}\/style<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>, where:<\/p>\n<ul>\n<li><strong><code>styledNodePath<\/code><\/strong> (required) \u2014 the path to the node in the document tree, that supports styles: ParagraphFormat, List, ListLevel, Table.<\/li>\n<\/ul>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<tr>\n<td><code>destFileName<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionAuthor<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionDateTime<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>The date and time to use for revisions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<tr>\n<td><code>styleApply<\/code><\/td>\n<td>StyleApply<\/td>\n<td>Required<\/td>\n<td>Style to apply.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"apply-a-style-to-an-element-in-a-word-document-usage-examples\">Apply a style to an element in a Word document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-apply-a-style-to-an-element-in-a-word-document-with-curl-or-postman\">How to apply a style to an element in a Word document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=ApplyStyleToDocumentElementOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=ApplyStyleToDocumentElementOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-apply-a-style-to-an-element-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to apply a style to an element in a Word document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=ApplyStyleToDocumentElementOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=ApplyStyleToDocumentElementOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=ApplyStyleToDocumentElementOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=ApplyStyleToDocumentElementOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=ApplyStyleToDocumentElementOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=ApplyStyleToDocumentElementOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=ApplyStyleToDocumentElementOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=ApplyStyleToDocumentElementOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=ApplyStyleToDocumentElementOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=ApplyStyleToDocumentElementOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Copy the style of the specified Word document element online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/copy\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/copy\/","description":"\n        \n        \n        <p>Copies the style of the specified Word document element.<\/p>\n<h2 id=\"copy-the-style-of-the-specified-word-document-element-rest-api\">Copy the style of the specified Word document element REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/post\/styles\/copy<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<tr>\n<td><code>destFileName<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionAuthor<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionDateTime<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>The date and time to use for revisions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<tr>\n<td><code>styleCopy<\/code><\/td>\n<td>StyleCopy<\/td>\n<td>Required<\/td>\n<td>Style to copy.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"copy-the-style-of-the-specified-word-document-element-usage-examples\">Copy the style of the specified Word document element usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-copy-the-style-of-the-specified-word-document-element-with-curl-or-postman\">How to copy the style of the specified Word document element with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=CopyStyleOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=CopyStyleOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-copy-the-style-of-the-specified-word-document-element-in-python-java-c-c-javascript-and-other-programming-languages\">How to copy the style of the specified Word document element in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=CopyStyleOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=CopyStyleOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=CopyStyleOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=CopyStyleOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=CopyStyleOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=CopyStyleOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=CopyStyleOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=CopyStyleOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=CopyStyleOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=CopyStyleOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Copy all styles from the source document to the target document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/copy-from-template\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/copy-from-template\/","description":"\n        \n        \n        <p>Copies all styles from the source document to the target document.<\/p>\n<h2 id=\"copy-all-styles-from-the-source-document-to-the-target-document-rest-api\">Copy all styles from the source document to the target document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/{name}\/styles\/copy_from<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>, where:<\/p>\n<ul>\n<li><strong><code>name<\/code><\/strong> (required) \u2014 the filename of the target document.<\/li>\n<\/ul>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>templateName<\/code><\/td>\n<td>string<\/td>\n<td>Required<\/td>\n<td>The filename of the origin document.<\/td>\n<\/tr>\n<tr>\n<td><code>folder<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Original document folder.<\/td>\n<\/tr>\n<tr>\n<td><code>storage<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Original document storage.<\/td>\n<\/tr>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<tr>\n<td><code>destFileName<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionAuthor<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionDateTime<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>The date and time to use for revisions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"copy-all-styles-from-the-source-document-to-the-target-document-usage-examples\">Copy all styles from the source document to the target document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-copy-all-styles-from-the-source-document-to-the-target-document-with-curl-or-postman\">How to copy all styles from the source document to the target document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=CopyStylesFromTemplate.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=CopyStylesFromTemplate.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-copy-all-styles-from-the-source-document-to-the-target-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to copy all styles from the source document to the target document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=CopyStylesFromTemplate.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=CopyStylesFromTemplate.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=CopyStylesFromTemplate.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=CopyStylesFromTemplate.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=CopyStylesFromTemplate.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=CopyStylesFromTemplate.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=CopyStylesFromTemplate.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=CopyStylesFromTemplate.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=CopyStylesFromTemplate.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=CopyStylesFromTemplate.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Get a style in a Word document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/read\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/read\/","description":"\n        \n        \n        <p>Returns a style in a Word document.<\/p>\n<h2 id=\"get-a-style-in-a-word-document-rest-api\">Get a style in a Word document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/get\/styles\/{styleName}<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>, where:<\/p>\n<ul>\n<li><strong><code>styleName<\/code><\/strong> (required) \u2014 the name of the style.<\/li>\n<\/ul>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"get-a-style-in-a-word-document-usage-examples\">Get a style in a Word document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-get-a-style-in-a-word-document-with-curl-or-postman\">How to get a style in a Word document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=GetStyleOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=GetStyleOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-get-a-style-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to get a style in a Word document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=GetStyleOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=GetStyleOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=GetStyleOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=GetStyleOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=GetStyleOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=GetStyleOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=GetStyleOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=GetStyleOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=GetStyleOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=GetStyleOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Get the style of the document element online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/get\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/get\/","description":"\n        \n        \n        <p>Returns the style of the specified document element.<\/p>\n<h2 id=\"get-the-style-of-the-document-element-rest-api\">Get the style of the document element REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/get\/{styledNodePath}\/style<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>, where:<\/p>\n<ul>\n<li><strong><code>styledNodePath<\/code><\/strong> (required) \u2014 the path to the node in the document tree, that supports styles: ParagraphFormat, List, ListLevel, Table.<\/li>\n<\/ul>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"get-the-style-of-the-document-element-usage-examples\">Get the style of the document element usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-get-the-style-of-the-document-element-with-curl-or-postman\">How to get the style of the document element with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=GetStyleFromDocumentElementOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=GetStyleFromDocumentElementOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-get-the-style-of-the-document-element-in-python-java-c-c-javascript-and-other-programming-languages\">How to get the style of the document element in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=GetStyleFromDocumentElementOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=GetStyleFromDocumentElementOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=GetStyleFromDocumentElementOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=GetStyleFromDocumentElementOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=GetStyleFromDocumentElementOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=GetStyleFromDocumentElementOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=GetStyleFromDocumentElementOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=GetStyleFromDocumentElementOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=GetStyleFromDocumentElementOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=GetStyleFromDocumentElementOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Get all styles in a Word document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/get-all\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/get-all\/","description":"\n        \n        \n        <p>Returns all styles in a Word document.<\/p>\n<h2 id=\"get-all-styles-in-a-word-document-rest-api\">Get all styles in a Word document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/get\/styles<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"get-all-styles-in-a-word-document-usage-examples\">Get all styles in a Word document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-get-all-styles-in-a-word-document-with-curl-or-postman\">How to get all styles in a Word document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=GetStylesOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=GetStylesOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-get-all-styles-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to get all styles in a Word document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=GetStylesOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=GetStylesOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=GetStylesOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=GetStylesOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=GetStylesOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=GetStylesOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=GetStylesOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=GetStylesOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=GetStylesOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=GetStylesOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Insert a style for an element in a Word document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/insert\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/insert\/","description":"\n        \n        \n        <p>Inserts a style for an element in a Word document.<\/p>\n<h2 id=\"insert-a-style-for-an-element-in-a-word-document-rest-api\">Insert a style for an element in a Word document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/post\/styles\/insert<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<tr>\n<td><code>destFileName<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionAuthor<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionDateTime<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>The date and time to use for revisions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<tr>\n<td><code>styleInsert<\/code><\/td>\n<td>StyleInsert<\/td>\n<td>Required<\/td>\n<td>Style to insert.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"insert-a-style-for-an-element-in-a-word-document-usage-examples\">Insert a style for an element in a Word document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-insert-a-style-for-an-element-in-a-word-document-with-curl-or-postman\">How to insert a style for an element in a Word document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=InsertStyleOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=InsertStyleOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-insert-a-style-for-an-element-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to insert a style for an element in a Word document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=InsertStyleOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=InsertStyleOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=InsertStyleOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=InsertStyleOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=InsertStyleOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=InsertStyleOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=InsertStyleOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=InsertStyleOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=InsertStyleOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=InsertStyleOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "},{"title":"Developer-Guide: Update the style of an element in a Word document online","link":"https:\/\/docs.aspose.cloud\/words\/styles\/update\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.aspose.cloud\/words\/styles\/update\/","description":"\n        \n        \n        <p>Updates the style of an element in a Word document.<\/p>\n<h2 id=\"update-the-style-of-an-element-in-a-word-document-rest-api\">Update the style of an element in a Word document REST API<\/h2>\n<table>\n<thead>\n<tr>\n<th>Server<\/th>\n<th>Method<\/th>\n<th>Endpoint<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>https:\/\/api.aspose.cloud\/v4.0<\/code><\/td>\n<td>PUT<\/td>\n<td><code>\/words\/online\/put\/styles\/{styleName}\/update<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>, where:<\/p>\n<ul>\n<li><strong><code>styleName<\/code><\/strong> (required) \u2014 the name of the style.<\/li>\n<\/ul>\n<p>You can use the following parameters in a REST request:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>loadEncoding<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&rsquo;t recommend to use the parameter to pass a plain password for direct call of API.<\/td>\n<\/tr>\n<tr>\n<td><code>encryptedPassword<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.<\/td>\n<\/tr>\n<tr>\n<td><code>destFileName<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionAuthor<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.<\/td>\n<\/tr>\n<tr>\n<td><code>revisionDateTime<\/code><\/td>\n<td>string<\/td>\n<td>Optional<\/td>\n<td>The date and time to use for revisions.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use <code>$multipart\/form-data<\/code> request to combine one or more properties into a single body:<\/p>\n<table>\n<thead>\n<tr>\n<th>Property Name<\/th>\n<th>Data Type<\/th>\n<th>Required\/Optional<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>document<\/code><\/td>\n<td>string(binary)<\/td>\n<td>Required<\/td>\n<td>The document.<\/td>\n<\/tr>\n<tr>\n<td><code>styleUpdate<\/code><\/td>\n<td>StyleUpdate<\/td>\n<td>Required<\/td>\n<td>Style properties to update.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<div class=\"alert alert-primary\" role=\"alert\">\n\n<strong>Note<\/strong>: to access this REST API, you need to register and get personal credentials. Use the &lsquo;<a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">Quick Start<\/a>&rsquo; guide to go through the procedure in a couple of minutes.\n<\/div>\n\n<h2 id=\"update-the-style-of-an-element-in-a-word-document-usage-examples\">Update the style of an element in a Word document usage examples<\/h2>\n<p>Let&rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.<\/p>\n<h3 id=\"how-to-update-the-style-of-an-element-in-a-word-document-with-curl-or-postman\">How to update the style of an element in a Word document with cURL or Postman<\/h3>\n<p>One of the easiest and fastest ways to call a REST API is to use cURL or Postman:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-1\" checked=\"checked\" \/>\n      <label for=\"tabs-1-1\">cURL Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/8a52e648cd36d3e0a7402727561073b6.js?file=UpdateStyleOnline.curl\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-1\" id=\"tabs-1-2\"  \/>\n      <label for=\"tabs-1-2\">Postman Request<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/894866974db18d27af2a7f67dd929b6f.js?file=UpdateStyleOnline.json\"><\/script>\n<p style=\"margin-top:-32px;font-size:80%;font-style:italic\">To get a JWT token use these <a href=\"https:\/\/docs.aspose.cloud\/words\/words\/getting-started\/quickstart\/\">instructions<\/a><\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h3 id=\"how-to-update-the-style-of-an-element-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages\">How to update the style of an element in a Word document in Python, Java, C#, C++, JavaScript and other programming languages<\/h3>\n<p>Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:<\/p>\n<div data-nosnippet>\n    \n\n\n\n\n\n<nav>\n  <div class=\"book-tabs nav nav-tabs\" id=\"nav-tab\" role=\"tablist\">\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-1\" checked=\"checked\" \/>\n      <label for=\"tabs-2-1\">Python<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e26813ced70692c544820cd8011ee7e0.js?file=UpdateStyleOnline.py\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-2\"  \/>\n      <label for=\"tabs-2-2\">Java<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/caede439bfd2e57c3010befe504faff4.js?file=UpdateStyleOnline.java\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-3\"  \/>\n      <label for=\"tabs-2-3\">Node.js<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/a9510e4b51613f1138e7c1ec09634c4a.js?file=UpdateStyleOnline.js\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-4\"  \/>\n      <label for=\"tabs-2-4\">C#<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/374e1e3dd4bca8f696f29d913645f549.js?file=UpdateStyleOnline.cs\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-5\"  \/>\n      <label for=\"tabs-2-5\">PHP<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/e2a72445b96362dc0117f06ab54bb94a.js?file=UpdateStyleOnline.php\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-6\"  \/>\n      <label for=\"tabs-2-6\">C&#43;&#43;<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/49aa5151a094849179bae8672c887a0e.js?file=UpdateStyleOnline.cpp\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-7\"  \/>\n      <label for=\"tabs-2-7\">Go<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=config.json\"><\/script>\n<script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/625ca80adffd779e8f6e3611551e14d5.js?file=UpdateStyleOnline.go\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-8\"  \/>\n      <label for=\"tabs-2-8\">Ruby<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/339f3835a4c0a536c81ec941de29baf7.js?file=UpdateStyleOnline.rb\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-9\"  \/>\n      <label for=\"tabs-2-9\">Swift<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/790dbd2edd5d36f170732366f52cac4c.js?file=UpdateStyleOnline.swift\"><\/script>\n<\/div>\n      <input type=\"radio\" class=\"toggle\" name=\"tabs-2\" id=\"tabs-2-10\"  \/>\n      <label for=\"tabs-2-10\">Dart<\/label>\n      <div class=\"book-tabs-content markdown-inner\"><script type=\"application\/javascript\" src=\"https:\/\/gist.github.com\/aspose-words-cloud-gists\/6aae628cf2b878b78fea177c3171c6bf.js?file=UpdateStyleOnline.dart\"><\/script>\n<\/div><\/div>\n<\/nav>\n\n\n<\/div>\n\n<h2 id=\"see-also\">See Also<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/aspose-words-cloud\">GitHub repository<\/a> \u2014 explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.<\/li>\n<\/ul>\n\n      "}]}}