Skip to content

Commit 2dd2560

Browse files
authored
Merge pull request #74 from aspose-pdf-cloud/develop
update to 24.10
2 parents 1d3e9ee + 4f44d2a commit 2dd2560

File tree

11 files changed

+985
-20
lines changed

11 files changed

+985
-20
lines changed

README.md

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

33-
## Enhancements in Version 24.9
34-
- Develop DeleteDocumentLayer Method.
35-
- Develop GetDocumentLayers Method.
36-
- How to extract PDF layer elements and create a new PDF
33+
## Enhancements in Version 24.10
34+
- Develop a method to add XMP metadata.
35+
- Develop a method to obtain XMP metadata in the XML form.
36+
- Develop a method to obtain XMP metadata in the JSON form.
3737
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3838

39+
## Bugs fixed in Version 24.10
40+
- PDF XFA form to Acro from conversion API results corrupt PDF.
41+
3942
## Installation
4043
To install the API client library to your local Maven repository, simply execute:
4144

@@ -58,7 +61,7 @@ Add this dependency to your project's POM:
5861
<dependency>
5962
<groupId>com.aspose</groupId>
6063
<artifactId>aspose-cloud-pdf</artifactId>
61-
<version>24.9.0</version>
64+
<version>24.10.0</version>
6265
<scope>compile</scope>
6366
</dependency>
6467
```
@@ -67,7 +70,7 @@ Add this dependency to your project's POM:
6770
Add this dependency to your project's build file:
6871

6972
```groovy
70-
compile "com.aspose:aspose-cloud-pdf:24.9.0"
73+
compile "com.aspose:aspose-cloud-pdf:24.10.0"
7174
```
7275

7376
### Others
@@ -77,7 +80,7 @@ At first generate the JAR by executing:
7780

7881
Then manually install the following JARs:
7982

80-
* target/aspose-cloud-pdf-24.9.0.jar
83+
* target/aspose-cloud-pdf-24.10.0.jar
8184
* target/lib/*.jar
8285

8386
## Getting Started

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'idea'
2020
apply plugin: 'eclipse'
2121

2222
group = 'com.aspose'
23-
version = '24.9.0'
23+
version = '24.10.0'
2424

2525
buildscript {
2626
repositories {
@@ -84,7 +84,7 @@ dependencies {
8484
publish {
8585
groupId = 'com.aspose'
8686
artifactId = 'aspose-pdf-cloud'
87-
publishVersion = '24.9.0'
87+
publishVersion = '24.10.0'
8888
desc = 'Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.'
8989
licences = ['MIT']
9090
website = 'https://products.aspose.cloud/pdf/cloud'

docs/PdfApi.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ Method | HTTP request | Description
189189
[**getWordsPerPage**](PdfApi.md#getWordsPerPage) | **GET** /pdf/\{name}/pages/wordCount | Get number of words per document page.
190190
[**getXfaPdfInStorageToAcroForm**](PdfApi.md#getXfaPdfInStorageToAcroForm) | **GET** /pdf/\{name}/convert/xfatoacroform | Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and returns resulting file response content
191191
[**getXmlInStorageToPdf**](PdfApi.md#getXmlInStorageToPdf) | **GET** /pdf/create/xml | Convert XML file (located on storage) to PDF format and return resulting file in response.
192+
[**getXmpMetadataJson**](PdfApi.md#getXmpMetadataJson) | **GET** /pdf/\{name}/xmpmetadata/json | Gets document XMP Metadata as JSON.
193+
[**getXmpMetadataXml**](PdfApi.md#getXmpMetadataXml) | **GET** /pdf/\{name}/xmpmetadata/xml | Gets document XMP Metadata as XML file.
192194
[**getXpsInStorageToPdf**](PdfApi.md#getXpsInStorageToPdf) | **GET** /pdf/create/xps | Convert XPS file (located on storage) to PDF format and return resulting file in response.
193195
[**getXslFoInStorageToPdf**](PdfApi.md#getXslFoInStorageToPdf) | **GET** /pdf/create/xslfo | Convert XslFo file (located on storage) to PDF format and return resulting file in response.
194196
[**moveFile**](PdfApi.md#moveFile) | **PUT** /pdf/storage/file/move/\{srcPath} | Move file
@@ -258,6 +260,7 @@ Method | HTTP request | Description
258260
[**postSplitDocument**](PdfApi.md#postSplitDocument) | **POST** /pdf/\{name}/split | Split document to parts.
259261
[**postSplitRangePdfDocument**](PdfApi.md#postSplitRangePdfDocument) | **POST** /pdf/\{name}/splitrangepdf | Split document into ranges.
260262
[**postTextBoxFields**](PdfApi.md#postTextBoxFields) | **POST** /pdf/\{name}/fields/textbox | Add document text box fields.
263+
[**postXmpMetadata**](PdfApi.md#postXmpMetadata) | **POST** /pdf/\{name}/xmpmetadata | Add or remove XMP Metadata properties.
261264
[**putAddNewPage**](PdfApi.md#putAddNewPage) | **PUT** /pdf/\{name}/pages | Add new page to end of the document.
262265
[**putAddText**](PdfApi.md#putAddText) | **PUT** /pdf/\{name}/pages/\{pageNumber}/text | Add text to PDF document page.
263266
[**putAnnotationsFlatten**](PdfApi.md#putAnnotationsFlatten) | **PUT** /pdf/\{name}/annotations/flatten | Flattens the annotations of the specified types
@@ -4869,6 +4872,54 @@ Name | Type | Description | Notes
48694872

48704873
**File**
48714874

4875+
### HTTP request headers
4876+
4877+
- **Content-Type**: application/json
4878+
- **Accept**: multipart/form-data
4879+
4880+
<a name="getXmpMetadataJson"></a>
4881+
# **getXmpMetadataJson**
4882+
> XmpMetadata getXmpMetadataJson(name, folder, storage, passBase64)
4883+
4884+
Gets document XMP Metadata as JSON.
4885+
4886+
### Parameters
4887+
4888+
Name | Type | Description | Notes
4889+
------------- | ------------- | ------------- | -------------
4890+
**name** | **String**| The document name. |
4891+
**folder** | **String**| The document folder. | [optional]
4892+
**storage** | **String**| The document storage. | [optional]
4893+
**passBase64** | **String**| The password (Base64). | [optional]
4894+
4895+
### Return type
4896+
4897+
[**XmpMetadata**](XmpMetadata.md)
4898+
4899+
### HTTP request headers
4900+
4901+
- **Content-Type**: application/json
4902+
- **Accept**: application/json
4903+
4904+
<a name="getXmpMetadataXml"></a>
4905+
# **getXmpMetadataXml**
4906+
> File getXmpMetadataXml(name, folder, storage, passBase64)
4907+
4908+
Gets document XMP Metadata as XML file.
4909+
4910+
### Parameters
4911+
4912+
Name | Type | Description | Notes
4913+
------------- | ------------- | ------------- | -------------
4914+
**name** | **String**| The document name. |
4915+
**folder** | **String**| The document folder. | [optional]
4916+
**storage** | **String**| The document storage. | [optional]
4917+
**passBase64** | **String**| The password (Base64). | [optional]
4918+
4919+
### Return type
4920+
4921+
**File**
4922+
48724923
### HTTP request headers
48734924

48744925
- **Content-Type**: application/json
@@ -6596,6 +6647,31 @@ Name | Type | Description | Notes
65966647

65976648
[**AsposeResponse**](AsposeResponse.md)
65986649

6650+
### HTTP request headers
6651+
6652+
- **Content-Type**: application/json
6653+
- **Accept**: application/json
6654+
6655+
<a name="postXmpMetadata"></a>
6656+
# **postXmpMetadata**
6657+
> AsposeResponse postXmpMetadata(name, metadata, folder, storage, passBase64)
6658+
6659+
Add or remove XMP Metadata properties.
6660+
6661+
### Parameters
6662+
6663+
Name | Type | Description | Notes
6664+
------------- | ------------- | ------------- | -------------
6665+
**name** | **String**| The document name. |
6666+
**metadata** | [**XmpMetadata**](XmpMetadata.md)| XmpMetadata instance. |
6667+
**folder** | **String**| The document folder. | [optional]
6668+
**storage** | **String**| The document storage. | [optional]
6669+
**passBase64** | **String**| The password (Base64). | [optional]
6670+
6671+
### Return type
6672+
6673+
[**AsposeResponse**](AsposeResponse.md)
6674+
65996675
### HTTP request headers
66006676

66016677
- **Content-Type**: application/json

docs/XmpMetadata.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# XmpMetadata
3+
Document Xmp Metadata.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**properties** | [**List&lt;XmpMetadataProperty&gt;**](XmpMetadataProperty.md) | List of document Xmp Metadata default properties. | [optional]
9+
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/XmpMetadataProperty.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# XmpMetadataProperty
3+
Xmp Metadata Property.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**key** | **String** | Xmp Metadata Property Key. Can take the form for default keys: xmp:DefaultKeyName or DefaultKeyName. Form for user defined properties: customNamespace:UserPropertyName. |
9+
**value** | **String** | Xmp Metadata Property Value. Null for delete property. | [optional]
10+
**namespaceUri** | **String** | Namespace Uri. For user defined properties only. | [optional]
11+
12+
13+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14+
15+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>aspose-pdf-cloud</artifactId>
77
<packaging>jar</packaging>
88
<name>aspose-pdf-cloud</name>
9-
<version>24.9.0</version>
9+
<version>24.10.0</version>
1010
<url>https://www.aspose.cloud/</url>
1111
<description>Aspose.PDF Cloud is a REST API for creating and editing PDF files.
1212
Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF.

src/main/java/com/aspose/asposecloudpdf/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public ApiClient() {
9494

9595
// Add custom headers
9696
addDefaultHeader("x-aspose-client", "java sdk");
97-
addDefaultHeader("x-aspose-client-version", "24.9.0");
97+
addDefaultHeader("x-aspose-client-version", "24.10.0");
9898

9999
// PDFCLOUD-418 Set default Connect Timeout
100100
setConnectTimeout(5 * 60 * 1000);

0 commit comments

Comments
 (0)