asposeslidescloud 24.3.0 → 24.4.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/api.d.ts +33 -1
- package/api.js +135 -9
- package/internal/requestHelper.js +1 -1
- package/model.d.ts +86 -0
- package/model.js +66 -4
- 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.4
|
|
31
|
+
|
|
32
|
+
* Added **DownloadMathPortion** and **SaveMathPortion** methods to convert math portions to math markup formats (MathML or LaTeX). See [documentation](https://docs.aspose.cloud/slides/export-a-math-formula/) for more info. **DownloadPortionAsMathML** and **SavePortionAsMathML** methods are deprecated and will be removed after 24.6.
|
|
33
|
+
* Added **Marker** property to **DataPoint** class.
|
|
34
|
+
|
|
30
35
|
## Enhancements in Version 24.3
|
|
31
36
|
|
|
32
37
|
* Added Markdown (**Md**) to the list of allowed export formats.
|
package/api.d.ts
CHANGED
|
@@ -903,7 +903,7 @@ export declare class SlidesApi {
|
|
|
903
903
|
* @param folder Document folder.
|
|
904
904
|
* @param storage Presentation storage.
|
|
905
905
|
*/
|
|
906
|
-
deletePictureCroppedAreas(name: string, slideIndex: number, shapeIndex: number, password
|
|
906
|
+
deletePictureCroppedAreas(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
|
|
907
907
|
response: http.ServerResponse;
|
|
908
908
|
}>;
|
|
909
909
|
/**
|
|
@@ -1474,6 +1474,22 @@ export declare class SlidesApi {
|
|
|
1474
1474
|
response: http.ServerResponse;
|
|
1475
1475
|
body: Buffer;
|
|
1476
1476
|
}>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Convert Mathematical Text to MathML Format
|
|
1479
|
+
* @param name Document name.
|
|
1480
|
+
* @param slideIndex Slide index.
|
|
1481
|
+
* @param shapeIndex Shape index.
|
|
1482
|
+
* @param paragraphIndex Paragraph index.
|
|
1483
|
+
* @param portionIndex Portion index.
|
|
1484
|
+
* @param format Format.
|
|
1485
|
+
* @param password Document password.
|
|
1486
|
+
* @param folder Document folder.
|
|
1487
|
+
* @param storage Document storage.
|
|
1488
|
+
*/
|
|
1489
|
+
downloadMathPortion(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, format: model.MathFormat, password?: string, folder?: string, storage?: string): Promise<{
|
|
1490
|
+
response: http.ServerResponse;
|
|
1491
|
+
body: Buffer;
|
|
1492
|
+
}>;
|
|
1477
1493
|
/**
|
|
1478
1494
|
* Convert notes slide to the specified image format.
|
|
1479
1495
|
* @param name Document name.
|
|
@@ -2796,6 +2812,22 @@ export declare class SlidesApi {
|
|
|
2796
2812
|
response: http.ServerResponse;
|
|
2797
2813
|
body: Buffer;
|
|
2798
2814
|
}>;
|
|
2815
|
+
/**
|
|
2816
|
+
* Convert Mathematical Text to MathML Format and saves result to the storage
|
|
2817
|
+
* @param name Document name.
|
|
2818
|
+
* @param slideIndex Slide index.
|
|
2819
|
+
* @param shapeIndex Shape index.
|
|
2820
|
+
* @param paragraphIndex Paragraph index.
|
|
2821
|
+
* @param portionIndex Portion index.
|
|
2822
|
+
* @param format Format.
|
|
2823
|
+
* @param outPath Path to save result.
|
|
2824
|
+
* @param password Document password.
|
|
2825
|
+
* @param folder Presentation folder.
|
|
2826
|
+
* @param storage Presentation storage.
|
|
2827
|
+
*/
|
|
2828
|
+
saveMathPortion(name: string, slideIndex: number, shapeIndex: number, paragraphIndex: number, portionIndex: number, format: model.MathFormat, outPath: string, password?: string, folder?: string, storage?: string): Promise<{
|
|
2829
|
+
response: http.ServerResponse;
|
|
2830
|
+
}>;
|
|
2799
2831
|
/**
|
|
2800
2832
|
* Convert Mathematical Text to MathML Format and saves result to the storage
|
|
2801
2833
|
* @param name Document name.
|
package/api.js
CHANGED
|
@@ -2907,7 +2907,7 @@ class SlidesApi {
|
|
|
2907
2907
|
* @param folder Document folder.
|
|
2908
2908
|
* @param storage Presentation storage.
|
|
2909
2909
|
*/
|
|
2910
|
-
deletePictureCroppedAreas(name, slideIndex, shapeIndex, password, folder, storage = null) {
|
|
2910
|
+
deletePictureCroppedAreas(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
|
|
2911
2911
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2912
2912
|
// verify required parameter 'name' is not null or undefined
|
|
2913
2913
|
if (name === null || name === undefined) {
|
|
@@ -2921,14 +2921,6 @@ class SlidesApi {
|
|
|
2921
2921
|
if (shapeIndex === null || shapeIndex === undefined) {
|
|
2922
2922
|
throw new Error('The required parameter "shapeIndex" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2923
2923
|
}
|
|
2924
|
-
// verify required parameter 'password' is not null or undefined
|
|
2925
|
-
if (password === null || password === undefined) {
|
|
2926
|
-
throw new Error('The required parameter "password" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2927
|
-
}
|
|
2928
|
-
// verify required parameter 'folder' is not null or undefined
|
|
2929
|
-
if (folder === null || folder === undefined) {
|
|
2930
|
-
throw new Error('The required parameter "folder" was null or undefined when calling deletePictureCroppedAreas.');
|
|
2931
|
-
}
|
|
2932
2924
|
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas";
|
|
2933
2925
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
2934
2926
|
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
@@ -4853,6 +4845,71 @@ class SlidesApi {
|
|
|
4853
4845
|
return Promise.resolve({ body: result, response });
|
|
4854
4846
|
});
|
|
4855
4847
|
}
|
|
4848
|
+
/**
|
|
4849
|
+
* Convert Mathematical Text to MathML Format
|
|
4850
|
+
* @param name Document name.
|
|
4851
|
+
* @param slideIndex Slide index.
|
|
4852
|
+
* @param shapeIndex Shape index.
|
|
4853
|
+
* @param paragraphIndex Paragraph index.
|
|
4854
|
+
* @param portionIndex Portion index.
|
|
4855
|
+
* @param format Format.
|
|
4856
|
+
* @param password Document password.
|
|
4857
|
+
* @param folder Document folder.
|
|
4858
|
+
* @param storage Document storage.
|
|
4859
|
+
*/
|
|
4860
|
+
downloadMathPortion(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, format, password = null, folder = null, storage = null) {
|
|
4861
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4862
|
+
// verify required parameter 'name' is not null or undefined
|
|
4863
|
+
if (name === null || name === undefined) {
|
|
4864
|
+
throw new Error('The required parameter "name" was null or undefined when calling downloadMathPortion.');
|
|
4865
|
+
}
|
|
4866
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
4867
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
4868
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling downloadMathPortion.');
|
|
4869
|
+
}
|
|
4870
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
4871
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
4872
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling downloadMathPortion.');
|
|
4873
|
+
}
|
|
4874
|
+
// verify required parameter 'paragraphIndex' is not null or undefined
|
|
4875
|
+
if (paragraphIndex === null || paragraphIndex === undefined) {
|
|
4876
|
+
throw new Error('The required parameter "paragraphIndex" was null or undefined when calling downloadMathPortion.');
|
|
4877
|
+
}
|
|
4878
|
+
// verify required parameter 'portionIndex' is not null or undefined
|
|
4879
|
+
if (portionIndex === null || portionIndex === undefined) {
|
|
4880
|
+
throw new Error('The required parameter "portionIndex" was null or undefined when calling downloadMathPortion.');
|
|
4881
|
+
}
|
|
4882
|
+
// verify required parameter 'format' is not null or undefined
|
|
4883
|
+
if (format === null || format === undefined) {
|
|
4884
|
+
throw new Error('The required parameter "format" was null or undefined when calling downloadMathPortion.');
|
|
4885
|
+
}
|
|
4886
|
+
// verify value of enum parameter 'format' is valid
|
|
4887
|
+
if (!Object.keys(model.MathFormat).filter(i => model.MathFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
|
|
4888
|
+
throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.MathFormat).map(key => model.MathFormat[key]).join());
|
|
4889
|
+
}
|
|
4890
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}";
|
|
4891
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
4892
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
4893
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
4894
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
|
|
4895
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
|
|
4896
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
4897
|
+
const queryParameters = {};
|
|
4898
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
4899
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
4900
|
+
const requestOptions = {
|
|
4901
|
+
method: "POST",
|
|
4902
|
+
headers: {},
|
|
4903
|
+
url: localVarPath,
|
|
4904
|
+
responseType: 'arraybuffer',
|
|
4905
|
+
params: queryParameters
|
|
4906
|
+
};
|
|
4907
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
4908
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
4909
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
|
|
4910
|
+
return Promise.resolve({ body: result, response });
|
|
4911
|
+
});
|
|
4912
|
+
}
|
|
4856
4913
|
/**
|
|
4857
4914
|
* Convert notes slide to the specified image format.
|
|
4858
4915
|
* @param name Document name.
|
|
@@ -9105,6 +9162,75 @@ class SlidesApi {
|
|
|
9105
9162
|
return Promise.resolve({ body: result, response });
|
|
9106
9163
|
});
|
|
9107
9164
|
}
|
|
9165
|
+
/**
|
|
9166
|
+
* Convert Mathematical Text to MathML Format and saves result to the storage
|
|
9167
|
+
* @param name Document name.
|
|
9168
|
+
* @param slideIndex Slide index.
|
|
9169
|
+
* @param shapeIndex Shape index.
|
|
9170
|
+
* @param paragraphIndex Paragraph index.
|
|
9171
|
+
* @param portionIndex Portion index.
|
|
9172
|
+
* @param format Format.
|
|
9173
|
+
* @param outPath Path to save result.
|
|
9174
|
+
* @param password Document password.
|
|
9175
|
+
* @param folder Presentation folder.
|
|
9176
|
+
* @param storage Presentation storage.
|
|
9177
|
+
*/
|
|
9178
|
+
saveMathPortion(name, slideIndex, shapeIndex, paragraphIndex, portionIndex, format, outPath, password = null, folder = null, storage = null) {
|
|
9179
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9180
|
+
// verify required parameter 'name' is not null or undefined
|
|
9181
|
+
if (name === null || name === undefined) {
|
|
9182
|
+
throw new Error('The required parameter "name" was null or undefined when calling saveMathPortion.');
|
|
9183
|
+
}
|
|
9184
|
+
// verify required parameter 'slideIndex' is not null or undefined
|
|
9185
|
+
if (slideIndex === null || slideIndex === undefined) {
|
|
9186
|
+
throw new Error('The required parameter "slideIndex" was null or undefined when calling saveMathPortion.');
|
|
9187
|
+
}
|
|
9188
|
+
// verify required parameter 'shapeIndex' is not null or undefined
|
|
9189
|
+
if (shapeIndex === null || shapeIndex === undefined) {
|
|
9190
|
+
throw new Error('The required parameter "shapeIndex" was null or undefined when calling saveMathPortion.');
|
|
9191
|
+
}
|
|
9192
|
+
// verify required parameter 'paragraphIndex' is not null or undefined
|
|
9193
|
+
if (paragraphIndex === null || paragraphIndex === undefined) {
|
|
9194
|
+
throw new Error('The required parameter "paragraphIndex" was null or undefined when calling saveMathPortion.');
|
|
9195
|
+
}
|
|
9196
|
+
// verify required parameter 'portionIndex' is not null or undefined
|
|
9197
|
+
if (portionIndex === null || portionIndex === undefined) {
|
|
9198
|
+
throw new Error('The required parameter "portionIndex" was null or undefined when calling saveMathPortion.');
|
|
9199
|
+
}
|
|
9200
|
+
// verify required parameter 'format' is not null or undefined
|
|
9201
|
+
if (format === null || format === undefined) {
|
|
9202
|
+
throw new Error('The required parameter "format" was null or undefined when calling saveMathPortion.');
|
|
9203
|
+
}
|
|
9204
|
+
// verify value of enum parameter 'format' is valid
|
|
9205
|
+
if (!Object.keys(model.MathFormat).filter(i => model.MathFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
|
|
9206
|
+
throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.MathFormat).map(key => model.MathFormat[key]).join());
|
|
9207
|
+
}
|
|
9208
|
+
// verify required parameter 'outPath' is not null or undefined
|
|
9209
|
+
if (outPath === null || outPath === undefined) {
|
|
9210
|
+
throw new Error('The required parameter "outPath" was null or undefined when calling saveMathPortion.');
|
|
9211
|
+
}
|
|
9212
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}";
|
|
9213
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
9214
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
|
|
9215
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
|
|
9216
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "paragraphIndex", objectSerializer_1.ObjectSerializer.toString(paragraphIndex));
|
|
9217
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "portionIndex", objectSerializer_1.ObjectSerializer.toString(portionIndex));
|
|
9218
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
9219
|
+
const queryParameters = {};
|
|
9220
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "outPath", outPath);
|
|
9221
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
9222
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
9223
|
+
const requestOptions = {
|
|
9224
|
+
method: "PUT",
|
|
9225
|
+
headers: {},
|
|
9226
|
+
url: localVarPath,
|
|
9227
|
+
params: queryParameters
|
|
9228
|
+
};
|
|
9229
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
9230
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
9231
|
+
return Promise.resolve({ response });
|
|
9232
|
+
});
|
|
9233
|
+
}
|
|
9108
9234
|
/**
|
|
9109
9235
|
* Convert Mathematical Text to MathML Format and saves result to the storage
|
|
9110
9236
|
* @param name Document name.
|
|
@@ -157,7 +157,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
|
|
|
157
157
|
if (!requestOptions.headers) {
|
|
158
158
|
requestOptions.headers = {};
|
|
159
159
|
}
|
|
160
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.
|
|
160
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.4.0";
|
|
161
161
|
if (configuration.timeout) {
|
|
162
162
|
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
|
|
163
163
|
}
|
package/model.d.ts
CHANGED
|
@@ -1250,6 +1250,10 @@ export declare class DataPoint {
|
|
|
1250
1250
|
* Gets or sets the line format.
|
|
1251
1251
|
*/
|
|
1252
1252
|
lineFormat?: LineFormat;
|
|
1253
|
+
/**
|
|
1254
|
+
* Gets or sets the marker.
|
|
1255
|
+
*/
|
|
1256
|
+
marker?: SeriesMarker;
|
|
1253
1257
|
type?: DataPoint.TypeEnum;
|
|
1254
1258
|
}
|
|
1255
1259
|
export declare namespace DataPoint {
|
|
@@ -3980,6 +3984,78 @@ export declare class LuminanceEffect extends ImageTransformEffect {
|
|
|
3980
3984
|
}
|
|
3981
3985
|
export declare namespace LuminanceEffect {
|
|
3982
3986
|
}
|
|
3987
|
+
/**
|
|
3988
|
+
* Provides options that control how a presentation is saved in Html5 format.
|
|
3989
|
+
*/
|
|
3990
|
+
export declare class MarkdownExportOptions extends ExportOptions {
|
|
3991
|
+
constructor();
|
|
3992
|
+
/**
|
|
3993
|
+
* Specifies markdown specification to convert presentation. Default is TextOnly.
|
|
3994
|
+
*/
|
|
3995
|
+
exportType?: MarkdownExportOptions.ExportTypeEnum;
|
|
3996
|
+
/**
|
|
3997
|
+
* Specifies markdown specification to convert presentation. Default is MultiMarkdown.
|
|
3998
|
+
*/
|
|
3999
|
+
flavor?: MarkdownExportOptions.FlavorEnum;
|
|
4000
|
+
/**
|
|
4001
|
+
* Specifies whether the generated document should have new lines of \\\\r(Macintosh), \\\\n(Unix) or \\\\r\\\\n(Windows). Default is Unix.
|
|
4002
|
+
*/
|
|
4003
|
+
newLineType?: MarkdownExportOptions.NewLineTypeEnum;
|
|
4004
|
+
/**
|
|
4005
|
+
* Specifies folder name to save images. Default is Images.
|
|
4006
|
+
*/
|
|
4007
|
+
imagesSaveFolderName?: string;
|
|
4008
|
+
/**
|
|
4009
|
+
* Specifies whether the generated document should include slide number. Default is false.
|
|
4010
|
+
*/
|
|
4011
|
+
showSlideNumber?: boolean;
|
|
4012
|
+
/**
|
|
4013
|
+
* Specifies whether the generated document should include comments. Default is false.
|
|
4014
|
+
*/
|
|
4015
|
+
showComments?: boolean;
|
|
4016
|
+
/**
|
|
4017
|
+
* Specifies whether the generated document should include hidden slides. Default is false.
|
|
4018
|
+
*/
|
|
4019
|
+
showHiddenSlides?: boolean;
|
|
4020
|
+
}
|
|
4021
|
+
export declare namespace MarkdownExportOptions {
|
|
4022
|
+
enum ExportTypeEnum {
|
|
4023
|
+
Sequential,
|
|
4024
|
+
TextOnly,
|
|
4025
|
+
Visual
|
|
4026
|
+
}
|
|
4027
|
+
enum FlavorEnum {
|
|
4028
|
+
Github,
|
|
4029
|
+
Gruber,
|
|
4030
|
+
MultiMarkdown,
|
|
4031
|
+
CommonMark,
|
|
4032
|
+
MarkdownExtra,
|
|
4033
|
+
Pandoc,
|
|
4034
|
+
Kramdown,
|
|
4035
|
+
Markua,
|
|
4036
|
+
Maruku,
|
|
4037
|
+
Markdown2,
|
|
4038
|
+
Remarkable,
|
|
4039
|
+
Showdown,
|
|
4040
|
+
Ghost,
|
|
4041
|
+
GitLab,
|
|
4042
|
+
Haroopad,
|
|
4043
|
+
IaWriter,
|
|
4044
|
+
Redcarpet,
|
|
4045
|
+
ScholarlyMarkdown,
|
|
4046
|
+
Taiga,
|
|
4047
|
+
Trello,
|
|
4048
|
+
S9ETextFormatter,
|
|
4049
|
+
XWiki,
|
|
4050
|
+
StackOverflow,
|
|
4051
|
+
Default
|
|
4052
|
+
}
|
|
4053
|
+
enum NewLineTypeEnum {
|
|
4054
|
+
Windows,
|
|
4055
|
+
Unix,
|
|
4056
|
+
Mac
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
3983
4059
|
/**
|
|
3984
4060
|
* Master slide.
|
|
3985
4061
|
*/
|
|
@@ -4008,6 +4084,16 @@ export declare class MasterSlides extends ResourceBase {
|
|
|
4008
4084
|
*/
|
|
4009
4085
|
slideList?: Array<ResourceUri>;
|
|
4010
4086
|
}
|
|
4087
|
+
/**
|
|
4088
|
+
* Mathematical paragraph that is a container for mathematical blocks
|
|
4089
|
+
*/
|
|
4090
|
+
/**
|
|
4091
|
+
* Mathematical paragraph that is a container for mathematical blocks
|
|
4092
|
+
*/
|
|
4093
|
+
export declare enum MathFormat {
|
|
4094
|
+
'MathML',
|
|
4095
|
+
'LaTeX'
|
|
4096
|
+
}
|
|
4011
4097
|
/**
|
|
4012
4098
|
* Mathematical paragraph that is a container for mathematical blocks
|
|
4013
4099
|
*/
|
package/model.js
CHANGED
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.ChartWall = exports.ChartTitle = exports.ChartSeriesGroup = exports.ChartLinesFormat = exports.ChartCategory = exports.Chart = exports.Camera = exports.BubbleSeries = exports.XYSeries = exports.Series = exports.BubbleChartDataPoint = exports.ScatterChartDataPoint = exports.DataPoint = exports.BoxElement = exports.BorderBoxElement = exports.BlurImageEffect = exports.BlurEffect = exports.BlockElement = exports.BiLevelEffect = exports.Base64InputFile = exports.InputFile = exports.BarElement = exports.AxisType = exports.Axis = exports.Axes = exports.AudioFrame = exports.GeometryShape = exports.ShapeBase = exports.ResourceBase = exports.ArrowHeadProperties = exports.ArrayElement = exports.ArcToPathSegment = exports.PathSegment = exports.ApiInfo = exports.AlphaReplaceEffect = exports.AlphaModulateFixedEffect = exports.AlphaModulateEffect = exports.AlphaInverseEffect = exports.AlphaFloorEffect = exports.AlphaCeilingEffect = exports.AlphaBiLevelEffect = exports.ImageTransformEffect = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.Task = exports.AccessPermissions = exports.AccentElement = exports.MathElement = void 0;
|
|
27
27
|
exports.GraphicalObject = exports.GradientFillStop = exports.GradientFill = exports.GlowEffect = exports.GifExportOptions = exports.ImageExportOptionsBase = exports.GeometryPaths = exports.GeometryPath = exports.FunctionElement = exports.FractionElement = exports.FormatScheme = exports.FontsData = exports.FontSubstRule = exports.FontSet = exports.FontScheme = exports.FontFallbackRule = exports.FontData = exports.FillOverlayImageEffect = exports.FillOverlayEffect = exports.FillFormat = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.FileVersion = exports.StorageFile = exports.ExportOptions = exports.ExportFormat = exports.ErrorDetails = exports.EntityExists = exports.EffectFormat = exports.Effect = exports.DuotoneEffect = exports.DocumentReplaceResult = exports.DocumentProperty = exports.DocumentProperties = exports.Document = exports.DiscUsage = exports.DelimiterElement = exports.DataSource = exports.CustomDashPattern = exports.CubicBezierToPathSegment = exports.Connector = exports.CommonSlideViewProperties = exports.CommentAuthors = exports.CommentAuthor = exports.ColorScheme = exports.ColorReplaceEffect = exports.ColorChangeEffect = exports.ClosePathSegment = exports.ChartWallType = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = void 0;
|
|
28
|
+
exports.Operation = exports.OneValueSeries = exports.OneValueChartDataPoint = exports.OleObjectFrame = exports.ObjectExist = exports.NotesSlideHeaderFooter = exports.NotesSlideExportFormat = exports.NotesSlide = exports.NotesCommentsLayoutingOptions = exports.NormalViewRestoredProperties = exports.NoFill = exports.NaryOperatorElement = exports.MoveToPathSegment = exports.ModelError = exports.MergingSource = exports.Merge = exports.MatrixElement = exports.MathParagraph = exports.MathFormat = exports.MasterSlides = exports.MasterSlide = exports.MarkdownExportOptions = exports.LuminanceEffect = exports.Literals = exports.LineToPathSegment = exports.LineFormat = exports.LimitElement = exports.LightRig = exports.Legend = exports.LeftSubSuperscriptElement = exports.LayoutSlides = exports.LayoutSlide = exports.InteractiveSequence = exports.Input = exports.InnerShadowEffect = exports.Images = exports.ImageExportOptions = exports.ImageExportFormat = exports.Image = exports.IShapeExportOptions = exports.Hyperlink = exports.HtmlExportOptions = exports.Html5ExportOptions = exports.HslEffect = exports.HeaderFooter = exports.HandoutLayoutingOptions = exports.SlidesLayoutOptions = exports.GroupingCharacterElement = exports.GroupShape = exports.GrayScaleEffect = void 0;
|
|
29
|
+
exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.Shape = exports.SeriesMarker = exports.Sections = exports.SectionZoomFrame = exports.ZoomObject = exports.Section = exports.ScatterSeries = exports.SaveSlide = exports.SaveShape = exports.Save = exports.RightSubSuperscriptElement = exports.ResponseOutputFile = exports.ResourceUri = exports.ResetSlide = exports.RequestInputFile = exports.ReplaceText = exports.ReorderSlide = exports.RemoveSlide = exports.RemoveShape = exports.ReflectionEffect = exports.RadicalElement = exports.QuadraticBezierToPathSegment = exports.ProtectionProperties = exports.PresetShadowEffect = exports.PresentationsMergeRequest = exports.PresentationToMerge = exports.PptxExportOptions = exports.Portions = exports.PortionFormat = exports.Portion = exports.PlotArea = exports.Placeholders = exports.Placeholder = exports.Pipeline = exports.PictureFrame = exports.PictureFill = exports.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.OperationProgress = void 0;
|
|
30
|
+
exports.VbaProject = exports.VbaModule = exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = exports.TiffExportOptions = exports.ThreeDFormat = exports.Theme = exports.TextItems = exports.TextItem = exports.TextFrameFormat = exports.TextElement = exports.TextBounds = exports.TableRow = exports.TableColumn = exports.TableCellSplitType = exports.TableCellMergeOptions = exports.TableCell = exports.Table = exports.SwfExportOptions = exports.SvgExportOptions = exports.SuperscriptElement = exports.SummaryZoomSection = exports.SummaryZoomFrame = exports.SubscriptElement = exports.StorageExist = exports.SplitDocumentResult = exports.SpecialSlideType = exports.SolidFill = exports.SoftEdgeEffect = exports.SmartArtShape = exports.SmartArtNode = exports.SmartArt = exports.Slides = exports.SlideShowTransition = exports.SlideShowProperties = exports.SlideReplaceResult = exports.SlideProperties = exports.SlideModernComment = exports.SlideExportFormat = exports.SlideComments = exports.SlideComment = exports.SlideCommentBase = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = void 0;
|
|
31
|
+
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = void 0;
|
|
32
32
|
/**
|
|
33
33
|
* Math element.
|
|
34
34
|
*/
|
|
@@ -2461,6 +2461,57 @@ class LuminanceEffect extends ImageTransformEffect {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
}
|
|
2463
2463
|
exports.LuminanceEffect = LuminanceEffect;
|
|
2464
|
+
/**
|
|
2465
|
+
* Provides options that control how a presentation is saved in Html5 format.
|
|
2466
|
+
*/
|
|
2467
|
+
class MarkdownExportOptions extends ExportOptions {
|
|
2468
|
+
constructor() {
|
|
2469
|
+
super();
|
|
2470
|
+
this.format = 'md';
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
exports.MarkdownExportOptions = MarkdownExportOptions;
|
|
2474
|
+
(function (MarkdownExportOptions) {
|
|
2475
|
+
let ExportTypeEnum;
|
|
2476
|
+
(function (ExportTypeEnum) {
|
|
2477
|
+
ExportTypeEnum[ExportTypeEnum["Sequential"] = 'Sequential'] = "Sequential";
|
|
2478
|
+
ExportTypeEnum[ExportTypeEnum["TextOnly"] = 'TextOnly'] = "TextOnly";
|
|
2479
|
+
ExportTypeEnum[ExportTypeEnum["Visual"] = 'Visual'] = "Visual";
|
|
2480
|
+
})(ExportTypeEnum = MarkdownExportOptions.ExportTypeEnum || (MarkdownExportOptions.ExportTypeEnum = {}));
|
|
2481
|
+
let FlavorEnum;
|
|
2482
|
+
(function (FlavorEnum) {
|
|
2483
|
+
FlavorEnum[FlavorEnum["Github"] = 'Github'] = "Github";
|
|
2484
|
+
FlavorEnum[FlavorEnum["Gruber"] = 'Gruber'] = "Gruber";
|
|
2485
|
+
FlavorEnum[FlavorEnum["MultiMarkdown"] = 'MultiMarkdown'] = "MultiMarkdown";
|
|
2486
|
+
FlavorEnum[FlavorEnum["CommonMark"] = 'CommonMark'] = "CommonMark";
|
|
2487
|
+
FlavorEnum[FlavorEnum["MarkdownExtra"] = 'MarkdownExtra'] = "MarkdownExtra";
|
|
2488
|
+
FlavorEnum[FlavorEnum["Pandoc"] = 'Pandoc'] = "Pandoc";
|
|
2489
|
+
FlavorEnum[FlavorEnum["Kramdown"] = 'Kramdown'] = "Kramdown";
|
|
2490
|
+
FlavorEnum[FlavorEnum["Markua"] = 'Markua'] = "Markua";
|
|
2491
|
+
FlavorEnum[FlavorEnum["Maruku"] = 'Maruku'] = "Maruku";
|
|
2492
|
+
FlavorEnum[FlavorEnum["Markdown2"] = 'Markdown2'] = "Markdown2";
|
|
2493
|
+
FlavorEnum[FlavorEnum["Remarkable"] = 'Remarkable'] = "Remarkable";
|
|
2494
|
+
FlavorEnum[FlavorEnum["Showdown"] = 'Showdown'] = "Showdown";
|
|
2495
|
+
FlavorEnum[FlavorEnum["Ghost"] = 'Ghost'] = "Ghost";
|
|
2496
|
+
FlavorEnum[FlavorEnum["GitLab"] = 'GitLab'] = "GitLab";
|
|
2497
|
+
FlavorEnum[FlavorEnum["Haroopad"] = 'Haroopad'] = "Haroopad";
|
|
2498
|
+
FlavorEnum[FlavorEnum["IaWriter"] = 'IaWriter'] = "IaWriter";
|
|
2499
|
+
FlavorEnum[FlavorEnum["Redcarpet"] = 'Redcarpet'] = "Redcarpet";
|
|
2500
|
+
FlavorEnum[FlavorEnum["ScholarlyMarkdown"] = 'ScholarlyMarkdown'] = "ScholarlyMarkdown";
|
|
2501
|
+
FlavorEnum[FlavorEnum["Taiga"] = 'Taiga'] = "Taiga";
|
|
2502
|
+
FlavorEnum[FlavorEnum["Trello"] = 'Trello'] = "Trello";
|
|
2503
|
+
FlavorEnum[FlavorEnum["S9ETextFormatter"] = 'S9ETextFormatter'] = "S9ETextFormatter";
|
|
2504
|
+
FlavorEnum[FlavorEnum["XWiki"] = 'XWiki'] = "XWiki";
|
|
2505
|
+
FlavorEnum[FlavorEnum["StackOverflow"] = 'StackOverflow'] = "StackOverflow";
|
|
2506
|
+
FlavorEnum[FlavorEnum["Default"] = 'Default'] = "Default";
|
|
2507
|
+
})(FlavorEnum = MarkdownExportOptions.FlavorEnum || (MarkdownExportOptions.FlavorEnum = {}));
|
|
2508
|
+
let NewLineTypeEnum;
|
|
2509
|
+
(function (NewLineTypeEnum) {
|
|
2510
|
+
NewLineTypeEnum[NewLineTypeEnum["Windows"] = 'Windows'] = "Windows";
|
|
2511
|
+
NewLineTypeEnum[NewLineTypeEnum["Unix"] = 'Unix'] = "Unix";
|
|
2512
|
+
NewLineTypeEnum[NewLineTypeEnum["Mac"] = 'Mac'] = "Mac";
|
|
2513
|
+
})(NewLineTypeEnum = MarkdownExportOptions.NewLineTypeEnum || (MarkdownExportOptions.NewLineTypeEnum = {}));
|
|
2514
|
+
})(MarkdownExportOptions = exports.MarkdownExportOptions || (exports.MarkdownExportOptions = {}));
|
|
2464
2515
|
/**
|
|
2465
2516
|
* Master slide.
|
|
2466
2517
|
*/
|
|
@@ -2479,6 +2530,17 @@ class MasterSlides extends ResourceBase {
|
|
|
2479
2530
|
}
|
|
2480
2531
|
}
|
|
2481
2532
|
exports.MasterSlides = MasterSlides;
|
|
2533
|
+
/**
|
|
2534
|
+
* Mathematical paragraph that is a container for mathematical blocks
|
|
2535
|
+
*/
|
|
2536
|
+
/**
|
|
2537
|
+
* Mathematical paragraph that is a container for mathematical blocks
|
|
2538
|
+
*/
|
|
2539
|
+
var MathFormat;
|
|
2540
|
+
(function (MathFormat) {
|
|
2541
|
+
MathFormat[MathFormat["MathML"] = 'MathML'] = "MathML";
|
|
2542
|
+
MathFormat[MathFormat["LaTeX"] = 'LaTeX'] = "LaTeX";
|
|
2543
|
+
})(MathFormat = exports.MathFormat || (exports.MathFormat = {}));
|
|
2482
2544
|
/**
|
|
2483
2545
|
* Mathematical paragraph that is a container for mathematical blocks
|
|
2484
2546
|
*/
|