Skip to content

Commit 4e5ee8d

Browse files
authored
Merge pull request #30 from aspose-pdf-cloud/develop
update to 22.2
2 parents 59c78cf + 873a54c commit 4e5ee8d

File tree

6 files changed

+16
-232
lines changed

6 files changed

+16
-232
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ These SDKs are now fully supported. If you have any questions, see any bugs or h
99

1010
Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
1111

12-
## Enhancements in Version 22.01
12+
## Enhancements in Version 22.2
1313
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
1414

1515
## Installation
@@ -139,7 +139,6 @@ Class | Method | HTTP request | Description
139139
*PdfApi* | [**GetImportFieldsFromXfdfInStorage**](docs/PdfApi.md#getimportfieldsfromxfdfinstorage) | **Get** /pdf/{name}/import/xfdf | Update fields from XFDF file in storage.
140140
*PdfApi* | [**GetImportFieldsFromXmlInStorage**](docs/PdfApi.md#getimportfieldsfromxmlinstorage) | **Get** /pdf/{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
141141
*PdfApi* | [**GetInkAnnotation**](docs/PdfApi.md#getinkannotation) | **Get** /pdf/{name}/annotations/ink/{annotationId} | Read document page ink annotation by ID.
142-
*PdfApi* | [**GetLaTeXInStorageToPdf**](docs/PdfApi.md#getlatexinstoragetopdf) | **Get** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
143142
*PdfApi* | [**GetLineAnnotation**](docs/PdfApi.md#getlineannotation) | **Get** /pdf/{name}/annotations/line/{annotationId} | Read document page line annotation by ID.
144143
*PdfApi* | [**GetLinkAnnotation**](docs/PdfApi.md#getlinkannotation) | **Get** /pdf/{name}/links/{linkId} | Read document link annotation by ID.
145144
*PdfApi* | [**GetListBoxField**](docs/PdfApi.md#getlistboxfield) | **Get** /pdf/{name}/fields/listbox/{fieldName} | Read document listbox field by name.
@@ -326,7 +325,6 @@ Class | Method | HTTP request | Description
326325
*PdfApi* | [**PutImportFieldsFromXfdfInStorage**](docs/PdfApi.md#putimportfieldsfromxfdfinstorage) | **Put** /pdf/{name}/import/xfdf | Update fields from XFDF file in storage.
327326
*PdfApi* | [**PutImportFieldsFromXmlInStorage**](docs/PdfApi.md#putimportfieldsfromxmlinstorage) | **Put** /pdf/{name}/import/xml | Update fields from XML file in storage.
328327
*PdfApi* | [**PutInkAnnotation**](docs/PdfApi.md#putinkannotation) | **Put** /pdf/{name}/annotations/ink/{annotationId} | Replace document ink annotation
329-
*PdfApi* | [**PutLaTeXInStorageToPdf**](docs/PdfApi.md#putlatexinstoragetopdf) | **Put** /pdf/{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
330328
*PdfApi* | [**PutLineAnnotation**](docs/PdfApi.md#putlineannotation) | **Put** /pdf/{name}/annotations/line/{annotationId} | Replace document line annotation
331329
*PdfApi* | [**PutLinkAnnotation**](docs/PdfApi.md#putlinkannotation) | **Put** /pdf/{name}/links/{linkId} | Replace document page link annotations
332330
*PdfApi* | [**PutListBoxField**](docs/PdfApi.md#putlistboxfield) | **Put** /pdf/{name}/fields/listbox/{fieldName} | Replace document listbox field

api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (c *APIClient) prepareRequest (
176176

177177
// set custom header
178178
headerParams["x-aspose-client"] = "go sdk"
179-
headerParams["x-aspose-client-version"] = "22.01.0"
179+
headerParams["x-aspose-client-version"] = "22.2.0"
180180

181181
// Detect postBody type and post.
182182
if postBody != nil {

docs/DocumentProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Pdf document property.
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Links** | [**[]Link**](Link.md) | Link to the document. | [optional] [default to null]
8-
**Name** | **string** | Pame of the property. | [optional] [default to null]
8+
**Name** | **string** | Name of the property. | [optional] [default to null]
99
**Value** | **string** | Property value. | [optional] [default to null]
1010
**BuiltIn** | **bool** | Value indicating whether it is a built-in property. | [default to null]
1111

docs/PdfApi.md

Lines changed: 6 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ Method | HTTP request | Description
9797
[**GetImportFieldsFromXfdfInStorage**](PdfApi.md#GetImportFieldsFromXfdfInStorage) | **Get** /pdf/{name}/import/xfdf | Update fields from XFDF file in storage.
9898
[**GetImportFieldsFromXmlInStorage**](PdfApi.md#GetImportFieldsFromXmlInStorage) | **Get** /pdf/{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
9999
[**GetInkAnnotation**](PdfApi.md#GetInkAnnotation) | **Get** /pdf/{name}/annotations/ink/{annotationId} | Read document page ink annotation by ID.
100-
[**GetLaTeXInStorageToPdf**](PdfApi.md#GetLaTeXInStorageToPdf) | **Get** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
101100
[**GetLineAnnotation**](PdfApi.md#GetLineAnnotation) | **Get** /pdf/{name}/annotations/line/{annotationId} | Read document page line annotation by ID.
102101
[**GetLinkAnnotation**](PdfApi.md#GetLinkAnnotation) | **Get** /pdf/{name}/links/{linkId} | Read document link annotation by ID.
103102
[**GetListBoxField**](PdfApi.md#GetListBoxField) | **Get** /pdf/{name}/fields/listbox/{fieldName} | Read document listbox field by name.
@@ -284,7 +283,6 @@ Method | HTTP request | Description
284283
[**PutImportFieldsFromXfdfInStorage**](PdfApi.md#PutImportFieldsFromXfdfInStorage) | **Put** /pdf/{name}/import/xfdf | Update fields from XFDF file in storage.
285284
[**PutImportFieldsFromXmlInStorage**](PdfApi.md#PutImportFieldsFromXmlInStorage) | **Put** /pdf/{name}/import/xml | Update fields from XML file in storage.
286285
[**PutInkAnnotation**](PdfApi.md#PutInkAnnotation) | **Put** /pdf/{name}/annotations/ink/{annotationId} | Replace document ink annotation
287-
[**PutLaTeXInStorageToPdf**](PdfApi.md#PutLaTeXInStorageToPdf) | **Put** /pdf/{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
288286
[**PutLineAnnotation**](PdfApi.md#PutLineAnnotation) | **Put** /pdf/{name}/annotations/line/{annotationId} | Replace document line annotation
289287
[**PutLinkAnnotation**](PdfApi.md#PutLinkAnnotation) | **Put** /pdf/{name}/links/{linkId} | Replace document page link annotations
290288
[**PutListBoxField**](PdfApi.md#PutListBoxField) | **Put** /pdf/{name}/fields/listbox/{fieldName} | Replace document listbox field
@@ -3337,36 +3335,6 @@ Name | Type | Description | Notes
33373335

33383336
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
33393337

3340-
# **GetLaTeXInStorageToPdf**
3341-
> []byte GetLaTeXInStorageToPdf(srcPath, optional)
3342-
Convert TeX file (located on storage) to PDF format and return resulting file in response.
3343-
3344-
### Required Parameters
3345-
3346-
Name | Type | Description | Notes
3347-
------------- | ------------- | ------------- | -------------
3348-
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.tex) |
3349-
**optional** | **map[string]interface{}** | optional parameters | nil if no parameters
3350-
3351-
### Optional Parameters
3352-
Optional parameters are passed through a map[string]interface{}.
3353-
3354-
Name | Type | Description | Notes
3355-
------------- | ------------- | ------------- | -------------
3356-
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.tex) |
3357-
**storage** | **string**| The document storage. |
3358-
3359-
### Return type
3360-
3361-
**[]byte**
3362-
3363-
### HTTP request headers
3364-
3365-
- **Content-Type**: application/json
3366-
- **Accept**: multipart/form-data
3367-
3368-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
3369-
33703338
# **GetLineAnnotation**
33713339
> LineAnnotationResponse GetLineAnnotation(name, annotationId, optional)
33723340
Read document page line annotation by ID.
@@ -5319,7 +5287,7 @@ Name | Type | Description | Notes
53195287
**name** | **string**| The document name. |
53205288
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
53215289
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
5322-
**scaleFactor** | **float64**| Scale factor |
5290+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
53235291
**uniformWorksheets** | **bool**| Uniform worksheets |
53245292
**folder** | **string**| The document folder. |
53255293
**storage** | **string**| The document storage. |
@@ -5354,7 +5322,7 @@ Name | Type | Description | Notes
53545322
**name** | **string**| The document name. |
53555323
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
53565324
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
5357-
**scaleFactor** | **float64**| Scale factor |
5325+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
53585326
**uniformWorksheets** | **bool**| Uniform worksheets |
53595327
**folder** | **string**| The document folder. |
53605328
**storage** | **string**| The document storage. |
@@ -9710,39 +9678,6 @@ Name | Type | Description | Notes
97109678

97119679
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
97129680

9713-
# **PutLaTeXInStorageToPdf**
9714-
> AsposeResponse PutLaTeXInStorageToPdf(name, srcPath, optional)
9715-
Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
9716-
9717-
### Required Parameters
9718-
9719-
Name | Type | Description | Notes
9720-
------------- | ------------- | ------------- | -------------
9721-
**name** | **string**| The document name. |
9722-
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.tex) |
9723-
**optional** | **map[string]interface{}** | optional parameters | nil if no parameters
9724-
9725-
### Optional Parameters
9726-
Optional parameters are passed through a map[string]interface{}.
9727-
9728-
Name | Type | Description | Notes
9729-
------------- | ------------- | ------------- | -------------
9730-
**name** | **string**| The document name. |
9731-
**srcPath** | **string**| Full source filename (ex. /folder1/folder2/template.tex) |
9732-
**dstFolder** | **string**| The destination document folder. |
9733-
**storage** | **string**| The document storage. |
9734-
9735-
### Return type
9736-
9737-
[**AsposeResponse**](AsposeResponse.md)
9738-
9739-
### HTTP request headers
9740-
9741-
- **Content-Type**: application/json
9742-
- **Accept**: application/json
9743-
9744-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9745-
97469681
# **PutLineAnnotation**
97479682
> LineAnnotationResponse PutLineAnnotation(name, annotationId, annotation, optional)
97489683
Replace document line annotation
@@ -10662,7 +10597,7 @@ Name | Type | Description | Notes
1066210597
**outPath** | **string**| Full resulting filename (ex. /folder1/folder2/result.xls) |
1066310598
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
1066410599
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
10665-
**scaleFactor** | **float64**| Scale factor |
10600+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
1066610601
**uniformWorksheets** | **bool**| Uniform worksheets |
1066710602
**storage** | **string**| The document storage. |
1066810603
**file** | ***os.File**| A file to be converted. |
@@ -10697,7 +10632,7 @@ Name | Type | Description | Notes
1069710632
**outPath** | **string**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
1069810633
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
1069910634
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
10700-
**scaleFactor** | **float64**| Scale factor |
10635+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
1070110636
**uniformWorksheets** | **bool**| Uniform worksheets |
1070210637
**storage** | **string**| The document storage. |
1070310638
**file** | ***os.File**| A file to be converted. |
@@ -11151,7 +11086,7 @@ Name | Type | Description | Notes
1115111086
**outPath** | **string**| Full resulting filename (ex. /folder1/folder2/result.xls) |
1115211087
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
1115311088
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
11154-
**scaleFactor** | **float64**| Scale factor |
11089+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
1115511090
**uniformWorksheets** | **bool**| Uniform worksheets |
1115611091
**folder** | **string**| The document folder. |
1115711092
**storage** | **string**| The document storage. |
@@ -11188,7 +11123,7 @@ Name | Type | Description | Notes
1118811123
**outPath** | **string**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
1118911124
**insertBlankColumnAtFirst** | **bool**| Insert blank column at first |
1119011125
**minimizeTheNumberOfWorksheets** | **bool**| Minimize the number of worksheets |
11191-
**scaleFactor** | **float64**| Scale factor |
11126+
**scaleFactor** | **float64**| Scale factor (Obsolete) |
1119211127
**uniformWorksheets** | **bool**| Uniform worksheets |
1119311128
**folder** | **string**| The document folder. |
1119411129
**storage** | **string**| The document storage. |

document_property.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package asposepdfcloud
2525
type DocumentProperty struct {
2626
// Link to the document.
2727
Links []Link `json:"Links,omitempty"`
28-
// Pame of the property.
28+
// Name of the property.
2929
Name string `json:"Name,omitempty"`
3030
// Property value.
3131
Value string `json:"Value,omitempty"`

0 commit comments

Comments
 (0)