You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/aspose/words/cloud/model/requests/ConvertDocumentRequest.java
+67-1Lines changed: 67 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,21 @@ public class ConvertDocumentRequest implements RequestIfc {
66
66
*/
67
67
privateStringstorage;
68
68
69
+
/*
70
+
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
71
+
*/
72
+
privateStringloadEncoding;
73
+
74
+
/*
75
+
* Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
76
+
*/
77
+
privateStringpassword;
78
+
79
+
/*
80
+
* Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
81
+
*/
82
+
privateStringencryptedPassword;
83
+
69
84
/*
70
85
* Folder in filestorage with custom fonts.
71
86
*/
@@ -79,14 +94,20 @@ public class ConvertDocumentRequest implements RequestIfc {
79
94
* @param String outPath The path to the output document on a local storage.
80
95
* @param String fileNameFieldValue The filename of the output document, that will be used when the resulting document has a dynamic field {filename}. If it is not set, the "sourceFilename" will be used instead.
81
96
* @param String storage Original document storage.
97
+
* @param String loadEncoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
98
+
* @param String password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
99
+
* @param String encryptedPassword Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
82
100
* @param String fontsLocation Folder in filestorage with custom fonts.
@@ -160,6 +181,48 @@ public void setStorage(String value) {
160
181
this.storage = value;
161
182
}
162
183
184
+
/*
185
+
* Gets Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
186
+
*/
187
+
publicStringgetLoadEncoding() {
188
+
returnthis.loadEncoding;
189
+
}
190
+
191
+
/*
192
+
* Sets Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
193
+
*/
194
+
publicvoidsetLoadEncoding(Stringvalue) {
195
+
this.loadEncoding = value;
196
+
}
197
+
198
+
/*
199
+
* Gets Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
200
+
*/
201
+
publicStringgetPassword() {
202
+
returnthis.password;
203
+
}
204
+
205
+
/*
206
+
* Sets Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
207
+
*/
208
+
publicvoidsetPassword(Stringvalue) {
209
+
this.password = value;
210
+
}
211
+
212
+
/*
213
+
* Gets Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
214
+
*/
215
+
publicStringgetEncryptedPassword() {
216
+
returnthis.encryptedPassword;
217
+
}
218
+
219
+
/*
220
+
* Sets Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
221
+
*/
222
+
publicvoidsetEncryptedPassword(Stringvalue) {
223
+
this.encryptedPassword = value;
224
+
}
225
+
163
226
/*
164
227
* Gets Folder in filestorage with custom fonts.
165
228
*/
@@ -206,6 +269,9 @@ public Request buildHttpRequest(ApiClient apiClient, final ProgressResponseBody.
0 commit comments