aspose_pdf_cloud 20.4.0 → 20.5.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 +4 -4
- data/README.md +14 -9
- data/docs/PdfApi.md +136 -10
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +384 -10
- data/lib/aspose_pdf_cloud/api_client.rb +1 -1
- data/lib/aspose_pdf_cloud/version.rb +1 -1
- data/test/pdf_tests.rb +17 -18
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 964f502fc7d477126783b78f7511bfdcc9389ca8256a98864f4add4f86b55653
|
|
4
|
+
data.tar.gz: def4b6c8871f5d5ca58077aaa9800617a43c999b8e1ab59b2d57818febb7c6cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e57bf661cb3bf68bd9ac98745fda3bc571a64d9a1c9fd0a5beba15dbc4e180fcde5a1e881e7bbe7743039604fb1296adc91313dea904115578bb472fa3bab52e
|
|
7
|
+
data.tar.gz: ed0092adefbbcbc6ebb177f9231a59685e71f40e3cefcbc6ec52cc55206596280c6c08a7fb435d3d00b9c8646b978255e8cd32e996a7fa1810825d6b369baf2e
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Aspose.PDF Cloud
|
|
2
2
|
|
|
3
3
|
- API version: 3.0
|
|
4
|
-
- Package version: 20.
|
|
4
|
+
- Package version: 20.5.0
|
|
5
5
|
|
|
6
6
|
[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.
|
|
7
7
|
|
|
@@ -24,15 +24,15 @@ gem build aspose_pdf_cloud.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./aspose_pdf_cloud-20.
|
|
27
|
+
gem install ./aspose_pdf_cloud-20.5.0.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./aspose_pdf_cloud-20.
|
|
29
|
+
(for development, run `gem install --dev ./aspose_pdf_cloud-20.5.0.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'aspose_pdf_cloud', '~> 20.
|
|
35
|
+
gem 'aspose_pdf_cloud', '~> 20.5.0'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -184,7 +184,7 @@ Class | Method | HTTP request | Description
|
|
|
184
184
|
*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.
|
|
185
185
|
*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.
|
|
186
186
|
*AsposePdfCloud::PdfApi* | [**get_ink_annotation**](docs/PdfApi.md#get_ink_annotation) | **GET** /pdf/\{name}/annotations/ink/\{annotationId} | Read document page ink annotation by ID.
|
|
187
|
-
*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
|
|
187
|
+
*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.
|
|
188
188
|
*AsposePdfCloud::PdfApi* | [**get_line_annotation**](docs/PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
|
|
189
189
|
*AsposePdfCloud::PdfApi* | [**get_link_annotation**](docs/PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
|
|
190
190
|
*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.
|
|
@@ -236,11 +236,12 @@ Class | Method | HTTP request | Description
|
|
|
236
236
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_doc**](docs/PdfApi.md#get_pdf_in_storage_to_doc) | **GET** /pdf/\{name}/convert/doc | Converts PDF document (located on storage) to DOC format and returns resulting file in response content
|
|
237
237
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_epub**](docs/PdfApi.md#get_pdf_in_storage_to_epub) | **GET** /pdf/\{name}/convert/epub | Converts PDF document (located on storage) to EPUB format and returns resulting file in response content
|
|
238
238
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_html**](docs/PdfApi.md#get_pdf_in_storage_to_html) | **GET** /pdf/\{name}/convert/html | Converts PDF document (located on storage) to Html format and returns resulting file in response content
|
|
239
|
-
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_la_te_x**](docs/PdfApi.md#get_pdf_in_storage_to_la_te_x) | **GET** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to
|
|
239
|
+
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_la_te_x**](docs/PdfApi.md#get_pdf_in_storage_to_la_te_x) | **GET** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
240
240
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_mobi_xml**](docs/PdfApi.md#get_pdf_in_storage_to_mobi_xml) | **GET** /pdf/\{name}/convert/mobixml | Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content
|
|
241
241
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_pdf_a**](docs/PdfApi.md#get_pdf_in_storage_to_pdf_a) | **GET** /pdf/\{name}/convert/pdfa | Converts PDF document (located on storage) to PdfA format and returns resulting file in response content
|
|
242
242
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_pptx**](docs/PdfApi.md#get_pdf_in_storage_to_pptx) | **GET** /pdf/\{name}/convert/pptx | Converts PDF document (located on storage) to PPTX format and returns resulting file in response content
|
|
243
243
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_svg**](docs/PdfApi.md#get_pdf_in_storage_to_svg) | **GET** /pdf/\{name}/convert/svg | Converts PDF document (located on storage) to SVG format and returns resulting file in response content
|
|
244
|
+
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_te_x**](docs/PdfApi.md#get_pdf_in_storage_to_te_x) | **GET** /pdf/\{name}/convert/tex | Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
244
245
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_tiff**](docs/PdfApi.md#get_pdf_in_storage_to_tiff) | **GET** /pdf/\{name}/convert/tiff | Converts PDF document (located on storage) to TIFF format and returns resulting file in response content
|
|
245
246
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_xls**](docs/PdfApi.md#get_pdf_in_storage_to_xls) | **GET** /pdf/\{name}/convert/xls | Converts PDF document (located on storage) to XLS format and returns resulting file in response content
|
|
246
247
|
*AsposePdfCloud::PdfApi* | [**get_pdf_in_storage_to_xlsx**](docs/PdfApi.md#get_pdf_in_storage_to_xlsx) | **GET** /pdf/\{name}/convert/xlsx | Converts PDF document (located on storage) to XLSX format and returns resulting file in response content
|
|
@@ -264,6 +265,7 @@ Class | Method | HTTP request | Description
|
|
|
264
265
|
*AsposePdfCloud::PdfApi* | [**get_strike_out_annotation**](docs/PdfApi.md#get_strike_out_annotation) | **GET** /pdf/\{name}/annotations/strikeout/\{annotationId} | Read document page StrikeOut annotation by ID.
|
|
265
266
|
*AsposePdfCloud::PdfApi* | [**get_svg_in_storage_to_pdf**](docs/PdfApi.md#get_svg_in_storage_to_pdf) | **GET** /pdf/create/svg | Convert SVG file (located on storage) to PDF format and return resulting file in response.
|
|
266
267
|
*AsposePdfCloud::PdfApi* | [**get_table**](docs/PdfApi.md#get_table) | **GET** /pdf/\{name}/tables/\{tableId} | Read document page table by ID.
|
|
268
|
+
*AsposePdfCloud::PdfApi* | [**get_te_x_in_storage_to_pdf**](docs/PdfApi.md#get_te_x_in_storage_to_pdf) | **GET** /pdf/create/tex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
267
269
|
*AsposePdfCloud::PdfApi* | [**get_text**](docs/PdfApi.md#get_text) | **GET** /pdf/\{name}/text | Read document text.
|
|
268
270
|
*AsposePdfCloud::PdfApi* | [**get_text_annotation**](docs/PdfApi.md#get_text_annotation) | **GET** /pdf/\{name}/annotations/text/\{annotationId} | Read document page text annotation by ID.
|
|
269
271
|
*AsposePdfCloud::PdfApi* | [**get_text_box_field**](docs/PdfApi.md#get_text_box_field) | **GET** /pdf/\{name}/fields/textbox/\{fieldName} | Read document text box field by name.
|
|
@@ -370,7 +372,7 @@ Class | Method | HTTP request | Description
|
|
|
370
372
|
*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.
|
|
371
373
|
*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.
|
|
372
374
|
*AsposePdfCloud::PdfApi* | [**put_ink_annotation**](docs/PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
|
|
373
|
-
*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
|
|
375
|
+
*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.
|
|
374
376
|
*AsposePdfCloud::PdfApi* | [**put_line_annotation**](docs/PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
|
|
375
377
|
*AsposePdfCloud::PdfApi* | [**put_link_annotation**](docs/PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
|
|
376
378
|
*AsposePdfCloud::PdfApi* | [**put_list_box_field**](docs/PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field
|
|
@@ -390,11 +392,12 @@ Class | Method | HTTP request | Description
|
|
|
390
392
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_doc**](docs/PdfApi.md#put_pdf_in_request_to_doc) | **PUT** /pdf/convert/doc | Converts PDF document (in request content) to DOC format and uploads resulting file to storage.
|
|
391
393
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_epub**](docs/PdfApi.md#put_pdf_in_request_to_epub) | **PUT** /pdf/convert/epub | Converts PDF document (in request content) to EPUB format and uploads resulting file to storage.
|
|
392
394
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_html**](docs/PdfApi.md#put_pdf_in_request_to_html) | **PUT** /pdf/convert/html | Converts PDF document (in request content) to Html format and uploads resulting file to storage.
|
|
393
|
-
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_la_te_x**](docs/PdfApi.md#put_pdf_in_request_to_la_te_x) | **PUT** /pdf/convert/latex | Converts PDF document (in request content) to
|
|
395
|
+
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_la_te_x**](docs/PdfApi.md#put_pdf_in_request_to_la_te_x) | **PUT** /pdf/convert/latex | Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
394
396
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_mobi_xml**](docs/PdfApi.md#put_pdf_in_request_to_mobi_xml) | **PUT** /pdf/convert/mobixml | Converts PDF document (in request content) to MOBIXML format and uploads resulting file to storage.
|
|
395
397
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_pdf_a**](docs/PdfApi.md#put_pdf_in_request_to_pdf_a) | **PUT** /pdf/convert/pdfa | Converts PDF document (in request content) to PdfA format and uploads resulting file to storage.
|
|
396
398
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_pptx**](docs/PdfApi.md#put_pdf_in_request_to_pptx) | **PUT** /pdf/convert/pptx | Converts PDF document (in request content) to PPTX format and uploads resulting file to storage.
|
|
397
399
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_svg**](docs/PdfApi.md#put_pdf_in_request_to_svg) | **PUT** /pdf/convert/svg | Converts PDF document (in request content) to SVG format and uploads resulting file to storage.
|
|
400
|
+
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_te_x**](docs/PdfApi.md#put_pdf_in_request_to_te_x) | **PUT** /pdf/convert/tex | Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
398
401
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_tiff**](docs/PdfApi.md#put_pdf_in_request_to_tiff) | **PUT** /pdf/convert/tiff | Converts PDF document (in request content) to TIFF format and uploads resulting file to storage.
|
|
399
402
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_xls**](docs/PdfApi.md#put_pdf_in_request_to_xls) | **PUT** /pdf/convert/xls | Converts PDF document (in request content) to XLS format and uploads resulting file to storage.
|
|
400
403
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_request_to_xlsx**](docs/PdfApi.md#put_pdf_in_request_to_xlsx) | **PUT** /pdf/convert/xlsx | Converts PDF document (in request content) to XLSX format and uploads resulting file to storage.
|
|
@@ -403,11 +406,12 @@ Class | Method | HTTP request | Description
|
|
|
403
406
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_doc**](docs/PdfApi.md#put_pdf_in_storage_to_doc) | **PUT** /pdf/\{name}/convert/doc | Converts PDF document (located on storage) to DOC format and uploads resulting file to storage
|
|
404
407
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_epub**](docs/PdfApi.md#put_pdf_in_storage_to_epub) | **PUT** /pdf/\{name}/convert/epub | Converts PDF document (located on storage) to EPUB format and uploads resulting file to storage
|
|
405
408
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_html**](docs/PdfApi.md#put_pdf_in_storage_to_html) | **PUT** /pdf/\{name}/convert/html | Converts PDF document (located on storage) to Html format and uploads resulting file to storage
|
|
406
|
-
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_la_te_x**](docs/PdfApi.md#put_pdf_in_storage_to_la_te_x) | **PUT** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to
|
|
409
|
+
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_la_te_x**](docs/PdfApi.md#put_pdf_in_storage_to_la_te_x) | **PUT** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
407
410
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_mobi_xml**](docs/PdfApi.md#put_pdf_in_storage_to_mobi_xml) | **PUT** /pdf/\{name}/convert/mobixml | Converts PDF document (located on storage) to MOBIXML format and uploads resulting file to storage
|
|
408
411
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_pdf_a**](docs/PdfApi.md#put_pdf_in_storage_to_pdf_a) | **PUT** /pdf/\{name}/convert/pdfa | Converts PDF document (located on storage) to PdfA format and uploads resulting file to storage
|
|
409
412
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_pptx**](docs/PdfApi.md#put_pdf_in_storage_to_pptx) | **PUT** /pdf/\{name}/convert/pptx | Converts PDF document (located on storage) to PPTX format and uploads resulting file to storage
|
|
410
413
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_svg**](docs/PdfApi.md#put_pdf_in_storage_to_svg) | **PUT** /pdf/\{name}/convert/svg | Converts PDF document (located on storage) to SVG format and uploads resulting file to storage
|
|
414
|
+
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_te_x**](docs/PdfApi.md#put_pdf_in_storage_to_te_x) | **PUT** /pdf/\{name}/convert/tex | Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
411
415
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_tiff**](docs/PdfApi.md#put_pdf_in_storage_to_tiff) | **PUT** /pdf/\{name}/convert/tiff | Converts PDF document (located on storage) to TIFF format and uploads resulting file to storage
|
|
412
416
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_xls**](docs/PdfApi.md#put_pdf_in_storage_to_xls) | **PUT** /pdf/\{name}/convert/xls | Converts PDF document (located on storage) to XLS format and uploads resulting file to storage
|
|
413
417
|
*AsposePdfCloud::PdfApi* | [**put_pdf_in_storage_to_xlsx**](docs/PdfApi.md#put_pdf_in_storage_to_xlsx) | **PUT** /pdf/\{name}/convert/xlsx | Converts PDF document (located on storage) to XLSX format and uploads resulting file to storage
|
|
@@ -435,6 +439,7 @@ Class | Method | HTTP request | Description
|
|
|
435
439
|
*AsposePdfCloud::PdfApi* | [**put_strike_out_annotation**](docs/PdfApi.md#put_strike_out_annotation) | **PUT** /pdf/\{name}/annotations/strikeout/\{annotationId} | Replace document StrikeOut annotation
|
|
436
440
|
*AsposePdfCloud::PdfApi* | [**put_svg_in_storage_to_pdf**](docs/PdfApi.md#put_svg_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/svg | Convert SVG file (located on storage) to PDF format and upload resulting file to storage.
|
|
437
441
|
*AsposePdfCloud::PdfApi* | [**put_table**](docs/PdfApi.md#put_table) | **PUT** /pdf/\{name}/tables/\{tableId} | Replace document page table.
|
|
442
|
+
*AsposePdfCloud::PdfApi* | [**put_te_x_in_storage_to_pdf**](docs/PdfApi.md#put_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/tex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
438
443
|
*AsposePdfCloud::PdfApi* | [**put_text_annotation**](docs/PdfApi.md#put_text_annotation) | **PUT** /pdf/\{name}/annotations/text/\{annotationId} | Replace document text annotation
|
|
439
444
|
*AsposePdfCloud::PdfApi* | [**put_text_box_field**](docs/PdfApi.md#put_text_box_field) | **PUT** /pdf/\{name}/fields/textbox/\{fieldName} | Replace document text box field
|
|
440
445
|
*AsposePdfCloud::PdfApi* | [**put_underline_annotation**](docs/PdfApi.md#put_underline_annotation) | **PUT** /pdf/\{name}/annotations/underline/\{annotationId} | Replace document underline annotation
|
data/docs/PdfApi.md
CHANGED
|
@@ -97,7 +97,7 @@ 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
|
|
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
101
|
[**get_line_annotation**](PdfApi.md#get_line_annotation) | **GET** /pdf/\{name}/annotations/line/\{annotationId} | Read document page line annotation by ID.
|
|
102
102
|
[**get_link_annotation**](PdfApi.md#get_link_annotation) | **GET** /pdf/\{name}/links/\{linkId} | Read document link annotation by ID.
|
|
103
103
|
[**get_list_box_field**](PdfApi.md#get_list_box_field) | **GET** /pdf/\{name}/fields/listbox/\{fieldName} | Read document listbox field by name.
|
|
@@ -149,11 +149,12 @@ Method | HTTP request | Description
|
|
|
149
149
|
[**get_pdf_in_storage_to_doc**](PdfApi.md#get_pdf_in_storage_to_doc) | **GET** /pdf/\{name}/convert/doc | Converts PDF document (located on storage) to DOC format and returns resulting file in response content
|
|
150
150
|
[**get_pdf_in_storage_to_epub**](PdfApi.md#get_pdf_in_storage_to_epub) | **GET** /pdf/\{name}/convert/epub | Converts PDF document (located on storage) to EPUB format and returns resulting file in response content
|
|
151
151
|
[**get_pdf_in_storage_to_html**](PdfApi.md#get_pdf_in_storage_to_html) | **GET** /pdf/\{name}/convert/html | Converts PDF document (located on storage) to Html format and returns resulting file in response content
|
|
152
|
-
[**get_pdf_in_storage_to_la_te_x**](PdfApi.md#get_pdf_in_storage_to_la_te_x) | **GET** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to
|
|
152
|
+
[**get_pdf_in_storage_to_la_te_x**](PdfApi.md#get_pdf_in_storage_to_la_te_x) | **GET** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
153
153
|
[**get_pdf_in_storage_to_mobi_xml**](PdfApi.md#get_pdf_in_storage_to_mobi_xml) | **GET** /pdf/\{name}/convert/mobixml | Converts PDF document (located on storage) to MOBIXML format and returns resulting file in response content
|
|
154
154
|
[**get_pdf_in_storage_to_pdf_a**](PdfApi.md#get_pdf_in_storage_to_pdf_a) | **GET** /pdf/\{name}/convert/pdfa | Converts PDF document (located on storage) to PdfA format and returns resulting file in response content
|
|
155
155
|
[**get_pdf_in_storage_to_pptx**](PdfApi.md#get_pdf_in_storage_to_pptx) | **GET** /pdf/\{name}/convert/pptx | Converts PDF document (located on storage) to PPTX format and returns resulting file in response content
|
|
156
156
|
[**get_pdf_in_storage_to_svg**](PdfApi.md#get_pdf_in_storage_to_svg) | **GET** /pdf/\{name}/convert/svg | Converts PDF document (located on storage) to SVG format and returns resulting file in response content
|
|
157
|
+
[**get_pdf_in_storage_to_te_x**](PdfApi.md#get_pdf_in_storage_to_te_x) | **GET** /pdf/\{name}/convert/tex | Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
157
158
|
[**get_pdf_in_storage_to_tiff**](PdfApi.md#get_pdf_in_storage_to_tiff) | **GET** /pdf/\{name}/convert/tiff | Converts PDF document (located on storage) to TIFF format and returns resulting file in response content
|
|
158
159
|
[**get_pdf_in_storage_to_xls**](PdfApi.md#get_pdf_in_storage_to_xls) | **GET** /pdf/\{name}/convert/xls | Converts PDF document (located on storage) to XLS format and returns resulting file in response content
|
|
159
160
|
[**get_pdf_in_storage_to_xlsx**](PdfApi.md#get_pdf_in_storage_to_xlsx) | **GET** /pdf/\{name}/convert/xlsx | Converts PDF document (located on storage) to XLSX format and returns resulting file in response content
|
|
@@ -177,6 +178,7 @@ Method | HTTP request | Description
|
|
|
177
178
|
[**get_strike_out_annotation**](PdfApi.md#get_strike_out_annotation) | **GET** /pdf/\{name}/annotations/strikeout/\{annotationId} | Read document page StrikeOut annotation by ID.
|
|
178
179
|
[**get_svg_in_storage_to_pdf**](PdfApi.md#get_svg_in_storage_to_pdf) | **GET** /pdf/create/svg | Convert SVG file (located on storage) to PDF format and return resulting file in response.
|
|
179
180
|
[**get_table**](PdfApi.md#get_table) | **GET** /pdf/\{name}/tables/\{tableId} | Read document page table by ID.
|
|
181
|
+
[**get_te_x_in_storage_to_pdf**](PdfApi.md#get_te_x_in_storage_to_pdf) | **GET** /pdf/create/tex | Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
180
182
|
[**get_text**](PdfApi.md#get_text) | **GET** /pdf/\{name}/text | Read document text.
|
|
181
183
|
[**get_text_annotation**](PdfApi.md#get_text_annotation) | **GET** /pdf/\{name}/annotations/text/\{annotationId} | Read document page text annotation by ID.
|
|
182
184
|
[**get_text_box_field**](PdfApi.md#get_text_box_field) | **GET** /pdf/\{name}/fields/textbox/\{fieldName} | Read document text box field by name.
|
|
@@ -283,7 +285,7 @@ Method | HTTP request | Description
|
|
|
283
285
|
[**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.
|
|
284
286
|
[**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.
|
|
285
287
|
[**put_ink_annotation**](PdfApi.md#put_ink_annotation) | **PUT** /pdf/\{name}/annotations/ink/\{annotationId} | Replace document ink annotation
|
|
286
|
-
[**put_la_te_x_in_storage_to_pdf**](PdfApi.md#put_la_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/latex | Convert
|
|
288
|
+
[**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.
|
|
287
289
|
[**put_line_annotation**](PdfApi.md#put_line_annotation) | **PUT** /pdf/\{name}/annotations/line/\{annotationId} | Replace document line annotation
|
|
288
290
|
[**put_link_annotation**](PdfApi.md#put_link_annotation) | **PUT** /pdf/\{name}/links/\{linkId} | Replace document page link annotations
|
|
289
291
|
[**put_list_box_field**](PdfApi.md#put_list_box_field) | **PUT** /pdf/\{name}/fields/listbox/\{fieldName} | Replace document listbox field
|
|
@@ -303,11 +305,12 @@ Method | HTTP request | Description
|
|
|
303
305
|
[**put_pdf_in_request_to_doc**](PdfApi.md#put_pdf_in_request_to_doc) | **PUT** /pdf/convert/doc | Converts PDF document (in request content) to DOC format and uploads resulting file to storage.
|
|
304
306
|
[**put_pdf_in_request_to_epub**](PdfApi.md#put_pdf_in_request_to_epub) | **PUT** /pdf/convert/epub | Converts PDF document (in request content) to EPUB format and uploads resulting file to storage.
|
|
305
307
|
[**put_pdf_in_request_to_html**](PdfApi.md#put_pdf_in_request_to_html) | **PUT** /pdf/convert/html | Converts PDF document (in request content) to Html format and uploads resulting file to storage.
|
|
306
|
-
[**put_pdf_in_request_to_la_te_x**](PdfApi.md#put_pdf_in_request_to_la_te_x) | **PUT** /pdf/convert/latex | Converts PDF document (in request content) to
|
|
308
|
+
[**put_pdf_in_request_to_la_te_x**](PdfApi.md#put_pdf_in_request_to_la_te_x) | **PUT** /pdf/convert/latex | Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
307
309
|
[**put_pdf_in_request_to_mobi_xml**](PdfApi.md#put_pdf_in_request_to_mobi_xml) | **PUT** /pdf/convert/mobixml | Converts PDF document (in request content) to MOBIXML format and uploads resulting file to storage.
|
|
308
310
|
[**put_pdf_in_request_to_pdf_a**](PdfApi.md#put_pdf_in_request_to_pdf_a) | **PUT** /pdf/convert/pdfa | Converts PDF document (in request content) to PdfA format and uploads resulting file to storage.
|
|
309
311
|
[**put_pdf_in_request_to_pptx**](PdfApi.md#put_pdf_in_request_to_pptx) | **PUT** /pdf/convert/pptx | Converts PDF document (in request content) to PPTX format and uploads resulting file to storage.
|
|
310
312
|
[**put_pdf_in_request_to_svg**](PdfApi.md#put_pdf_in_request_to_svg) | **PUT** /pdf/convert/svg | Converts PDF document (in request content) to SVG format and uploads resulting file to storage.
|
|
313
|
+
[**put_pdf_in_request_to_te_x**](PdfApi.md#put_pdf_in_request_to_te_x) | **PUT** /pdf/convert/tex | Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
311
314
|
[**put_pdf_in_request_to_tiff**](PdfApi.md#put_pdf_in_request_to_tiff) | **PUT** /pdf/convert/tiff | Converts PDF document (in request content) to TIFF format and uploads resulting file to storage.
|
|
312
315
|
[**put_pdf_in_request_to_xls**](PdfApi.md#put_pdf_in_request_to_xls) | **PUT** /pdf/convert/xls | Converts PDF document (in request content) to XLS format and uploads resulting file to storage.
|
|
313
316
|
[**put_pdf_in_request_to_xlsx**](PdfApi.md#put_pdf_in_request_to_xlsx) | **PUT** /pdf/convert/xlsx | Converts PDF document (in request content) to XLSX format and uploads resulting file to storage.
|
|
@@ -316,11 +319,12 @@ Method | HTTP request | Description
|
|
|
316
319
|
[**put_pdf_in_storage_to_doc**](PdfApi.md#put_pdf_in_storage_to_doc) | **PUT** /pdf/\{name}/convert/doc | Converts PDF document (located on storage) to DOC format and uploads resulting file to storage
|
|
317
320
|
[**put_pdf_in_storage_to_epub**](PdfApi.md#put_pdf_in_storage_to_epub) | **PUT** /pdf/\{name}/convert/epub | Converts PDF document (located on storage) to EPUB format and uploads resulting file to storage
|
|
318
321
|
[**put_pdf_in_storage_to_html**](PdfApi.md#put_pdf_in_storage_to_html) | **PUT** /pdf/\{name}/convert/html | Converts PDF document (located on storage) to Html format and uploads resulting file to storage
|
|
319
|
-
[**put_pdf_in_storage_to_la_te_x**](PdfApi.md#put_pdf_in_storage_to_la_te_x) | **PUT** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to
|
|
322
|
+
[**put_pdf_in_storage_to_la_te_x**](PdfApi.md#put_pdf_in_storage_to_la_te_x) | **PUT** /pdf/\{name}/convert/latex | Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
320
323
|
[**put_pdf_in_storage_to_mobi_xml**](PdfApi.md#put_pdf_in_storage_to_mobi_xml) | **PUT** /pdf/\{name}/convert/mobixml | Converts PDF document (located on storage) to MOBIXML format and uploads resulting file to storage
|
|
321
324
|
[**put_pdf_in_storage_to_pdf_a**](PdfApi.md#put_pdf_in_storage_to_pdf_a) | **PUT** /pdf/\{name}/convert/pdfa | Converts PDF document (located on storage) to PdfA format and uploads resulting file to storage
|
|
322
325
|
[**put_pdf_in_storage_to_pptx**](PdfApi.md#put_pdf_in_storage_to_pptx) | **PUT** /pdf/\{name}/convert/pptx | Converts PDF document (located on storage) to PPTX format and uploads resulting file to storage
|
|
323
326
|
[**put_pdf_in_storage_to_svg**](PdfApi.md#put_pdf_in_storage_to_svg) | **PUT** /pdf/\{name}/convert/svg | Converts PDF document (located on storage) to SVG format and uploads resulting file to storage
|
|
327
|
+
[**put_pdf_in_storage_to_te_x**](PdfApi.md#put_pdf_in_storage_to_te_x) | **PUT** /pdf/\{name}/convert/tex | Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
324
328
|
[**put_pdf_in_storage_to_tiff**](PdfApi.md#put_pdf_in_storage_to_tiff) | **PUT** /pdf/\{name}/convert/tiff | Converts PDF document (located on storage) to TIFF format and uploads resulting file to storage
|
|
325
329
|
[**put_pdf_in_storage_to_xls**](PdfApi.md#put_pdf_in_storage_to_xls) | **PUT** /pdf/\{name}/convert/xls | Converts PDF document (located on storage) to XLS format and uploads resulting file to storage
|
|
326
330
|
[**put_pdf_in_storage_to_xlsx**](PdfApi.md#put_pdf_in_storage_to_xlsx) | **PUT** /pdf/\{name}/convert/xlsx | Converts PDF document (located on storage) to XLSX format and uploads resulting file to storage
|
|
@@ -348,6 +352,7 @@ Method | HTTP request | Description
|
|
|
348
352
|
[**put_strike_out_annotation**](PdfApi.md#put_strike_out_annotation) | **PUT** /pdf/\{name}/annotations/strikeout/\{annotationId} | Replace document StrikeOut annotation
|
|
349
353
|
[**put_svg_in_storage_to_pdf**](PdfApi.md#put_svg_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/svg | Convert SVG file (located on storage) to PDF format and upload resulting file to storage.
|
|
350
354
|
[**put_table**](PdfApi.md#put_table) | **PUT** /pdf/\{name}/tables/\{tableId} | Replace document page table.
|
|
355
|
+
[**put_te_x_in_storage_to_pdf**](PdfApi.md#put_te_x_in_storage_to_pdf) | **PUT** /pdf/\{name}/create/tex | Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
351
356
|
[**put_text_annotation**](PdfApi.md#put_text_annotation) | **PUT** /pdf/\{name}/annotations/text/\{annotationId} | Replace document text annotation
|
|
352
357
|
[**put_text_box_field**](PdfApi.md#put_text_box_field) | **PUT** /pdf/\{name}/fields/textbox/\{fieldName} | Replace document text box field
|
|
353
358
|
[**put_underline_annotation**](PdfApi.md#put_underline_annotation) | **PUT** /pdf/\{name}/annotations/underline/\{annotationId} | Replace document underline annotation
|
|
@@ -2648,7 +2653,7 @@ Name | Type | Description | Notes
|
|
|
2648
2653
|
# **get_la_te_x_in_storage_to_pdf**
|
|
2649
2654
|
> File get_la_te_x_in_storage_to_pdf(src_path, opts)
|
|
2650
2655
|
|
|
2651
|
-
Convert
|
|
2656
|
+
Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
2652
2657
|
|
|
2653
2658
|
### Parameters
|
|
2654
2659
|
|
|
@@ -3993,7 +3998,7 @@ Name | Type | Description | Notes
|
|
|
3993
3998
|
# **get_pdf_in_storage_to_la_te_x**
|
|
3994
3999
|
> File get_pdf_in_storage_to_la_te_x(name, opts)
|
|
3995
4000
|
|
|
3996
|
-
Converts PDF document (located on storage) to
|
|
4001
|
+
Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
3997
4002
|
|
|
3998
4003
|
### Parameters
|
|
3999
4004
|
|
|
@@ -4114,6 +4119,30 @@ Name | Type | Description | Notes
|
|
|
4114
4119
|
|
|
4115
4120
|
|
|
4116
4121
|
|
|
4122
|
+
# **get_pdf_in_storage_to_te_x**
|
|
4123
|
+
> File get_pdf_in_storage_to_te_x(name, opts)
|
|
4124
|
+
|
|
4125
|
+
Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
4126
|
+
|
|
4127
|
+
### Parameters
|
|
4128
|
+
|
|
4129
|
+
Name | Type | Description | Notes
|
|
4130
|
+
------------- | ------------- | ------------- | -------------
|
|
4131
|
+
**name** | **String**| The document name. |
|
|
4132
|
+
**folder** | **String**| The document folder. | [optional]
|
|
4133
|
+
**storage** | **String**| The document storage. | [optional]
|
|
4134
|
+
|
|
4135
|
+
### Return type
|
|
4136
|
+
|
|
4137
|
+
**File**
|
|
4138
|
+
|
|
4139
|
+
### HTTP request headers
|
|
4140
|
+
|
|
4141
|
+
- **Content-Type**: application/json
|
|
4142
|
+
- **Accept**: multipart/form-data
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
|
|
4117
4146
|
# **get_pdf_in_storage_to_tiff**
|
|
4118
4147
|
> File get_pdf_in_storage_to_tiff(name, opts)
|
|
4119
4148
|
|
|
@@ -4711,6 +4740,29 @@ Name | Type | Description | Notes
|
|
|
4711
4740
|
|
|
4712
4741
|
|
|
4713
4742
|
|
|
4743
|
+
# **get_te_x_in_storage_to_pdf**
|
|
4744
|
+
> File get_te_x_in_storage_to_pdf(src_path, opts)
|
|
4745
|
+
|
|
4746
|
+
Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
4747
|
+
|
|
4748
|
+
### Parameters
|
|
4749
|
+
|
|
4750
|
+
Name | Type | Description | Notes
|
|
4751
|
+
------------- | ------------- | ------------- | -------------
|
|
4752
|
+
**src_path** | **String**| Full source filename (ex. /folder1/folder2/template.tex) |
|
|
4753
|
+
**storage** | **String**| The document storage. | [optional]
|
|
4754
|
+
|
|
4755
|
+
### Return type
|
|
4756
|
+
|
|
4757
|
+
**File**
|
|
4758
|
+
|
|
4759
|
+
### HTTP request headers
|
|
4760
|
+
|
|
4761
|
+
- **Content-Type**: application/json
|
|
4762
|
+
- **Accept**: multipart/form-data
|
|
4763
|
+
|
|
4764
|
+
|
|
4765
|
+
|
|
4714
4766
|
# **get_text**
|
|
4715
4767
|
> TextRectsResponse get_text(name, llx, lly, urx, ury, opts)
|
|
4716
4768
|
|
|
@@ -7476,7 +7528,7 @@ Name | Type | Description | Notes
|
|
|
7476
7528
|
# **put_la_te_x_in_storage_to_pdf**
|
|
7477
7529
|
> AsposeResponse put_la_te_x_in_storage_to_pdf(name, src_path, opts)
|
|
7478
7530
|
|
|
7479
|
-
Convert
|
|
7531
|
+
Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
7480
7532
|
|
|
7481
7533
|
### Parameters
|
|
7482
7534
|
|
|
@@ -8035,7 +8087,7 @@ Name | Type | Description | Notes
|
|
|
8035
8087
|
# **put_pdf_in_request_to_la_te_x**
|
|
8036
8088
|
> AsposeResponse put_pdf_in_request_to_la_te_x(out_path, opts)
|
|
8037
8089
|
|
|
8038
|
-
Converts PDF document (in request content) to
|
|
8090
|
+
Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
8039
8091
|
|
|
8040
8092
|
### Parameters
|
|
8041
8093
|
|
|
@@ -8155,6 +8207,30 @@ Name | Type | Description | Notes
|
|
|
8155
8207
|
|
|
8156
8208
|
|
|
8157
8209
|
|
|
8210
|
+
# **put_pdf_in_request_to_te_x**
|
|
8211
|
+
> AsposeResponse put_pdf_in_request_to_te_x(out_path, opts)
|
|
8212
|
+
|
|
8213
|
+
Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
8214
|
+
|
|
8215
|
+
### Parameters
|
|
8216
|
+
|
|
8217
|
+
Name | Type | Description | Notes
|
|
8218
|
+
------------- | ------------- | ------------- | -------------
|
|
8219
|
+
**out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.tex) |
|
|
8220
|
+
**storage** | **String**| The document storage. | [optional]
|
|
8221
|
+
**file** | **File**| A file to be converted. | [optional]
|
|
8222
|
+
|
|
8223
|
+
### Return type
|
|
8224
|
+
|
|
8225
|
+
[**AsposeResponse**](AsposeResponse.md)
|
|
8226
|
+
|
|
8227
|
+
### HTTP request headers
|
|
8228
|
+
|
|
8229
|
+
- **Content-Type**: multipart/form-data
|
|
8230
|
+
- **Accept**: application/json
|
|
8231
|
+
|
|
8232
|
+
|
|
8233
|
+
|
|
8158
8234
|
# **put_pdf_in_request_to_tiff**
|
|
8159
8235
|
> AsposeResponse put_pdf_in_request_to_tiff(out_path, opts)
|
|
8160
8236
|
|
|
@@ -8414,7 +8490,7 @@ Name | Type | Description | Notes
|
|
|
8414
8490
|
# **put_pdf_in_storage_to_la_te_x**
|
|
8415
8491
|
> AsposeResponse put_pdf_in_storage_to_la_te_x(name, out_path, opts)
|
|
8416
8492
|
|
|
8417
|
-
Converts PDF document (located on storage) to
|
|
8493
|
+
Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
8418
8494
|
|
|
8419
8495
|
### Parameters
|
|
8420
8496
|
|
|
@@ -8539,6 +8615,31 @@ Name | Type | Description | Notes
|
|
|
8539
8615
|
|
|
8540
8616
|
|
|
8541
8617
|
|
|
8618
|
+
# **put_pdf_in_storage_to_te_x**
|
|
8619
|
+
> AsposeResponse put_pdf_in_storage_to_te_x(name, out_path, opts)
|
|
8620
|
+
|
|
8621
|
+
Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
8622
|
+
|
|
8623
|
+
### Parameters
|
|
8624
|
+
|
|
8625
|
+
Name | Type | Description | Notes
|
|
8626
|
+
------------- | ------------- | ------------- | -------------
|
|
8627
|
+
**name** | **String**| The document name. |
|
|
8628
|
+
**out_path** | **String**| Full resulting filename (ex. /folder1/folder2/result.tex) |
|
|
8629
|
+
**folder** | **String**| The document folder. | [optional]
|
|
8630
|
+
**storage** | **String**| The document storage. | [optional]
|
|
8631
|
+
|
|
8632
|
+
### Return type
|
|
8633
|
+
|
|
8634
|
+
[**AsposeResponse**](AsposeResponse.md)
|
|
8635
|
+
|
|
8636
|
+
### HTTP request headers
|
|
8637
|
+
|
|
8638
|
+
- **Content-Type**: application/json
|
|
8639
|
+
- **Accept**: application/json
|
|
8640
|
+
|
|
8641
|
+
|
|
8642
|
+
|
|
8542
8643
|
# **put_pdf_in_storage_to_tiff**
|
|
8543
8644
|
> AsposeResponse put_pdf_in_storage_to_tiff(name, out_path, opts)
|
|
8544
8645
|
|
|
@@ -9264,6 +9365,31 @@ Name | Type | Description | Notes
|
|
|
9264
9365
|
|
|
9265
9366
|
|
|
9266
9367
|
|
|
9368
|
+
# **put_te_x_in_storage_to_pdf**
|
|
9369
|
+
> AsposeResponse put_te_x_in_storage_to_pdf(name, src_path, opts)
|
|
9370
|
+
|
|
9371
|
+
Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
9372
|
+
|
|
9373
|
+
### Parameters
|
|
9374
|
+
|
|
9375
|
+
Name | Type | Description | Notes
|
|
9376
|
+
------------- | ------------- | ------------- | -------------
|
|
9377
|
+
**name** | **String**| The document name. |
|
|
9378
|
+
**src_path** | **String**| Full source filename (ex. /folder1/folder2/template.tex) |
|
|
9379
|
+
**dst_folder** | **String**| The destination document folder. | [optional]
|
|
9380
|
+
**storage** | **String**| The document storage. | [optional]
|
|
9381
|
+
|
|
9382
|
+
### Return type
|
|
9383
|
+
|
|
9384
|
+
[**AsposeResponse**](AsposeResponse.md)
|
|
9385
|
+
|
|
9386
|
+
### HTTP request headers
|
|
9387
|
+
|
|
9388
|
+
- **Content-Type**: application/json
|
|
9389
|
+
- **Accept**: application/json
|
|
9390
|
+
|
|
9391
|
+
|
|
9392
|
+
|
|
9267
9393
|
# **put_text_annotation**
|
|
9268
9394
|
> TextAnnotationResponse put_text_annotation(name, annotation_id, annotation, opts)
|
|
9269
9395
|
|
|
@@ -6997,7 +6997,7 @@ module AsposePdfCloud
|
|
|
6997
6997
|
return data, status_code, headers
|
|
6998
6998
|
end
|
|
6999
6999
|
|
|
7000
|
-
# Convert
|
|
7000
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
7001
7001
|
#
|
|
7002
7002
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
7003
7003
|
# @param [Hash] opts the optional parameters
|
|
@@ -7016,7 +7016,7 @@ module AsposePdfCloud
|
|
|
7016
7016
|
return data
|
|
7017
7017
|
end
|
|
7018
7018
|
|
|
7019
|
-
# Convert
|
|
7019
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
7020
7020
|
#
|
|
7021
7021
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
7022
7022
|
# @param [Hash] opts the optional parameters
|
|
@@ -11218,7 +11218,7 @@ module AsposePdfCloud
|
|
|
11218
11218
|
return data, status_code, headers
|
|
11219
11219
|
end
|
|
11220
11220
|
|
|
11221
|
-
# Converts PDF document (located on storage) to
|
|
11221
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
11222
11222
|
#
|
|
11223
11223
|
# @param name The document name.
|
|
11224
11224
|
# @param [Hash] opts the optional parameters
|
|
@@ -11238,7 +11238,7 @@ module AsposePdfCloud
|
|
|
11238
11238
|
return data
|
|
11239
11239
|
end
|
|
11240
11240
|
|
|
11241
|
-
# Converts PDF document (located on storage) to
|
|
11241
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
11242
11242
|
#
|
|
11243
11243
|
# @param name The document name.
|
|
11244
11244
|
# @param [Hash] opts the optional parameters
|
|
@@ -11598,6 +11598,78 @@ module AsposePdfCloud
|
|
|
11598
11598
|
return data, status_code, headers
|
|
11599
11599
|
end
|
|
11600
11600
|
|
|
11601
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
11602
|
+
#
|
|
11603
|
+
# @param name The document name.
|
|
11604
|
+
# @param [Hash] opts the optional parameters
|
|
11605
|
+
# @option opts [String] :folder The document folder.
|
|
11606
|
+
# @option opts [String] :storage The document storage.
|
|
11607
|
+
# @return [File]
|
|
11608
|
+
def get_pdf_in_storage_to_te_x(name, opts = {})
|
|
11609
|
+
@api_client.request_token_if_needed
|
|
11610
|
+
data, _status_code, _headers = get_pdf_in_storage_to_te_x_with_http_info(name, opts)
|
|
11611
|
+
rescue ApiError => error
|
|
11612
|
+
if error.code == 401
|
|
11613
|
+
@api_client.request_token_if_needed
|
|
11614
|
+
data, _status_code, _headers = get_pdf_in_storage_to_te_x_with_http_info(name, opts)
|
|
11615
|
+
else
|
|
11616
|
+
raise
|
|
11617
|
+
end
|
|
11618
|
+
return data
|
|
11619
|
+
end
|
|
11620
|
+
|
|
11621
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
|
11622
|
+
#
|
|
11623
|
+
# @param name The document name.
|
|
11624
|
+
# @param [Hash] opts the optional parameters
|
|
11625
|
+
# @option opts [String] :folder The document folder.
|
|
11626
|
+
# @option opts [String] :storage The document storage.
|
|
11627
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
|
11628
|
+
def get_pdf_in_storage_to_te_x_with_http_info(name, opts = {})
|
|
11629
|
+
if @api_client.config.debugging
|
|
11630
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_pdf_in_storage_to_te_x ..."
|
|
11631
|
+
end
|
|
11632
|
+
# verify the required parameter 'name' is set
|
|
11633
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
11634
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_pdf_in_storage_to_te_x"
|
|
11635
|
+
end
|
|
11636
|
+
# resource path
|
|
11637
|
+
local_var_path = "/pdf/{name}/convert/tex".sub('{' + 'name' + '}', name.to_s)
|
|
11638
|
+
|
|
11639
|
+
# query parameters
|
|
11640
|
+
query_params = {}
|
|
11641
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
|
11642
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
|
11643
|
+
|
|
11644
|
+
# header parameters
|
|
11645
|
+
header_params = {}
|
|
11646
|
+
# HTTP header 'Accept' (if needed)
|
|
11647
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
|
11648
|
+
# HTTP header 'Content-Type'
|
|
11649
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
11650
|
+
|
|
11651
|
+
# form parameters
|
|
11652
|
+
form_params = {}
|
|
11653
|
+
# Fix header in file
|
|
11654
|
+
post_body = nil
|
|
11655
|
+
|
|
11656
|
+
# http body (model)
|
|
11657
|
+
# Fix header in file
|
|
11658
|
+
# post_body = nil
|
|
11659
|
+
auth_names = ['JWT']
|
|
11660
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
11661
|
+
:header_params => header_params,
|
|
11662
|
+
:query_params => query_params,
|
|
11663
|
+
:form_params => form_params,
|
|
11664
|
+
:body => post_body,
|
|
11665
|
+
:auth_names => auth_names,
|
|
11666
|
+
:return_type => 'File')
|
|
11667
|
+
if @api_client.config.debugging
|
|
11668
|
+
@api_client.config.logger.debug "API called: PdfApi#get_pdf_in_storage_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11669
|
+
end
|
|
11670
|
+
return data, status_code, headers
|
|
11671
|
+
end
|
|
11672
|
+
|
|
11601
11673
|
# Converts PDF document (located on storage) to TIFF format and returns resulting file in response content
|
|
11602
11674
|
#
|
|
11603
11675
|
# @param name The document name.
|
|
@@ -13448,6 +13520,76 @@ module AsposePdfCloud
|
|
|
13448
13520
|
return data, status_code, headers
|
|
13449
13521
|
end
|
|
13450
13522
|
|
|
13523
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
13524
|
+
#
|
|
13525
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
13526
|
+
# @param [Hash] opts the optional parameters
|
|
13527
|
+
# @option opts [String] :storage The document storage.
|
|
13528
|
+
# @return [File]
|
|
13529
|
+
def get_te_x_in_storage_to_pdf(src_path, opts = {})
|
|
13530
|
+
@api_client.request_token_if_needed
|
|
13531
|
+
data, _status_code, _headers = get_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
|
|
13532
|
+
rescue ApiError => error
|
|
13533
|
+
if error.code == 401
|
|
13534
|
+
@api_client.request_token_if_needed
|
|
13535
|
+
data, _status_code, _headers = get_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
|
|
13536
|
+
else
|
|
13537
|
+
raise
|
|
13538
|
+
end
|
|
13539
|
+
return data
|
|
13540
|
+
end
|
|
13541
|
+
|
|
13542
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
|
13543
|
+
#
|
|
13544
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
13545
|
+
# @param [Hash] opts the optional parameters
|
|
13546
|
+
# @option opts [String] :storage The document storage.
|
|
13547
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
|
13548
|
+
def get_te_x_in_storage_to_pdf_with_http_info(src_path, opts = {})
|
|
13549
|
+
if @api_client.config.debugging
|
|
13550
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_te_x_in_storage_to_pdf ..."
|
|
13551
|
+
end
|
|
13552
|
+
# verify the required parameter 'src_path' is set
|
|
13553
|
+
if @api_client.config.client_side_validation && src_path.nil?
|
|
13554
|
+
fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.get_te_x_in_storage_to_pdf"
|
|
13555
|
+
end
|
|
13556
|
+
# resource path
|
|
13557
|
+
local_var_path = "/pdf/create/tex"
|
|
13558
|
+
|
|
13559
|
+
# query parameters
|
|
13560
|
+
query_params = {}
|
|
13561
|
+
query_params[:'srcPath'] = src_path
|
|
13562
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
|
13563
|
+
|
|
13564
|
+
# header parameters
|
|
13565
|
+
header_params = {}
|
|
13566
|
+
# HTTP header 'Accept' (if needed)
|
|
13567
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
|
13568
|
+
# HTTP header 'Content-Type'
|
|
13569
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
13570
|
+
|
|
13571
|
+
# form parameters
|
|
13572
|
+
form_params = {}
|
|
13573
|
+
# Fix header in file
|
|
13574
|
+
post_body = nil
|
|
13575
|
+
|
|
13576
|
+
# http body (model)
|
|
13577
|
+
# Fix header in file
|
|
13578
|
+
# post_body = nil
|
|
13579
|
+
auth_names = ['JWT']
|
|
13580
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
13581
|
+
:header_params => header_params,
|
|
13582
|
+
:query_params => query_params,
|
|
13583
|
+
:form_params => form_params,
|
|
13584
|
+
:body => post_body,
|
|
13585
|
+
:auth_names => auth_names,
|
|
13586
|
+
:return_type => 'File')
|
|
13587
|
+
if @api_client.config.debugging
|
|
13588
|
+
@api_client.config.logger.debug "API called: PdfApi#get_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13589
|
+
end
|
|
13590
|
+
return data, status_code, headers
|
|
13591
|
+
end
|
|
13592
|
+
|
|
13451
13593
|
# Read document text.
|
|
13452
13594
|
#
|
|
13453
13595
|
# @param name The document name.
|
|
@@ -22179,7 +22321,7 @@ module AsposePdfCloud
|
|
|
22179
22321
|
return data, status_code, headers
|
|
22180
22322
|
end
|
|
22181
22323
|
|
|
22182
|
-
# Convert
|
|
22324
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
22183
22325
|
#
|
|
22184
22326
|
# @param name The document name.
|
|
22185
22327
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
@@ -22200,7 +22342,7 @@ module AsposePdfCloud
|
|
|
22200
22342
|
return data
|
|
22201
22343
|
end
|
|
22202
22344
|
|
|
22203
|
-
# Convert
|
|
22345
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
22204
22346
|
#
|
|
22205
22347
|
# @param name The document name.
|
|
22206
22348
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
@@ -23984,7 +24126,7 @@ module AsposePdfCloud
|
|
|
23984
24126
|
return data, status_code, headers
|
|
23985
24127
|
end
|
|
23986
24128
|
|
|
23987
|
-
# Converts PDF document (in request content) to
|
|
24129
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
23988
24130
|
#
|
|
23989
24131
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
23990
24132
|
# @param [Hash] opts the optional parameters
|
|
@@ -24004,7 +24146,7 @@ module AsposePdfCloud
|
|
|
24004
24146
|
return data
|
|
24005
24147
|
end
|
|
24006
24148
|
|
|
24007
|
-
# Converts PDF document (in request content) to
|
|
24149
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
24008
24150
|
#
|
|
24009
24151
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
24010
24152
|
# @param [Hash] opts the optional parameters
|
|
@@ -24371,6 +24513,80 @@ module AsposePdfCloud
|
|
|
24371
24513
|
return data, status_code, headers
|
|
24372
24514
|
end
|
|
24373
24515
|
|
|
24516
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
24517
|
+
#
|
|
24518
|
+
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
24519
|
+
# @param [Hash] opts the optional parameters
|
|
24520
|
+
# @option opts [String] :storage The document storage.
|
|
24521
|
+
# @option opts [File] :file A file to be converted.
|
|
24522
|
+
# @return [AsposeResponse]
|
|
24523
|
+
def put_pdf_in_request_to_te_x(out_path, opts = {})
|
|
24524
|
+
@api_client.request_token_if_needed
|
|
24525
|
+
data, _status_code, _headers = put_pdf_in_request_to_te_x_with_http_info(out_path, opts)
|
|
24526
|
+
rescue ApiError => error
|
|
24527
|
+
if error.code == 401
|
|
24528
|
+
@api_client.request_token_if_needed
|
|
24529
|
+
data, _status_code, _headers = put_pdf_in_request_to_te_x_with_http_info(out_path, opts)
|
|
24530
|
+
else
|
|
24531
|
+
raise
|
|
24532
|
+
end
|
|
24533
|
+
return data
|
|
24534
|
+
end
|
|
24535
|
+
|
|
24536
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
|
24537
|
+
#
|
|
24538
|
+
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
24539
|
+
# @param [Hash] opts the optional parameters
|
|
24540
|
+
# @option opts [String] :storage The document storage.
|
|
24541
|
+
# @option opts [File] :file A file to be converted.
|
|
24542
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
|
24543
|
+
def put_pdf_in_request_to_te_x_with_http_info(out_path, opts = {})
|
|
24544
|
+
if @api_client.config.debugging
|
|
24545
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_pdf_in_request_to_te_x ..."
|
|
24546
|
+
end
|
|
24547
|
+
# verify the required parameter 'out_path' is set
|
|
24548
|
+
if @api_client.config.client_side_validation && out_path.nil?
|
|
24549
|
+
fail ArgumentError, "Missing the required parameter 'out_path' when calling PdfApi.put_pdf_in_request_to_te_x"
|
|
24550
|
+
end
|
|
24551
|
+
# resource path
|
|
24552
|
+
local_var_path = "/pdf/convert/tex"
|
|
24553
|
+
|
|
24554
|
+
# query parameters
|
|
24555
|
+
query_params = {}
|
|
24556
|
+
query_params[:'outPath'] = out_path
|
|
24557
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
|
24558
|
+
|
|
24559
|
+
# header parameters
|
|
24560
|
+
header_params = {}
|
|
24561
|
+
# HTTP header 'Accept' (if needed)
|
|
24562
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
24563
|
+
# HTTP header 'Content-Type'
|
|
24564
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
|
24565
|
+
|
|
24566
|
+
# form parameters
|
|
24567
|
+
form_params = {}
|
|
24568
|
+
# Fix header in file
|
|
24569
|
+
post_body = nil
|
|
24570
|
+
post_body = opts[:'file'] if !opts[:'file'].nil?
|
|
24571
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
|
|
24572
|
+
|
|
24573
|
+
# http body (model)
|
|
24574
|
+
# Fix header in file
|
|
24575
|
+
# post_body = nil
|
|
24576
|
+
auth_names = ['JWT']
|
|
24577
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
24578
|
+
:header_params => header_params,
|
|
24579
|
+
:query_params => query_params,
|
|
24580
|
+
:form_params => form_params,
|
|
24581
|
+
:body => post_body,
|
|
24582
|
+
:auth_names => auth_names,
|
|
24583
|
+
:return_type => 'AsposeResponse')
|
|
24584
|
+
if @api_client.config.debugging
|
|
24585
|
+
@api_client.config.logger.debug "API called: PdfApi#put_pdf_in_request_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
24586
|
+
end
|
|
24587
|
+
return data, status_code, headers
|
|
24588
|
+
end
|
|
24589
|
+
|
|
24374
24590
|
# Converts PDF document (in request content) to TIFF format and uploads resulting file to storage.
|
|
24375
24591
|
#
|
|
24376
24592
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tiff)
|
|
@@ -25203,7 +25419,7 @@ module AsposePdfCloud
|
|
|
25203
25419
|
return data, status_code, headers
|
|
25204
25420
|
end
|
|
25205
25421
|
|
|
25206
|
-
# Converts PDF document (located on storage) to
|
|
25422
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
25207
25423
|
#
|
|
25208
25424
|
# @param name The document name.
|
|
25209
25425
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
@@ -25224,7 +25440,7 @@ module AsposePdfCloud
|
|
|
25224
25440
|
return data
|
|
25225
25441
|
end
|
|
25226
25442
|
|
|
25227
|
-
# Converts PDF document (located on storage) to
|
|
25443
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
25228
25444
|
#
|
|
25229
25445
|
# @param name The document name.
|
|
25230
25446
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
@@ -25615,6 +25831,85 @@ module AsposePdfCloud
|
|
|
25615
25831
|
return data, status_code, headers
|
|
25616
25832
|
end
|
|
25617
25833
|
|
|
25834
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
25835
|
+
#
|
|
25836
|
+
# @param name The document name.
|
|
25837
|
+
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
25838
|
+
# @param [Hash] opts the optional parameters
|
|
25839
|
+
# @option opts [String] :folder The document folder.
|
|
25840
|
+
# @option opts [String] :storage The document storage.
|
|
25841
|
+
# @return [AsposeResponse]
|
|
25842
|
+
def put_pdf_in_storage_to_te_x(name, out_path, opts = {})
|
|
25843
|
+
@api_client.request_token_if_needed
|
|
25844
|
+
data, _status_code, _headers = put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts)
|
|
25845
|
+
rescue ApiError => error
|
|
25846
|
+
if error.code == 401
|
|
25847
|
+
@api_client.request_token_if_needed
|
|
25848
|
+
data, _status_code, _headers = put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts)
|
|
25849
|
+
else
|
|
25850
|
+
raise
|
|
25851
|
+
end
|
|
25852
|
+
return data
|
|
25853
|
+
end
|
|
25854
|
+
|
|
25855
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
|
25856
|
+
#
|
|
25857
|
+
# @param name The document name.
|
|
25858
|
+
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
|
25859
|
+
# @param [Hash] opts the optional parameters
|
|
25860
|
+
# @option opts [String] :folder The document folder.
|
|
25861
|
+
# @option opts [String] :storage The document storage.
|
|
25862
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
|
25863
|
+
def put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts = {})
|
|
25864
|
+
if @api_client.config.debugging
|
|
25865
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_pdf_in_storage_to_te_x ..."
|
|
25866
|
+
end
|
|
25867
|
+
# verify the required parameter 'name' is set
|
|
25868
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
25869
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_pdf_in_storage_to_te_x"
|
|
25870
|
+
end
|
|
25871
|
+
# verify the required parameter 'out_path' is set
|
|
25872
|
+
if @api_client.config.client_side_validation && out_path.nil?
|
|
25873
|
+
fail ArgumentError, "Missing the required parameter 'out_path' when calling PdfApi.put_pdf_in_storage_to_te_x"
|
|
25874
|
+
end
|
|
25875
|
+
# resource path
|
|
25876
|
+
local_var_path = "/pdf/{name}/convert/tex".sub('{' + 'name' + '}', name.to_s)
|
|
25877
|
+
|
|
25878
|
+
# query parameters
|
|
25879
|
+
query_params = {}
|
|
25880
|
+
query_params[:'outPath'] = out_path
|
|
25881
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
|
25882
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
|
25883
|
+
|
|
25884
|
+
# header parameters
|
|
25885
|
+
header_params = {}
|
|
25886
|
+
# HTTP header 'Accept' (if needed)
|
|
25887
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
25888
|
+
# HTTP header 'Content-Type'
|
|
25889
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
25890
|
+
|
|
25891
|
+
# form parameters
|
|
25892
|
+
form_params = {}
|
|
25893
|
+
# Fix header in file
|
|
25894
|
+
post_body = nil
|
|
25895
|
+
|
|
25896
|
+
# http body (model)
|
|
25897
|
+
# Fix header in file
|
|
25898
|
+
# post_body = nil
|
|
25899
|
+
auth_names = ['JWT']
|
|
25900
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
25901
|
+
:header_params => header_params,
|
|
25902
|
+
:query_params => query_params,
|
|
25903
|
+
:form_params => form_params,
|
|
25904
|
+
:body => post_body,
|
|
25905
|
+
:auth_names => auth_names,
|
|
25906
|
+
:return_type => 'AsposeResponse')
|
|
25907
|
+
if @api_client.config.debugging
|
|
25908
|
+
@api_client.config.logger.debug "API called: PdfApi#put_pdf_in_storage_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
25909
|
+
end
|
|
25910
|
+
return data, status_code, headers
|
|
25911
|
+
end
|
|
25912
|
+
|
|
25618
25913
|
# Converts PDF document (located on storage) to TIFF format and uploads resulting file to storage
|
|
25619
25914
|
#
|
|
25620
25915
|
# @param name The document name.
|
|
@@ -27926,6 +28221,85 @@ module AsposePdfCloud
|
|
|
27926
28221
|
return data, status_code, headers
|
|
27927
28222
|
end
|
|
27928
28223
|
|
|
28224
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
28225
|
+
#
|
|
28226
|
+
# @param name The document name.
|
|
28227
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
28228
|
+
# @param [Hash] opts the optional parameters
|
|
28229
|
+
# @option opts [String] :dst_folder The destination document folder.
|
|
28230
|
+
# @option opts [String] :storage The document storage.
|
|
28231
|
+
# @return [AsposeResponse]
|
|
28232
|
+
def put_te_x_in_storage_to_pdf(name, src_path, opts = {})
|
|
28233
|
+
@api_client.request_token_if_needed
|
|
28234
|
+
data, _status_code, _headers = put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
|
28235
|
+
rescue ApiError => error
|
|
28236
|
+
if error.code == 401
|
|
28237
|
+
@api_client.request_token_if_needed
|
|
28238
|
+
data, _status_code, _headers = put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
|
28239
|
+
else
|
|
28240
|
+
raise
|
|
28241
|
+
end
|
|
28242
|
+
return data
|
|
28243
|
+
end
|
|
28244
|
+
|
|
28245
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
|
28246
|
+
#
|
|
28247
|
+
# @param name The document name.
|
|
28248
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
|
28249
|
+
# @param [Hash] opts the optional parameters
|
|
28250
|
+
# @option opts [String] :dst_folder The destination document folder.
|
|
28251
|
+
# @option opts [String] :storage The document storage.
|
|
28252
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
|
28253
|
+
def put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts = {})
|
|
28254
|
+
if @api_client.config.debugging
|
|
28255
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_te_x_in_storage_to_pdf ..."
|
|
28256
|
+
end
|
|
28257
|
+
# verify the required parameter 'name' is set
|
|
28258
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
28259
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_te_x_in_storage_to_pdf"
|
|
28260
|
+
end
|
|
28261
|
+
# verify the required parameter 'src_path' is set
|
|
28262
|
+
if @api_client.config.client_side_validation && src_path.nil?
|
|
28263
|
+
fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.put_te_x_in_storage_to_pdf"
|
|
28264
|
+
end
|
|
28265
|
+
# resource path
|
|
28266
|
+
local_var_path = "/pdf/{name}/create/tex".sub('{' + 'name' + '}', name.to_s)
|
|
28267
|
+
|
|
28268
|
+
# query parameters
|
|
28269
|
+
query_params = {}
|
|
28270
|
+
query_params[:'srcPath'] = src_path
|
|
28271
|
+
query_params[:'dstFolder'] = opts[:'dst_folder'] if !opts[:'dst_folder'].nil?
|
|
28272
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
|
28273
|
+
|
|
28274
|
+
# header parameters
|
|
28275
|
+
header_params = {}
|
|
28276
|
+
# HTTP header 'Accept' (if needed)
|
|
28277
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
28278
|
+
# HTTP header 'Content-Type'
|
|
28279
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
28280
|
+
|
|
28281
|
+
# form parameters
|
|
28282
|
+
form_params = {}
|
|
28283
|
+
# Fix header in file
|
|
28284
|
+
post_body = nil
|
|
28285
|
+
|
|
28286
|
+
# http body (model)
|
|
28287
|
+
# Fix header in file
|
|
28288
|
+
# post_body = nil
|
|
28289
|
+
auth_names = ['JWT']
|
|
28290
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
28291
|
+
:header_params => header_params,
|
|
28292
|
+
:query_params => query_params,
|
|
28293
|
+
:form_params => form_params,
|
|
28294
|
+
:body => post_body,
|
|
28295
|
+
:auth_names => auth_names,
|
|
28296
|
+
:return_type => 'AsposeResponse')
|
|
28297
|
+
if @api_client.config.debugging
|
|
28298
|
+
@api_client.config.logger.debug "API called: PdfApi#put_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
28299
|
+
end
|
|
28300
|
+
return data, status_code, headers
|
|
28301
|
+
end
|
|
28302
|
+
|
|
27929
28303
|
# Replace document text annotation
|
|
27930
28304
|
#
|
|
27931
28305
|
# @param name The document name.
|
data/test/pdf_tests.rb
CHANGED
|
@@ -33,7 +33,6 @@ class PdfTests < Minitest::Test
|
|
|
33
33
|
def setup
|
|
34
34
|
# Get App key and App SID from https://aspose.cloud
|
|
35
35
|
@pdf_api = PdfApi.new('app_key', 'app_sid')
|
|
36
|
-
|
|
37
36
|
@temp_folder = 'TempPdfCloud'
|
|
38
37
|
@test_data_folder = '../test_data/'
|
|
39
38
|
|
|
@@ -3145,7 +3144,7 @@ class PdfTests < Minitest::Test
|
|
|
3145
3144
|
assert(response, 'Filed to convert PDF to PPTX.')
|
|
3146
3145
|
end
|
|
3147
3146
|
|
|
3148
|
-
def
|
|
3147
|
+
def test_get_pdf_in_storage_to_te_x
|
|
3149
3148
|
file_name = '4pages.pdf'
|
|
3150
3149
|
upload_file(file_name)
|
|
3151
3150
|
|
|
@@ -3153,33 +3152,33 @@ class PdfTests < Minitest::Test
|
|
|
3153
3152
|
:folder => @temp_folder
|
|
3154
3153
|
}
|
|
3155
3154
|
|
|
3156
|
-
response = @pdf_api.
|
|
3157
|
-
assert(response, 'Filed to convert PDF to
|
|
3155
|
+
response = @pdf_api.get_pdf_in_storage_to_te_x(file_name, opts)
|
|
3156
|
+
assert(response, 'Filed to convert PDF to Tex.')
|
|
3158
3157
|
end
|
|
3159
3158
|
|
|
3160
|
-
def
|
|
3159
|
+
def test_put_pdf_in_storage_to_te_x
|
|
3161
3160
|
file_name = '4pages.pdf'
|
|
3162
3161
|
upload_file(file_name)
|
|
3163
|
-
res_file = 'result.
|
|
3162
|
+
res_file = 'result.tex'
|
|
3164
3163
|
|
|
3165
3164
|
opts = {
|
|
3166
3165
|
:folder => @temp_folder
|
|
3167
3166
|
}
|
|
3168
|
-
response = @pdf_api.
|
|
3169
|
-
assert(response, 'Filed to convert PDF to
|
|
3167
|
+
response = @pdf_api.put_pdf_in_storage_to_te_x(file_name, @temp_folder + '/' + res_file, opts)
|
|
3168
|
+
assert(response, 'Filed to convert PDF to TeX.')
|
|
3170
3169
|
end
|
|
3171
3170
|
|
|
3172
3171
|
|
|
3173
|
-
def
|
|
3172
|
+
def test_put_pdf_in_request_to_te_x
|
|
3174
3173
|
file_name = '4pages.pdf'
|
|
3175
3174
|
|
|
3176
|
-
res_file = 'result.
|
|
3175
|
+
res_file = 'result.tex'
|
|
3177
3176
|
|
|
3178
3177
|
opts = {
|
|
3179
3178
|
:file => ::File.open(@test_data_folder + file_name, 'r') { |io| io.read(io.size) }
|
|
3180
3179
|
}
|
|
3181
|
-
response = @pdf_api.
|
|
3182
|
-
assert(response, 'Filed to convert PDF to
|
|
3180
|
+
response = @pdf_api.put_pdf_in_request_to_te_x(@temp_folder + '/' + res_file, opts)
|
|
3181
|
+
assert(response, 'Filed to convert PDF to TeX.')
|
|
3183
3182
|
end
|
|
3184
3183
|
|
|
3185
3184
|
def test_get_pdf_in_storage_to_mobi_xml
|
|
@@ -3373,16 +3372,16 @@ class PdfTests < Minitest::Test
|
|
|
3373
3372
|
end
|
|
3374
3373
|
|
|
3375
3374
|
|
|
3376
|
-
def
|
|
3375
|
+
def test_get_te_x_in_storage_to_pdf
|
|
3377
3376
|
file_name = 'sample.tex'
|
|
3378
3377
|
upload_file(file_name)
|
|
3379
3378
|
|
|
3380
3379
|
src_path = @temp_folder + '/' + file_name
|
|
3381
|
-
response = @pdf_api.
|
|
3382
|
-
assert(response, 'Failed to convert
|
|
3380
|
+
response = @pdf_api.get_te_x_in_storage_to_pdf(src_path)
|
|
3381
|
+
assert(response, 'Failed to convert TeX to pdf.')
|
|
3383
3382
|
end
|
|
3384
3383
|
|
|
3385
|
-
def
|
|
3384
|
+
def test_put_te_x_in_storage_to_pdf
|
|
3386
3385
|
file_name = 'sample.tex'
|
|
3387
3386
|
upload_file(file_name)
|
|
3388
3387
|
result_name = 'fromTex.pdf'
|
|
@@ -3391,8 +3390,8 @@ class PdfTests < Minitest::Test
|
|
|
3391
3390
|
opts = {
|
|
3392
3391
|
:dst_folder => @temp_folder
|
|
3393
3392
|
}
|
|
3394
|
-
response = @pdf_api.
|
|
3395
|
-
assert(response, 'Failed to convert
|
|
3393
|
+
response = @pdf_api.put_te_x_in_storage_to_pdf(result_name, src_path, opts)
|
|
3394
|
+
assert(response, 'Failed to convert TeX to pdf.')
|
|
3396
3395
|
end
|
|
3397
3396
|
|
|
3398
3397
|
def test_get_mht_in_storage_to_pdf
|
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: 20.
|
|
4
|
+
version: 20.5.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: 2020-
|
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|