Skip to content

Commit 1d3e9ee

Browse files
authored
Merge pull request #73 from aspose-pdf-cloud/develop
update 24.9
2 parents f22b834 + a6a856e commit 1d3e9ee

File tree

12 files changed

+1011
-10
lines changed

12 files changed

+1011
-10
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ 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.8
34-
- Adding Text stamps to multiple pages.
35-
- Adding Image stamps to multiple pages.
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
3637
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3738

3839
## Installation
@@ -57,7 +58,7 @@ Add this dependency to your project's POM:
5758
<dependency>
5859
<groupId>com.aspose</groupId>
5960
<artifactId>aspose-cloud-pdf</artifactId>
60-
<version>24.8.0</version>
61+
<version>24.9.0</version>
6162
<scope>compile</scope>
6263
</dependency>
6364
```
@@ -66,7 +67,7 @@ Add this dependency to your project's POM:
6667
Add this dependency to your project's build file:
6768

6869
```groovy
69-
compile "com.aspose:aspose-cloud-pdf:24.8.0"
70+
compile "com.aspose:aspose-cloud-pdf:24.9.0"
7071
```
7172

7273
### Others
@@ -76,7 +77,7 @@ At first generate the JAR by executing:
7677

7778
Then manually install the following JARs:
7879

79-
* target/aspose-cloud-pdf-24.8.0.jar
80+
* target/aspose-cloud-pdf-24.9.0.jar
8081
* target/lib/*.jar
8182

8283
## 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.8.0'
23+
version = '24.9.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.8.0'
87+
publishVersion = '24.9.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/DocumentLayers.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# DocumentLayers
3+
DocumentLayers response class.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**layers** | [**List&lt;LayerInfo&gt;**](LayerInfo.md) | List of document Layers. | [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/LayerInfo.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# LayerInfo
3+
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**pageNumber** | **Integer** | Layer Page Number. |
9+
**id** | **String** | Layer Id. | [optional]
10+
**name** | **String** | Layer Name. | [optional]
11+
**locked** | **Boolean** | Gets a value indicating whether the layer is locked. |
12+
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

docs/PdfApi.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Method | HTTP request | Description
1111
[**deleteBookmark**](PdfApi.md#deleteBookmark) | **DELETE** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Delete document bookmark by ID.
1212
[**deleteDocumentAnnotations**](PdfApi.md#deleteDocumentAnnotations) | **DELETE** /pdf/\{name}/annotations | Delete all annotations from the document
1313
[**deleteDocumentBookmarks**](PdfApi.md#deleteDocumentBookmarks) | **DELETE** /pdf/\{name}/bookmarks/tree | Delete all document bookmarks.
14+
[**deleteDocumentLayer**](PdfApi.md#deleteDocumentLayer) | **DELETE** /pdf/\{name}/layers | Remove document layer.
1415
[**deleteDocumentLinkAnnotations**](PdfApi.md#deleteDocumentLinkAnnotations) | **DELETE** /pdf/\{name}/links | Delete all link annotations from the document
1516
[**deleteDocumentStamps**](PdfApi.md#deleteDocumentStamps) | **DELETE** /pdf/\{name}/stamps | Delete all stamps from the document
1617
[**deleteDocumentTables**](PdfApi.md#deleteDocumentTables) | **DELETE** /pdf/\{name}/tables | Delete all tables from the document
@@ -50,6 +51,7 @@ Method | HTTP request | Description
5051
[**getDocumentFreeTextAnnotations**](PdfApi.md#getDocumentFreeTextAnnotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
5152
[**getDocumentHighlightAnnotations**](PdfApi.md#getDocumentHighlightAnnotations) | **GET** /pdf/\{name}/annotations/highlight | Read document highlight annotations.
5253
[**getDocumentInkAnnotations**](PdfApi.md#getDocumentInkAnnotations) | **GET** /pdf/\{name}/annotations/ink | Read document ink annotations.
54+
[**getDocumentLayers**](PdfApi.md#getDocumentLayers) | **GET** /pdf/\{name}/layers | Gets document layers.
5355
[**getDocumentLineAnnotations**](PdfApi.md#getDocumentLineAnnotations) | **GET** /pdf/\{name}/annotations/line | Read document line annotations.
5456
[**getDocumentListBoxFields**](PdfApi.md#getDocumentListBoxFields) | **GET** /pdf/\{name}/fields/listbox | Read document listbox fields.
5557
[**getDocumentMovieAnnotations**](PdfApi.md#getDocumentMovieAnnotations) | **GET** /pdf/\{name}/annotations/movie | Read document movie annotations.
@@ -266,6 +268,7 @@ Method | HTTP request | Description
266268
[**putCircleAnnotation**](PdfApi.md#putCircleAnnotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
267269
[**putComboBoxField**](PdfApi.md#putComboBoxField) | **PUT** /pdf/\{name}/fields/combobox/\{fieldName} | Replace document combobox field
268270
[**putCreateDocument**](PdfApi.md#putCreateDocument) | **PUT** /pdf/\{name} | Create empty document.
271+
[**putCreatePdfFromLayer**](PdfApi.md#putCreatePdfFromLayer) | **PUT** /pdf/\{name}/layers | Create a separate PDF from a PDF Layer and upload resulting file to storage.
269272
[**putDecryptDocument**](PdfApi.md#putDecryptDocument) | **PUT** /pdf/decrypt | Decrypt document from content.
270273
[**putDocumentDisplayProperties**](PdfApi.md#putDocumentDisplayProperties) | **PUT** /pdf/\{name}/displayproperties | Update document display properties.
271274
[**putEncryptDocument**](PdfApi.md#putEncryptDocument) | **PUT** /pdf/encrypt | Encrypt document from content.
@@ -535,6 +538,32 @@ Name | Type | Description | Notes
535538

536539
[**AsposeResponse**](AsposeResponse.md)
537540

541+
### HTTP request headers
542+
543+
- **Content-Type**: application/json
544+
- **Accept**: application/json
545+
546+
<a name="deleteDocumentLayer"></a>
547+
# **deleteDocumentLayer**
548+
> AsposeResponse deleteDocumentLayer(name, pageNumber, layerId, folder, storage, passBase64)
549+
550+
Remove document layer.
551+
552+
### Parameters
553+
554+
Name | Type | Description | Notes
555+
------------- | ------------- | ------------- | -------------
556+
**name** | **String**| The document name. |
557+
**pageNumber** | **Integer**| Layer page. |
558+
**layerId** | **String**| Layer Id. |
559+
**folder** | **String**| The document folder. | [optional]
560+
**storage** | **String**| The document storage. | [optional]
561+
**passBase64** | **String**| The password (Base64). | [optional]
562+
563+
### Return type
564+
565+
[**AsposeResponse**](AsposeResponse.md)
566+
538567
### HTTP request headers
539568

540569
- **Content-Type**: application/json
@@ -1457,6 +1486,30 @@ Name | Type | Description | Notes
14571486

14581487
[**InkAnnotationsResponse**](InkAnnotationsResponse.md)
14591488

1489+
### HTTP request headers
1490+
1491+
- **Content-Type**: application/json
1492+
- **Accept**: application/json
1493+
1494+
<a name="getDocumentLayers"></a>
1495+
# **getDocumentLayers**
1496+
> DocumentLayers getDocumentLayers(name, folder, storage, passBase64)
1497+
1498+
Gets document layers.
1499+
1500+
### Parameters
1501+
1502+
Name | Type | Description | Notes
1503+
------------- | ------------- | ------------- | -------------
1504+
**name** | **String**| The document name. |
1505+
**folder** | **String**| The document folder. | [optional]
1506+
**storage** | **String**| The document storage. | [optional]
1507+
**passBase64** | **String**| The password (Base64). | [optional]
1508+
1509+
### Return type
1510+
1511+
[**DocumentLayers**](DocumentLayers.md)
1512+
14601513
### HTTP request headers
14611514

14621515
- **Content-Type**: application/json
@@ -6792,6 +6845,33 @@ Name | Type | Description | Notes
67926845

67936846
[**DocumentResponse**](DocumentResponse.md)
67946847

6848+
### HTTP request headers
6849+
6850+
- **Content-Type**: application/json
6851+
- **Accept**: application/json
6852+
6853+
<a name="putCreatePdfFromLayer"></a>
6854+
# **putCreatePdfFromLayer**
6855+
> AsposeResponse putCreatePdfFromLayer(name, pageNumber, outPath, layerId, folder, storage, passBase64)
6856+
6857+
Create a separate PDF from a PDF Layer and upload resulting file to storage.
6858+
6859+
### Parameters
6860+
6861+
Name | Type | Description | Notes
6862+
------------- | ------------- | ------------- | -------------
6863+
**name** | **String**| The document name. |
6864+
**pageNumber** | **Integer**| The page number. |
6865+
**outPath** | **String**| The out path of result image. |
6866+
**layerId** | **String**| Layer Id. |
6867+
**folder** | **String**| The document folder. | [optional]
6868+
**storage** | **String**| The document storage. | [optional]
6869+
**passBase64** | **String**| The password (Base64). | [optional]
6870+
6871+
### Return type
6872+
6873+
[**AsposeResponse**](AsposeResponse.md)
6874+
67956875
### HTTP request headers
67966876

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

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.8.0</version>
9+
<version>24.9.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.8.0");
97+
addDefaultHeader("x-aspose-client-version", "24.9.0");
9898

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

0 commit comments

Comments
 (0)