Skip to content

Commit 596c17a

Browse files
Update to v22.8
1 parent 2194d5e commit 596c17a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+9105
-6820
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/s
2828
**Web:** HTML/HTML5
2929
**Other:** MPEG4, SWF (export whole presentations)
3030

31+
## Enhancements in Version 22.8
32+
33+
* With new **GetFonts** and **GetFontsOnline** methods you can get a list for fonts used in the presentation.
34+
* Added new **SetEmbeddedFont**, **SetEmbeddedFontOnline**, **DeleteEmbeddedFont** and **DeleteEmbeddedFontOnline** methods to embed/unembed presentation fonts.
35+
* Added new **ImportImagesFromSvg** method to import SVG images as individual geometry shapes.
36+
3137
## Enhancements in Version 22.7
3238

3339
* Added **Html**, **Pdf**, **Xps**, **Pptx**, **Odp**, **Otp**, **Ppt**, **Pps**, **Ppsx**, **Pptm**, **Ppsm**, **Potx**, **Pot**, **Potm**, **Svg**, **Fodp**, **Xaml**, **Html5** to the list of allowed values for **SlideExportFormat** enum. You can now export slide notes to those formats.

TestData/shapes.svg

Lines changed: 20 additions & 0 deletions
Loading

TestData/test.pptx

107 KB
Binary file not shown.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ allprojects {
4141
}
4242

4343
jar {
44-
baseName 'aspose-slides-cloud-android-22.7.0'
44+
baseName 'aspose-slides-cloud-android-22.8.0'
4545
}

src/main/java/com/aspose/slides/api/SlidesApi.java

