aspose_pdf_cloud 22.1.0 → 22.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19340b370a565dcf6a23786c1ba5541a9957c54759cacc5061668b12b2d11e84
4
- data.tar.gz: 410b108aab8bc975b577097a53021becf5a59e01e4c0fc2850801057c8ffe2c8
3
+ metadata.gz: 6be1a9f0062e654d7914c1d4fcec2965fe9d00f0782a9579d6a09bfe84106648
4
+ data.tar.gz: 95b75bc26385ccb734a10a98b1e97b990bb08af8f315f46a502c055279c1f001
5
5
  SHA512:
6
- metadata.gz: 3f89032b17d608913b9c62c2ac076a3db7e3dd9403f242eeb55ff1359b9a781e4073bcd909b708d92b62ec53f70c4428ae85e8845f2f48764c96e353fba97e11
7
- data.tar.gz: 325ef8df7caa43527acb40959d82ed6ef7c5d2632cbf4bb73f73a60abac4bb6af9ae7bb9353fe27e323035329a49931b2129a0abd2b6b20f48a5b5ba1e8534a3
6
+ metadata.gz: 125f3ab2ba223f0194c56c4b8c86981cb50619ee02cf9292deb727d0085d1cea08a8cba435b95a56a17c55a6f5dcb48d9ddce63a3740458e98351e39a646058a
7
+ data.tar.gz: 8531b7796d3de1c8d70c7431ebadfe99b6cfd6d25a61f9c924100791ac969a836ab5bea6bd6648172a8015301739118b962d161b327d012ed53817a6c83a89cc
data/README.md CHANGED
@@ -29,9 +29,13 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
29
29
  ## Read PDF Formats
30
30
  MHT, PCL, PS, XSLFO, MD
31
31
 
32
- ## Enhancements in Version 22.1
32
+ ## Enhancements in Version 22.2
33
33
  - A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
34
34
 
35
+ ## Bugs fixed in Version 22.2
36
+ - PDF to XLSX: Google sheet does not recognize output excel sheet.
37
+ - Text Replace API method throws Internal Error.
38
+
35
39
  ## Enhancements in Version 20.9
36
40
  * Implemented custom fonts for Text API.
37
41
  * Added custom fonts for Table API.
@@ -52,15 +56,15 @@ gem build aspose_pdf_cloud.gemspec
52
56
  Then either install the gem locally:
53
57
 
54
58
  ```shell
55
- gem install ./aspose_pdf_cloud-22.1.0.gem
59
+ gem install ./aspose_pdf_cloud-22.2.0.gem
56
60
  ```
57
- (for development, run `gem install --dev ./aspose_pdf_cloud-22.1.0.gem` to install the development dependencies)
61
+ (for development, run `gem install --dev ./aspose_pdf_cloud-22.2.0.gem` to install the development dependencies)
58
62
 
59
63
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
60
64
 
61
65
  Finally add this to the Gemfile:
62
66
 
63
- gem 'aspose_pdf_cloud', '~> 22.1.0'
67
+ gem 'aspose_pdf_cloud', '~> 22.2.0'
64
68
 
65
69
  ### Install from Git
66
70
 
