Skip to content

Commit 8ab4740

Browse files
authored
Merge pull request #77 from aspose-pdf-cloud/develop
update to 24.9
2 parents 79aaad5 + f02d83c commit 8ab4740

File tree

11 files changed

+853
-7
lines changed

11 files changed

+853
-7
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ 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 24.8
33-
- Adding Text stamps to multiple pages.
34-
- Adding Image stamps to multiple pages.
32+
## Enhancements in Version 24.9
3533
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3634

3735
## Installation
@@ -47,15 +45,15 @@ gem build aspose_pdf_cloud.gemspec
4745
Then either install the gem locally:
4846

4947
```shell
50-
gem install ./aspose_pdf_cloud-24.8.0.gem
48+
gem install ./aspose_pdf_cloud-24.9.0.gem
5149
```
52-
(for development, run `gem install --dev ./aspose_pdf_cloud-24.8.0.gem` to install the development dependencies)
50+
(for development, run `gem install --dev ./aspose_pdf_cloud-24.9.0.gem` to install the development dependencies)
5351

5452
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
5553

5654
Finally add this to the Gemfile:
5755

58-
gem 'aspose_pdf_cloud', '~> 24.8.0'
56+
gem 'aspose_pdf_cloud', '~> 24.9.0'
5957

6058
### Install from Git
6159

docs/DocumentLayers.md

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

docs/LayerInfo.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AsposePdfCloud::LayerInfo
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**page_number** | **Integer** | Layer Page Number. |
8+
**id** | **String** | Layer Id. | [optional]
9+
**name** | **String** | Layer Name. | [optional]
10+
**locked** | **BOOLEAN** | Gets a value indicating whether the layer is locked. |
11+
12+