Lines changed: 1301 additions & 326 deletions
Large diffs are not rendered by default.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
/*
2+
* --------------------------------------------------------------------------------------------------------------------
3+
* <copyright company="Aspose">
4+
* Copyright (c) 2018 Aspose.Slides for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------------------------------------------
26+
*/
27+
28+
package com.aspose.slides.model;
29+
30+
import java.util.Objects;
31+
import com.google.gson.TypeAdapter;
32+
import com.google.gson.annotations.JsonAdapter;
33+
import com.google.gson.annotations.SerializedName;
34+
import com.google.gson.stream.JsonReader;
35+
import com.google.gson.stream.JsonWriter;
36+
import io.swagger.annotations.ApiModel;
37+
import io.swagger.annotations.ApiModelProperty;
38+
import java.io.IOException;
39+
import java.util.ArrayList;
40+
import java.util.Hashtable;
41+
import java.util.Map;
42+
43+
/**
44+
* Represents font info.
45+
*/
46+
@ApiModel(description = "Represents font info.")
47+
public class FontData {
48+
@SerializedName(value = "fontName", alternate = { "FontName" })
49+
private String fontName;
50+
51+
@SerializedName(value = "isEmbedded", alternate = { "IsEmbedded" })
52+
private Boolean isEmbedded;
53+
54+
55+
public FontData() {
56+
super();
57+
}
58+
59+
public FontData fontName(String fontName) {
60+
this.fontName = fontName;
61+
return this;
62+
}
63+
64+
/**
65+
* Font name
66+
* @return fontName
67+
**/
68+
@ApiModelProperty(value = "Font name")
69+
public String getFontName() {
70+
return fontName;
71+
}
72+
73+
public void setFontName(String fontName) {
74+
this.fontName = fontName;
75+
}
76+
77+
public FontData isEmbedded(Boolean isEmbedded) {
78+
this.isEmbedded = isEmbedded;
79+
return this;
80+
}
81+
82+
/**
83+
* Returns true if font is embedded.
84+
* @return isEmbedded
85+
**/
86+
@ApiModelProperty(value = "Returns true if font is embedded.")
87+
public Boolean isIsEmbedded() {
88+
return isEmbedded;
89+
}
90+
91+
public void setIsEmbedded(Boolean isEmbedded) {
92+
this.isEmbedded = isEmbedded;
93+
}
94+
95+
96+
@Override
97+
public boolean equals(java.lang.Object o) {
98+
if (this == o) {
99+
return true;
100+
}
101+
if (o == null || getClass() != o.getClass()) {
102+
return false;
103+
}
104+
FontData fontData = (FontData) o;
105+
return true && Objects.equals(this.fontName, fontData.fontName) && Objects.equals(this.isEmbedded, fontData.isEmbedded);
106+
}
107+
108+
@Override
109+
public int hashCode() {
110+
return Objects.hash(fontName, isEmbedded);
111+
}
112+
113+
114+
@Override
115+
public String toString() {
116+
StringBuilder sb = new StringBuilder();
117+
sb.append("class FontData {\n");
118+
119+
sb.append(" fontName: ").append(toIndentedString(fontName)).append("\n");
120+
sb.append(" isEmbedded: ").append(toIndentedString(isEmbedded)).append("\n");
121+
sb.append("}");
122+
return sb.toString();
123+
}
124+
125+
/**
126+
* Convert the given object to string with each line indented by 4 spaces
127+
* (except the first line).
128+
*/
129+
private String toIndentedString(java.lang.Object o) {
130+
if (o == null) {
131+
return "null";
132+
}
133+
return o.toString().replace("\n", "\n ");
134+
}
135+
136+
137+
138+
private static final Map<String, Object> typeDeterminers = new Hashtable<String, Object>();
139+
140+
}
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
/*
2+
* --------------------------------------------------------------------------------------------------------------------
3+
* <copyright company="Aspose">
4+
* Copyright (c) 2018 Aspose.Slides for Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------------------------------------------
26+
*/
27+
28+
package com.aspose.slides.model;
29+
30+
import java.util.Objects;
31+
import com.aspose.slides.model.FontData;
32+
import com.google.gson.TypeAdapter;
33+
import com.google.gson.annotations.JsonAdapter;
34+
import com.google.gson.annotations.SerializedName;
35+
import com.google.gson.stream.JsonReader;
36+
import com.google.gson.stream.JsonWriter;
37+
import io.swagger.annotations.ApiModel;
38+
import io.swagger.annotations.ApiModelProperty;
39+
import java.io.IOException;
40+
import java.util.ArrayList;
41+
import java.util.List;
42+
import java.util.ArrayList;
43+
import java.util.Hashtable;
44+
import java.util.Map;
45+
46+
/**
47+
* List of fonts data
48+
*/
49+
@ApiModel(description = "List of fonts data")
50+
public class FontsData {
51+
@SerializedName(value = "list", alternate = { "List" })
52+
private List<FontData> list = null;
53+
54+
55+
public FontsData() {
56+
super();
57+
}
58+
59+
public FontsData list(List<FontData> list) {
60+
this.list = list;
61+
return this;
62+
}
63+
64+
public FontsData addListItem(FontData listItem) {
65+
if (this.list == null) {
66+
this.list = new ArrayList<FontData>();
67+
}
68+
this.list.add(listItem);
69+
return this;
70+
}
71+
72+
/**
73+
* Fonts data list.
74+
* @return list
75+
**/
76+
@ApiModelProperty(value = "Fonts data list.")
77+
public List<FontData> getList() {
78+
return list;
79+
}
80+
81+
public void setList(List<FontData> list) {
82+
this.list = list;
83+
}
84+
85+
86+
@Override
87+
public boolean equals(java.lang.Object o) {
88+
if (this == o) {
89+
return true;
90+
}
91+
if (o == null || getClass() != o.getClass()) {
92+
return false;
93+
}
94+
FontsData fontsData = (FontsData) o;
95+
return true && Objects.equals(this.list, fontsData.list);
96+
}
97+
98+
@Override
99+
public int hashCode() {
100+
return Objects.hash(list);
101+
}
102+
103+
104+
@Override
105+
public String toString() {
106+
StringBuilder sb = new StringBuilder();
107+
sb.append("class FontsData {\n");
108+
109+
sb.append(" list: ").append(toIndentedString(list)).append("\n");
110+
sb.append("}");
111+
return sb.toString();
112+
}
113+
114+
/**
115+
* Convert the given object to string with each line indented by 4 spaces
116+
* (except the first line).
117+
*/
118+
private String toIndentedString(java.lang.Object o) {
119+
if (o == null) {
120+
return "null";
121+
}
122+
return o.toString().replace("\n", "\n ");
123+
}
124+
125+
126+
127+
private static final Map<String, Object> typeDeterminers = new Hashtable<String, Object>();
128+
129+
}

src/main/resources/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=22.7.0
1+
version=22.8.0

0 commit comments

Comments
 (0)