Skip to content

Commit 0cbceae

Browse files
Merge branch 'master' into release
2 parents c98c406 + 65bac9b commit 0cbceae

File tree

5 files changed

+64
-5
lines changed

5 files changed

+64
-5
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ 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 24.12
17+
18+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
19+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
20+
21+
1622
## Enhancements in Version 24.11
1723

1824
- Added GetAllRevisions method to obtain all available revisions in document.
@@ -375,7 +381,7 @@ Add this dependency to your project's POM:
375381
<dependency>
376382
<groupId>com.aspose</groupId>
377383
<artifactId>aspose-words-cloud</artifactId>
378-
<version>24.11.0</version>
384+
<version>24.12.0</version>
379385
</dependency>
380386
</dependencies>
381387
```

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>24.11.0</version>
7+
<version>24.12.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 = "24.11";
62+
private String clientVersion = "24.12";
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/PdfSaveOptionsData.java

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@ public ZoomBehaviorEnum read(final JsonReader jsonReader) throws IOException {
504504
@SerializedName("PreserveFormFields")
505505
protected Boolean preserveFormFields;
506506

507+
@SerializedName("RenderChoiceFormFieldBorder")
508+
protected Boolean renderChoiceFormFieldBorder;
509+
507510
@SerializedName("TextCompression")
508511
protected TextCompressionEnum textCompression;
509512

@@ -959,6 +962,27 @@ public void setPreserveFormFields(Boolean preserveFormFields) {
959962
}
960963

961964

965+
/**
966+
* Gets or sets a value indicating whether to render PDF choice form field border.
967+
* PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
968+
* Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
969+
* @return renderChoiceFormFieldBorder
970+
**/
971+
@ApiModelProperty(value = "Gets or sets a value indicating whether to render PDF choice form field border. PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.")
972+
public Boolean getRenderChoiceFormFieldBorder() {
973+
return renderChoiceFormFieldBorder;
974+
}
975+
976+
public PdfSaveOptionsData renderChoiceFormFieldBorder(Boolean renderChoiceFormFieldBorder) {
977+
this.renderChoiceFormFieldBorder = renderChoiceFormFieldBorder;
978+
return this;
979+
}
980+
981+
public void setRenderChoiceFormFieldBorder(Boolean renderChoiceFormFieldBorder) {
982+
this.renderChoiceFormFieldBorder = renderChoiceFormFieldBorder;
983+
}
984+
985+
962986
/**
963987
* Gets or sets the compression type to be used for all textual content in the document.
964988
* @return textCompression
@@ -1099,6 +1123,7 @@ public PdfSaveOptionsData() {
10991123
this.pageMode = null;
11001124
this.preblendImages = null;
11011125
this.preserveFormFields = null;
1126+
this.renderChoiceFormFieldBorder = null;
11021127
this.textCompression = null;
11031128
this.useBookFoldPrintingSettings = null;
11041129
this.useCoreFonts = null;
@@ -1169,6 +1194,7 @@ public void validate() throws ApiException {
11691194

11701195

11711196

1197+
11721198
}
11731199

11741200
@Override
@@ -1204,6 +1230,7 @@ public boolean equals(java.lang.Object o) {
12041230
Objects.equals(this.pageMode, pdfSaveOptionsData.pageMode) &&
12051231
Objects.equals(this.preblendImages, pdfSaveOptionsData.preblendImages) &&
12061232
Objects.equals(this.preserveFormFields, pdfSaveOptionsData.preserveFormFields) &&
1233+
Objects.equals(this.renderChoiceFormFieldBorder, pdfSaveOptionsData.renderChoiceFormFieldBorder) &&
12071234
Objects.equals(this.textCompression, pdfSaveOptionsData.textCompression) &&
12081235
Objects.equals(this.useBookFoldPrintingSettings, pdfSaveOptionsData.useBookFoldPrintingSettings) &&
12091236
Objects.equals(this.useCoreFonts, pdfSaveOptionsData.useCoreFonts) &&
@@ -1215,7 +1242,7 @@ public boolean equals(java.lang.Object o) {
12151242

12161243
@Override
12171244
public int hashCode() {
1218-
return Objects.hash(cacheBackgroundGraphics, compliance, createNoteHyperlinks, customPropertiesExport, digitalSignatureDetails, displayDocTitle, downsampleOptions, embedAttachments, embedFullFonts, encryptionDetails, exportDocumentStructure, exportLanguageToSpanTag, fontEmbeddingMode, headerFooterBookmarksExportMode, imageColorSpaceExportMode, imageCompression, interpolateImages, openHyperlinksInNewWindow, outlineOptions, pageMode, preblendImages, preserveFormFields, textCompression, useBookFoldPrintingSettings, useCoreFonts, useSdtTagAsFormFieldName, zoomBehavior, zoomFactor, super.hashCode());
1245+
return Objects.hash(cacheBackgroundGraphics, compliance, createNoteHyperlinks, customPropertiesExport, digitalSignatureDetails, displayDocTitle, downsampleOptions, embedAttachments, embedFullFonts, encryptionDetails, exportDocumentStructure, exportLanguageToSpanTag, fontEmbeddingMode, headerFooterBookmarksExportMode, imageColorSpaceExportMode, imageCompression, interpolateImages, openHyperlinksInNewWindow, outlineOptions, pageMode, preblendImages, preserveFormFields, renderChoiceFormFieldBorder, textCompression, useBookFoldPrintingSettings, useCoreFonts, useSdtTagAsFormFieldName, zoomBehavior, zoomFactor, super.hashCode());
12191246
}
12201247

12211248
@Override
@@ -1263,6 +1290,7 @@ public String toString() {
12631290
sb.append(" pageMode: ").append(toIndentedString(getPageMode())).append("\n");
12641291
sb.append(" preblendImages: ").append(toIndentedString(getPreblendImages())).append("\n");
12651292
sb.append(" preserveFormFields: ").append(toIndentedString(getPreserveFormFields())).append("\n");
1293+
sb.append(" renderChoiceFormFieldBorder: ").append(toIndentedString(getRenderChoiceFormFieldBorder())).append("\n");
12661294
sb.append(" textCompression: ").append(toIndentedString(getTextCompression())).append("\n");
12671295
sb.append(" useBookFoldPrintingSettings: ").append(toIndentedString(getUseBookFoldPrintingSettings())).append("\n");
12681296
sb.append(" useCoreFonts: ").append(toIndentedString(getUseCoreFonts())).append("\n");

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

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
*/
4949
@ApiModel(description = "Class for document replace text request building.")
5050
public class ReplaceTextParameters implements ModelIfc {
51+
@SerializedName("ApplySuperscript")
52+
protected Boolean applySuperscript;
53+
5154
@SerializedName("IsMatchCase")
5255
protected Boolean isMatchCase;
5356

@@ -62,6 +65,25 @@ public class ReplaceTextParameters implements ModelIfc {
6265

6366
@SerializedName("OldValue")
6467
protected String oldValue;
68+
/**
69+
* Gets or sets a value indicating whether apply superscript to font or not.
70+
* @return applySuperscript
71+
**/
72+
@ApiModelProperty(value = "Gets or sets a value indicating whether apply superscript to font or not.")
73+
public Boolean getApplySuperscript() {
74+
return applySuperscript;
75+
}
76+
77+
public ReplaceTextParameters applySuperscript(Boolean applySuperscript) {
78+
this.applySuperscript = applySuperscript;
79+
return this;
80+
}
81+
82+
public void setApplySuperscript(Boolean applySuperscript) {
83+
this.applySuperscript = applySuperscript;
84+
}
85+
86+
6587
/**
6688
* Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
6789
* @return isMatchCase
@@ -158,6 +180,7 @@ public void setOldValue(String oldValue) {
158180

159181

160182
public ReplaceTextParameters() {
183+
this.applySuperscript = null;
161184
this.isMatchCase = null;
162185
this.isMatchWholeWord = null;
163186
this.isOldValueRegex = null;
@@ -209,6 +232,7 @@ public boolean equals(java.lang.Object o) {
209232

210233
ReplaceTextParameters replaceTextParameters = (ReplaceTextParameters) o;
211234
return
235+
Objects.equals(this.applySuperscript, replaceTextParameters.applySuperscript) &&
212236
Objects.equals(this.isMatchCase, replaceTextParameters.isMatchCase) &&
213237
Objects.equals(this.isMatchWholeWord, replaceTextParameters.isMatchWholeWord) &&
214238
Objects.equals(this.isOldValueRegex, replaceTextParameters.isOldValueRegex) &&
@@ -218,13 +242,14 @@ public boolean equals(java.lang.Object o) {
218242

219243
@Override
220244
public int hashCode() {
221-
return Objects.hash(isMatchCase, isMatchWholeWord, isOldValueRegex, newValue, oldValue);
245+
return Objects.hash(applySuperscript, isMatchCase, isMatchWholeWord, isOldValueRegex, newValue, oldValue);
222246
}
223247

224248
@Override
225249
public String toString() {
226250
StringBuilder sb = new StringBuilder();
227251
sb.append("class ReplaceTextParameters {\n");
252+
sb.append(" applySuperscript: ").append(toIndentedString(getApplySuperscript())).append("\n");
228253
sb.append(" isMatchCase: ").append(toIndentedString(getIsMatchCase())).append("\n");
229254
sb.append(" isMatchWholeWord: ").append(toIndentedString(getIsMatchWholeWord())).append("\n");
230255
sb.append(" isOldValueRegex: ").append(toIndentedString(getIsOldValueRegex())).append("\n");

0 commit comments

Comments
 (0)