@@ -193,7 +197,6 @@ Class | Method | HTTP request | Description
193
197
  *AsposePdfCloud::PdfApi* | [**get_import_fields_from_xfdf_in_storage**](docs/PdfApi.md#get_import_fields_from_xfdf_in_storage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
194
198
  *AsposePdfCloud::PdfApi* | [**get_import_fields_from_xml_in_storage**](docs/PdfApi.md#get_import_fields_from_xml_in_storage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
195
199
  *AsposePdfCloud::PdfApi* | [**get_ink_annotation**](docs/PdfApi.md#get_ink_annotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
196
- *AsposePdfCloud::PdfApi* | [**get_la_te_x_in_storage_to_pdf**](docs/PdfApi.md#get_la_te_x_in_storage_to_pdf) | **GET** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
197
200
  *AsposePdfCloud::PdfApi* | [**get_line_annotation**](docs/PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
198
201
  *AsposePdfCloud::PdfApi* | [**get_link_annotation**](docs/PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
199
202
  *AsposePdfCloud::PdfApi* | [**get_list_box_field**](docs/PdfApi.md#get_list_box_field) | **GET** /pdf/\{name}/fields/listbox/\{fieldName} | Read document listbox field by name.
@@ -380,7 +383,6 @@ Class | Method | HTTP request | Description
380
383
  *AsposePdfCloud::PdfApi* | [**put_import_fields_from_xfdf_in_storage**](docs/PdfApi.md#put_import_fields_from_xfdf_in_storage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
381
384
  *AsposePdfCloud::PdfApi* | [**put_import_fields_from_xml_in_storage**](docs/PdfApi.md#put_import_fields_from_xml_in_storage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage.
382
385
  *AsposePdfCloud::PdfApi* | [**put_ink_annotation**](docs/PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
383
- *AsposePdfCloud::PdfApi* | [**put_la_te_x_in_storage_to_pdf**](docs/PdfApi.md#put_la_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
384
386
  *AsposePdfCloud::PdfApi* | [**put_line_annotation**](docs/PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
385
387
  *AsposePdfCloud::PdfApi* | [**put_link_annotation**](docs/PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
386
388
  *AsposePdfCloud::PdfApi* | [**put_list_box_field**](docs/PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field
@@ -5,7 +5,7 @@ Pdf document property.
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **links** | [**Array<Link>**](Link.md) | Link to the document. | [optional]
8
- **name** | **String** | Pame of the property. | [optional]
8
+ **name** | **String** | Name of the property. | [optional]
9
9
  **value** | **String** | Property value. | [optional]
10
10
  **built_in** | **BOOLEAN** | Value indicating whether it is a built-in property. |
11
11
 
data/docs/PdfApi.md CHANGED
@@ -97,7 +97,6 @@ Method | HTTP request | Description
97
97
  [**get_import_fields_from_xfdf_in_storage**](PdfApi.md#get_import_fields_from_xfdf_in_storage) | **GET** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
98
98
  [**get_import_fields_from_xml_in_storage**](PdfApi.md#get_import_fields_from_xml_in_storage) | **GET** /pdf/\{name}/import/xml | Import from XML file (located on storage) to PDF format and return resulting file in response.
99
99
  [**get_ink_annotation**](PdfApi.md#get_ink_annotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
100
- [**get_la_te_x_in_storage_to_pdf**](PdfApi.md#get_la_te_x_in_storage_to_pdf) | **GET** /pdf/create/latex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
101
100
  [**get_line_annotation**](PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
102
101
  [**get_link_annotation**](PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
103
102
  [**get_list_box_field**](PdfApi.md#get_list_box_field) | **GET** /pdf/\{name}/fields/listbox/\{fieldName} | Read document listbox field by name.
@@ -284,7 +283,6 @@ Method | HTTP request | Description
284
283
  [**put_import_fields_from_xfdf_in_storage**](PdfApi.md#put_import_fields_from_xfdf_in_storage) | **PUT** /pdf/\{name}/import/xfdf | Update fields from XFDF file in storage.
285
284
  [**put_import_fields_from_xml_in_storage**](PdfApi.md#put_import_fields_from_xml_in_storage) | **PUT** /pdf/\{name}/import/xml | Update fields from XML file in storage.
286
285
  [**put_ink_annotation**](PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
287
- [**put_la_te_x_in_storage_to_pdf**](PdfApi.md#put_la_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/latex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
288
286
  [**put_line_annotation**](PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
289
287
  [**put_link_annotation**](PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
290
288
  [**put_list_box_field**](PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field
@@ -2647,29 +2645,6 @@ Name | Type | Description | Notes
2647
2645
 
2648
2646
 
2649
2647
 
2650
- # **get_la_te_x_in_storage_to_pdf**
2651
- > File get_la_te_x_in_storage_to_pdf(src_path, opts)
2652
-
2653
- Convert TeX file (located on storage) to PDF format and return resulting file in response.
2654
-
2655
- ### Parameters
2656
-
2657
- Name | Type | Description | Notes
2658
- ------------- | ------------- | ------------- | -------------
2659
- **src_path** | **String**| Full source filename (ex. /folder1/folder2/template.tex) |
2660
- **storage** | **String**| The document storage. | [optional]
2661
-
2662
- ### Return type
2663
-
2664
- **File**
2665
-
2666
- ### HTTP request headers
2667
-
2668
- - **Content-Type**: application/json
2669
- - **Accept**: multipart/form-data
2670
-
2671
-
2672
-
2673
2648
  # **get_line_annotation**
2674
2649
  > LineAnnotationResponse get_line_annotation(name, annotation_id, opts)
2675
2650
 
@@ -4167,7 +4142,7 @@ Name | Type | Description | Notes
4167
4142
  **name** | **String**| The document name. |
4168
4143
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
4169
4144
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
4170
- **scale_factor** | **Float**| Scale factor | [optional]
4145
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
4171
4146
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
4172
4147
  **folder** | **String**| The document folder. | [optional]
4173
4148
  **storage** | **String**| The document storage. | [optional]
@@ -4195,7 +4170,7 @@ Name | Type | Description | Notes
4195
4170
  **name** | **String**| The document name. |
4196
4171
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
4197
4172
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
4198
- **scale_factor** | **Float**| Scale factor | [optional]
4173
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
4199
4174
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
4200
4175
  **folder** | **String**| The document folder. | [optional]
4201
4176
  **storage** | **String**| The document storage. | [optional]
@@ -7499,31 +7474,6 @@ Name | Type | Description | Notes
7499
7474
 
7500
7475
 
7501
7476
 
7502
- # **put_la_te_x_in_storage_to_pdf**
7503
- > AsposeResponse put_la_te_x_in_storage_to_pdf(name, src_path, opts)
7504
-
7505
- Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
7506
-
7507
- ### Parameters
7508
-
7509
- Name | Type | Description | Notes
7510
- ------------- | ------------- | ------------- | -------------
7511
- **name** | **String**| The document name. |
7512
- **src_path** | **String**| Full source filename (ex. /folder1/folder2/template.tex) |
7513
- **dst_folder** | **String**| The destination document folder. | [optional]
7514
- **storage** | **String**| The document storage. | [optional]
7515
-
7516
- ### Return type
7517
-
7518
- [**AsposeResponse**](AsposeResponse.md)
7519
-
7520
- ### HTTP request headers
7521
-
7522
- - **Content-Type**: application/json
7523
- - **Accept**: application/json
7524
-
7525
-
7526
-
7527
7477
  # **put_line_annotation**
7528
7478
  > LineAnnotationResponse put_line_annotation(name, annotation_id, annotation, opts)
7529
7479
 
@@ -8233,7 +8183,7 @@ Name | Type | Description | Notes
8233
8183
  **out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.xls) |
8234
8184
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
8235
8185
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
8236
- **scale_factor** | **Float**| Scale factor | [optional]
8186
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
8237
8187
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
8238
8188
  **storage** | **String**| The document storage. | [optional]
8239
8189
  **file** | **File**| A file to be converted. | [optional]
@@ -8261,7 +8211,7 @@ Name | Type | Description | Notes
8261
8211
  **out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
8262
8212
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
8263
8213
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
8264
- **scale_factor** | **Float**| Scale factor | [optional]
8214
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
8265
8215
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
8266
8216
  **storage** | **String**| The document storage. | [optional]
8267
8217
  **file** | **File**| A file to be converted. | [optional]
@@ -8620,7 +8570,7 @@ Name | Type | Description | Notes
8620
8570
  **out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.xls) |
8621
8571
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
8622
8572
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
8623
- **scale_factor** | **Float**| Scale factor | [optional]
8573
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
8624
8574
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
8625
8575
  **folder** | **String**| The document folder. | [optional]
8626
8576
  **storage** | **String**| The document storage. | [optional]
@@ -8649,7 +8599,7 @@ Name | Type | Description | Notes
8649
8599
  **out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.xlsx) |
8650
8600
  **insert_blank_column_at_first** | **BOOLEAN**| Insert blank column at first | [optional]
8651
8601
  **minimize_the_number_of_worksheets** | **BOOLEAN**| Minimize the number of worksheets | [optional]
8652
- **scale_factor** | **Float**| Scale factor | [optional]
8602
+ **scale_factor** | **Float**| Scale factor (Obsolete) | [optional]
8653
8603
  **uniform_worksheets** | **BOOLEAN**| Uniform worksheets | [optional]
8654
8604
  **folder** | **String**| The document folder. | [optional]
8655
8605
  **storage** | **String**| The document storage. | [optional]
@@ -6997,76 +6997,6 @@ module AsposePdfCloud
6997
6997
  return data, status_code, headers
6998
6998
  end
6999
6999
 
7000
- # Convert TeX file (located on storage) to PDF format and return resulting file in response.
7001
- #
7002
- # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
7003
- # @param [Hash] opts the optional parameters
7004
- # @option opts [String] :storage The document storage.
7005
- # @return [File]
7006
- def get_la_te_x_in_storage_to_pdf(src_path, opts = {})
7007
- @api_client.request_token_if_needed
7008
- data, _status_code, _headers = get_la_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
7009
- rescue ApiError => error
7010
- if error.code == 401
7011
- @api_client.request_token_if_needed
7012
- data, _status_code, _headers = get_la_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
7013
- else
7014
- raise
7015
- end
7016
- return data
7017
- end
7018
-
7019
- # Convert TeX file (located on storage) to PDF format and return resulting file in response.
7020
- #
7021
- # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
7022
- # @param [Hash] opts the optional parameters
7023
- # @option opts [String] :storage The document storage.
7024
- # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
7025
- def get_la_te_x_in_storage_to_pdf_with_http_info(src_path, opts = {})
7026
- if @api_client.config.debugging
7027
- @api_client.config.logger.debug "Calling API: PdfApi.get_la_te_x_in_storage_to_pdf ..."
7028
- end
7029
- # verify the required parameter 'src_path' is set
7030
- if @api_client.config.client_side_validation && src_path.nil?
7031
- fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.get_la_te_x_in_storage_to_pdf"
7032
- end
7033
- # resource path
7034
- local_var_path = "/pdf/create/latex"
7035
-
7036
- # query parameters
7037
- query_params = {}
7038
- query_params[:'srcPath'] = src_path
7039
- query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
7040
-
7041
- # header parameters
7042
- header_params = {}
7043
- # HTTP header 'Accept' (if needed)
7044
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
7045
- # HTTP header 'Content-Type'
7046
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7047
-
7048
- # form parameters
7049
- form_params = {}
7050
- # Fix header in file
7051
- post_body = nil
7052
-
7053
- # http body (model)
7054
- # Fix header in file
7055
- # post_body = nil
7056
- auth_names = ['JWT']
7057
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
7058
- :header_params => header_params,
7059
- :query_params => query_params,
7060
- :form_params => form_params,
7061
- :body => post_body,
7062
- :auth_names => auth_names,
7063
- :return_type => 'File')
7064
- if @api_client.config.debugging
7065
- @api_client.config.logger.debug "API called: PdfApi#get_la_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7066
- end
7067
- return data, status_code, headers
7068
- end
7069
-
7070
7000
  # Read document page line annotation by ID.
7071
7001
  #
7072
7002
  # @param name The document name.
@@ -11730,7 +11660,7 @@ module AsposePdfCloud
11730
11660
  # @param [Hash] opts the optional parameters
11731
11661
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
11732
11662
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
11733
- # @option opts [Float] :scale_factor Scale factor
11663
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
11734
11664
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
11735
11665
  # @option opts [String] :folder The document folder.
11736
11666
  # @option opts [String] :storage The document storage.
@@ -11754,7 +11684,7 @@ module AsposePdfCloud
11754
11684
  # @param [Hash] opts the optional parameters
11755
11685
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
11756
11686
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
11757
- # @option opts [Float] :scale_factor Scale factor
11687
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
11758
11688
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
11759
11689
  # @option opts [String] :folder The document folder.
11760
11690
  # @option opts [String] :storage The document storage.
@@ -11814,7 +11744,7 @@ module AsposePdfCloud
11814
11744
  # @param [Hash] opts the optional parameters
11815
11745
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
11816
11746
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
11817
- # @option opts [Float] :scale_factor Scale factor
11747
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
11818
11748
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
11819
11749
  # @option opts [String] :folder The document folder.
11820
11750
  # @option opts [String] :storage The document storage.
@@ -11838,7 +11768,7 @@ module AsposePdfCloud
11838
11768
  # @param [Hash] opts the optional parameters
11839
11769
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
11840
11770
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
11841
- # @option opts [Float] :scale_factor Scale factor
11771
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
11842
11772
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
11843
11773
  # @option opts [String] :folder The document folder.
11844
11774
  # @option opts [String] :storage The document storage.
@@ -22252,85 +22182,6 @@ module AsposePdfCloud
22252
22182
  return data, status_code, headers
22253
22183
  end
22254
22184
 
22255
- # Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
22256
- #
22257
- # @param name The document name.
22258
- # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
22259
- # @param [Hash] opts the optional parameters
22260
- # @option opts [String] :dst_folder The destination document folder.
22261
- # @option opts [String] :storage The document storage.
22262
- # @return [AsposeResponse]
22263
- def put_la_te_x_in_storage_to_pdf(name, src_path, opts = {})
22264
- @api_client.request_token_if_needed
22265
- data, _status_code, _headers = put_la_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
22266
- rescue ApiError => error
22267
- if error.code == 401
22268
- @api_client.request_token_if_needed
22269
- data, _status_code, _headers = put_la_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
22270
- else
22271
- raise
22272
- end
22273
- return data
22274
- end
22275
-
22276
- # Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
22277
- #
22278
- # @param name The document name.
22279
- # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
22280
- # @param [Hash] opts the optional parameters
22281
- # @option opts [String] :dst_folder The destination document folder.
22282
- # @option opts [String] :storage The document storage.
22283
- # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
22284
- def put_la_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts = {})
22285
- if @api_client.config.debugging
22286
- @api_client.config.logger.debug "Calling API: PdfApi.put_la_te_x_in_storage_to_pdf ..."
22287
- end
22288
- # verify the required parameter 'name' is set
22289
- if @api_client.config.client_side_validation && name.nil?
22290
- fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_la_te_x_in_storage_to_pdf"
22291
- end
22292
- # verify the required parameter 'src_path' is set
22293
- if @api_client.config.client_side_validation && src_path.nil?
22294
- fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.put_la_te_x_in_storage_to_pdf"
22295
- end
22296
- # resource path
22297
- local_var_path = "/pdf/{name}/create/latex".sub('{' + 'name' + '}', name.to_s)
22298
-
22299
- # query parameters
22300
- query_params = {}
22301
- query_params[:'srcPath'] = src_path
22302
- query_params[:'dstFolder'] = opts[:'dst_folder'] if !opts[:'dst_folder'].nil?
22303
- query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
22304
-
22305
- # header parameters
22306
- header_params = {}
22307
- # HTTP header 'Accept' (if needed)
22308
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
22309
- # HTTP header 'Content-Type'
22310
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
22311
-
22312
- # form parameters
22313
- form_params = {}
22314
- # Fix header in file
22315
- post_body = nil
22316
-
22317
- # http body (model)
22318
- # Fix header in file
22319
- # post_body = nil
22320
- auth_names = ['JWT']
22321
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
22322
- :header_params => header_params,
22323
- :query_params => query_params,
22324
- :form_params => form_params,
22325
- :body => post_body,
22326
- :auth_names => auth_names,
22327
- :return_type => 'AsposeResponse')
22328
- if @api_client.config.debugging
22329
- @api_client.config.logger.debug "API called: PdfApi#put_la_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
22330
- end
22331
- return data, status_code, headers
22332
- end
22333
-
22334
22185
  # Replace document line annotation
22335
22186
  #
22336
22187
  # @param name The document name.
@@ -24584,7 +24435,7 @@ module AsposePdfCloud
24584
24435
  # @param [Hash] opts the optional parameters
24585
24436
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
24586
24437
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
24587
- # @option opts [Float] :scale_factor Scale factor
24438
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
24588
24439
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
24589
24440
  # @option opts [String] :storage The document storage.
24590
24441
  # @option opts [File] :file A file to be converted.
@@ -24608,7 +24459,7 @@ module AsposePdfCloud
24608
24459
  # @param [Hash] opts the optional parameters
24609
24460
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
24610
24461
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
24611
- # @option opts [Float] :scale_factor Scale factor
24462
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
24612
24463
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
24613
24464
  # @option opts [String] :storage The document storage.
24614
24465
  # @option opts [File] :file A file to be converted.
@@ -24670,7 +24521,7 @@ module AsposePdfCloud
24670
24521
  # @param [Hash] opts the optional parameters
24671
24522
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
24672
24523
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
24673
- # @option opts [Float] :scale_factor Scale factor
24524
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
24674
24525
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
24675
24526
  # @option opts [String] :storage The document storage.
24676
24527
  # @option opts [File] :file A file to be converted.
@@ -24694,7 +24545,7 @@ module AsposePdfCloud
24694
24545
  # @param [Hash] opts the optional parameters
24695
24546
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
24696
24547
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
24697
- # @option opts [Float] :scale_factor Scale factor
24548
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
24698
24549
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
24699
24550
  # @option opts [String] :storage The document storage.
24700
24551
  # @option opts [File] :file A file to be converted.
@@ -25840,7 +25691,7 @@ module AsposePdfCloud
25840
25691
  # @param [Hash] opts the optional parameters
25841
25692
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
25842
25693
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
25843
- # @option opts [Float] :scale_factor Scale factor
25694
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
25844
25695
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
25845
25696
  # @option opts [String] :folder The document folder.
25846
25697
  # @option opts [String] :storage The document storage.
@@ -25865,7 +25716,7 @@ module AsposePdfCloud
25865
25716
  # @param [Hash] opts the optional parameters
25866
25717
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
25867
25718
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
25868
- # @option opts [Float] :scale_factor Scale factor
25719
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
25869
25720
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
25870
25721
  # @option opts [String] :folder The document folder.
25871
25722
  # @option opts [String] :storage The document storage.
@@ -25931,7 +25782,7 @@ module AsposePdfCloud
25931
25782
  # @param [Hash] opts the optional parameters
25932
25783
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
25933
25784
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
25934
- # @option opts [Float] :scale_factor Scale factor
25785
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
25935
25786
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
25936
25787
  # @option opts [String] :folder The document folder.
25937
25788
  # @option opts [String] :storage The document storage.
@@ -25956,7 +25807,7 @@ module AsposePdfCloud
25956
25807
  # @param [Hash] opts the optional parameters
25957
25808
  # @option opts [BOOLEAN] :insert_blank_column_at_first Insert blank column at first
25958
25809
  # @option opts [BOOLEAN] :minimize_the_number_of_worksheets Minimize the number of worksheets
25959
- # @option opts [Float] :scale_factor Scale factor
25810
+ # @option opts [Float] :scale_factor Scale factor (Obsolete)
25960
25811
  # @option opts [BOOLEAN] :uniform_worksheets Uniform worksheets
25961
25812
  # @option opts [String] :folder The document folder.
25962
25813
  # @option opts [String] :storage The document storage.
@@ -28,7 +28,7 @@ module AsposePdfCloud
28
28
  # Link to the document.
29
29
  attr_accessor :links
30
30
 
31
- # Pame of the property.
31
+ # Name of the property.
32
32
  attr_accessor :name
33
33
 
34
34
  # Property value.
@@ -20,5 +20,5 @@ SOFTWARE.
20
20
  =end
21
21
 
22
22
  module AsposePdfCloud
23
- VERSION = "22.1.0"
23
+ VERSION = "22.2.0"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_pdf_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.1.0
4
+ version: 22.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose PDF Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json