docs/PdfApi.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Method | HTTP request | Description
1111
[**delete_bookmark**](PdfApi.md#delete_bookmark) | **DELETE** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Delete document bookmark by ID.
1212
[**delete_document_annotations**](PdfApi.md#delete_document_annotations) | **DELETE** /pdf/\{name}/annotations | Delete all annotations from the document
1313
[**delete_document_bookmarks**](PdfApi.md#delete_document_bookmarks) | **DELETE** /pdf/\{name}/bookmarks/tree | Delete all document bookmarks.
14+
[**delete_document_layer**](PdfApi.md#delete_document_layer) | **DELETE** /pdf/\{name}/layers | Remove document layer.
1415
[**delete_document_link_annotations**](PdfApi.md#delete_document_link_annotations) | **DELETE** /pdf/\{name}/links | Delete all link annotations from the document
1516
[**delete_document_stamps**](PdfApi.md#delete_document_stamps) | **DELETE** /pdf/\{name}/stamps | Delete all stamps from the document
1617
[**delete_document_tables**](PdfApi.md#delete_document_tables) | **DELETE** /pdf/\{name}/tables | Delete all tables from the document
@@ -50,6 +51,7 @@ Method | HTTP request | Description
5051
[**get_document_free_text_annotations**](PdfApi.md#get_document_free_text_annotations) | **GET** /pdf/\{name}/annotations/freetext | Read document free text annotations.
5152
[**get_document_highlight_annotations**](PdfApi.md#get_document_highlight_annotations) | **GET** /pdf/\{name}/annotations/highlight | Read document highlight annotations.
5253
[**get_document_ink_annotations**](PdfApi.md#get_document_ink_annotations) | **GET** /pdf/\{name}/annotations/ink | Read document ink annotations.
54+
[**get_document_layers**](PdfApi.md#get_document_layers) | **GET** /pdf/\{name}/layers | Gets document layers.
5355
[**get_document_line_annotations**](PdfApi.md#get_document_line_annotations) | **GET** /pdf/\{name}/annotations/line | Read document line annotations.
5456
[**get_document_list_box_fields**](PdfApi.md#get_document_list_box_fields) | **GET** /pdf/\{name}/fields/listbox | Read document listbox fields.
5557
[**get_document_movie_annotations**](PdfApi.md#get_document_movie_annotations) | **GET** /pdf/\{name}/annotations/movie | Read document movie annotations.
@@ -266,6 +268,7 @@ Method | HTTP request | Description
266268
[**put_circle_annotation**](PdfApi.md#put_circle_annotation) | **PUT** /pdf/\{name}/annotations/circle/\{annotationId} | Replace document circle annotation
267269
[**put_combo_box_field**](PdfApi.md#put_combo_box_field) | **PUT** /pdf/\{name}/fields/combobox/\{fieldName} | Replace document combobox field
268270
[**put_create_document**](PdfApi.md#put_create_document) | **PUT** /pdf/\{name} | Create empty document.
271+
[**put_create_pdf_from_layer**](PdfApi.md#put_create_pdf_from_layer) | **PUT** /pdf/\{name}/layers | Create a separate PDF from a PDF Layer and upload resulting file to storage.
269272
[**put_decrypt_document**](PdfApi.md#put_decrypt_document) | **PUT** /pdf/decrypt | Decrypt document from content.
270273
[**put_document_display_properties**](PdfApi.md#put_document_display_properties) | **PUT** /pdf/\{name}/displayproperties | Update document display properties.
271274
[**put_encrypt_document**](PdfApi.md#put_encrypt_document) | **PUT** /pdf/encrypt | Encrypt document from content.
@@ -547,6 +550,33 @@ Name | Type | Description | Notes
547550

548551

549552

553+
# **delete_document_layer**
554+
> AsposeResponse delete_document_layer(name, page_number, layer_id, opts)
555+
556+
Remove document layer.
557+
558+
### Parameters
559+
560+
Name | Type | Description | Notes
561+
------------- | ------------- | ------------- | -------------
562+
**name** | **String**| The document name. |
563+
**page_number** | **Integer**| Layer page. |
564+
**layer_id** | **String**| Layer Id. |
565+
**folder** | **String**| The document folder. | [optional]
566+
**storage** | **String**| The document storage. | [optional]
567+
**pass_base64** | **String**| The password (Base64). | [optional]
568+
569+
### Return type
570+
571+
[**AsposeResponse**](AsposeResponse.md)
572+
573+
### HTTP request headers
574+
575+
- **Content-Type**: application/json
576+
- **Accept**: application/json
577+
578+
579+
550580
# **delete_document_link_annotations**
551581
> AsposeResponse delete_document_link_annotations(name, opts)
552582
@@ -1508,6 +1538,31 @@ Name | Type | Description | Notes
15081538

15091539

15101540

1541+
# **get_document_layers**
1542+
> DocumentLayers get_document_layers(name, opts)
1543+
1544+
Gets document layers.
1545+
1546+
### Parameters
1547+
1548+
Name | Type | Description | Notes
1549+
------------- | ------------- | ------------- | -------------
1550+
**name** | **String**| The document name. |
1551+
**folder** | **String**| The document folder. | [optional]
1552+
**storage** | **String**| The document storage. | [optional]
1553+
**pass_base64** | **String**| The password (Base64). | [optional]
1554+
1555+
### Return type
1556+
1557+
[**DocumentLayers**](DocumentLayers.md)
1558+
1559+
### HTTP request headers
1560+
1561+
- **Content-Type**: application/json
1562+
- **Accept**: application/json
1563+
1564+
1565+
15111566
# **get_document_line_annotations**
15121567
> LineAnnotationsResponse get_document_line_annotations(name, opts)
15131568
@@ -7059,6 +7114,34 @@ Name | Type | Description | Notes
70597114

70607115

70617116

7117+
# **put_create_pdf_from_layer**
7118+
> AsposeResponse put_create_pdf_from_layer(name, page_number, out_path, layer_id, opts)
7119+
7120+
Create a separate PDF from a PDF Layer and upload resulting file to storage.
7121+
7122+
### Parameters
7123+
7124+
Name | Type | Description | Notes
7125+
------------- | ------------- | ------------- | -------------
7126+
**name** | **String**| The document name. |
7127+
**page_number** | **Integer**| The page number. |
7128+
**out_path** | **String**| The out path of result image. |
7129+
**layer_id** | **String**| Layer Id. |
7130+
**folder** | **String**| The document folder. | [optional]
7131+
**storage** | **String**| The document storage. | [optional]
7132+
**pass_base64** | **String**| The password (Base64). | [optional]
7133+
7134+
### Return type
7135+
7136+
[**AsposeResponse**](AsposeResponse.md)
7137+
7138+
### HTTP request headers
7139+
7140+
- **Content-Type**: application/json
7141+
- **Accept**: application/json
7142+
7143+
7144+
70627145
# **put_decrypt_document**
70637146
> AsposeResponse put_decrypt_document(out_path, password, opts)
70647147

lib/aspose_pdf_cloud.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
require_relative 'aspose_pdf_cloud/models/doc_mdp_access_permission_type'
5757
require_relative 'aspose_pdf_cloud/models/doc_recognition_mode'
5858
require_relative 'aspose_pdf_cloud/models/document_config'
59+
require_relative 'aspose_pdf_cloud/models/document_layers'
5960
require_relative 'aspose_pdf_cloud/models/document_privilege'
6061
require_relative 'aspose_pdf_cloud/models/epub_recognition_mode'
6162
require_relative 'aspose_pdf_cloud/models/error'
@@ -80,6 +81,7 @@
8081
require_relative 'aspose_pdf_cloud/models/image_template'
8182
require_relative 'aspose_pdf_cloud/models/image_templates_request'
8283
require_relative 'aspose_pdf_cloud/models/justification'
84+
require_relative 'aspose_pdf_cloud/models/layer_info'
8385
require_relative 'aspose_pdf_cloud/models/letters_positioning_methods'
8486
require_relative 'aspose_pdf_cloud/models/line_ending'
8587
require_relative 'aspose_pdf_cloud/models/line_intent'

0 commit comments

Comments
 (0)