Skip to content

Commit d1dff68

Browse files
authored
Merge pull request #37 from kaferi/master
Update to v20.7
2 parents fcb5e19 + 84f288d commit d1dff68

15 files changed

+542
-87
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Aspose.PDF Cloud
22

33
- API version: 3.0
4-
- Package version: 20.6.0
4+
- Package version: 20.7.0
55

66
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Pdf documents in the cloud.
77

@@ -24,15 +24,15 @@ gem build aspose_pdf_cloud.gemspec
2424
Then either install the gem locally:
2525

2626
```shell
27-
gem install ./aspose_pdf_cloud-20.6.0.gem
27+
gem install ./aspose_pdf_cloud-20.7.0.gem
2828
```
29-
(for development, run `gem install --dev ./aspose_pdf_cloud-20.6.0.gem` to install the development dependencies)
29+
(for development, run `gem install --dev ./aspose_pdf_cloud-20.7.0.gem` to install the development dependencies)
3030

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

3333
Finally add this to the Gemfile:
3434

35-
gem 'aspose_pdf_cloud', '~> 20.6.0'
35+
gem 'aspose_pdf_cloud', '~> 20.7.0'
3636

3737
### Install from Git
3838

@@ -116,6 +116,7 @@ Class | Method | HTTP request | Description
116116
*AsposePdfCloud::PdfApi* | [**delete_stamp**](docs/PdfApi.md#delete_stamp) | **DELETE** /pdf/\{name}/stamps/\{stampId} | Delete document stamp by ID
117117
*AsposePdfCloud::PdfApi* | [**delete_table**](docs/PdfApi.md#delete_table) | **DELETE** /pdf/\{name}/tables/\{tableId} | Delete document table by ID
118118
*AsposePdfCloud::PdfApi* | [**download_file**](docs/PdfApi.md#download_file) | **GET** /pdf/storage/file/\{path} | Download file
119+
*AsposePdfCloud::PdfApi* | [**get_api_info**](docs/PdfApi.md#get_api_info) | **GET** /pdf/info |
119120
*AsposePdfCloud::PdfApi* | [**get_bookmark**](docs/PdfApi.md#get_bookmark) | **GET** /pdf/\{name}/bookmarks/bookmark/\{bookmarkPath} | Read document bookmark.
120121
*AsposePdfCloud::PdfApi* | [**get_bookmarks**](docs/PdfApi.md#get_bookmarks) | **GET** /pdf/\{name}/bookmarks/list/\{bookmarkPath} | Read document bookmarks node list.
121122
*AsposePdfCloud::PdfApi* | [**get_caret_annotation**](docs/PdfApi.md#get_caret_annotation) | **GET** /pdf/\{name}/annotations/caret/\{annotationId} | Read document page caret annotation by ID.
@@ -124,7 +125,7 @@ Class | Method | HTTP request | Description
124125
*AsposePdfCloud::PdfApi* | [**get_combo_box_field**](docs/PdfApi.md#get_combo_box_field) | **GET** /pdf/\{name}/fields/combobox/\{fieldName} | Read document combobox field by name.
125126
*AsposePdfCloud::PdfApi* | [**get_disc_usage**](docs/PdfApi.md#get_disc_usage) | **GET** /pdf/storage/disc | Get disc usage
126127
*AsposePdfCloud::PdfApi* | [**get_document**](docs/PdfApi.md#get_document) | **GET** /pdf/\{name} | Read common document info.
127-
*AsposePdfCloud::PdfApi* | [**get_document_annotations**](docs/PdfApi.md#get_document_annotations) | **GET** /pdf/\{name}/annotations | Read documant page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
128+
*AsposePdfCloud::PdfApi* | [**get_document_annotations**](docs/PdfApi.md#get_document_annotations) | **GET** /pdf/\{name}/annotations | Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
128129
*AsposePdfCloud::PdfApi* | [**get_document_attachment_by_index**](docs/PdfApi.md#get_document_attachment_by_index) | **GET** /pdf/\{name}/attachments/\{attachmentIndex} | Read document attachment info by its index.
129130
*AsposePdfCloud::PdfApi* | [**get_document_attachments**](docs/PdfApi.md#get_document_attachments) | **GET** /pdf/\{name}/attachments | Read document attachments info.
130131
*AsposePdfCloud::PdfApi* | [**get_document_bookmarks**](docs/PdfApi.md#get_document_bookmarks) | **GET** /pdf/\{name}/bookmarks/tree | Read document bookmarks tree.
@@ -273,7 +274,7 @@ Class | Method | HTTP request | Description
273274
*AsposePdfCloud::PdfApi* | [**get_verify_signature**](docs/PdfApi.md#get_verify_signature) | **GET** /pdf/\{name}/verifySignature | Verify signature document.
274275
*AsposePdfCloud::PdfApi* | [**get_web_in_storage_to_pdf**](docs/PdfApi.md#get_web_in_storage_to_pdf) | **GET** /pdf/create/web | Convert web page to PDF format and return resulting file in response.
275276
*AsposePdfCloud::PdfApi* | [**get_words_per_page**](docs/PdfApi.md#get_words_per_page) | **GET** /pdf/\{name}/pages/wordCount | Get number of words per document page.
276-
*AsposePdfCloud::PdfApi* | [**get_xfa_pdf_in_storage_to_acro_form**](docs/PdfApi.md#get_xfa_pdf_in_storage_to_acro_form) | **GET** /pdf/\{name}/convert/xfatoacroform | Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and returns resulting file response content
277+
*AsposePdfCloud::PdfApi* | [**get_xfa_pdf_in_storage_to_acro_form**](docs/PdfApi.md#get_xfa_pdf_in_storage_to_acro_form) | **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
277278
*AsposePdfCloud::PdfApi* | [**get_xml_in_storage_to_pdf**](docs/PdfApi.md#get_xml_in_storage_to_pdf) | **GET** /pdf/create/xml | Convert XML file (located on storage) to PDF format and return resulting file in response.
278279
*AsposePdfCloud::PdfApi* | [**get_xps_in_storage_to_pdf**](docs/PdfApi.md#get_xps_in_storage_to_pdf) | **GET** /pdf/create/xps | Convert XPS file (located on storage) to PDF format and return resulting file in response.
279280
*AsposePdfCloud::PdfApi* | [**get_xsl_fo_in_storage_to_pdf**](docs/PdfApi.md#get_xsl_fo_in_storage_to_pdf) | **GET** /pdf/create/xslfo | Convert XslFo file (located on storage) to PDF format and return resulting file in response.
@@ -446,8 +447,8 @@ Class | Method | HTTP request | Description
446447
*AsposePdfCloud::PdfApi* | [**put_update_field**](docs/PdfApi.md#put_update_field) | **PUT** /pdf/\{name}/fields/\{fieldName} | Update field.
447448
*AsposePdfCloud::PdfApi* | [**put_update_fields**](docs/PdfApi.md#put_update_fields) | **PUT** /pdf/\{name}/fields | Update fields.
448449
*AsposePdfCloud::PdfApi* | [**put_web_in_storage_to_pdf**](docs/PdfApi.md#put_web_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/web | Convert web page to PDF format and upload resulting file to storage.
449-
*AsposePdfCloud::PdfApi* | [**put_xfa_pdf_in_request_to_acro_form**](docs/PdfApi.md#put_xfa_pdf_in_request_to_acro_form) | **PUT** /pdf/convert/xfatoacroform | Converts PDF document which contatins XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage.
450-
*AsposePdfCloud::PdfApi* | [**put_xfa_pdf_in_storage_to_acro_form**](docs/PdfApi.md#put_xfa_pdf_in_storage_to_acro_form) | **PUT** /pdf/\{name}/convert/xfatoacroform | Converts PDF document which contatins XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage
450+
*AsposePdfCloud::PdfApi* | [**put_xfa_pdf_in_request_to_acro_form**](docs/PdfApi.md#put_xfa_pdf_in_request_to_acro_form) | **PUT** /pdf/convert/xfatoacroform | Converts PDF document which contains XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage.
451+
*AsposePdfCloud::PdfApi* | [**put_xfa_pdf_in_storage_to_acro_form**](docs/PdfApi.md#put_xfa_pdf_in_storage_to_acro_form) | **PUT** /pdf/\{name}/convert/xfatoacroform | Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage
451452
*AsposePdfCloud::PdfApi* | [**put_xml_in_storage_to_pdf**](docs/PdfApi.md#put_xml_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/xml | Convert XML file (located on storage) to PDF format and upload resulting file to storage.
452453
*AsposePdfCloud::PdfApi* | [**put_xps_in_storage_to_pdf**](docs/PdfApi.md#put_xps_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/xps | Convert XPS file (located on storage) to PDF format and upload resulting file to storage.
453454
*AsposePdfCloud::PdfApi* | [**put_xsl_fo_in_storage_to_pdf**](docs/PdfApi.md#put_xsl_fo_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/xslfo | Convert XslFo file (located on storage) to PDF format and upload resulting file to storage.
@@ -461,6 +462,7 @@ Class | Method | HTTP request | Description
461462
- [AsposePdfCloud::AnnotationState](docs/AnnotationState.md)
462463
- [AsposePdfCloud::AnnotationType](docs/AnnotationType.md)
463464
- [AsposePdfCloud::AntialiasingProcessingType](docs/AntialiasingProcessingType.md)
465+
- [AsposePdfCloud::ApiInfo](docs/ApiInfo.md)
464466
- [AsposePdfCloud::AsposeResponse](docs/AsposeResponse.md)
465467
- [AsposePdfCloud::Border](docs/Border.md)
466468
- [AsposePdfCloud::BorderCornerStyle](docs/BorderCornerStyle.md)
@@ -503,6 +505,8 @@ Class | Method | HTTP request | Description
503505
- [AsposePdfCloud::HorizontalAlignment](docs/HorizontalAlignment.md)
504506
- [AsposePdfCloud::HtmlDocumentType](docs/HtmlDocumentType.md)
505507
- [AsposePdfCloud::HtmlMarkupGenerationModes](docs/HtmlMarkupGenerationModes.md)
508+
- [AsposePdfCloud::ImageCompressionVersion](docs/ImageCompressionVersion.md)
509+
- [AsposePdfCloud::ImageEncoding](docs/ImageEncoding.md)
506510
- [AsposePdfCloud::ImageFragment](docs/ImageFragment.md)
507511
- [AsposePdfCloud::ImageSrcType](docs/ImageSrcType.md)
508512
- [AsposePdfCloud::ImageTemplate](docs/ImageTemplate.md)

docs/ApiInfo.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AsposePdfCloud::ApiInfo
2+
Represents response for ApiInfo DTO
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | Product name. | [optional]
8+
**version** | **String** | API version. | [optional]
9+
10+

docs/ImageCompressionVersion.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AsposePdfCloud::ImageCompressionVersion
2+
Describes versions of image compression algorithm.
3+
4+
## Enum
5+
Name | Type | Value | Description
6+
------------ | ------------- | ------------- | -------------
7+
**STANDARD** | **String** | 'Standard' | Standard algorithm. Default value.
8+
**FAST** | **String** | 'Fast' | Improved algorithm faster then standard but applicable not for all cases.
9+
**MIXED** | **String** | 'Mixed' | Use fast algorithm when possible and standard for other cases. May be slower then "Fast" but may produce better compression.
10+
11+
12+

docs/ImageEncoding.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AsposePdfCloud::ImageEncoding
2+
Image encoding type.
3+
4+
## Enum
5+
Name | Type | Value | Description
6+
------------ | ------------- | ------------- | -------------
7+
**UNCHANGED** | **String** | 'Unchanged' | Don't change encoding.
8+
**JPEG** | **String** | 'Jpeg' | JPEG (DCT) encoding.
9+
**FLATE** | **String** | 'Flate' | Flate encoding.
10+
**JPEG2000** | **String** | 'Jpeg2000' | JPEG2000 (JPX) encoding.
11+
12+
13+

docs/OptimizeOptions.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ Represents Pdf optimize options.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**allow_reuse_page_content** | **BOOLEAN** | If true page contents will be reused when document is optimized for equal pages. |
8-
**compress_images** | **BOOLEAN** | If this flag is set to true images will be compressed in the document. compression level is specfied with ImageQuality property. |
9-
**image_quality** | **Integer** | Specifie slevel of image compression when CompressIamges flag is used. |
10-
**link_duplcate_streams** | **BOOLEAN** | If this flag is set to true, Resource streams will be analyzed. If duplicate streams are found (i.e. if stream contents is equal), then thes streams will be stored as one object. This allows to decrease document size in some cases (for example, when same document was concatenedted multiple times). |
11-
**remove_unused_objects** | **BOOLEAN** | If this flag is set to true, all document objects will be checked and unused objects (i.e. objects which does not have any reference) are removed from document. |
12-
**remove_unused_streams** | **BOOLEAN** | If this flag set to true, every resource is checked on it's usage. If resource is never used, then resources is removed. This may decrease document size for example when pages were extracted from document. |
13-
**unembed_fonts** | **BOOLEAN** | Make fonts not embedded if set to true. |
7+
**allow_reuse_page_content** | **BOOLEAN** | If true page contents will be reused when document is optimized for equal pages. | [optional]
8+
**compress_images** | **BOOLEAN** | If this flag is set to true images will be compressed in the document. Compression level is specified with ImageQuality property. | [optional]
9+
**image_quality** | **Integer** | Specifies level of image compression when CompressImages flag is used. | [optional]
10+
**link_duplcate_streams** | **BOOLEAN** | If this flag is set to true, Resource streams will be analyzed. If duplicate streams are found (i.e. if stream contents is equal), then thees streams will be stored as one object. This allows to decrease document size in some cases (for example, when same document was concatenated multiple times). | [optional]
11+
**remove_unused_objects** | **BOOLEAN** | If this flag is set to true, all document objects will be checked and unused objects (i.e. objects which does not have any reference) are removed from document. | [optional]
12+
**remove_unused_streams** | **BOOLEAN** | If this flag set to true, every resource is checked on it's usage. If resource is never used, then resources is removed. This may decrease document size for example when pages were extracted from document. | [optional]
13+
**unembed_fonts** | **BOOLEAN** | Make fonts not embedded if set to true. | [optional]
14+
**resize_images** | **BOOLEAN** | If this flag set to true and CompressImages is true images will be resized if image resolution is greater then specified MaxResolution parameter. | [optional]
15+
**max_resolution** | **Integer** | Specifies maximum resolution of images. If image has higher resolution it will be scaled. | [optional]
16+
**subset_fonts** | **BOOLEAN** | Fonts will be converted into subsets if set to true. | [optional]
17+
**remove_private_info** | **BOOLEAN** | Remove private information (page piece info). | [optional]
18+
**image_encoding** | [**ImageEncoding**](ImageEncoding.md) | Image encode which will be used. | [optional]
19+
**image_compression_version** | [**ImageCompressionVersion**](ImageCompressionVersion.md) | Version of compression algorithm. Possible values are: "Standard" - standard compression, "Fast" - fast (improved compression which is faster then standard but may be applicable not for all images), "Mixed" - mixed (standard compression is applied to images which can not be compressed by faster algorithm, this may give best compression but more slow then "Fast" algorithm. Version "Fast" is not applicable for resizing images (standard method will be used). Default is "Standard". | [optional]
1420

1521

docs/PdfAType.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Allows to specify PdfA file format.
44
## Enum
55
Name | Type | Value | Description
66
------------ | ------------- | ------------- | -------------
7-
**PDFA1_A** | **String** | 'PDFA1A' |
8-
**PDFA1_B** | **String** | 'PDFA1B' |
7+
**PDFA1_A** | **String** | 'PDFA1A' | Pdf/A-1a format
8+
**PDFA1_B** | **String** | 'PDFA1B' | Pdf/A-1b format
9+
**PDFA3_A** | **String** | 'PDFA3A' | Pdf/A-3a format
910

1011

1112

0 commit comments

Comments
 (0)