Skip to content

Commit fd9f73f

Browse files
Update to v22.9
1 parent 596c17a commit fd9f73f

30 files changed

+3445
-539
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# Android REST API to Process Presentation in Cloud
44
This repository contains Aspose.Slides Cloud SDK for Java source code. This SDK allows you to [process & manipulate PPT, PPTX, ODP, OTP](https://products.aspose.cloud/slides/android) using Aspose.slides Cloud REST APIs in your android applications.
55

6-
7-
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.
6+
You may want to check out Aspose free [Powerpoint to PDF](https://products.aspose.app/slides/conversion), [Powerpoint to Word](https://products.aspose.app/slides/conversion/ppt-to-word), [Powerpoint to JPG](https://products.aspose.app/slides/conversion/ppt-to-jpg), [Powerpoint to PNG](https://products.aspose.app/slides/conversion/ppt-to-png), [PDF to Powerpoint](https://products.aspose.app/slides/import/pdf-to-powerpoint), [JPG to Powerpoint](https://products.aspose.app/slides/import/jpg-to-ppt), and [PNG to Powerpoint](https://products.aspose.app/slides/import/png-to-ppt) converters because they are live implementations of popular conversion processes.
87

98
## Presentation Processing Features
109

TestData/calibri.ttf

792 KB
Binary file not shown.

TestData/test.pptx

413 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.8.0'
44+
baseName 'aspose-slides-cloud-android-22.9.0'
4545
}

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

Lines changed: 1420 additions & 492 deletions
Large diffs are not rendered by default.

src/main/java/com/aspose/slides/model/BubbleChartDataPoint.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
package com.aspose.slides.model;
2929

3030
import java.util.Objects;
31+
import com.aspose.slides.model.EffectFormat;
32+
import com.aspose.slides.model.FillFormat;
33+
import com.aspose.slides.model.LineFormat;
3134
import com.aspose.slides.model.ScatterChartDataPoint;
35+
import com.aspose.slides.model.ThreeDFormat;
3236
import com.google.gson.TypeAdapter;
3337
import com.google.gson.annotations.JsonAdapter;
3438
import com.google.gson.annotations.SerializedName;

src/main/java/com/aspose/slides/model/DataPoint.java

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@
2828
package com.aspose.slides.model;
2929

3030
import java.util.Objects;
31+
import com.aspose.slides.model.EffectFormat;
32+
import com.aspose.slides.model.FillFormat;
33+
import com.aspose.slides.model.LineFormat;
34+
import com.aspose.slides.model.ThreeDFormat;
35+
import com.google.gson.TypeAdapter;
36+
import com.google.gson.annotations.JsonAdapter;
37+
import com.google.gson.annotations.SerializedName;
38+
import com.google.gson.stream.JsonReader;
39+
import com.google.gson.stream.JsonWriter;
3140
import io.swagger.annotations.ApiModel;
41+
import io.swagger.annotations.ApiModelProperty;
42+
import java.io.IOException;
3243
import java.util.ArrayList;
3344
import java.util.Hashtable;
3445
import java.util.Map;
@@ -38,11 +49,95 @@
3849
*/
3950
@ApiModel(description = "Data point.")
4051
public class DataPoint {
52+
@SerializedName(value = "fillFormat", alternate = { "FillFormat" })
53+
private FillFormat fillFormat;
54+
55+
@SerializedName(value = "effectFormat", alternate = { "EffectFormat" })
56+
private EffectFormat effectFormat;
57+
58+
@SerializedName(value = "threeDFormat", alternate = { "ThreeDFormat" })
59+
private ThreeDFormat threeDFormat;
60+
61+
@SerializedName(value = "lineFormat", alternate = { "LineFormat" })
62+
private LineFormat lineFormat;
63+
4164

4265
public DataPoint() {
4366
super();
4467
}
4568

69+
public DataPoint fillFormat(FillFormat fillFormat) {
70+
this.fillFormat = fillFormat;
71+
return this;
72+
}
73+
74+
/**
75+
* Gets or sets the fill format.
76+
* @return fillFormat
77+
**/
78+
@ApiModelProperty(value = "Gets or sets the fill format.")
79+
public FillFormat getFillFormat() {
80+
return fillFormat;
81+
}
82+
83+
public void setFillFormat(FillFormat fillFormat) {
84+
this.fillFormat = fillFormat;
85+
}
86+
87+
public DataPoint effectFormat(EffectFormat effectFormat) {
88+
this.effectFormat = effectFormat;
89+
return this;
90+
}
91+
92+
/**
93+
* Gets or sets the effect format.
94+
* @return effectFormat
95+
**/
96+
@ApiModelProperty(value = "Gets or sets the effect format.")
97+
public EffectFormat getEffectFormat() {
98+
return effectFormat;
99+
}
100+
101+
public void setEffectFormat(EffectFormat effectFormat) {
102+
this.effectFormat = effectFormat;
103+
}
104+
105+
public DataPoint threeDFormat(ThreeDFormat threeDFormat) {
106+
this.threeDFormat = threeDFormat;
107+
return this;
108+
}
109+
110+
/**
111+
* Gets or sets the 3D format
112+
* @return threeDFormat
113+
**/
114+
@ApiModelProperty(value = "Gets or sets the 3D format")
115+
public ThreeDFormat getThreeDFormat() {
116+
return threeDFormat;
117+
}
118+
119+
public void setThreeDFormat(ThreeDFormat threeDFormat) {
120+
this.threeDFormat = threeDFormat;
121+
}
122+
123+
public DataPoint lineFormat(LineFormat lineFormat) {
124+
this.lineFormat = lineFormat;
125+
return this;
126+
}
127+
128+
/**
129+
* Gets or sets the line format.
130+
* @return lineFormat
131+
**/
132+
@ApiModelProperty(value = "Gets or sets the line format.")
133+
public LineFormat getLineFormat() {
134+
return lineFormat;
135+
}
136+
137+
public void setLineFormat(LineFormat lineFormat) {
138+
this.lineFormat = lineFormat;
139+
}
140+
46141

47142
@Override
48143
public boolean equals(java.lang.Object o) {
@@ -53,12 +148,12 @@ public boolean equals(java.lang.Object o) {
53148
return false;
54149
}
55150
DataPoint dataPoint = (DataPoint) o;
56-
return true;
151+
return true && Objects.equals(this.fillFormat, dataPoint.fillFormat) && Objects.equals(this.effectFormat, dataPoint.effectFormat) && Objects.equals(this.threeDFormat, dataPoint.threeDFormat) && Objects.equals(this.lineFormat, dataPoint.lineFormat);
57152
}
58153

59154
@Override
60155
public int hashCode() {
61-
return Objects.hash();
156+
return Objects.hash(fillFormat, effectFormat, threeDFormat, lineFormat);
62157
}
63158

64159

@@ -67,6 +162,10 @@ public String toString() {
67162
StringBuilder sb = new StringBuilder();
68163
sb.append("class DataPoint {\n");
69164

165+
sb.append(" fillFormat: ").append(toIndentedString(fillFormat)).append("\n");
166+
sb.append(" effectFormat: ").append(toIndentedString(effectFormat)).append("\n");
167+
sb.append(" threeDFormat: ").append(toIndentedString(threeDFormat)).append("\n");
168+
sb.append(" lineFormat: ").append(toIndentedString(lineFormat)).append("\n");
70169
sb.append("}");
71170
return sb.toString();
72171
}

src/main/java/com/aspose/slides/model/ExportOptions.java

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
import java.util.Objects;
3131
import com.aspose.slides.model.FontFallbackRule;
32+
import com.aspose.slides.model.FontSubstRule;
3233
import com.google.gson.TypeAdapter;
3334
import com.google.gson.annotations.JsonAdapter;
3435
import com.google.gson.annotations.SerializedName;
@@ -54,6 +55,9 @@ public class ExportOptions {
5455
@SerializedName(value = "fontFallbackRules", alternate = { "FontFallbackRules" })
5556
private List<FontFallbackRule> fontFallbackRules = null;
5657

58+
@SerializedName(value = "fontSubstRules", alternate = { "FontSubstRules" })
59+
private List<FontSubstRule> fontSubstRules = null;
60+
5761
@SerializedName(value = "format", alternate = { "Format" })
5862
private String format;
5963

@@ -106,6 +110,32 @@ public void setFontFallbackRules(List<FontFallbackRule> fontFallbackRules) {
106110
this.fontFallbackRules = fontFallbackRules;
107111
}
108112

113+
public ExportOptions fontSubstRules(List<FontSubstRule> fontSubstRules) {
114+
this.fontSubstRules = fontSubstRules;
115+
return this;
116+
}
117+
118+
public ExportOptions addFontSubstRulesItem(FontSubstRule fontSubstRulesItem) {
119+
if (this.fontSubstRules == null) {
120+
this.fontSubstRules = new ArrayList<FontSubstRule>();
121+
}
122+
this.fontSubstRules.add(fontSubstRulesItem);
123+
return this;
124+
}
125+
126+
/**
127+
* Gets of sets list of font substitution rules.
128+
* @return fontSubstRules
129+
**/
130+
@ApiModelProperty(value = "Gets of sets list of font substitution rules.")
131+
public List<FontSubstRule> getFontSubstRules() {
132+
return fontSubstRules;
133+
}
134+
135+
public void setFontSubstRules(List<FontSubstRule> fontSubstRules) {
136+
this.fontSubstRules = fontSubstRules;
137+
}
138+
109139
/**
110140
* Get format
111141
* @return format
@@ -129,12 +159,12 @@ public boolean equals(java.lang.Object o) {
129159
return false;
130160
}
131161
ExportOptions exportOptions = (ExportOptions) o;
132-
return true && Objects.equals(this.defaultRegularFont, exportOptions.defaultRegularFont) && Objects.equals(this.fontFallbackRules, exportOptions.fontFallbackRules) && Objects.equals(this.format, exportOptions.format);
162+
return true && Objects.equals(this.defaultRegularFont, exportOptions.defaultRegularFont) && Objects.equals(this.fontFallbackRules, exportOptions.fontFallbackRules) && Objects.equals(this.fontSubstRules, exportOptions.fontSubstRules) && Objects.equals(this.format, exportOptions.format);
133163
}
134164

135165
@Override
136166
public int hashCode() {
137-
return Objects.hash(defaultRegularFont, fontFallbackRules, format);
167+
return Objects.hash(defaultRegularFont, fontFallbackRules, fontSubstRules, format);
138168
}
139169

140170

@@ -145,6 +175,7 @@ public String toString() {
145175

146176
sb.append(" defaultRegularFont: ").append(toIndentedString(defaultRegularFont)).append("\n");
147177
sb.append(" fontFallbackRules: ").append(toIndentedString(fontFallbackRules)).append("\n");
178+
sb.append(" fontSubstRules: ").append(toIndentedString(fontSubstRules)).append("\n");
148179
sb.append(" format: ").append(toIndentedString(format)).append("\n");
149180
sb.append("}");
150181
return sb.toString();

0 commit comments

Comments
 (0)