asposeslidescloud 24.5.0 → 24.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/internal/requestHelper.js +12 -3
- package/model.d.ts +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,11 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
|
|
|
27
27
|
**Web:** HTML/HTML5
|
|
28
28
|
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
29
|
|
|
30
|
+
## Enhancements in Version 24.6
|
|
31
|
+
|
|
32
|
+
* Added **HideInk** and **InterpretMaskOpAsOpacity** properties to **PdfExportOptions** class.
|
|
33
|
+
* Removed **Enqueued** from the list of allowed values for **Operation.Status** property.
|
|
34
|
+
|
|
30
35
|
## Enhancements in Version 24.5
|
|
31
36
|
|
|
32
37
|
* Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
|
|
@@ -38,14 +38,23 @@ const https = require('https');
|
|
|
38
38
|
axios_1.default.interceptors.request.use(request => {
|
|
39
39
|
if (request.debug) {
|
|
40
40
|
console.log('>> Request');
|
|
41
|
-
console.log(request);
|
|
41
|
+
console.log(request.method + ' ' + request.url);
|
|
42
|
+
console.log('Headers\n' + request.headers);
|
|
43
|
+
console.log('Data: ' + JSON.stringify(request.data));
|
|
42
44
|
}
|
|
43
45
|
return request;
|
|
44
46
|
});
|
|
45
47
|
axios_1.default.interceptors.response.use(response => {
|
|
46
48
|
if (response.config.debug) {
|
|
47
49
|
console.log('<< Response');
|
|
48
|
-
console.log(response);
|
|
50
|
+
console.log('Status: ' + response.status);
|
|
51
|
+
console.log('Headers\n' + response.headers);
|
|
52
|
+
if (Buffer.isBuffer(response.data)) {
|
|
53
|
+
console.log('Data: binary (' + Buffer.byteLength((response.data)) + ' bytes)');
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
console.log('Data: ' + JSON.stringify(response.data));
|
|
57
|
+
}
|
|
49
58
|
}
|
|
50
59
|
return response;
|
|
51
60
|
});
|
|
@@ -160,7 +169,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
|
|
|
160
169
|
if (!requestOptions.headers) {
|
|
161
170
|
requestOptions.headers = {};
|
|
162
171
|
}
|
|
163
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.
|
|
172
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.6.0";
|
|
164
173
|
if (configuration.timeout) {
|
|
165
174
|
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
|
|
166
175
|
}
|
package/model.d.ts
CHANGED
|
@@ -4591,7 +4591,6 @@ export declare class Operation {
|
|
|
4591
4591
|
status: Operation.StatusEnum;
|
|
4592
4592
|
progress?: OperationProgress;
|
|
4593
4593
|
created?: Date;
|
|
4594
|
-
enqueued?: Date;
|
|
4595
4594
|
started?: Date;
|
|
4596
4595
|
failed?: Date;
|
|
4597
4596
|
canceled?: Date;
|
|
@@ -5223,6 +5222,14 @@ export declare class PdfExportOptions extends ExportOptions {
|
|
|
5223
5222
|
* Access permissions that should be granted when the document is opened with user access. Default is AccessPermissions.None.
|
|
5224
5223
|
*/
|
|
5225
5224
|
accessPermissions?: AccessPermissions;
|
|
5225
|
+
/**
|
|
5226
|
+
* True to hide Ink elements in exported document.
|
|
5227
|
+
*/
|
|
5228
|
+
hideInk?: boolean;
|
|
5229
|
+
/**
|
|
5230
|
+
* True to use ROP operation or Opacity for rendering brush.
|
|
5231
|
+
*/
|
|
5232
|
+
interpretMaskOpAsOpacity?: boolean;
|
|
5226
5233
|
}
|
|
5227
5234
|
export declare namespace PdfExportOptions {
|
|
5228
5235
|
enum TextCompressionEnum {
|