Skip to content

Commit 6deb298

Browse files
update to 23.7
1 parent 174b7db commit 6deb298

File tree

6 files changed

+27
-9
lines changed

6 files changed

+27
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929
## Read PDF Formats
3030
MHT, PCL, PS, XSLFO, MD
3131

32-
## Enhancements in Version 23.6
33-
- Support to convert password protected PDF documents to PPTX.
32+
## Enhancements in Version 23.7
33+
- Form Field MappingName property support.
3434
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3535

36-
## Bugs fixed in Version 23.6
37-
- Text Replacement API constantly hitting 504 Gateway Timeout.
36+
## Bugs fixed in Version 23.7
37+
- Adding Radio Button throws Internal Error.
3838

3939
## Unit Tests
4040
Aspose PDF SDK includes a suite of unit tests. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.

docs/Field.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**Links** | [**List<Link>**](Link.md) | Link to the document. | [optional]
99
**Name** | **string** | Field name. | [optional]
10+
**MappingName** | **string** | Mapping name. | [optional]
1011
**SelectedItems** | **List<int?>** | Selected items. | [optional]
1112
**Type** | [**FieldType**](FieldType.md) | Field type. | [optional]
1213
**Rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional]

src/Aspose.Pdf.Cloud.Sdk/Client/ApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ private RestRequest PrepareRequest(
205205

206206
// add custom header
207207
request.AddHeader(AsposeClientHeaderName, ".net sdk");
208-
request.AddHeader(AsposeClientVersionHeaderName, "23.6.0");
208+
request.AddHeader(AsposeClientVersionHeaderName, "23.7.0");
209209

210210
// add header parameter, if any
211211
foreach(var param in headerParams)

src/Aspose.Pdf.Cloud.Sdk/Client/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public static string ToDebugReport()
228228
.GetReferencedAssemblies()
229229
.Where(x => x.Name == "System.Core").First().Version.ToString() + "\n";
230230
report += " Version of the API: 3.0\n";
231-
report += " SDK Package Version: 23.6.0\n";
231+
report += " SDK Package Version: 23.7.0\n";
232232

233233
return report;
234234
}

src/Aspose.Pdf.Cloud.Sdk/Model/Field.cs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ protected Field() { }
5656
/// </summary>
5757
/// <param name="Links">Link to the document.</param>
5858
/// <param name="Name">Field name.</param>
59+
/// <param name="MappingName">Mapping name.</param>
5960
/// <param name="SelectedItems">Selected items.</param>
6061
/// <param name="Type">Field type.</param>
6162
/// <param name="Rect">Field rectangle.</param>
6263
/// <param name="Values">Field values. (required)</param>
63-
public Field(List<Link> Links = default(List<Link>), string Name = default(string), List<int?> SelectedItems = default(List<int?>), FieldType Type = default(FieldType), Rectangle Rect = default(Rectangle), List<string> Values = default(List<string>))
64+
public Field(List<Link> Links = default(List<Link>), string Name = default(string), string MappingName = default(string), List<int?> SelectedItems = default(List<int?>), FieldType Type = default(FieldType), Rectangle Rect = default(Rectangle), List<string> Values = default(List<string>))
6465
{
6566
// to ensure "Values" is required (not null)
6667
if (Values == null)
@@ -73,6 +74,7 @@ protected Field() { }
7374
}
7475
this.Links = Links;
7576
this.Name = Name;
77+
this.MappingName = MappingName;
7678
this.SelectedItems = SelectedItems;
7779
this.Type = Type;
7880
this.Rect = Rect;
@@ -92,6 +94,13 @@ protected Field() { }
9294
[DataMember(Name="Name", EmitDefaultValue=false)]
9395
public string Name { get; set; }
9496

97+
/// <summary>
98+
/// Mapping name.
99+
/// </summary>
100+
/// <value>Mapping name.</value>
101+
[DataMember(Name="MappingName", EmitDefaultValue=false)]
102+
public string MappingName { get; set; }
103+
95104
/// <summary>
96105
/// Selected items.
97106
/// </summary>
@@ -130,6 +139,7 @@ public override string ToString()
130139
sb.Append("class Field {\n");
131140
sb.Append(" Links: ").Append(Links).Append("\n");
132141
sb.Append(" Name: ").Append(Name).Append("\n");
142+
sb.Append(" MappingName: ").Append(MappingName).Append("\n");
133143
sb.Append(" SelectedItems: ").Append(SelectedItems).Append("\n");
134144
sb.Append(" Type: ").Append(Type).Append("\n");
135145
sb.Append(" Rect: ").Append(Rect).Append("\n");
@@ -180,6 +190,11 @@ public bool Equals(Field other)
180190
this.Name != null &&
181191
this.Name.Equals(other.Name)
182192
) &&
193+
(
194+
this.MappingName == other.MappingName ||
195+
this.MappingName != null &&
196+
this.MappingName.Equals(other.MappingName)
197+
) &&
183198
(
184199
this.SelectedItems == other.SelectedItems ||
185200
this.SelectedItems != null &&
@@ -217,6 +232,8 @@ public override int GetHashCode()
217232
hash = hash * 59 + this.Links.GetHashCode();
218233
if (this.Name != null)
219234
hash = hash * 59 + this.Name.GetHashCode();
235+
if (this.MappingName != null)
236+
hash = hash * 59 + this.MappingName.GetHashCode();
220237
if (this.SelectedItems != null)
221238
hash = hash * 59 + this.SelectedItems.GetHashCode();
222239
if (this.Type != null)

src/Aspose.Pdf.Cloud.Sdk/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
// You can specify all the values or you can default the Build and Revision Numbers
2929
// by using the '*' as shown below:
3030
// [assembly: AssemblyVersion("1.0.*")]
31-
[assembly: AssemblyVersion("23.6.0")]
32-
[assembly: AssemblyFileVersion("23.6.0")]
31+
[assembly: AssemblyVersion("23.7.0")]
32+
[assembly: AssemblyFileVersion("23.7.0")]

0 commit comments

Comments
 (0)