asposeslidescloud 22.3.0 → 22.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 +107 -97
- package/internal/requestHelper.js +1 -1
- package/model.d.ts +449 -142
- package/model.js +208 -86
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,97 +1,107 @@
|
|
|
1
|
-
     [](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs/blob/master/LICENSE)
|
|
2
|
-
|
|
3
|
-
# Nodejs REST API to Process Presentation in Cloud
|
|
4
|
-
This repository contains Aspose.Slides Cloud SDK for Nodejs source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/nodejs) using Aspose.slides Cloud REST APIs in your Nodejs applications.
|
|
5
|
-
|
|
6
|
-
You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/slides/conversion), [PPT to Word](https://products.aspose.app/slides/conversion/ppt-to-word), and [PPT to JPG](https://products.aspose.app/slides/conversion/ppt-to-jpg) converters because they are live implementations of popular conversion processes.
|
|
7
|
-
|
|
8
|
-
## Presentation Processing Features
|
|
9
|
-
|
|
10
|
-
- Fetch presentation images in any of the supported file formats.
|
|
11
|
-
- Copy the layout side or clone the master slide from the source presentation.
|
|
12
|
-
- Process slides shapes, slides notes, placeholders, colors & font theme info.
|
|
13
|
-
- Programmatically create a presentation from HTML & export it to various formats.
|
|
14
|
-
- Merge multiple presentations or split the single presentation into multiple ones.
|
|
15
|
-
- Extract and replace text from a specific slide or an entire presentation.
|
|
16
|
-
|
|
17
|
-
## Read & Write Presentation Formats
|
|
18
|
-
|
|
19
|
-
**Microsoft PowerPoint:** PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM
|
|
20
|
-
**OpenOffice:** ODP, OTP, FODP
|
|
21
|
-
**Other**: PDF, PDF/A
|
|
22
|
-
|
|
23
|
-
## Save Presentation As
|
|
24
|
-
|
|
25
|
-
**Fixed Layout:** XPS
|
|
26
|
-
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
|
27
|
-
**Web:** HTML/HTML5
|
|
28
|
-
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
|
-
|
|
30
|
-
## Enhancements in Version 22.
|
|
31
|
-
* Added **
|
|
32
|
-
* Added
|
|
33
|
-
* Added **
|
|
34
|
-
* Added
|
|
35
|
-
* Added **
|
|
36
|
-
* Added **
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
## Enhancements in Version 22.
|
|
41
|
-
* Added **
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* Added **
|
|
46
|
-
* Added **
|
|
47
|
-
* Added **
|
|
48
|
-
* **
|
|
49
|
-
|
|
50
|
-
## Enhancements in Version 22.
|
|
51
|
-
*
|
|
52
|
-
* New **
|
|
53
|
-
* New **
|
|
54
|
-
* New
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Added **
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
1
|
+
     [](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs/blob/master/LICENSE)
|
|
2
|
+
|
|
3
|
+
# Nodejs REST API to Process Presentation in Cloud
|
|
4
|
+
This repository contains Aspose.Slides Cloud SDK for Nodejs source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/nodejs) using Aspose.slides Cloud REST APIs in your Nodejs applications.
|
|
5
|
+
|
|
6
|
+
You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/slides/conversion), [PPT to Word](https://products.aspose.app/slides/conversion/ppt-to-word), and [PPT to JPG](https://products.aspose.app/slides/conversion/ppt-to-jpg) converters because they are live implementations of popular conversion processes.
|
|
7
|
+
|
|
8
|
+
## Presentation Processing Features
|
|
9
|
+
|
|
10
|
+
- Fetch presentation images in any of the supported file formats.
|
|
11
|
+
- Copy the layout side or clone the master slide from the source presentation.
|
|
12
|
+
- Process slides shapes, slides notes, placeholders, colors & font theme info.
|
|
13
|
+
- Programmatically create a presentation from HTML & export it to various formats.
|
|
14
|
+
- Merge multiple presentations or split the single presentation into multiple ones.
|
|
15
|
+
- Extract and replace text from a specific slide or an entire presentation.
|
|
16
|
+
|
|
17
|
+
## Read & Write Presentation Formats
|
|
18
|
+
|
|
19
|
+
**Microsoft PowerPoint:** PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM
|
|
20
|
+
**OpenOffice:** ODP, OTP, FODP
|
|
21
|
+
**Other**: PDF, PDF/A
|
|
22
|
+
|
|
23
|
+
## Save Presentation As
|
|
24
|
+
|
|
25
|
+
**Fixed Layout:** XPS
|
|
26
|
+
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
|
27
|
+
**Web:** HTML/HTML5
|
|
28
|
+
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
|
+
|
|
30
|
+
## Enhancements in Version 22.4
|
|
31
|
+
* Added **TransitionType** and **SlidesTransitionDuration** properties to **VideoExportOptions** class to enable creation videos with transitions.
|
|
32
|
+
* Added **DefaultPortionFormat** property to **Paragraph** class. Added new **PortionFormat** class.
|
|
33
|
+
* Added **EmbeddedFileBase64Data** and a number of other properties to **OleObjectFrame** class to enable creation of OLE Object frames.
|
|
34
|
+
* Added **AccessPermissions** class to support access permissions for PDF export.
|
|
35
|
+
* Added **PictureFillformat** property to **AudioFrame** class.
|
|
36
|
+
* Added **RowIndex** and **ColumnIndex** properties to **TableCell** class.
|
|
37
|
+
* Moved **Width** and **Height** properties from **ExportOptions** base class to the new **ImageExportOptionsBase class**. This is a superclass for **ImageExportOptions**, **GifExportOptions** and **TiffExportOptions** classes.
|
|
38
|
+
* Removed redundant **Shapes** property from **ShapeBase** class. It is only left for **GroupShape** class.
|
|
39
|
+
|
|
40
|
+
## Enhancements in Version 22.3
|
|
41
|
+
* Added **ModernSlideComment** class to support modern comments. Also added **SlideCommentBase** as base class for comments.
|
|
42
|
+
* Added optional **shapeIndex** parameter to **CreateComment** and **CreateCommentOnline** methods.
|
|
43
|
+
* Added **GetParagraphRectangle**, **GetPortionRectangle** method and new **TextBounds** class to get paragraph or portion bounds.
|
|
44
|
+
* Added optional **shapeType** parameter for **GetShapes** method. You can now get list of shapes of a particular type (e.g. charts or tables).
|
|
45
|
+
* Added **FontFallbackRules** class and **FontFallbackRules** property to **ExportOptions** class.
|
|
46
|
+
* Added **LatinFont**, **EastAsianFont** and **ComplexScriptFont** properties to **Portion** class to enable getting and seting portion font name.
|
|
47
|
+
* Added **ChartLinesFormat** class; added **MajorGridLinesFormat** and **MinorGridLinesFormat** properties to Axis class.
|
|
48
|
+
* Added **HideLegend** boolean property to **Legend** class.
|
|
49
|
+
|
|
50
|
+
## Enhancements in Version 22.2
|
|
51
|
+
* Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
|
|
52
|
+
* New **HighlightShapeText** and **HighlightShapeRegex** methods.
|
|
53
|
+
* New **DeleteUnusedLayoutSlides** and **DeleteUnusedLayoutSlides** methods.
|
|
54
|
+
* New **ZoomFrame** and **ZoomObject** classes with a number of subclasses.
|
|
55
|
+
* Added **TextFrameFormat** property to **Shape** class to support WordArt.
|
|
56
|
+
* Added **XYSeries** class as a supercalss for **ScatterSeries** and **BubbleSeries** methods.
|
|
57
|
+
* Added **None** to the list of allowed values for **TimeUnitType** enum type.
|
|
58
|
+
* **Level** property of **Category** class is deprecated and will be removed after v22.4.
|
|
59
|
+
|
|
60
|
+
## Enhancements in Version 22.1
|
|
61
|
+
* New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
|
|
62
|
+
* New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
|
|
63
|
+
* New **HyperlinkClick** and **HyperlinkMouseOver** methods of **ShapeBase** and **Portion** classes enable creation and manipulating hyperlinks for shapes and portions.
|
|
64
|
+
* New methods **GetShapeGeometryPath** and **SetShapeGeometryPath** can be used to get or set geometry paths for shapes. You can use lines, arcs and curves to specify custom shape boundaries.
|
|
65
|
+
* New **AlignSubshapes** method enables aligning shapes within a shape group.
|
|
66
|
+
* New **PlayAcrossSlides** and **RewindAudio** properties are added to **AudioFrame** class.
|
|
67
|
+
* Added **InClickSequence** to the list of allowable values for **AudioPlayModePreset** and **AudioPlayModePreset** enum types.
|
|
68
|
+
|
|
69
|
+
## Licensing
|
|
70
|
+
All Aspose.Slides Cloud SDKs are licensed under MIT License.
|
|
71
|
+
|
|
72
|
+
## How to use the SDK?
|
|
73
|
+
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [NPM package](https://www.npmjs.com/package/asposeslidescloud) (recommended).
|
|
74
|
+
|
|
75
|
+
## Prerequisites
|
|
76
|
+
To use Aspose Slides Cloud NodeJS SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
|
|
77
|
+
|
|
78
|
+
### Installation
|
|
79
|
+
|
|
80
|
+
From the command line:
|
|
81
|
+
|
|
82
|
+
npm install asposeslidescloud --save
|
|
83
|
+
|
|
84
|
+
### Sample usage
|
|
85
|
+
|
|
86
|
+
The example code below converts a PowerPoint document to PDF format using asposeslidescloud library:
|
|
87
|
+
```js
|
|
88
|
+
const api = require("asposeslidescloud");
|
|
89
|
+
const fs = require('fs');
|
|
90
|
+
|
|
91
|
+
const slidesApi = new api.SlidesApi("MyClientId", "MyClientSecret");
|
|
92
|
+
slidesApi.convert(fs.createReadStream("MyPresentation.pptx"), 'pdf').then((response) => {
|
|
93
|
+
fs.writeFile("MyPresentation.pdf", response.body, (err) => {
|
|
94
|
+
if (err) throw err;
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
You can check more [Examples](Examples) of using the SDK.
|
|
99
|
+
|
|
100
|
+
## Aspose.Slides Cloud SDKs in Popular Languages
|
|
101
|
+
|
|
102
|
+
| .NET | Java | PHP | Python | Ruby | Node.js | Android | Swift|Perl|Go|
|
|
103
|
+
|---|---|---|---|---|---|---|--|--|--|
|
|
104
|
+
| [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-dotnet) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-java) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-php) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-python) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-android) | [GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-swift)|[GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-perl) |[GitHub](https://github.com/aspose-slides-cloud/aspose-slides-cloud-go) |
|
|
105
|
+
| [NuGet](https://www.nuget.org/packages/Aspose.slides-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-slides-cloud) | [Composer](https://packagist.org/packages/aspose/slides-sdk-php) | [PIP](https://pypi.org/project/asposeslidescloud/) | [GEM](https://rubygems.org/gems/aspose_slides_cloud) | [NPM](https://www.npmjs.com/package/asposeslidescloud) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-slides-cloud) | [Cocoapods](https://cocoapods.org/pods/AsposeslidesCloud)|[Meta Cpan](https://metacpan.org/release/AsposeSlidesCloud-SlidesApi) | [Go.Dev](https://pkg.go.dev/github.com/aspose-slides-cloud/aspose-slides-cloud-go/) |
|
|
106
|
+
|
|
107
|
+
[Product Page](https://products.aspose.cloud/slides/nodejs) | [Documentation](https://docs.aspose.cloud/display/slidescloud/Home) | [API Reference](https://apireference.aspose.cloud/slides/) | [Code Samples](https://github.com/aspose-slides-cloud/aspose-slides-cloud-nodejs) | [Blog](https://blog.aspose.cloud/category/slides/) | [Free Support](https://forum.aspose.cloud/c/slides) | [Free Trial](https://dashboard.aspose.cloud/#/apps)
|
|
@@ -146,7 +146,7 @@ function invokeApiMethodInternal(requestOptions, confguration, notApplyAuthToReq
|
|
|
146
146
|
if (!requestOptions.headers) {
|
|
147
147
|
requestOptions.headers = {};
|
|
148
148
|
}
|
|
149
|
-
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.
|
|
149
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v22.4.0";
|
|
150
150
|
if (confguration.timeout) {
|
|
151
151
|
requestOptions.headers["x-aspose-timeout"] = confguration.timeout;
|
|
152
152
|
}
|
package/model.d.ts
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A set of properties specifying which access permissions should be granted when the document is opened with user access.
|
|
3
|
+
*/
|
|
4
|
+
export declare class AccessPermissions {
|
|
5
|
+
/**
|
|
6
|
+
* The user may print the document (possibly not at the highest quality level, depending on whether bit HighQualityPrint is also set).
|
|
7
|
+
*/
|
|
8
|
+
printDocument: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The user may modify the contents of the document by operations other than those controlled by bits AddOrModifyFields, FillExistingFields, AssembleDocument.
|
|
11
|
+
*/
|
|
12
|
+
modifyContent: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The user may copy or otherwise extract text and graphics from the document by operations other than that controlled by bit ExtractTextAndGraphics.
|
|
15
|
+
*/
|
|
16
|
+
copyTextAndGraphics: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The user may add or modify text annotations, fill in interactive form fields, and, if bit ModifyContent is also set, create or modify interactive form fields (including signature fields).
|
|
19
|
+
*/
|
|
20
|
+
addOrModifyFields: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The user may fill in existing interactive form fields (including signature fields), even if bit AddOrModifyFields is clear.
|
|
23
|
+
*/
|
|
24
|
+
fillExistingFields: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The user may extract text and graphics in support of accessibility to users with disabilities or for other purposes.
|
|
27
|
+
*/
|
|
28
|
+
extractTextAndGraphics: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The user may assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit ModifyContent is clear.
|
|
31
|
+
*/
|
|
32
|
+
assembleDocument: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The user may print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and bit PrintDocument is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.
|
|
35
|
+
*/
|
|
36
|
+
highQualityPrint: boolean;
|
|
37
|
+
}
|
|
1
38
|
/**
|
|
2
39
|
* Represents response for ApiInfo DTO
|
|
3
40
|
*/
|
|
@@ -931,14 +968,6 @@ export declare class ExportOptions {
|
|
|
931
968
|
* Default regular font for rendering the presentation.
|
|
932
969
|
*/
|
|
933
970
|
defaultRegularFont?: string;
|
|
934
|
-
/**
|
|
935
|
-
* Gets or sets the height of slides in the output format, e.g. image size, pdf page size etc.
|
|
936
|
-
*/
|
|
937
|
-
height?: number;
|
|
938
|
-
/**
|
|
939
|
-
* Gets or sets the height of slides in the output format, e.g. image size, pdf page size etc.
|
|
940
|
-
*/
|
|
941
|
-
width?: number;
|
|
942
971
|
/**
|
|
943
972
|
* Gets of sets list of font fallback rules.
|
|
944
973
|
*/
|
|
@@ -1722,6 +1751,197 @@ export declare namespace PlotArea {
|
|
|
1722
1751
|
Outer
|
|
1723
1752
|
}
|
|
1724
1753
|
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Represents portion format.
|
|
1756
|
+
*/
|
|
1757
|
+
export declare class PortionFormat {
|
|
1758
|
+
/**
|
|
1759
|
+
* True for bold font.
|
|
1760
|
+
*/
|
|
1761
|
+
fontBold?: PortionFormat.FontBoldEnum;
|
|
1762
|
+
/**
|
|
1763
|
+
* True for italic font.
|
|
1764
|
+
*/
|
|
1765
|
+
fontItalic?: PortionFormat.FontItalicEnum;
|
|
1766
|
+
/**
|
|
1767
|
+
* Text underline type.
|
|
1768
|
+
*/
|
|
1769
|
+
fontUnderline?: PortionFormat.FontUnderlineEnum;
|
|
1770
|
+
/**
|
|
1771
|
+
* Text strikethrough type.
|
|
1772
|
+
*/
|
|
1773
|
+
strikethroughType?: PortionFormat.StrikethroughTypeEnum;
|
|
1774
|
+
/**
|
|
1775
|
+
* Text capitalization type.
|
|
1776
|
+
*/
|
|
1777
|
+
textCapType?: PortionFormat.TextCapTypeEnum;
|
|
1778
|
+
/**
|
|
1779
|
+
* Superscript or subscript of the text.
|
|
1780
|
+
*/
|
|
1781
|
+
escapement?: number;
|
|
1782
|
+
/**
|
|
1783
|
+
* Intercharacter spacing increment.
|
|
1784
|
+
*/
|
|
1785
|
+
spacing?: number;
|
|
1786
|
+
/**
|
|
1787
|
+
* Font color.
|
|
1788
|
+
*/
|
|
1789
|
+
fontColor?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* Highlight color.
|
|
1792
|
+
*/
|
|
1793
|
+
highlightColor?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Font height.
|
|
1796
|
+
*/
|
|
1797
|
+
fontHeight?: number;
|
|
1798
|
+
/**
|
|
1799
|
+
* True to normalize the text.
|
|
1800
|
+
*/
|
|
1801
|
+
normaliseHeight?: PortionFormat.NormaliseHeightEnum;
|
|
1802
|
+
/**
|
|
1803
|
+
* True if the text proof should be disabled.
|
|
1804
|
+
*/
|
|
1805
|
+
proofDisabled?: PortionFormat.ProofDisabledEnum;
|
|
1806
|
+
/**
|
|
1807
|
+
* True if smart tag should be cleaned.
|
|
1808
|
+
*/
|
|
1809
|
+
smartTagClean?: boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* Minimal font size for kerning.
|
|
1812
|
+
*/
|
|
1813
|
+
kerningMinimalSize?: number;
|
|
1814
|
+
/**
|
|
1815
|
+
* True if numbers should ignore East-Asian specific vertical text layout.
|
|
1816
|
+
*/
|
|
1817
|
+
kumimoji?: PortionFormat.KumimojiEnum;
|
|
1818
|
+
/**
|
|
1819
|
+
* Proving language ID.
|
|
1820
|
+
*/
|
|
1821
|
+
languageId?: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* Alternative proving language ID.
|
|
1824
|
+
*/
|
|
1825
|
+
alternativeLanguageId?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* True if underline style has own FillFormat properties.
|
|
1828
|
+
*/
|
|
1829
|
+
isHardUnderlineFill?: PortionFormat.IsHardUnderlineFillEnum;
|
|
1830
|
+
/**
|
|
1831
|
+
* True if underline style has own LineFormat properties.
|
|
1832
|
+
*/
|
|
1833
|
+
isHardUnderlineLine?: PortionFormat.IsHardUnderlineLineEnum;
|
|
1834
|
+
/**
|
|
1835
|
+
* Fill format.
|
|
1836
|
+
*/
|
|
1837
|
+
fillFormat?: FillFormat;
|
|
1838
|
+
/**
|
|
1839
|
+
* Effect format.
|
|
1840
|
+
*/
|
|
1841
|
+
effectFormat?: EffectFormat;
|
|
1842
|
+
/**
|
|
1843
|
+
* Line format.
|
|
1844
|
+
*/
|
|
1845
|
+
lineFormat?: LineFormat;
|
|
1846
|
+
/**
|
|
1847
|
+
* Underline fill format.
|
|
1848
|
+
*/
|
|
1849
|
+
underlineFillFormat?: FillFormat;
|
|
1850
|
+
/**
|
|
1851
|
+
* Underline line format.
|
|
1852
|
+
*/
|
|
1853
|
+
underlineLineFormat?: LineFormat;
|
|
1854
|
+
/**
|
|
1855
|
+
* Hyperlink defined for mouse click.
|
|
1856
|
+
*/
|
|
1857
|
+
hyperlinkClick?: Hyperlink;
|
|
1858
|
+
/**
|
|
1859
|
+
* Hyperlink defined for mouse over.
|
|
1860
|
+
*/
|
|
1861
|
+
hyperlinkMouseOver?: Hyperlink;
|
|
1862
|
+
/**
|
|
1863
|
+
* Returns or sets the Latin font info.
|
|
1864
|
+
*/
|
|
1865
|
+
latinFont?: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Returns or sets the East Asian font info.
|
|
1868
|
+
*/
|
|
1869
|
+
eastAsianFont?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* Returns or sets the complex script font info.
|
|
1872
|
+
*/
|
|
1873
|
+
complexScriptFont?: string;
|
|
1874
|
+
}
|
|
1875
|
+
export declare namespace PortionFormat {
|
|
1876
|
+
enum FontBoldEnum {
|
|
1877
|
+
False,
|
|
1878
|
+
True,
|
|
1879
|
+
NotDefined
|
|
1880
|
+
}
|
|
1881
|
+
enum FontItalicEnum {
|
|
1882
|
+
False,
|
|
1883
|
+
True,
|
|
1884
|
+
NotDefined
|
|
1885
|
+
}
|
|
1886
|
+
enum FontUnderlineEnum {
|
|
1887
|
+
None,
|
|
1888
|
+
Words,
|
|
1889
|
+
Single,
|
|
1890
|
+
Double,
|
|
1891
|
+
Heavy,
|
|
1892
|
+
Dotted,
|
|
1893
|
+
HeavyDotted,
|
|
1894
|
+
Dashed,
|
|
1895
|
+
HeavyDashed,
|
|
1896
|
+
LongDashed,
|
|
1897
|
+
HeavyLongDashed,
|
|
1898
|
+
DotDash,
|
|
1899
|
+
HeavyDotDash,
|
|
1900
|
+
DotDotDash,
|
|
1901
|
+
HeavyDotDotDash,
|
|
1902
|
+
Wavy,
|
|
1903
|
+
HeavyWavy,
|
|
1904
|
+
DoubleWavy,
|
|
1905
|
+
NotDefined
|
|
1906
|
+
}
|
|
1907
|
+
enum StrikethroughTypeEnum {
|
|
1908
|
+
None,
|
|
1909
|
+
Single,
|
|
1910
|
+
Double,
|
|
1911
|
+
NotDefined
|
|
1912
|
+
}
|
|
1913
|
+
enum TextCapTypeEnum {
|
|
1914
|
+
None,
|
|
1915
|
+
Small,
|
|
1916
|
+
All,
|
|
1917
|
+
NotDefined
|
|
1918
|
+
}
|
|
1919
|
+
enum NormaliseHeightEnum {
|
|
1920
|
+
False,
|
|
1921
|
+
True,
|
|
1922
|
+
NotDefined
|
|
1923
|
+
}
|
|
1924
|
+
enum ProofDisabledEnum {
|
|
1925
|
+
False,
|
|
1926
|
+
True,
|
|
1927
|
+
NotDefined
|
|
1928
|
+
}
|
|
1929
|
+
enum KumimojiEnum {
|
|
1930
|
+
False,
|
|
1931
|
+
True,
|
|
1932
|
+
NotDefined
|
|
1933
|
+
}
|
|
1934
|
+
enum IsHardUnderlineFillEnum {
|
|
1935
|
+
False,
|
|
1936
|
+
True,
|
|
1937
|
+
NotDefined
|
|
1938
|
+
}
|
|
1939
|
+
enum IsHardUnderlineLineEnum {
|
|
1940
|
+
False,
|
|
1941
|
+
True,
|
|
1942
|
+
NotDefined
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1725
1945
|
/**
|
|
1726
1946
|
* Represents presentation to merge
|
|
1727
1947
|
*/
|
|
@@ -2447,6 +2667,14 @@ export declare class TableCell {
|
|
|
2447
2667
|
* Line properties set for the diagonal down border of the cell.
|
|
2448
2668
|
*/
|
|
2449
2669
|
borderDiagonalDown?: LineFormat;
|
|
2670
|
+
/**
|
|
2671
|
+
* Cell column index
|
|
2672
|
+
*/
|
|
2673
|
+
columnIndex?: number;
|
|
2674
|
+
/**
|
|
2675
|
+
* Cell row index
|
|
2676
|
+
*/
|
|
2677
|
+
rowIndex?: number;
|
|
2450
2678
|
}
|
|
2451
2679
|
export declare namespace TableCell {
|
|
2452
2680
|
enum TextAnchorTypeEnum {
|
|
@@ -3244,24 +3472,6 @@ export declare class FunctionElement extends MathElement {
|
|
|
3244
3472
|
}
|
|
3245
3473
|
export declare namespace FunctionElement {
|
|
3246
3474
|
}
|
|
3247
|
-
/**
|
|
3248
|
-
* Provides options that control how a presentation is saved in Gif format.
|
|
3249
|
-
*/
|
|
3250
|
-
export declare class GifExportOptions extends ExportOptions {
|
|
3251
|
-
constructor();
|
|
3252
|
-
/**
|
|
3253
|
-
* Determines whether hidden slides will be exported.
|
|
3254
|
-
*/
|
|
3255
|
-
exportHiddenSlides?: boolean;
|
|
3256
|
-
/**
|
|
3257
|
-
* Gets or sets transition FPS [frames/sec]
|
|
3258
|
-
*/
|
|
3259
|
-
transitionFps?: number;
|
|
3260
|
-
/**
|
|
3261
|
-
* Gets or sets default delay time [ms].
|
|
3262
|
-
*/
|
|
3263
|
-
defaultDelay?: number;
|
|
3264
|
-
}
|
|
3265
3475
|
/**
|
|
3266
3476
|
* Represents gradient fill format
|
|
3267
3477
|
*/
|
|
@@ -3483,38 +3693,18 @@ export declare class Image extends ResourceBase {
|
|
|
3483
3693
|
contentType?: string;
|
|
3484
3694
|
}
|
|
3485
3695
|
/**
|
|
3486
|
-
*
|
|
3696
|
+
* The class provides shared options for image formats.
|
|
3487
3697
|
*/
|
|
3488
|
-
export declare class
|
|
3698
|
+
export declare class ImageExportOptionsBase extends ExportOptions {
|
|
3489
3699
|
constructor();
|
|
3490
3700
|
/**
|
|
3491
|
-
* Gets or sets the
|
|
3492
|
-
*/
|
|
3493
|
-
notesPosition?: ImageExportOptions.NotesPositionEnum;
|
|
3494
|
-
/**
|
|
3495
|
-
* Gets or sets the position of the comments on the page.
|
|
3496
|
-
*/
|
|
3497
|
-
commentsPosition?: ImageExportOptions.CommentsPositionEnum;
|
|
3498
|
-
/**
|
|
3499
|
-
* Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
|
3701
|
+
* Gets or sets the height of slides in the output image format.
|
|
3500
3702
|
*/
|
|
3501
|
-
|
|
3703
|
+
height?: number;
|
|
3502
3704
|
/**
|
|
3503
|
-
* Gets or sets the
|
|
3705
|
+
* Gets or sets the height of slides in the output the output image format.
|
|
3504
3706
|
*/
|
|
3505
|
-
|
|
3506
|
-
}
|
|
3507
|
-
export declare namespace ImageExportOptions {
|
|
3508
|
-
enum NotesPositionEnum {
|
|
3509
|
-
None,
|
|
3510
|
-
BottomFull,
|
|
3511
|
-
BottomTruncated
|
|
3512
|
-
}
|
|
3513
|
-
enum CommentsPositionEnum {
|
|
3514
|
-
None,
|
|
3515
|
-
Bottom,
|
|
3516
|
-
Right
|
|
3517
|
-
}
|
|
3707
|
+
width?: number;
|
|
3518
3708
|
}
|
|
3519
3709
|
/**
|
|
3520
3710
|
* List of images.
|
|
@@ -3982,6 +4172,10 @@ export declare class Paragraph extends ResourceBase {
|
|
|
3982
4172
|
* List of portion links.
|
|
3983
4173
|
*/
|
|
3984
4174
|
portionList?: Array<Portion>;
|
|
4175
|
+
/**
|
|
4176
|
+
* Default portion format.
|
|
4177
|
+
*/
|
|
4178
|
+
defaultPortionFormat?: PortionFormat;
|
|
3985
4179
|
}
|
|
3986
4180
|
export declare namespace Paragraph {
|
|
3987
4181
|
enum AlignmentEnum {
|
|
@@ -4273,7 +4467,7 @@ export declare class PdfExportOptions extends ExportOptions {
|
|
|
4273
4467
|
/**
|
|
4274
4468
|
* Access permissions that should be granted when the document is opened with user access. Default is AccessPermissions.None.
|
|
4275
4469
|
*/
|
|
4276
|
-
accessPermissions?:
|
|
4470
|
+
accessPermissions?: AccessPermissions;
|
|
4277
4471
|
}
|
|
4278
4472
|
export declare namespace PdfExportOptions {
|
|
4279
4473
|
enum TextCompressionEnum {
|
|
@@ -4296,17 +4490,6 @@ export declare namespace PdfExportOptions {
|
|
|
4296
4490
|
Bottom,
|
|
4297
4491
|
Right
|
|
4298
4492
|
}
|
|
4299
|
-
enum AccessPermissionsEnum {
|
|
4300
|
-
None,
|
|
4301
|
-
PrintDocument,
|
|
4302
|
-
ModifyContent,
|
|
4303
|
-
CopyTextAndGraphics,
|
|
4304
|
-
AddOrModifyFields,
|
|
4305
|
-
FillExistingFields,
|
|
4306
|
-
ExtractTextAndGraphics,
|
|
4307
|
-
AssembleDocument,
|
|
4308
|
-
HighQualityPrint
|
|
4309
|
-
}
|
|
4310
4493
|
}
|
|
4311
4494
|
/**
|
|
4312
4495
|
* Picture fill.
|
|
@@ -5060,10 +5243,6 @@ export declare class ShapeBase extends ResourceBase {
|
|
|
5060
5243
|
* Gets z-order position of shape
|
|
5061
5244
|
*/
|
|
5062
5245
|
zOrderPosition: number;
|
|
5063
|
-
/**
|
|
5064
|
-
* Gets or sets the link to shapes.
|
|
5065
|
-
*/
|
|
5066
|
-
shapes?: ResourceUri;
|
|
5067
5246
|
/**
|
|
5068
5247
|
* Gets or sets the fill format.
|
|
5069
5248
|
*/
|
|
@@ -5579,79 +5758,6 @@ export declare class Theme extends ResourceBase {
|
|
|
5579
5758
|
*/
|
|
5580
5759
|
formatScheme?: ResourceUri;
|
|
5581
5760
|
}
|
|
5582
|
-
/**
|
|
5583
|
-
* Provides options that control how a presentation is saved in TIFF format.
|
|
5584
|
-
*/
|
|
5585
|
-
export declare class TiffExportOptions extends ExportOptions {
|
|
5586
|
-
constructor();
|
|
5587
|
-
/**
|
|
5588
|
-
* Compression type.
|
|
5589
|
-
*/
|
|
5590
|
-
compression?: TiffExportOptions.CompressionEnum;
|
|
5591
|
-
/**
|
|
5592
|
-
* Horizontal resolution, in dots per inch.
|
|
5593
|
-
*/
|
|
5594
|
-
dpiX?: number;
|
|
5595
|
-
/**
|
|
5596
|
-
* Vertical resolution, in dots per inch.
|
|
5597
|
-
*/
|
|
5598
|
-
dpiY?: number;
|
|
5599
|
-
/**
|
|
5600
|
-
* Specifies whether the generated document should include hidden slides or not. Default is false.
|
|
5601
|
-
*/
|
|
5602
|
-
showHiddenSlides?: boolean;
|
|
5603
|
-
/**
|
|
5604
|
-
* Specifies the pixel format for the generated images. Read/write ImagePixelFormat.
|
|
5605
|
-
*/
|
|
5606
|
-
pixelFormat?: TiffExportOptions.PixelFormatEnum;
|
|
5607
|
-
/**
|
|
5608
|
-
* Gets or sets the position of the notes on the page.
|
|
5609
|
-
*/
|
|
5610
|
-
notesPosition?: TiffExportOptions.NotesPositionEnum;
|
|
5611
|
-
/**
|
|
5612
|
-
* Gets or sets the position of the comments on the page.
|
|
5613
|
-
*/
|
|
5614
|
-
commentsPosition?: TiffExportOptions.CommentsPositionEnum;
|
|
5615
|
-
/**
|
|
5616
|
-
* Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
|
5617
|
-
*/
|
|
5618
|
-
commentsAreaWidth?: number;
|
|
5619
|
-
/**
|
|
5620
|
-
* Gets or sets the color of comments area (Applies only if comments are displayed on the right).
|
|
5621
|
-
*/
|
|
5622
|
-
commentsAreaColor?: string;
|
|
5623
|
-
/**
|
|
5624
|
-
* True if comments that have no author are displayed. (Applies only if comments are displayed).
|
|
5625
|
-
*/
|
|
5626
|
-
showCommentsByNoAuthor?: boolean;
|
|
5627
|
-
}
|
|
5628
|
-
export declare namespace TiffExportOptions {
|
|
5629
|
-
enum CompressionEnum {
|
|
5630
|
-
Default,
|
|
5631
|
-
None,
|
|
5632
|
-
CCITT3,
|
|
5633
|
-
CCITT4,
|
|
5634
|
-
LZW,
|
|
5635
|
-
RLE
|
|
5636
|
-
}
|
|
5637
|
-
enum PixelFormatEnum {
|
|
5638
|
-
Format1bppIndexed,
|
|
5639
|
-
Format4bppIndexed,
|
|
5640
|
-
Format8bppIndexed,
|
|
5641
|
-
Format24bppRgb,
|
|
5642
|
-
Format32bppArgb
|
|
5643
|
-
}
|
|
5644
|
-
enum NotesPositionEnum {
|
|
5645
|
-
None,
|
|
5646
|
-
BottomFull,
|
|
5647
|
-
BottomTruncated
|
|
5648
|
-
}
|
|
5649
|
-
enum CommentsPositionEnum {
|
|
5650
|
-
None,
|
|
5651
|
-
Bottom,
|
|
5652
|
-
Right
|
|
5653
|
-
}
|
|
5654
|
-
}
|
|
5655
5761
|
/**
|
|
5656
5762
|
* Update background task.
|
|
5657
5763
|
*/
|
|
@@ -5690,7 +5796,15 @@ export declare namespace UpdateShape {
|
|
|
5690
5796
|
export declare class VideoExportOptions extends ExportOptions {
|
|
5691
5797
|
constructor();
|
|
5692
5798
|
/**
|
|
5693
|
-
*
|
|
5799
|
+
* Slides transition duration.
|
|
5800
|
+
*/
|
|
5801
|
+
slidesTransitionDuration?: number;
|
|
5802
|
+
/**
|
|
5803
|
+
* Video transition type
|
|
5804
|
+
*/
|
|
5805
|
+
transitionType?: VideoExportOptions.TransitionTypeEnum;
|
|
5806
|
+
/**
|
|
5807
|
+
* Duration of transition defined in TransitionType property.
|
|
5694
5808
|
*/
|
|
5695
5809
|
transitionDuration?: number;
|
|
5696
5810
|
/**
|
|
@@ -5699,6 +5813,38 @@ export declare class VideoExportOptions extends ExportOptions {
|
|
|
5699
5813
|
videoResolutionType?: VideoExportOptions.VideoResolutionTypeEnum;
|
|
5700
5814
|
}
|
|
5701
5815
|
export declare namespace VideoExportOptions {
|
|
5816
|
+
enum TransitionTypeEnum {
|
|
5817
|
+
None,
|
|
5818
|
+
Fade,
|
|
5819
|
+
Distance,
|
|
5820
|
+
Slidedown,
|
|
5821
|
+
Slideright,
|
|
5822
|
+
Slideleft,
|
|
5823
|
+
Slideup,
|
|
5824
|
+
Smoothleft,
|
|
5825
|
+
Smoothright,
|
|
5826
|
+
Smoothup,
|
|
5827
|
+
Smoothdown,
|
|
5828
|
+
Rectcrop,
|
|
5829
|
+
Circlecrop,
|
|
5830
|
+
Circleclose,
|
|
5831
|
+
Circleopen,
|
|
5832
|
+
Horzclose,
|
|
5833
|
+
Horzopen,
|
|
5834
|
+
Vertclose,
|
|
5835
|
+
Vertopen,
|
|
5836
|
+
Diagbl,
|
|
5837
|
+
Diagbr,
|
|
5838
|
+
Diagtl,
|
|
5839
|
+
Diagtr,
|
|
5840
|
+
Hlslice,
|
|
5841
|
+
Hrslice,
|
|
5842
|
+
Vuslice,
|
|
5843
|
+
Vdslice,
|
|
5844
|
+
Dissolve,
|
|
5845
|
+
Pixelize,
|
|
5846
|
+
Radial
|
|
5847
|
+
}
|
|
5702
5848
|
enum VideoResolutionTypeEnum {
|
|
5703
5849
|
FullHD,
|
|
5704
5850
|
SD,
|
|
@@ -6227,6 +6373,24 @@ export declare namespace GeometryShape {
|
|
|
6227
6373
|
NotDefined
|
|
6228
6374
|
}
|
|
6229
6375
|
}
|
|
6376
|
+
/**
|
|
6377
|
+
* Provides options that control how a presentation is saved in Gif format.
|
|
6378
|
+
*/
|
|
6379
|
+
export declare class GifExportOptions extends ImageExportOptionsBase {
|
|
6380
|
+
constructor();
|
|
6381
|
+
/**
|
|
6382
|
+
* Determines whether hidden slides will be exported.
|
|
6383
|
+
*/
|
|
6384
|
+
exportHiddenSlides?: boolean;
|
|
6385
|
+
/**
|
|
6386
|
+
* Gets or sets transition FPS [frames/sec]
|
|
6387
|
+
*/
|
|
6388
|
+
transitionFps?: number;
|
|
6389
|
+
/**
|
|
6390
|
+
* Gets or sets default delay time [ms].
|
|
6391
|
+
*/
|
|
6392
|
+
defaultDelay?: number;
|
|
6393
|
+
}
|
|
6230
6394
|
/**
|
|
6231
6395
|
* Represents AudioFrame resource.
|
|
6232
6396
|
*/
|
|
@@ -6240,9 +6404,47 @@ export declare namespace GraphicalObject {
|
|
|
6240
6404
|
*/
|
|
6241
6405
|
export declare class GroupShape extends ShapeBase {
|
|
6242
6406
|
constructor();
|
|
6407
|
+
/**
|
|
6408
|
+
* Gets or sets the link to shapes.
|
|
6409
|
+
*/
|
|
6410
|
+
shapes?: ResourceUri;
|
|
6243
6411
|
}
|
|
6244
6412
|
export declare namespace GroupShape {
|
|
6245
6413
|
}
|
|
6414
|
+
/**
|
|
6415
|
+
* Provides options that control how a presentation is saved in an image format.
|
|
6416
|
+
*/
|
|
6417
|
+
export declare class ImageExportOptions extends ImageExportOptionsBase {
|
|
6418
|
+
constructor();
|
|
6419
|
+
/**
|
|
6420
|
+
* Gets or sets the position of the notes on the page.
|
|
6421
|
+
*/
|
|
6422
|
+
notesPosition?: ImageExportOptions.NotesPositionEnum;
|
|
6423
|
+
/**
|
|
6424
|
+
* Gets or sets the position of the comments on the page.
|
|
6425
|
+
*/
|
|
6426
|
+
commentsPosition?: ImageExportOptions.CommentsPositionEnum;
|
|
6427
|
+
/**
|
|
6428
|
+
* Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
|
6429
|
+
*/
|
|
6430
|
+
commentsAreaWidth?: number;
|
|
6431
|
+
/**
|
|
6432
|
+
* Gets or sets the color of comments area (Applies only if comments are displayed on the right).
|
|
6433
|
+
*/
|
|
6434
|
+
commentsAreaColor?: string;
|
|
6435
|
+
}
|
|
6436
|
+
export declare namespace ImageExportOptions {
|
|
6437
|
+
enum NotesPositionEnum {
|
|
6438
|
+
None,
|
|
6439
|
+
BottomFull,
|
|
6440
|
+
BottomTruncated
|
|
6441
|
+
}
|
|
6442
|
+
enum CommentsPositionEnum {
|
|
6443
|
+
None,
|
|
6444
|
+
Bottom,
|
|
6445
|
+
Right
|
|
6446
|
+
}
|
|
6447
|
+
}
|
|
6246
6448
|
/**
|
|
6247
6449
|
* Represents OleObjectFrame resource.
|
|
6248
6450
|
*/
|
|
@@ -6256,6 +6458,34 @@ export declare class OleObjectFrame extends ShapeBase {
|
|
|
6256
6458
|
* The title for OleObject icon.
|
|
6257
6459
|
*/
|
|
6258
6460
|
substitutePictureTitle?: string;
|
|
6461
|
+
/**
|
|
6462
|
+
* OleObject image fill properties.
|
|
6463
|
+
*/
|
|
6464
|
+
substitutePictureFormat?: PictureFill;
|
|
6465
|
+
/**
|
|
6466
|
+
* Returns or sets the name of an object.
|
|
6467
|
+
*/
|
|
6468
|
+
objectName?: string;
|
|
6469
|
+
/**
|
|
6470
|
+
* File data of embedded OLE object.
|
|
6471
|
+
*/
|
|
6472
|
+
embeddedFileBase64Data?: string;
|
|
6473
|
+
/**
|
|
6474
|
+
* File extension for the current embedded OLE object
|
|
6475
|
+
*/
|
|
6476
|
+
embeddedFileExtension?: string;
|
|
6477
|
+
/**
|
|
6478
|
+
* ProgID of an object.
|
|
6479
|
+
*/
|
|
6480
|
+
objectProgId?: string;
|
|
6481
|
+
/**
|
|
6482
|
+
* Full path to a linked file.
|
|
6483
|
+
*/
|
|
6484
|
+
linkPath?: string;
|
|
6485
|
+
/**
|
|
6486
|
+
* Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write Boolean.
|
|
6487
|
+
*/
|
|
6488
|
+
updateAutomatic?: boolean;
|
|
6259
6489
|
}
|
|
6260
6490
|
export declare namespace OleObjectFrame {
|
|
6261
6491
|
}
|
|
@@ -6649,6 +6879,79 @@ export declare namespace Table {
|
|
|
6649
6879
|
Custom
|
|
6650
6880
|
}
|
|
6651
6881
|
}
|
|
6882
|
+
/**
|
|
6883
|
+
* Provides options that control how a presentation is saved in TIFF format.
|
|
6884
|
+
*/
|
|
6885
|
+
export declare class TiffExportOptions extends ImageExportOptionsBase {
|
|
6886
|
+
constructor();
|
|
6887
|
+
/**
|
|
6888
|
+
* Compression type.
|
|
6889
|
+
*/
|
|
6890
|
+
compression?: TiffExportOptions.CompressionEnum;
|
|
6891
|
+
/**
|
|
6892
|
+
* Horizontal resolution, in dots per inch.
|
|
6893
|
+
*/
|
|
6894
|
+
dpiX?: number;
|
|
6895
|
+
/**
|
|
6896
|
+
* Vertical resolution, in dots per inch.
|
|
6897
|
+
*/
|
|
6898
|
+
dpiY?: number;
|
|
6899
|
+
/**
|
|
6900
|
+
* Specifies whether the generated document should include hidden slides or not. Default is false.
|
|
6901
|
+
*/
|
|
6902
|
+
showHiddenSlides?: boolean;
|
|
6903
|
+
/**
|
|
6904
|
+
* Specifies the pixel format for the generated images. Read/write ImagePixelFormat.
|
|
6905
|
+
*/
|
|
6906
|
+
pixelFormat?: TiffExportOptions.PixelFormatEnum;
|
|
6907
|
+
/**
|
|
6908
|
+
* Gets or sets the position of the notes on the page.
|
|
6909
|
+
*/
|
|
6910
|
+
notesPosition?: TiffExportOptions.NotesPositionEnum;
|
|
6911
|
+
/**
|
|
6912
|
+
* Gets or sets the position of the comments on the page.
|
|
6913
|
+
*/
|
|
6914
|
+
commentsPosition?: TiffExportOptions.CommentsPositionEnum;
|
|
6915
|
+
/**
|
|
6916
|
+
* Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
|
6917
|
+
*/
|
|
6918
|
+
commentsAreaWidth?: number;
|
|
6919
|
+
/**
|
|
6920
|
+
* Gets or sets the color of comments area (Applies only if comments are displayed on the right).
|
|
6921
|
+
*/
|
|
6922
|
+
commentsAreaColor?: string;
|
|
6923
|
+
/**
|
|
6924
|
+
* True if comments that have no author are displayed. (Applies only if comments are displayed).
|
|
6925
|
+
*/
|
|
6926
|
+
showCommentsByNoAuthor?: boolean;
|
|
6927
|
+
}
|
|
6928
|
+
export declare namespace TiffExportOptions {
|
|
6929
|
+
enum CompressionEnum {
|
|
6930
|
+
Default,
|
|
6931
|
+
None,
|
|
6932
|
+
CCITT3,
|
|
6933
|
+
CCITT4,
|
|
6934
|
+
LZW,
|
|
6935
|
+
RLE
|
|
6936
|
+
}
|
|
6937
|
+
enum PixelFormatEnum {
|
|
6938
|
+
Format1bppIndexed,
|
|
6939
|
+
Format4bppIndexed,
|
|
6940
|
+
Format8bppIndexed,
|
|
6941
|
+
Format24bppRgb,
|
|
6942
|
+
Format32bppArgb
|
|
6943
|
+
}
|
|
6944
|
+
enum NotesPositionEnum {
|
|
6945
|
+
None,
|
|
6946
|
+
BottomFull,
|
|
6947
|
+
BottomTruncated
|
|
6948
|
+
}
|
|
6949
|
+
enum CommentsPositionEnum {
|
|
6950
|
+
None,
|
|
6951
|
+
Bottom,
|
|
6952
|
+
Right
|
|
6953
|
+
}
|
|
6954
|
+
}
|
|
6652
6955
|
/**
|
|
6653
6956
|
* One value chart data point.
|
|
6654
6957
|
*/
|
|
@@ -6756,6 +7059,10 @@ export declare class AudioFrame extends GeometryShape {
|
|
|
6756
7059
|
* Determines whether audio is automatically rewound to start after playing.
|
|
6757
7060
|
*/
|
|
6758
7061
|
rewindAudio?: boolean;
|
|
7062
|
+
/**
|
|
7063
|
+
* Picture fill format.
|
|
7064
|
+
*/
|
|
7065
|
+
pictureFillFormat?: PictureFill;
|
|
6759
7066
|
}
|
|
6760
7067
|
export declare namespace AudioFrame {
|
|
6761
7068
|
enum PlayModeEnum {
|
package/model.js
CHANGED
|
@@ -23,11 +23,17 @@
|
|
|
23
23
|
* SOFTWARE.
|
|
24
24
|
*/
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.SummaryZoomSection = exports.ZoomFrame = exports.VideoFrame = exports.SmartArtShape = exports.Shape = exports.SectionZoomFrame = exports.PictureFrame = exports.Connector = exports.AudioFrame = exports.ZoomObject = exports.WaterfallSeries = exports.WaterfallChartDataPoint = exports.Table = exports.SummaryZoomFrame = void 0;
|
|
26
|
+
exports.OrderedMergeRequest = exports.ObjectExist = exports.NotesSlideExportFormat = exports.NormalViewRestoredProperties = exports.ModelError = exports.MergingSource = exports.MathParagraph = exports.MathElement = exports.LineFormat = exports.LightRig = exports.Legend = exports.InteractiveSequence = exports.InputFile = exports.Input = exports.InnerShadowEffect = exports.ImageExportFormat = exports.IShapeExportOptions = exports.Hyperlink = exports.GradientFillStop = exports.GlowEffect = exports.GeometryPaths = exports.GeometryPath = exports.FontSet = exports.FontFallbackRule = exports.FillOverlayEffect = exports.FillFormat = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.ExportOptions = exports.ExportFormat = exports.ErrorDetails = exports.EntityExists = exports.EffectFormat = exports.Effect = exports.DiscUsage = exports.DataPoint = exports.CustomDashPattern = exports.CommonSlideViewProperties = exports.ChartWall = exports.ChartTitle = exports.ChartLinesFormat = exports.ChartCategory = exports.Camera = exports.BlurEffect = exports.Axis = exports.Axes = exports.ArrowHeadProperties = exports.ApiInfo = exports.AccessPermissions = void 0;
|
|
27
|
+
exports.CubicBezierToPathSegment = exports.ColorScheme = exports.ClosePathSegment = exports.BoxElement = exports.BorderBoxElement = exports.BlockElement = exports.Base64InputFile = exports.BarElement = exports.ArrayElement = exports.ArcToPathSegment = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.AccentElement = exports.ThreeDFormat = exports.TextItem = exports.TextFrameFormat = exports.TextBounds = exports.Task = exports.TableRow = exports.TableColumn = exports.TableCell = exports.StorageFile = exports.StorageExist = exports.SpecialSlideType = exports.SoftEdgeEffect = exports.SmartArtNode = exports.SlideExportFormat = exports.SlideCommentBase = exports.ShapesAlignmentType = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = exports.ShapeBevel = exports.SeriesMarker = exports.Series = exports.ResourceUri = exports.ResourceBase = exports.ReflectionEffect = exports.PresetShadowEffect = exports.PresentationsMergeRequest = exports.PresentationToMerge = exports.PortionFormat = exports.PlotArea = exports.Pipeline = exports.PathSegment = exports.OutputFile = exports.OuterShadowEffect = void 0;
|
|
28
|
+
exports.RemoveSlide = exports.RemoveShape = exports.RadicalElement = exports.QuadraticBezierToPathSegment = exports.ProtectionProperties = exports.PptxExportOptions = exports.Portions = exports.Portion = exports.Placeholders = exports.Placeholder = exports.PictureFill = exports.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.Paragraph = exports.OneValueSeries = exports.OneValueChartDataPoint = exports.NotesSlideHeaderFooter = exports.NotesSlide = exports.NoFill = exports.NaryOperatorElement = exports.MoveToPathSegment = exports.Merge = exports.MatrixElement = exports.MasterSlides = exports.MasterSlide = exports.LineToPathSegment = exports.LimitElement = exports.LeftSubSuperscriptElement = exports.LayoutSlides = exports.LayoutSlide = exports.Images = exports.ImageExportOptionsBase = exports.Image = exports.HtmlExportOptions = exports.Html5ExportOptions = exports.HeaderFooter = exports.GroupingCharacterElement = exports.GradientFill = exports.FunctionElement = exports.FractionElement = exports.FormatScheme = exports.FontScheme = exports.FileVersion = exports.DocumentProperty = exports.DocumentProperties = exports.Document = exports.DelimiterElement = void 0;
|
|
29
|
+
exports.ScatterSeries = exports.OleObjectFrame = exports.ImageExportOptions = exports.GroupShape = exports.GraphicalObject = exports.GifExportOptions = exports.GeometryShape = exports.DocumentReplaceResult = exports.Chart = exports.BubbleSeries = exports.BubbleChartDataPoint = exports.BoxAndWhiskerSeries = exports.XpsExportOptions = exports.XamlExportOptions = exports.XYSeries = exports.ViewProperties = exports.VideoExportOptions = exports.UpdateShape = exports.UpdateBackground = exports.Theme = exports.TextItems = exports.TextElement = exports.SwfExportOptions = exports.SvgExportOptions = exports.SuperscriptElement = exports.SubscriptElement = exports.SplitDocumentResult = exports.SolidFill = exports.Slides = exports.SlideProperties = exports.SlideModernComment = exports.SlideComments = exports.SlideComment = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.Shapes = exports.ShapeBase = exports.Sections = exports.Section = exports.ScatterChartDataPoint = exports.SaveSlide = exports.SaveShape = exports.Save = exports.RightSubSuperscriptElement = exports.ResponseOutputFile = exports.ResetSlide = exports.RequestInputFile = exports.ReplaceText = exports.ReorderSlide = void 0;
|
|
30
|
+
exports.SummaryZoomSection = exports.ZoomFrame = exports.VideoFrame = exports.SmartArtShape = exports.Shape = exports.SectionZoomFrame = exports.PictureFrame = exports.Connector = exports.AudioFrame = exports.ZoomObject = exports.WaterfallSeries = exports.WaterfallChartDataPoint = exports.TiffExportOptions = exports.Table = exports.SummaryZoomFrame = exports.SmartArt = exports.SlideReplaceResult = void 0;
|
|
31
|
+
/**
|
|
32
|
+
* A set of properties specifying which access permissions should be granted when the document is opened with user access.
|
|
33
|
+
*/
|
|
34
|
+
class AccessPermissions {
|
|
35
|
+
}
|
|
36
|
+
exports.AccessPermissions = AccessPermissions;
|
|
31
37
|
/**
|
|
32
38
|
* Represents response for ApiInfo DTO
|
|
33
39
|
*/
|
|
@@ -1044,6 +1050,92 @@ exports.PlotArea = PlotArea;
|
|
|
1044
1050
|
LayoutTargetTypeEnum[LayoutTargetTypeEnum["Outer"] = 'Outer'] = "Outer";
|
|
1045
1051
|
})(LayoutTargetTypeEnum = PlotArea.LayoutTargetTypeEnum || (PlotArea.LayoutTargetTypeEnum = {}));
|
|
1046
1052
|
})(PlotArea = exports.PlotArea || (exports.PlotArea = {}));
|
|
1053
|
+
/**
|
|
1054
|
+
* Represents portion format.
|
|
1055
|
+
*/
|
|
1056
|
+
class PortionFormat {
|
|
1057
|
+
}
|
|
1058
|
+
exports.PortionFormat = PortionFormat;
|
|
1059
|
+
(function (PortionFormat) {
|
|
1060
|
+
let FontBoldEnum;
|
|
1061
|
+
(function (FontBoldEnum) {
|
|
1062
|
+
FontBoldEnum[FontBoldEnum["False"] = 'False'] = "False";
|
|
1063
|
+
FontBoldEnum[FontBoldEnum["True"] = 'True'] = "True";
|
|
1064
|
+
FontBoldEnum[FontBoldEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1065
|
+
})(FontBoldEnum = PortionFormat.FontBoldEnum || (PortionFormat.FontBoldEnum = {}));
|
|
1066
|
+
let FontItalicEnum;
|
|
1067
|
+
(function (FontItalicEnum) {
|
|
1068
|
+
FontItalicEnum[FontItalicEnum["False"] = 'False'] = "False";
|
|
1069
|
+
FontItalicEnum[FontItalicEnum["True"] = 'True'] = "True";
|
|
1070
|
+
FontItalicEnum[FontItalicEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1071
|
+
})(FontItalicEnum = PortionFormat.FontItalicEnum || (PortionFormat.FontItalicEnum = {}));
|
|
1072
|
+
let FontUnderlineEnum;
|
|
1073
|
+
(function (FontUnderlineEnum) {
|
|
1074
|
+
FontUnderlineEnum[FontUnderlineEnum["None"] = 'None'] = "None";
|
|
1075
|
+
FontUnderlineEnum[FontUnderlineEnum["Words"] = 'Words'] = "Words";
|
|
1076
|
+
FontUnderlineEnum[FontUnderlineEnum["Single"] = 'Single'] = "Single";
|
|
1077
|
+
FontUnderlineEnum[FontUnderlineEnum["Double"] = 'Double'] = "Double";
|
|
1078
|
+
FontUnderlineEnum[FontUnderlineEnum["Heavy"] = 'Heavy'] = "Heavy";
|
|
1079
|
+
FontUnderlineEnum[FontUnderlineEnum["Dotted"] = 'Dotted'] = "Dotted";
|
|
1080
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyDotted"] = 'HeavyDotted'] = "HeavyDotted";
|
|
1081
|
+
FontUnderlineEnum[FontUnderlineEnum["Dashed"] = 'Dashed'] = "Dashed";
|
|
1082
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyDashed"] = 'HeavyDashed'] = "HeavyDashed";
|
|
1083
|
+
FontUnderlineEnum[FontUnderlineEnum["LongDashed"] = 'LongDashed'] = "LongDashed";
|
|
1084
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyLongDashed"] = 'HeavyLongDashed'] = "HeavyLongDashed";
|
|
1085
|
+
FontUnderlineEnum[FontUnderlineEnum["DotDash"] = 'DotDash'] = "DotDash";
|
|
1086
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyDotDash"] = 'HeavyDotDash'] = "HeavyDotDash";
|
|
1087
|
+
FontUnderlineEnum[FontUnderlineEnum["DotDotDash"] = 'DotDotDash'] = "DotDotDash";
|
|
1088
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyDotDotDash"] = 'HeavyDotDotDash'] = "HeavyDotDotDash";
|
|
1089
|
+
FontUnderlineEnum[FontUnderlineEnum["Wavy"] = 'Wavy'] = "Wavy";
|
|
1090
|
+
FontUnderlineEnum[FontUnderlineEnum["HeavyWavy"] = 'HeavyWavy'] = "HeavyWavy";
|
|
1091
|
+
FontUnderlineEnum[FontUnderlineEnum["DoubleWavy"] = 'DoubleWavy'] = "DoubleWavy";
|
|
1092
|
+
FontUnderlineEnum[FontUnderlineEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1093
|
+
})(FontUnderlineEnum = PortionFormat.FontUnderlineEnum || (PortionFormat.FontUnderlineEnum = {}));
|
|
1094
|
+
let StrikethroughTypeEnum;
|
|
1095
|
+
(function (StrikethroughTypeEnum) {
|
|
1096
|
+
StrikethroughTypeEnum[StrikethroughTypeEnum["None"] = 'None'] = "None";
|
|
1097
|
+
StrikethroughTypeEnum[StrikethroughTypeEnum["Single"] = 'Single'] = "Single";
|
|
1098
|
+
StrikethroughTypeEnum[StrikethroughTypeEnum["Double"] = 'Double'] = "Double";
|
|
1099
|
+
StrikethroughTypeEnum[StrikethroughTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1100
|
+
})(StrikethroughTypeEnum = PortionFormat.StrikethroughTypeEnum || (PortionFormat.StrikethroughTypeEnum = {}));
|
|
1101
|
+
let TextCapTypeEnum;
|
|
1102
|
+
(function (TextCapTypeEnum) {
|
|
1103
|
+
TextCapTypeEnum[TextCapTypeEnum["None"] = 'None'] = "None";
|
|
1104
|
+
TextCapTypeEnum[TextCapTypeEnum["Small"] = 'Small'] = "Small";
|
|
1105
|
+
TextCapTypeEnum[TextCapTypeEnum["All"] = 'All'] = "All";
|
|
1106
|
+
TextCapTypeEnum[TextCapTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1107
|
+
})(TextCapTypeEnum = PortionFormat.TextCapTypeEnum || (PortionFormat.TextCapTypeEnum = {}));
|
|
1108
|
+
let NormaliseHeightEnum;
|
|
1109
|
+
(function (NormaliseHeightEnum) {
|
|
1110
|
+
NormaliseHeightEnum[NormaliseHeightEnum["False"] = 'False'] = "False";
|
|
1111
|
+
NormaliseHeightEnum[NormaliseHeightEnum["True"] = 'True'] = "True";
|
|
1112
|
+
NormaliseHeightEnum[NormaliseHeightEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1113
|
+
})(NormaliseHeightEnum = PortionFormat.NormaliseHeightEnum || (PortionFormat.NormaliseHeightEnum = {}));
|
|
1114
|
+
let ProofDisabledEnum;
|
|
1115
|
+
(function (ProofDisabledEnum) {
|
|
1116
|
+
ProofDisabledEnum[ProofDisabledEnum["False"] = 'False'] = "False";
|
|
1117
|
+
ProofDisabledEnum[ProofDisabledEnum["True"] = 'True'] = "True";
|
|
1118
|
+
ProofDisabledEnum[ProofDisabledEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1119
|
+
})(ProofDisabledEnum = PortionFormat.ProofDisabledEnum || (PortionFormat.ProofDisabledEnum = {}));
|
|
1120
|
+
let KumimojiEnum;
|
|
1121
|
+
(function (KumimojiEnum) {
|
|
1122
|
+
KumimojiEnum[KumimojiEnum["False"] = 'False'] = "False";
|
|
1123
|
+
KumimojiEnum[KumimojiEnum["True"] = 'True'] = "True";
|
|
1124
|
+
KumimojiEnum[KumimojiEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1125
|
+
})(KumimojiEnum = PortionFormat.KumimojiEnum || (PortionFormat.KumimojiEnum = {}));
|
|
1126
|
+
let IsHardUnderlineFillEnum;
|
|
1127
|
+
(function (IsHardUnderlineFillEnum) {
|
|
1128
|
+
IsHardUnderlineFillEnum[IsHardUnderlineFillEnum["False"] = 'False'] = "False";
|
|
1129
|
+
IsHardUnderlineFillEnum[IsHardUnderlineFillEnum["True"] = 'True'] = "True";
|
|
1130
|
+
IsHardUnderlineFillEnum[IsHardUnderlineFillEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1131
|
+
})(IsHardUnderlineFillEnum = PortionFormat.IsHardUnderlineFillEnum || (PortionFormat.IsHardUnderlineFillEnum = {}));
|
|
1132
|
+
let IsHardUnderlineLineEnum;
|
|
1133
|
+
(function (IsHardUnderlineLineEnum) {
|
|
1134
|
+
IsHardUnderlineLineEnum[IsHardUnderlineLineEnum["False"] = 'False'] = "False";
|
|
1135
|
+
IsHardUnderlineLineEnum[IsHardUnderlineLineEnum["True"] = 'True'] = "True";
|
|
1136
|
+
IsHardUnderlineLineEnum[IsHardUnderlineLineEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
1137
|
+
})(IsHardUnderlineLineEnum = PortionFormat.IsHardUnderlineLineEnum || (PortionFormat.IsHardUnderlineLineEnum = {}));
|
|
1138
|
+
})(PortionFormat = exports.PortionFormat || (exports.PortionFormat = {}));
|
|
1047
1139
|
/**
|
|
1048
1140
|
* Represents presentation to merge
|
|
1049
1141
|
*/
|
|
@@ -1879,16 +1971,6 @@ class FunctionElement extends MathElement {
|
|
|
1879
1971
|
}
|
|
1880
1972
|
}
|
|
1881
1973
|
exports.FunctionElement = FunctionElement;
|
|
1882
|
-
/**
|
|
1883
|
-
* Provides options that control how a presentation is saved in Gif format.
|
|
1884
|
-
*/
|
|
1885
|
-
class GifExportOptions extends ExportOptions {
|
|
1886
|
-
constructor() {
|
|
1887
|
-
super();
|
|
1888
|
-
this.format = 'gif';
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
exports.GifExportOptions = GifExportOptions;
|
|
1892
1974
|
/**
|
|
1893
1975
|
* Represents gradient fill format
|
|
1894
1976
|
*/
|
|
@@ -2012,29 +2094,14 @@ class Image extends ResourceBase {
|
|
|
2012
2094
|
}
|
|
2013
2095
|
exports.Image = Image;
|
|
2014
2096
|
/**
|
|
2015
|
-
*
|
|
2097
|
+
* The class provides shared options for image formats.
|
|
2016
2098
|
*/
|
|
2017
|
-
class
|
|
2099
|
+
class ImageExportOptionsBase extends ExportOptions {
|
|
2018
2100
|
constructor() {
|
|
2019
2101
|
super();
|
|
2020
|
-
this.format = 'image';
|
|
2021
2102
|
}
|
|
2022
2103
|
}
|
|
2023
|
-
exports.
|
|
2024
|
-
(function (ImageExportOptions) {
|
|
2025
|
-
let NotesPositionEnum;
|
|
2026
|
-
(function (NotesPositionEnum) {
|
|
2027
|
-
NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
|
|
2028
|
-
NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
|
|
2029
|
-
NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
|
|
2030
|
-
})(NotesPositionEnum = ImageExportOptions.NotesPositionEnum || (ImageExportOptions.NotesPositionEnum = {}));
|
|
2031
|
-
let CommentsPositionEnum;
|
|
2032
|
-
(function (CommentsPositionEnum) {
|
|
2033
|
-
CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
|
|
2034
|
-
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
2035
|
-
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
2036
|
-
})(CommentsPositionEnum = ImageExportOptions.CommentsPositionEnum || (ImageExportOptions.CommentsPositionEnum = {}));
|
|
2037
|
-
})(ImageExportOptions = exports.ImageExportOptions || (exports.ImageExportOptions = {}));
|
|
2104
|
+
exports.ImageExportOptionsBase = ImageExportOptionsBase;
|
|
2038
2105
|
/**
|
|
2039
2106
|
* List of images.
|
|
2040
2107
|
*/
|
|
@@ -2513,18 +2580,6 @@ exports.PdfExportOptions = PdfExportOptions;
|
|
|
2513
2580
|
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
2514
2581
|
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
2515
2582
|
})(CommentsPositionEnum = PdfExportOptions.CommentsPositionEnum || (PdfExportOptions.CommentsPositionEnum = {}));
|
|
2516
|
-
let AccessPermissionsEnum;
|
|
2517
|
-
(function (AccessPermissionsEnum) {
|
|
2518
|
-
AccessPermissionsEnum[AccessPermissionsEnum["None"] = 'None'] = "None";
|
|
2519
|
-
AccessPermissionsEnum[AccessPermissionsEnum["PrintDocument"] = 'PrintDocument'] = "PrintDocument";
|
|
2520
|
-
AccessPermissionsEnum[AccessPermissionsEnum["ModifyContent"] = 'ModifyContent'] = "ModifyContent";
|
|
2521
|
-
AccessPermissionsEnum[AccessPermissionsEnum["CopyTextAndGraphics"] = 'CopyTextAndGraphics'] = "CopyTextAndGraphics";
|
|
2522
|
-
AccessPermissionsEnum[AccessPermissionsEnum["AddOrModifyFields"] = 'AddOrModifyFields'] = "AddOrModifyFields";
|
|
2523
|
-
AccessPermissionsEnum[AccessPermissionsEnum["FillExistingFields"] = 'FillExistingFields'] = "FillExistingFields";
|
|
2524
|
-
AccessPermissionsEnum[AccessPermissionsEnum["ExtractTextAndGraphics"] = 'ExtractTextAndGraphics'] = "ExtractTextAndGraphics";
|
|
2525
|
-
AccessPermissionsEnum[AccessPermissionsEnum["AssembleDocument"] = 'AssembleDocument'] = "AssembleDocument";
|
|
2526
|
-
AccessPermissionsEnum[AccessPermissionsEnum["HighQualityPrint"] = 'HighQualityPrint'] = "HighQualityPrint";
|
|
2527
|
-
})(AccessPermissionsEnum = PdfExportOptions.AccessPermissionsEnum || (PdfExportOptions.AccessPermissionsEnum = {}));
|
|
2528
2583
|
})(PdfExportOptions = exports.PdfExportOptions || (exports.PdfExportOptions = {}));
|
|
2529
2584
|
/**
|
|
2530
2585
|
* Picture fill.
|
|
@@ -3227,47 +3282,6 @@ class Theme extends ResourceBase {
|
|
|
3227
3282
|
}
|
|
3228
3283
|
}
|
|
3229
3284
|
exports.Theme = Theme;
|
|
3230
|
-
/**
|
|
3231
|
-
* Provides options that control how a presentation is saved in TIFF format.
|
|
3232
|
-
*/
|
|
3233
|
-
class TiffExportOptions extends ExportOptions {
|
|
3234
|
-
constructor() {
|
|
3235
|
-
super();
|
|
3236
|
-
this.format = 'tiff';
|
|
3237
|
-
}
|
|
3238
|
-
}
|
|
3239
|
-
exports.TiffExportOptions = TiffExportOptions;
|
|
3240
|
-
(function (TiffExportOptions) {
|
|
3241
|
-
let CompressionEnum;
|
|
3242
|
-
(function (CompressionEnum) {
|
|
3243
|
-
CompressionEnum[CompressionEnum["Default"] = 'Default'] = "Default";
|
|
3244
|
-
CompressionEnum[CompressionEnum["None"] = 'None'] = "None";
|
|
3245
|
-
CompressionEnum[CompressionEnum["CCITT3"] = 'CCITT3'] = "CCITT3";
|
|
3246
|
-
CompressionEnum[CompressionEnum["CCITT4"] = 'CCITT4'] = "CCITT4";
|
|
3247
|
-
CompressionEnum[CompressionEnum["LZW"] = 'LZW'] = "LZW";
|
|
3248
|
-
CompressionEnum[CompressionEnum["RLE"] = 'RLE'] = "RLE";
|
|
3249
|
-
})(CompressionEnum = TiffExportOptions.CompressionEnum || (TiffExportOptions.CompressionEnum = {}));
|
|
3250
|
-
let PixelFormatEnum;
|
|
3251
|
-
(function (PixelFormatEnum) {
|
|
3252
|
-
PixelFormatEnum[PixelFormatEnum["Format1bppIndexed"] = 'Format1bppIndexed'] = "Format1bppIndexed";
|
|
3253
|
-
PixelFormatEnum[PixelFormatEnum["Format4bppIndexed"] = 'Format4bppIndexed'] = "Format4bppIndexed";
|
|
3254
|
-
PixelFormatEnum[PixelFormatEnum["Format8bppIndexed"] = 'Format8bppIndexed'] = "Format8bppIndexed";
|
|
3255
|
-
PixelFormatEnum[PixelFormatEnum["Format24bppRgb"] = 'Format24bppRgb'] = "Format24bppRgb";
|
|
3256
|
-
PixelFormatEnum[PixelFormatEnum["Format32bppArgb"] = 'Format32bppArgb'] = "Format32bppArgb";
|
|
3257
|
-
})(PixelFormatEnum = TiffExportOptions.PixelFormatEnum || (TiffExportOptions.PixelFormatEnum = {}));
|
|
3258
|
-
let NotesPositionEnum;
|
|
3259
|
-
(function (NotesPositionEnum) {
|
|
3260
|
-
NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
|
|
3261
|
-
NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
|
|
3262
|
-
NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
|
|
3263
|
-
})(NotesPositionEnum = TiffExportOptions.NotesPositionEnum || (TiffExportOptions.NotesPositionEnum = {}));
|
|
3264
|
-
let CommentsPositionEnum;
|
|
3265
|
-
(function (CommentsPositionEnum) {
|
|
3266
|
-
CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
|
|
3267
|
-
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
3268
|
-
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
3269
|
-
})(CommentsPositionEnum = TiffExportOptions.CommentsPositionEnum || (TiffExportOptions.CommentsPositionEnum = {}));
|
|
3270
|
-
})(TiffExportOptions = exports.TiffExportOptions || (exports.TiffExportOptions = {}));
|
|
3271
3285
|
/**
|
|
3272
3286
|
* Update background task.
|
|
3273
3287
|
*/
|
|
@@ -3299,6 +3313,39 @@ class VideoExportOptions extends ExportOptions {
|
|
|
3299
3313
|
}
|
|
3300
3314
|
exports.VideoExportOptions = VideoExportOptions;
|
|
3301
3315
|
(function (VideoExportOptions) {
|
|
3316
|
+
let TransitionTypeEnum;
|
|
3317
|
+
(function (TransitionTypeEnum) {
|
|
3318
|
+
TransitionTypeEnum[TransitionTypeEnum["None"] = 'None'] = "None";
|
|
3319
|
+
TransitionTypeEnum[TransitionTypeEnum["Fade"] = 'Fade'] = "Fade";
|
|
3320
|
+
TransitionTypeEnum[TransitionTypeEnum["Distance"] = 'Distance'] = "Distance";
|
|
3321
|
+
TransitionTypeEnum[TransitionTypeEnum["Slidedown"] = 'Slidedown'] = "Slidedown";
|
|
3322
|
+
TransitionTypeEnum[TransitionTypeEnum["Slideright"] = 'Slideright'] = "Slideright";
|
|
3323
|
+
TransitionTypeEnum[TransitionTypeEnum["Slideleft"] = 'Slideleft'] = "Slideleft";
|
|
3324
|
+
TransitionTypeEnum[TransitionTypeEnum["Slideup"] = 'Slideup'] = "Slideup";
|
|
3325
|
+
TransitionTypeEnum[TransitionTypeEnum["Smoothleft"] = 'Smoothleft'] = "Smoothleft";
|
|
3326
|
+
TransitionTypeEnum[TransitionTypeEnum["Smoothright"] = 'Smoothright'] = "Smoothright";
|
|
3327
|
+
TransitionTypeEnum[TransitionTypeEnum["Smoothup"] = 'Smoothup'] = "Smoothup";
|
|
3328
|
+
TransitionTypeEnum[TransitionTypeEnum["Smoothdown"] = 'Smoothdown'] = "Smoothdown";
|
|
3329
|
+
TransitionTypeEnum[TransitionTypeEnum["Rectcrop"] = 'Rectcrop'] = "Rectcrop";
|
|
3330
|
+
TransitionTypeEnum[TransitionTypeEnum["Circlecrop"] = 'Circlecrop'] = "Circlecrop";
|
|
3331
|
+
TransitionTypeEnum[TransitionTypeEnum["Circleclose"] = 'Circleclose'] = "Circleclose";
|
|
3332
|
+
TransitionTypeEnum[TransitionTypeEnum["Circleopen"] = 'Circleopen'] = "Circleopen";
|
|
3333
|
+
TransitionTypeEnum[TransitionTypeEnum["Horzclose"] = 'Horzclose'] = "Horzclose";
|
|
3334
|
+
TransitionTypeEnum[TransitionTypeEnum["Horzopen"] = 'Horzopen'] = "Horzopen";
|
|
3335
|
+
TransitionTypeEnum[TransitionTypeEnum["Vertclose"] = 'Vertclose'] = "Vertclose";
|
|
3336
|
+
TransitionTypeEnum[TransitionTypeEnum["Vertopen"] = 'Vertopen'] = "Vertopen";
|
|
3337
|
+
TransitionTypeEnum[TransitionTypeEnum["Diagbl"] = 'Diagbl'] = "Diagbl";
|
|
3338
|
+
TransitionTypeEnum[TransitionTypeEnum["Diagbr"] = 'Diagbr'] = "Diagbr";
|
|
3339
|
+
TransitionTypeEnum[TransitionTypeEnum["Diagtl"] = 'Diagtl'] = "Diagtl";
|
|
3340
|
+
TransitionTypeEnum[TransitionTypeEnum["Diagtr"] = 'Diagtr'] = "Diagtr";
|
|
3341
|
+
TransitionTypeEnum[TransitionTypeEnum["Hlslice"] = 'Hlslice'] = "Hlslice";
|
|
3342
|
+
TransitionTypeEnum[TransitionTypeEnum["Hrslice"] = 'Hrslice'] = "Hrslice";
|
|
3343
|
+
TransitionTypeEnum[TransitionTypeEnum["Vuslice"] = 'Vuslice'] = "Vuslice";
|
|
3344
|
+
TransitionTypeEnum[TransitionTypeEnum["Vdslice"] = 'Vdslice'] = "Vdslice";
|
|
3345
|
+
TransitionTypeEnum[TransitionTypeEnum["Dissolve"] = 'Dissolve'] = "Dissolve";
|
|
3346
|
+
TransitionTypeEnum[TransitionTypeEnum["Pixelize"] = 'Pixelize'] = "Pixelize";
|
|
3347
|
+
TransitionTypeEnum[TransitionTypeEnum["Radial"] = 'Radial'] = "Radial";
|
|
3348
|
+
})(TransitionTypeEnum = VideoExportOptions.TransitionTypeEnum || (VideoExportOptions.TransitionTypeEnum = {}));
|
|
3302
3349
|
let VideoResolutionTypeEnum;
|
|
3303
3350
|
(function (VideoResolutionTypeEnum) {
|
|
3304
3351
|
VideoResolutionTypeEnum[VideoResolutionTypeEnum["FullHD"] = 'FullHD'] = "FullHD";
|
|
@@ -3722,6 +3769,16 @@ exports.GeometryShape = GeometryShape;
|
|
|
3722
3769
|
ShapeTypeEnum[ShapeTypeEnum["NotDefined"] = 'NotDefined'] = "NotDefined";
|
|
3723
3770
|
})(ShapeTypeEnum = GeometryShape.ShapeTypeEnum || (GeometryShape.ShapeTypeEnum = {}));
|
|
3724
3771
|
})(GeometryShape = exports.GeometryShape || (exports.GeometryShape = {}));
|
|
3772
|
+
/**
|
|
3773
|
+
* Provides options that control how a presentation is saved in Gif format.
|
|
3774
|
+
*/
|
|
3775
|
+
class GifExportOptions extends ImageExportOptionsBase {
|
|
3776
|
+
constructor() {
|
|
3777
|
+
super();
|
|
3778
|
+
this.format = 'gif';
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3781
|
+
exports.GifExportOptions = GifExportOptions;
|
|
3725
3782
|
/**
|
|
3726
3783
|
* Represents AudioFrame resource.
|
|
3727
3784
|
*/
|
|
@@ -3742,6 +3799,30 @@ class GroupShape extends ShapeBase {
|
|
|
3742
3799
|
}
|
|
3743
3800
|
}
|
|
3744
3801
|
exports.GroupShape = GroupShape;
|
|
3802
|
+
/**
|
|
3803
|
+
* Provides options that control how a presentation is saved in an image format.
|
|
3804
|
+
*/
|
|
3805
|
+
class ImageExportOptions extends ImageExportOptionsBase {
|
|
3806
|
+
constructor() {
|
|
3807
|
+
super();
|
|
3808
|
+
this.format = 'image';
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
exports.ImageExportOptions = ImageExportOptions;
|
|
3812
|
+
(function (ImageExportOptions) {
|
|
3813
|
+
let NotesPositionEnum;
|
|
3814
|
+
(function (NotesPositionEnum) {
|
|
3815
|
+
NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
|
|
3816
|
+
NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
|
|
3817
|
+
NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
|
|
3818
|
+
})(NotesPositionEnum = ImageExportOptions.NotesPositionEnum || (ImageExportOptions.NotesPositionEnum = {}));
|
|
3819
|
+
let CommentsPositionEnum;
|
|
3820
|
+
(function (CommentsPositionEnum) {
|
|
3821
|
+
CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
|
|
3822
|
+
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
3823
|
+
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
3824
|
+
})(CommentsPositionEnum = ImageExportOptions.CommentsPositionEnum || (ImageExportOptions.CommentsPositionEnum = {}));
|
|
3825
|
+
})(ImageExportOptions = exports.ImageExportOptions || (exports.ImageExportOptions = {}));
|
|
3745
3826
|
/**
|
|
3746
3827
|
* Represents OleObjectFrame resource.
|
|
3747
3828
|
*/
|
|
@@ -4088,6 +4169,47 @@ exports.Table = Table;
|
|
|
4088
4169
|
StyleEnum[StyleEnum["Custom"] = 'Custom'] = "Custom";
|
|
4089
4170
|
})(StyleEnum = Table.StyleEnum || (Table.StyleEnum = {}));
|
|
4090
4171
|
})(Table = exports.Table || (exports.Table = {}));
|
|
4172
|
+
/**
|
|
4173
|
+
* Provides options that control how a presentation is saved in TIFF format.
|
|
4174
|
+
*/
|
|
4175
|
+
class TiffExportOptions extends ImageExportOptionsBase {
|
|
4176
|
+
constructor() {
|
|
4177
|
+
super();
|
|
4178
|
+
this.format = 'tiff';
|
|
4179
|
+
}
|
|
4180
|
+
}
|
|
4181
|
+
exports.TiffExportOptions = TiffExportOptions;
|
|
4182
|
+
(function (TiffExportOptions) {
|
|
4183
|
+
let CompressionEnum;
|
|
4184
|
+
(function (CompressionEnum) {
|
|
4185
|
+
CompressionEnum[CompressionEnum["Default"] = 'Default'] = "Default";
|
|
4186
|
+
CompressionEnum[CompressionEnum["None"] = 'None'] = "None";
|
|
4187
|
+
CompressionEnum[CompressionEnum["CCITT3"] = 'CCITT3'] = "CCITT3";
|
|
4188
|
+
CompressionEnum[CompressionEnum["CCITT4"] = 'CCITT4'] = "CCITT4";
|
|
4189
|
+
CompressionEnum[CompressionEnum["LZW"] = 'LZW'] = "LZW";
|
|
4190
|
+
CompressionEnum[CompressionEnum["RLE"] = 'RLE'] = "RLE";
|
|
4191
|
+
})(CompressionEnum = TiffExportOptions.CompressionEnum || (TiffExportOptions.CompressionEnum = {}));
|
|
4192
|
+
let PixelFormatEnum;
|
|
4193
|
+
(function (PixelFormatEnum) {
|
|
4194
|
+
PixelFormatEnum[PixelFormatEnum["Format1bppIndexed"] = 'Format1bppIndexed'] = "Format1bppIndexed";
|
|
4195
|
+
PixelFormatEnum[PixelFormatEnum["Format4bppIndexed"] = 'Format4bppIndexed'] = "Format4bppIndexed";
|
|
4196
|
+
PixelFormatEnum[PixelFormatEnum["Format8bppIndexed"] = 'Format8bppIndexed'] = "Format8bppIndexed";
|
|
4197
|
+
PixelFormatEnum[PixelFormatEnum["Format24bppRgb"] = 'Format24bppRgb'] = "Format24bppRgb";
|
|
4198
|
+
PixelFormatEnum[PixelFormatEnum["Format32bppArgb"] = 'Format32bppArgb'] = "Format32bppArgb";
|
|
4199
|
+
})(PixelFormatEnum = TiffExportOptions.PixelFormatEnum || (TiffExportOptions.PixelFormatEnum = {}));
|
|
4200
|
+
let NotesPositionEnum;
|
|
4201
|
+
(function (NotesPositionEnum) {
|
|
4202
|
+
NotesPositionEnum[NotesPositionEnum["None"] = 'None'] = "None";
|
|
4203
|
+
NotesPositionEnum[NotesPositionEnum["BottomFull"] = 'BottomFull'] = "BottomFull";
|
|
4204
|
+
NotesPositionEnum[NotesPositionEnum["BottomTruncated"] = 'BottomTruncated'] = "BottomTruncated";
|
|
4205
|
+
})(NotesPositionEnum = TiffExportOptions.NotesPositionEnum || (TiffExportOptions.NotesPositionEnum = {}));
|
|
4206
|
+
let CommentsPositionEnum;
|
|
4207
|
+
(function (CommentsPositionEnum) {
|
|
4208
|
+
CommentsPositionEnum[CommentsPositionEnum["None"] = 'None'] = "None";
|
|
4209
|
+
CommentsPositionEnum[CommentsPositionEnum["Bottom"] = 'Bottom'] = "Bottom";
|
|
4210
|
+
CommentsPositionEnum[CommentsPositionEnum["Right"] = 'Right'] = "Right";
|
|
4211
|
+
})(CommentsPositionEnum = TiffExportOptions.CommentsPositionEnum || (TiffExportOptions.CommentsPositionEnum = {}));
|
|
4212
|
+
})(TiffExportOptions = exports.TiffExportOptions || (exports.TiffExportOptions = {}));
|
|
4091
4213
|
/**
|
|
4092
4214
|
* One value chart data point.
|
|
4093
4215
|
*/
|