Skip to content

Commit 7829c55

Browse files
Merge branch 'master' into release
2 parents 3fea102 + 4394c28 commit 7829c55

File tree

5 files changed

+66
-5
lines changed

5 files changed

+66
-5
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ This repository contains Aspose.Words Cloud SDK for Java source code. This SDK a
1313
* Watermarks and protection
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

16+
## Enhancements in Version 25.2
17+
18+
- Added 'IdPrefix' property for HtmlFixedSaveOptionsData and SvgSaveOptionsData class.
19+
20+
1621
## Enhancements in Version 24.12
1722

1823
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
@@ -381,7 +386,7 @@ Add this dependency to your project's POM:
381386
<dependency>
382387
<groupId>com.aspose</groupId>
383388
<artifactId>aspose-words-cloud</artifactId>
384-
<version>25.1.0</version>
389+
<version>25.2.0</version>
385390
</dependency>
386391
</dependencies>
387392
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>aspose-words-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>AsposeWordsCloud</name>
7-
<version>25.1.0</version>
7+
<version>25.2.0</version>
88
<url>https://www.aspose.cloud/</url>
99
<description>Aspose Words Java SDK</description>
1010
<scm>

src/main/java/com/aspose/words/cloud/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class ApiClient {
5959
private String apiVersion = "v4.0";
6060
private String baseUrl = "https://api.aspose.cloud";
6161
private String basePath = baseUrl + "/" + apiVersion;
62-
private String clientVersion = "25.1";
62+
private String clientVersion = "25.2";
6363
private boolean debugging = false;
6464
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
6565
private String tempFolderPath = null;

src/main/java/com/aspose/words/cloud/model/HtmlFixedSaveOptionsData.java

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ public PageHorizontalAlignmentEnum read(final JsonReader jsonReader) throws IOEx
163163
@SerializedName("FontFormat")
164164
protected FontFormatEnum fontFormat;
165165

166+
@SerializedName("IdPrefix")
167+
protected String idPrefix;
168+
166169
@SerializedName("PageHorizontalAlignment")
167170
protected PageHorizontalAlignmentEnum pageHorizontalAlignment;
168171

@@ -317,6 +320,28 @@ public void setFontFormat(FontFormatEnum fontFormat) {
317320
}
318321

319322

323+
/**
324+
* Gets or sets a prefix that is prepended to all generated element IDs in the output document.
325+
* Default value is null and no prefix is prepended.
326+
* If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
327+
* and must start with a letter.
328+
* @return idPrefix
329+
**/
330+
@ApiModelProperty(value = "Gets or sets a prefix that is prepended to all generated element IDs in the output document. Default value is null and no prefix is prepended. If the prefix is specified, it can contain only letters, digits, underscores, and hyphens, and must start with a letter.")
331+
public String getIdPrefix() {
332+
return idPrefix;
333+
}
334+
335+
public HtmlFixedSaveOptionsData idPrefix(String idPrefix) {
336+
this.idPrefix = idPrefix;
337+
return this;
338+
}
339+
340+
public void setIdPrefix(String idPrefix) {
341+
this.idPrefix = idPrefix;
342+
}
343+
344+
320345
/**
321346
* Gets or sets the horizontal alignment of pages in the HTML document.
322347
* The default value is HtmlFixedHorizontalPageAlignment.Center.
@@ -467,6 +492,7 @@ public HtmlFixedSaveOptionsData() {
467492
this.exportEmbeddedImages = null;
468493
this.exportFormFields = null;
469494
this.fontFormat = null;
495+
this.idPrefix = null;
470496
this.pageHorizontalAlignment = null;
471497
this.pageMargins = null;
472498
this.resourcesFolder = null;
@@ -514,6 +540,7 @@ public boolean equals(java.lang.Object o) {
514540
Objects.equals(this.exportEmbeddedImages, htmlFixedSaveOptionsData.exportEmbeddedImages) &&
515541
Objects.equals(this.exportFormFields, htmlFixedSaveOptionsData.exportFormFields) &&
516542
Objects.equals(this.fontFormat, htmlFixedSaveOptionsData.fontFormat) &&
543+
Objects.equals(this.idPrefix, htmlFixedSaveOptionsData.idPrefix) &&
517544
Objects.equals(this.pageHorizontalAlignment, htmlFixedSaveOptionsData.pageHorizontalAlignment) &&
518545
Objects.equals(this.pageMargins, htmlFixedSaveOptionsData.pageMargins) &&
519546
Objects.equals(this.resourcesFolder, htmlFixedSaveOptionsData.resourcesFolder) &&
@@ -526,7 +553,7 @@ public boolean equals(java.lang.Object o) {
526553

527554
@Override
528555
public int hashCode() {
529-
return Objects.hash(cssClassNamesPrefix, encoding, exportEmbeddedCss, exportEmbeddedFonts, exportEmbeddedImages, exportFormFields, fontFormat, pageHorizontalAlignment, pageMargins, resourcesFolder, resourcesFolderAlias, saveFontFaceCssSeparately, showPageBorder, useTargetMachineFonts, super.hashCode());
556+
return Objects.hash(cssClassNamesPrefix, encoding, exportEmbeddedCss, exportEmbeddedFonts, exportEmbeddedImages, exportFormFields, fontFormat, idPrefix, pageHorizontalAlignment, pageMargins, resourcesFolder, resourcesFolderAlias, saveFontFaceCssSeparately, showPageBorder, useTargetMachineFonts, super.hashCode());
530557
}
531558

532559
@Override
@@ -559,6 +586,7 @@ public String toString() {
559586
sb.append(" exportEmbeddedImages: ").append(toIndentedString(getExportEmbeddedImages())).append("\n");
560587
sb.append(" exportFormFields: ").append(toIndentedString(getExportFormFields())).append("\n");
561588
sb.append(" fontFormat: ").append(toIndentedString(getFontFormat())).append("\n");
589+
sb.append(" idPrefix: ").append(toIndentedString(getIdPrefix())).append("\n");
562590
sb.append(" pageHorizontalAlignment: ").append(toIndentedString(getPageHorizontalAlignment())).append("\n");
563591
sb.append(" pageMargins: ").append(toIndentedString(getPageMargins())).append("\n");
564592
sb.append(" resourcesFolder: ").append(toIndentedString(getResourcesFolder())).append("\n");

src/main/java/com/aspose/words/cloud/model/SvgSaveOptionsData.java

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ public TextOutputModeEnum read(final JsonReader jsonReader) throws IOException {
101101
@SerializedName("FitToViewPort")
102102
protected Boolean fitToViewPort;
103103

104+
@SerializedName("IdPrefix")
105+
protected String idPrefix;
106+
104107
@SerializedName("MaxImageResolution")
105108
protected Integer maxImageResolution;
106109

@@ -153,6 +156,28 @@ public void setFitToViewPort(Boolean fitToViewPort) {
153156
}
154157

155158

159+
/**
160+
* Gets or sets specifies a prefix that is prepended to all generated element IDs in the output document.
161+
* Default value is null and no prefix is prepended.
162+
* If the prefix is specified, it can contain only letters, digits, underscores, and hyphens,
163+
* and must start with a letter.
164+
* @return idPrefix
165+
**/
166+
@ApiModelProperty(value = "Gets or sets specifies a prefix that is prepended to all generated element IDs in the output document. Default value is null and no prefix is prepended. If the prefix is specified, it can contain only letters, digits, underscores, and hyphens, and must start with a letter.")
167+
public String getIdPrefix() {
168+
return idPrefix;
169+
}
170+
171+
public SvgSaveOptionsData idPrefix(String idPrefix) {
172+
this.idPrefix = idPrefix;
173+
return this;
174+
}
175+
176+
public void setIdPrefix(String idPrefix) {
177+
this.idPrefix = idPrefix;
178+
}
179+
180+
156181
/**
157182
* Gets or sets a value in pixels per inch that limits resolution of exported raster images.
158183
* If the value of this property is non-zero, it limits resolution of exported raster images.
@@ -254,6 +279,7 @@ public SvgSaveOptionsData() {
254279
super();
255280
this.exportEmbeddedImages = null;
256281
this.fitToViewPort = null;
282+
this.idPrefix = null;
257283
this.maxImageResolution = null;
258284
this.resourcesFolder = null;
259285
this.resourcesFolderAlias = null;
@@ -294,6 +320,7 @@ public boolean equals(java.lang.Object o) {
294320
return
295321
Objects.equals(this.exportEmbeddedImages, svgSaveOptionsData.exportEmbeddedImages) &&
296322
Objects.equals(this.fitToViewPort, svgSaveOptionsData.fitToViewPort) &&
323+
Objects.equals(this.idPrefix, svgSaveOptionsData.idPrefix) &&
297324
Objects.equals(this.maxImageResolution, svgSaveOptionsData.maxImageResolution) &&
298325
Objects.equals(this.resourcesFolder, svgSaveOptionsData.resourcesFolder) &&
299326
Objects.equals(this.resourcesFolderAlias, svgSaveOptionsData.resourcesFolderAlias) &&
@@ -304,7 +331,7 @@ public boolean equals(java.lang.Object o) {
304331

305332
@Override
306333
public int hashCode() {
307-
return Objects.hash(exportEmbeddedImages, fitToViewPort, maxImageResolution, resourcesFolder, resourcesFolderAlias, showPageBorder, textOutputMode, super.hashCode());
334+
return Objects.hash(exportEmbeddedImages, fitToViewPort, idPrefix, maxImageResolution, resourcesFolder, resourcesFolderAlias, showPageBorder, textOutputMode, super.hashCode());
308335
}
309336

310337
@Override
@@ -332,6 +359,7 @@ public String toString() {
332359
sb.append(" pageIndex: ").append(toIndentedString(getPageIndex())).append("\n");
333360
sb.append(" exportEmbeddedImages: ").append(toIndentedString(getExportEmbeddedImages())).append("\n");
334361
sb.append(" fitToViewPort: ").append(toIndentedString(getFitToViewPort())).append("\n");
362+
sb.append(" idPrefix: ").append(toIndentedString(getIdPrefix())).append("\n");
335363
sb.append(" maxImageResolution: ").append(toIndentedString(getMaxImageResolution())).append("\n");
336364
sb.append(" resourcesFolder: ").append(toIndentedString(getResourcesFolder())).append("\n");
337365
sb.append(" resourcesFolderAlias: ").append(toIndentedString(getResourcesFolderAlias())).append("\n");

0 commit comments

Comments
 (0)