aspose_pdf_cloud 19.11.0 → 20.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +44 -9
- data/aspose_pdf_cloud.gemspec +1 -1
- data/docs/Border.md +14 -0
- data/docs/BorderEffect.md +11 -0
- data/docs/BorderStyle.md +14 -0
- data/docs/Cell.md +3 -0
- data/docs/CheckBoxField.md +2 -1
- data/docs/ChoiceField.md +3 -1
- data/docs/ComboBoxField.md +3 -2
- data/docs/Dash.md +10 -0
- data/docs/DefaultPageConfig.md +10 -0
- data/docs/Direction.md +11 -0
- data/docs/DisplayProperties.md +18 -0
- data/docs/DisplayPropertiesResponse.md +11 -0
- data/docs/Document.md +1 -0
- data/docs/DocumentConfig.md +12 -0
- data/docs/FormField.md +2 -1
- data/docs/ImageFragment.md +15 -0
- data/docs/ListBoxField.md +33 -0
- data/docs/ListBoxFieldResponse.md +11 -0
- data/docs/ListBoxFields.md +10 -0
- data/docs/ListBoxFieldsResponse.md +11 -0
- data/docs/PageLayout.md +16 -0
- data/docs/PageMode.md +15 -0
- data/docs/PdfApi.md +452 -14
- data/docs/RadioButtonField.md +3 -2
- data/docs/RadioButtonOptionField.md +2 -1
- data/docs/SignatureField.md +2 -1
- data/docs/Table.md +1 -0
- data/docs/TextBoxField.md +2 -1
- data/lib/aspose_pdf_cloud.rb +17 -1
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +1375 -72
- data/lib/aspose_pdf_cloud/api_client.rb +2 -2
- data/lib/aspose_pdf_cloud/api_error.rb +1 -1
- data/lib/aspose_pdf_cloud/configuration.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotation_flags.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotation_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotation_state.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotation_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotations_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/annotations_info_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/antialiasing_processing_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/aspose_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/attachment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/attachment_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/attachments.rb +1 -1
- data/lib/aspose_pdf_cloud/models/attachments_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/bookmark.rb +1 -1
- data/lib/aspose_pdf_cloud/models/bookmark_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/bookmarks.rb +1 -1
- data/lib/aspose_pdf_cloud/models/bookmarks_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/border.rb +249 -0
- data/lib/aspose_pdf_cloud/models/border_corner_style.rb +1 -1
- data/lib/aspose_pdf_cloud/models/border_effect.rb +44 -0
- data/lib/aspose_pdf_cloud/models/border_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/border_style.rb +47 -0
- data/lib/aspose_pdf_cloud/models/box_style.rb +1 -1
- data/lib/aspose_pdf_cloud/models/cap_style.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caption_position.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caret_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caret_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caret_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caret_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/caret_symbol.rb +1 -1
- data/lib/aspose_pdf_cloud/models/cell.rb +37 -5
- data/lib/aspose_pdf_cloud/models/cell_recognized.rb +1 -1
- data/lib/aspose_pdf_cloud/models/check_box_field.rb +12 -7
- data/lib/aspose_pdf_cloud/models/check_box_field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/check_box_fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/check_box_fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/choice_field.rb +25 -10
- data/lib/aspose_pdf_cloud/models/circle_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/circle_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/circle_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/circle_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/color.rb +1 -1
- data/lib/aspose_pdf_cloud/models/color_depth.rb +1 -1
- data/lib/aspose_pdf_cloud/models/column_adjustment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/combo_box_field.rb +25 -25
- data/lib/aspose_pdf_cloud/models/combo_box_field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/combo_box_fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/combo_box_fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/common_figure_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/compression_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/crypto_algorithm.rb +1 -1
- data/lib/aspose_pdf_cloud/models/dash.rb +219 -0
- data/lib/aspose_pdf_cloud/models/default_page_config.rb +209 -0
- data/lib/aspose_pdf_cloud/models/direction.rb +44 -0
- data/lib/aspose_pdf_cloud/models/disc_usage.rb +1 -1
- data/lib/aspose_pdf_cloud/models/display_properties.rb +291 -0
- data/lib/aspose_pdf_cloud/models/display_properties_response.rb +224 -0
- data/lib/aspose_pdf_cloud/models/doc_format.rb +1 -1
- data/lib/aspose_pdf_cloud/models/doc_mdp_access_permission_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/doc_recognition_mode.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document.rb +12 -2
- data/lib/aspose_pdf_cloud/models/document_config.rb +234 -0
- data/lib/aspose_pdf_cloud/models/document_page_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_pages_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_privilege.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_properties.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_properties_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_property.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_property_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/document_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/epub_recognition_mode.rb +1 -1
- data/lib/aspose_pdf_cloud/models/error.rb +1 -1
- data/lib/aspose_pdf_cloud/models/error_details.rb +1 -1
- data/lib/aspose_pdf_cloud/models/field.rb +1 -1
- data/lib/aspose_pdf_cloud/models/field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/field_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_attachment_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_attachment_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_attachment_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_attachment_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_icon.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_version.rb +1 -1
- data/lib/aspose_pdf_cloud/models/file_versions.rb +1 -1
- data/lib/aspose_pdf_cloud/models/files_list.rb +1 -1
- data/lib/aspose_pdf_cloud/models/files_upload_result.rb +1 -1
- data/lib/aspose_pdf_cloud/models/font_encoding_rules.rb +1 -1
- data/lib/aspose_pdf_cloud/models/font_saving_modes.rb +1 -1
- data/lib/aspose_pdf_cloud/models/font_styles.rb +1 -1
- data/lib/aspose_pdf_cloud/models/form_field.rb +15 -10
- data/lib/aspose_pdf_cloud/models/free_text_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/free_text_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/free_text_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/free_text_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/free_text_intent.rb +1 -1
- data/lib/aspose_pdf_cloud/models/graph_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/highlight_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/highlight_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/highlight_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/highlight_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/horizontal_alignment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/html_document_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/html_markup_generation_modes.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_footer.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_fragment.rb +283 -0
- data/lib/aspose_pdf_cloud/models/image_header.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_src_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_stamp.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_template.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image_templates_request.rb +1 -1
- data/lib/aspose_pdf_cloud/models/images.rb +1 -1
- data/lib/aspose_pdf_cloud/models/images_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/ink_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/ink_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/ink_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/ink_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/justification.rb +1 -1
- data/lib/aspose_pdf_cloud/models/letters_positioning_methods.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_ending.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_intent.rb +1 -1
- data/lib/aspose_pdf_cloud/models/line_spacing.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_action_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_element.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_highlighting_mode.rb +1 -1
- data/lib/aspose_pdf_cloud/models/list_box_field.rb +452 -0
- data/lib/aspose_pdf_cloud/models/list_box_field_response.rb +224 -0
- data/lib/aspose_pdf_cloud/models/list_box_fields.rb +213 -0
- data/lib/aspose_pdf_cloud/models/list_box_fields_response.rb +224 -0
- data/lib/aspose_pdf_cloud/models/margin_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/markup_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/merge_documents.rb +1 -1
- data/lib/aspose_pdf_cloud/models/movie_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/movie_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/movie_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/movie_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/object_exist.rb +1 -1
- data/lib/aspose_pdf_cloud/models/optimize_options.rb +1 -1
- data/lib/aspose_pdf_cloud/models/option.rb +1 -1
- data/lib/aspose_pdf_cloud/models/page.rb +1 -1
- data/lib/aspose_pdf_cloud/models/page_layout.rb +49 -0
- data/lib/aspose_pdf_cloud/models/page_mode.rb +48 -0
- data/lib/aspose_pdf_cloud/models/page_number_stamp.rb +1 -1
- data/lib/aspose_pdf_cloud/models/page_word_count.rb +1 -1
- data/lib/aspose_pdf_cloud/models/pages.rb +1 -1
- data/lib/aspose_pdf_cloud/models/paragraph.rb +1 -1
- data/lib/aspose_pdf_cloud/models/parts_embedding_modes.rb +1 -1
- data/lib/aspose_pdf_cloud/models/pdf_a_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/pdf_page_stamp.rb +1 -1
- data/lib/aspose_pdf_cloud/models/permissions_flags.rb +1 -1
- data/lib/aspose_pdf_cloud/models/point.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_intent.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_line_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_line_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_line_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/poly_line_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/polygon_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/polygon_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/polygon_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/polygon_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/popup_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/popup_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/popup_annotation_with_parent.rb +1 -1
- data/lib/aspose_pdf_cloud/models/popup_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/popup_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/position.rb +1 -1
- data/lib/aspose_pdf_cloud/models/radio_button_field.rb +25 -25
- data/lib/aspose_pdf_cloud/models/radio_button_field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/radio_button_fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/radio_button_fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/radio_button_option_field.rb +12 -7
- data/lib/aspose_pdf_cloud/models/raster_images_saving_modes.rb +1 -1
- data/lib/aspose_pdf_cloud/models/rectangle.rb +1 -1
- data/lib/aspose_pdf_cloud/models/redaction_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/redaction_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/redaction_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/redaction_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/rotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/row.rb +1 -1
- data/lib/aspose_pdf_cloud/models/row_recognized.rb +1 -1
- data/lib/aspose_pdf_cloud/models/screen_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/screen_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/screen_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/screen_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/segment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/shape_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_custom_appearance.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_field.rb +12 -7
- data/lib/aspose_pdf_cloud/models/signature_field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_verify_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_encoding.rb +1 -1
- data/lib/aspose_pdf_cloud/models/sound_icon.rb +1 -1
- data/lib/aspose_pdf_cloud/models/split_result.rb +1 -1
- data/lib/aspose_pdf_cloud/models/split_result_document.rb +1 -1
- data/lib/aspose_pdf_cloud/models/split_result_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/square_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/square_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/square_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/square_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/squiggly_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/squiggly_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/squiggly_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/squiggly_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_base.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_icon.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamp_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamps_info.rb +1 -1
- data/lib/aspose_pdf_cloud/models/stamps_info_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/storage_exist.rb +1 -1
- data/lib/aspose_pdf_cloud/models/storage_file.rb +1 -1
- data/lib/aspose_pdf_cloud/models/strike_out_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/strike_out_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/strike_out_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/strike_out_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/table.rb +12 -2
- data/lib/aspose_pdf_cloud/models/table_broken.rb +1 -1
- data/lib/aspose_pdf_cloud/models/table_recognized.rb +1 -1
- data/lib/aspose_pdf_cloud/models/table_recognized_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/tables_recognized.rb +1 -1
- data/lib/aspose_pdf_cloud/models/tables_recognized_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_box_field.rb +12 -7
- data/lib/aspose_pdf_cloud/models/text_box_field_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_box_fields.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_box_fields_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_footer.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_header.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_horizontal_alignment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_icon.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_line.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_rect.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_rects.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_rects_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_replace.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_replace_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_stamp.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_state.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_style.rb +1 -1
- data/lib/aspose_pdf_cloud/models/timestamp_settings.rb +1 -1
- data/lib/aspose_pdf_cloud/models/underline_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/underline_annotation_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/underline_annotations.rb +1 -1
- data/lib/aspose_pdf_cloud/models/underline_annotations_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/vertical_alignment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/word_count.rb +1 -1
- data/lib/aspose_pdf_cloud/models/word_count_response.rb +1 -1
- data/lib/aspose_pdf_cloud/models/wrap_mode.rb +1 -1
- data/lib/aspose_pdf_cloud/version.rb +2 -2
- data/test/pdf_tests.rb +411 -98
- data/test_data/4pagesPdfA.pdf +0 -0
- metadata +35 -2
data/docs/RadioButtonField.md
CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**height** | **Float** | Gets or sets height of the field. | [optional]
|
13
13
|
**width** | **Float** | Gets or sets width of the field. | [optional]
|
14
14
|
**z_index** | **Integer** | Z index. | [optional]
|
15
|
-
**is_group** | **BOOLEAN** | Is group. |
|
15
|
+
**is_group** | **BOOLEAN** | Is group. | [optional]
|
16
16
|
**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
|
17
17
|
**is_shared_field** | **BOOLEAN** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
|
18
18
|
**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
|
@@ -22,10 +22,11 @@ Name | Type | Description | Notes
|
|
22
22
|
**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
|
23
23
|
**horizontal_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
|
24
24
|
**vertical_alignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
|
25
|
+
**border** | [**Border**](Border.md) | Gets or sets annotation border characteristics. | [optional]
|
25
26
|
**multi_select** | **BOOLEAN** | Gets or sets multiselection flag. | [optional]
|
27
|
+
**selected** | **Integer** | Gets or sets index of selected item. Numbering of items is started from 1. | [optional]
|
26
28
|
**options** | [**Array<Option>**](Option.md) | Gets collection of options of the radio button. | [optional]
|
27
29
|
**radio_button_options_field** | [**Array<RadioButtonOptionField>**](RadioButtonOptionField.md) | Gets collection of radio button options field. | [optional]
|
28
30
|
**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
|
29
|
-
**selected** | **Integer** | Gets or sets index of selected item. Numbering of items is started from 1. |
|
30
31
|
|
31
32
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**height** | **Float** | Gets or sets height of the field. | [optional]
|
13
13
|
**width** | **Float** | Gets or sets width of the field. | [optional]
|
14
14
|
**z_index** | **Integer** | Z index. | [optional]
|
15
|
-
**is_group** | **BOOLEAN** | Is group. |
|
15
|
+
**is_group** | **BOOLEAN** | Is group. | [optional]
|
16
16
|
**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
|
17
17
|
**is_shared_field** | **BOOLEAN** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
|
18
18
|
**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
22
22
|
**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
|
23
23
|
**horizontal_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
|
24
24
|
**vertical_alignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
|
25
|
+
**border** | [**Border**](Border.md) | Gets or sets annotation border characteristics. | [optional]
|
25
26
|
**option_name** | **String** | Gets or sets name of the option. | [optional]
|
26
27
|
**style** | [**BoxStyle**](BoxStyle.md) | Style of field box. | [optional]
|
27
28
|
|
data/docs/SignatureField.md
CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**height** | **Float** | Gets or sets height of the field. | [optional]
|
13
13
|
**width** | **Float** | Gets or sets width of the field. | [optional]
|
14
14
|
**z_index** | **Integer** | Z index. | [optional]
|
15
|
-
**is_group** | **BOOLEAN** | Is group. |
|
15
|
+
**is_group** | **BOOLEAN** | Is group. | [optional]
|
16
16
|
**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
|
17
17
|
**is_shared_field** | **BOOLEAN** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
|
18
18
|
**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
22
22
|
**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
|
23
23
|
**horizontal_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
|
24
24
|
**vertical_alignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
|
25
|
+
**border** | [**Border**](Border.md) | Gets or sets annotation border characteristics. | [optional]
|
25
26
|
**signature** | [**Signature**](Signature.md) | Gets signature object. This object contains signature data regarding public-key cryptographic standards. Classes PKCS1, PKCS7 and PKCS7Detached represent all supported types of signature objects. | [optional]
|
26
27
|
|
27
28
|
|
data/docs/Table.md
CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**default_cell_text_state** | [**TextState**](TextState.md) | Gets or sets the default cell text state. | [optional]
|
14
14
|
**default_cell_padding** | [**MarginInfo**](MarginInfo.md) | Gets or sets the default cell padding. | [optional]
|
15
15
|
**border** | [**BorderInfo**](BorderInfo.md) | Gets or sets the border. | [optional]
|
16
|
+
**margin** | [**MarginInfo**](MarginInfo.md) | Gets or sets a outer margin for paragraph (for pdf generation) | [optional]
|
16
17
|
**rows** | [**Array<Row>**](Row.md) | Sets the rows of the table. |
|
17
18
|
**default_column_width** | **String** | Gets default cell border; | [optional]
|
18
19
|
**default_cell_border** | [**BorderInfo**](BorderInfo.md) | Gets default cell border; | [optional]
|
data/docs/TextBoxField.md
CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**height** | **Float** | Gets or sets height of the field. | [optional]
|
13
13
|
**width** | **Float** | Gets or sets width of the field. | [optional]
|
14
14
|
**z_index** | **Integer** | Z index. | [optional]
|
15
|
-
**is_group** | **BOOLEAN** | Is group. |
|
15
|
+
**is_group** | **BOOLEAN** | Is group. | [optional]
|
16
16
|
**parent** | [**FormField**](FormField.md) | Gets field parent. | [optional]
|
17
17
|
**is_shared_field** | **BOOLEAN** | Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. | [optional]
|
18
18
|
**flags** | [**Array<AnnotationFlags>**](AnnotationFlags.md) | Gets Flags of the field. | [optional]
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
22
22
|
**highlighting** | [**LinkHighlightingMode**](LinkHighlightingMode.md) | Field highlighting mode. | [optional]
|
23
23
|
**horizontal_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets HorizontalAlignment of the field. | [optional]
|
24
24
|
**vertical_alignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets VerticalAlignment of the field. | [optional]
|
25
|
+
**border** | [**Border**](Border.md) | Gets or sets annotation border characteristics. | [optional]
|
25
26
|
**multiline** | **BOOLEAN** | Gets or sets multiline flag of the field. If Multiline is true field can contain multiple lines of text. | [optional]
|
26
27
|
**spell_check** | **BOOLEAN** | Gets or sets spellcheck flag for field. If true field shall be spell checked. | [optional]
|
27
28
|
**scrollable** | **BOOLEAN** | Gets or sets scrollable flag of field. If true field can be scrolled. | [optional]
|
data/lib/aspose_pdf_cloud.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2020 Aspose.PDF Cloud
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
6
6
|
in the Software without restriction, including without limitation the rights
|
@@ -31,8 +31,11 @@ require_relative 'aspose_pdf_cloud/models/annotation_state'
|
|
31
31
|
require_relative 'aspose_pdf_cloud/models/annotation_type'
|
32
32
|
require_relative 'aspose_pdf_cloud/models/antialiasing_processing_type'
|
33
33
|
require_relative 'aspose_pdf_cloud/models/aspose_response'
|
34
|
+
require_relative 'aspose_pdf_cloud/models/border'
|
34
35
|
require_relative 'aspose_pdf_cloud/models/border_corner_style'
|
36
|
+
require_relative 'aspose_pdf_cloud/models/border_effect'
|
35
37
|
require_relative 'aspose_pdf_cloud/models/border_info'
|
38
|
+
require_relative 'aspose_pdf_cloud/models/border_style'
|
36
39
|
require_relative 'aspose_pdf_cloud/models/box_style'
|
37
40
|
require_relative 'aspose_pdf_cloud/models/cap_style'
|
38
41
|
require_relative 'aspose_pdf_cloud/models/caption_position'
|
@@ -44,10 +47,14 @@ require_relative 'aspose_pdf_cloud/models/color_depth'
|
|
44
47
|
require_relative 'aspose_pdf_cloud/models/column_adjustment'
|
45
48
|
require_relative 'aspose_pdf_cloud/models/compression_type'
|
46
49
|
require_relative 'aspose_pdf_cloud/models/crypto_algorithm'
|
50
|
+
require_relative 'aspose_pdf_cloud/models/dash'
|
51
|
+
require_relative 'aspose_pdf_cloud/models/default_page_config'
|
52
|
+
require_relative 'aspose_pdf_cloud/models/direction'
|
47
53
|
require_relative 'aspose_pdf_cloud/models/disc_usage'
|
48
54
|
require_relative 'aspose_pdf_cloud/models/doc_format'
|
49
55
|
require_relative 'aspose_pdf_cloud/models/doc_mdp_access_permission_type'
|
50
56
|
require_relative 'aspose_pdf_cloud/models/doc_recognition_mode'
|
57
|
+
require_relative 'aspose_pdf_cloud/models/document_config'
|
51
58
|
require_relative 'aspose_pdf_cloud/models/document_privilege'
|
52
59
|
require_relative 'aspose_pdf_cloud/models/epub_recognition_mode'
|
53
60
|
require_relative 'aspose_pdf_cloud/models/error'
|
@@ -65,6 +72,7 @@ require_relative 'aspose_pdf_cloud/models/graph_info'
|
|
65
72
|
require_relative 'aspose_pdf_cloud/models/horizontal_alignment'
|
66
73
|
require_relative 'aspose_pdf_cloud/models/html_document_type'
|
67
74
|
require_relative 'aspose_pdf_cloud/models/html_markup_generation_modes'
|
75
|
+
require_relative 'aspose_pdf_cloud/models/image_fragment'
|
68
76
|
require_relative 'aspose_pdf_cloud/models/image_src_type'
|
69
77
|
require_relative 'aspose_pdf_cloud/models/image_template'
|
70
78
|
require_relative 'aspose_pdf_cloud/models/image_templates_request'
|
@@ -82,6 +90,8 @@ require_relative 'aspose_pdf_cloud/models/merge_documents'
|
|
82
90
|
require_relative 'aspose_pdf_cloud/models/object_exist'
|
83
91
|
require_relative 'aspose_pdf_cloud/models/optimize_options'
|
84
92
|
require_relative 'aspose_pdf_cloud/models/option'
|
93
|
+
require_relative 'aspose_pdf_cloud/models/page_layout'
|
94
|
+
require_relative 'aspose_pdf_cloud/models/page_mode'
|
85
95
|
require_relative 'aspose_pdf_cloud/models/page_word_count'
|
86
96
|
require_relative 'aspose_pdf_cloud/models/paragraph'
|
87
97
|
require_relative 'aspose_pdf_cloud/models/parts_embedding_modes'
|
@@ -145,6 +155,8 @@ require_relative 'aspose_pdf_cloud/models/circle_annotations_response'
|
|
145
155
|
require_relative 'aspose_pdf_cloud/models/combo_box_field_response'
|
146
156
|
require_relative 'aspose_pdf_cloud/models/combo_box_fields'
|
147
157
|
require_relative 'aspose_pdf_cloud/models/combo_box_fields_response'
|
158
|
+
require_relative 'aspose_pdf_cloud/models/display_properties'
|
159
|
+
require_relative 'aspose_pdf_cloud/models/display_properties_response'
|
148
160
|
require_relative 'aspose_pdf_cloud/models/document'
|
149
161
|
require_relative 'aspose_pdf_cloud/models/document_page_response'
|
150
162
|
require_relative 'aspose_pdf_cloud/models/document_pages_response'
|
@@ -182,6 +194,9 @@ require_relative 'aspose_pdf_cloud/models/link_annotation'
|
|
182
194
|
require_relative 'aspose_pdf_cloud/models/link_annotation_response'
|
183
195
|
require_relative 'aspose_pdf_cloud/models/link_annotations'
|
184
196
|
require_relative 'aspose_pdf_cloud/models/link_annotations_response'
|
197
|
+
require_relative 'aspose_pdf_cloud/models/list_box_field_response'
|
198
|
+
require_relative 'aspose_pdf_cloud/models/list_box_fields'
|
199
|
+
require_relative 'aspose_pdf_cloud/models/list_box_fields_response'
|
185
200
|
require_relative 'aspose_pdf_cloud/models/movie_annotation_response'
|
186
201
|
require_relative 'aspose_pdf_cloud/models/movie_annotations'
|
187
202
|
require_relative 'aspose_pdf_cloud/models/movie_annotations_response'
|
@@ -274,6 +289,7 @@ require_relative 'aspose_pdf_cloud/models/free_text_annotation'
|
|
274
289
|
require_relative 'aspose_pdf_cloud/models/highlight_annotation'
|
275
290
|
require_relative 'aspose_pdf_cloud/models/ink_annotation'
|
276
291
|
require_relative 'aspose_pdf_cloud/models/line_annotation'
|
292
|
+
require_relative 'aspose_pdf_cloud/models/list_box_field'
|
277
293
|
require_relative 'aspose_pdf_cloud/models/poly_annotation'
|
278
294
|
require_relative 'aspose_pdf_cloud/models/popup_annotation_with_parent'
|
279
295
|
require_relative 'aspose_pdf_cloud/models/radio_button_field'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2020 Aspose.PDF Cloud
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
6
6
|
in the Software without restriction, including without limitation the rights
|
@@ -3104,6 +3104,78 @@ module AsposePdfCloud
|
|
3104
3104
|
return data, status_code, headers
|
3105
3105
|
end
|
3106
3106
|
|
3107
|
+
# Read document display properties.
|
3108
|
+
#
|
3109
|
+
# @param name
|
3110
|
+
# @param [Hash] opts the optional parameters
|
3111
|
+
# @option opts [String] :storage
|
3112
|
+
# @option opts [String] :folder
|
3113
|
+
# @return [DisplayPropertiesResponse]
|
3114
|
+
def get_document_display_properties(name, opts = {})
|
3115
|
+
@api_client.request_token_if_needed
|
3116
|
+
data, _status_code, _headers = get_document_display_properties_with_http_info(name, opts)
|
3117
|
+
rescue ApiError => error
|
3118
|
+
if error.code == 401
|
3119
|
+
@api_client.request_token_if_needed
|
3120
|
+
data, _status_code, _headers = get_document_display_properties_with_http_info(name, opts)
|
3121
|
+
else
|
3122
|
+
raise
|
3123
|
+
end
|
3124
|
+
return data
|
3125
|
+
end
|
3126
|
+
|
3127
|
+
# Read document display properties.
|
3128
|
+
#
|
3129
|
+
# @param name
|
3130
|
+
# @param [Hash] opts the optional parameters
|
3131
|
+
# @option opts [String] :storage
|
3132
|
+
# @option opts [String] :folder
|
3133
|
+
# @return [Array<(DisplayPropertiesResponse, Fixnum, Hash)>] DisplayPropertiesResponse data, response status code and response headers
|
3134
|
+
def get_document_display_properties_with_http_info(name, opts = {})
|
3135
|
+
if @api_client.config.debugging
|
3136
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_document_display_properties ..."
|
3137
|
+
end
|
3138
|
+
# verify the required parameter 'name' is set
|
3139
|
+
if @api_client.config.client_side_validation && name.nil?
|
3140
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_document_display_properties"
|
3141
|
+
end
|
3142
|
+
# resource path
|
3143
|
+
local_var_path = "/pdf/{name}/displayproperties".sub('{' + 'name' + '}', name.to_s)
|
3144
|
+
|
3145
|
+
# query parameters
|
3146
|
+
query_params = {}
|
3147
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
3148
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
3149
|
+
|
3150
|
+
# header parameters
|
3151
|
+
header_params = {}
|
3152
|
+
# HTTP header 'Accept' (if needed)
|
3153
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3154
|
+
# HTTP header 'Content-Type'
|
3155
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
3156
|
+
|
3157
|
+
# form parameters
|
3158
|
+
form_params = {}
|
3159
|
+
# Fix header in file
|
3160
|
+
post_body = nil
|
3161
|
+
|
3162
|
+
# http body (model)
|
3163
|
+
# Fix header in file
|
3164
|
+
# post_body = nil
|
3165
|
+
auth_names = ['JWT']
|
3166
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3167
|
+
:header_params => header_params,
|
3168
|
+
:query_params => query_params,
|
3169
|
+
:form_params => form_params,
|
3170
|
+
:body => post_body,
|
3171
|
+
:auth_names => auth_names,
|
3172
|
+
:return_type => 'DisplayPropertiesResponse')
|
3173
|
+
if @api_client.config.debugging
|
3174
|
+
@api_client.config.logger.debug "API called: PdfApi#get_document_display_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3175
|
+
end
|
3176
|
+
return data, status_code, headers
|
3177
|
+
end
|
3178
|
+
|
3107
3179
|
# Read document FileAttachment annotations.
|
3108
3180
|
#
|
3109
3181
|
# @param name The document name.
|
@@ -3464,6 +3536,78 @@ module AsposePdfCloud
|
|
3464
3536
|
return data, status_code, headers
|
3465
3537
|
end
|
3466
3538
|
|
3539
|
+
# Read document listbox fields.
|
3540
|
+
#
|
3541
|
+
# @param name The document name.
|
3542
|
+
# @param [Hash] opts the optional parameters
|
3543
|
+
# @option opts [String] :storage The document storage.
|
3544
|
+
# @option opts [String] :folder The document folder.
|
3545
|
+
# @return [ListBoxFieldsResponse]
|
3546
|
+
def get_document_list_box_fields(name, opts = {})
|
3547
|
+
@api_client.request_token_if_needed
|
3548
|
+
data, _status_code, _headers = get_document_list_box_fields_with_http_info(name, opts)
|
3549
|
+
rescue ApiError => error
|
3550
|
+
if error.code == 401
|
3551
|
+
@api_client.request_token_if_needed
|
3552
|
+
data, _status_code, _headers = get_document_list_box_fields_with_http_info(name, opts)
|
3553
|
+
else
|
3554
|
+
raise
|
3555
|
+
end
|
3556
|
+
return data
|
3557
|
+
end
|
3558
|
+
|
3559
|
+
# Read document listbox fields.
|
3560
|
+
#
|
3561
|
+
# @param name The document name.
|
3562
|
+
# @param [Hash] opts the optional parameters
|
3563
|
+
# @option opts [String] :storage The document storage.
|
3564
|
+
# @option opts [String] :folder The document folder.
|
3565
|
+
# @return [Array<(ListBoxFieldsResponse, Fixnum, Hash)>] ListBoxFieldsResponse data, response status code and response headers
|
3566
|
+
def get_document_list_box_fields_with_http_info(name, opts = {})
|
3567
|
+
if @api_client.config.debugging
|
3568
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_document_list_box_fields ..."
|
3569
|
+
end
|
3570
|
+
# verify the required parameter 'name' is set
|
3571
|
+
if @api_client.config.client_side_validation && name.nil?
|
3572
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_document_list_box_fields"
|
3573
|
+
end
|
3574
|
+
# resource path
|
3575
|
+
local_var_path = "/pdf/{name}/fields/listbox".sub('{' + 'name' + '}', name.to_s)
|
3576
|
+
|
3577
|
+
# query parameters
|
3578
|
+
query_params = {}
|
3579
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
3580
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
3581
|
+
|
3582
|
+
# header parameters
|
3583
|
+
header_params = {}
|
3584
|
+
# HTTP header 'Accept' (if needed)
|
3585
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3586
|
+
# HTTP header 'Content-Type'
|
3587
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
3588
|
+
|
3589
|
+
# form parameters
|
3590
|
+
form_params = {}
|
3591
|
+
# Fix header in file
|
3592
|
+
post_body = nil
|
3593
|
+
|
3594
|
+
# http body (model)
|
3595
|
+
# Fix header in file
|
3596
|
+
# post_body = nil
|
3597
|
+
auth_names = ['JWT']
|
3598
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3599
|
+
:header_params => header_params,
|
3600
|
+
:query_params => query_params,
|
3601
|
+
:form_params => form_params,
|
3602
|
+
:body => post_body,
|
3603
|
+
:auth_names => auth_names,
|
3604
|
+
:return_type => 'ListBoxFieldsResponse')
|
3605
|
+
if @api_client.config.debugging
|
3606
|
+
@api_client.config.logger.debug "API called: PdfApi#get_document_list_box_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3607
|
+
end
|
3608
|
+
return data, status_code, headers
|
3609
|
+
end
|
3610
|
+
|
3467
3611
|
# Read document movie annotations.
|
3468
3612
|
#
|
3469
3613
|
# @param name The document name.
|
@@ -6853,7 +6997,7 @@ module AsposePdfCloud
|
|
6853
6997
|
return data, status_code, headers
|
6854
6998
|
end
|
6855
6999
|
|
6856
|
-
# Convert
|
7000
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
6857
7001
|
#
|
6858
7002
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
6859
7003
|
# @param [Hash] opts the optional parameters
|
@@ -6872,7 +7016,7 @@ module AsposePdfCloud
|
|
6872
7016
|
return data
|
6873
7017
|
end
|
6874
7018
|
|
6875
|
-
# Convert
|
7019
|
+
# Convert TeX file (located on storage) to PDF format and return resulting file in response.
|
6876
7020
|
#
|
6877
7021
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
6878
7022
|
# @param [Hash] opts the optional parameters
|
@@ -7079,6 +7223,84 @@ module AsposePdfCloud
|
|
7079
7223
|
return data, status_code, headers
|
7080
7224
|
end
|
7081
7225
|
|
7226
|
+
# Read document listbox field by name.
|
7227
|
+
#
|
7228
|
+
# @param name The document name.
|
7229
|
+
# @param field_name The field name.
|
7230
|
+
# @param [Hash] opts the optional parameters
|
7231
|
+
# @option opts [String] :storage The document storage.
|
7232
|
+
# @option opts [String] :folder The document folder.
|
7233
|
+
# @return [ListBoxFieldResponse]
|
7234
|
+
def get_list_box_field(name, field_name, opts = {})
|
7235
|
+
@api_client.request_token_if_needed
|
7236
|
+
data, _status_code, _headers = get_list_box_field_with_http_info(name, field_name, opts)
|
7237
|
+
rescue ApiError => error
|
7238
|
+
if error.code == 401
|
7239
|
+
@api_client.request_token_if_needed
|
7240
|
+
data, _status_code, _headers = get_list_box_field_with_http_info(name, field_name, opts)
|
7241
|
+
else
|
7242
|
+
raise
|
7243
|
+
end
|
7244
|
+
return data
|
7245
|
+
end
|
7246
|
+
|
7247
|
+
# Read document listbox field by name.
|
7248
|
+
#
|
7249
|
+
# @param name The document name.
|
7250
|
+
# @param field_name The field name.
|
7251
|
+
# @param [Hash] opts the optional parameters
|
7252
|
+
# @option opts [String] :storage The document storage.
|
7253
|
+
# @option opts [String] :folder The document folder.
|
7254
|
+
# @return [Array<(ListBoxFieldResponse, Fixnum, Hash)>] ListBoxFieldResponse data, response status code and response headers
|
7255
|
+
def get_list_box_field_with_http_info(name, field_name, opts = {})
|
7256
|
+
if @api_client.config.debugging
|
7257
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_list_box_field ..."
|
7258
|
+
end
|
7259
|
+
# verify the required parameter 'name' is set
|
7260
|
+
if @api_client.config.client_side_validation && name.nil?
|
7261
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_list_box_field"
|
7262
|
+
end
|
7263
|
+
# verify the required parameter 'field_name' is set
|
7264
|
+
if @api_client.config.client_side_validation && field_name.nil?
|
7265
|
+
fail ArgumentError, "Missing the required parameter 'field_name' when calling PdfApi.get_list_box_field"
|
7266
|
+
end
|
7267
|
+
# resource path
|
7268
|
+
local_var_path = "/pdf/{name}/fields/listbox/{fieldName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'fieldName' + '}', field_name.to_s)
|
7269
|
+
|
7270
|
+
# query parameters
|
7271
|
+
query_params = {}
|
7272
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
7273
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
7274
|
+
|
7275
|
+
# header parameters
|
7276
|
+
header_params = {}
|
7277
|
+
# HTTP header 'Accept' (if needed)
|
7278
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7279
|
+
# HTTP header 'Content-Type'
|
7280
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
7281
|
+
|
7282
|
+
# form parameters
|
7283
|
+
form_params = {}
|
7284
|
+
# Fix header in file
|
7285
|
+
post_body = nil
|
7286
|
+
|
7287
|
+
# http body (model)
|
7288
|
+
# Fix header in file
|
7289
|
+
# post_body = nil
|
7290
|
+
auth_names = ['JWT']
|
7291
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
7292
|
+
:header_params => header_params,
|
7293
|
+
:query_params => query_params,
|
7294
|
+
:form_params => form_params,
|
7295
|
+
:body => post_body,
|
7296
|
+
:auth_names => auth_names,
|
7297
|
+
:return_type => 'ListBoxFieldResponse')
|
7298
|
+
if @api_client.config.debugging
|
7299
|
+
@api_client.config.logger.debug "API called: PdfApi#get_list_box_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7300
|
+
end
|
7301
|
+
return data, status_code, headers
|
7302
|
+
end
|
7303
|
+
|
7082
7304
|
# Convert MD file (located on storage) to PDF format and return resulting file in response.
|
7083
7305
|
#
|
7084
7306
|
# @param src_path Full source filename (ex. /folder1/folder2/template.md)
|
@@ -8821,6 +9043,84 @@ module AsposePdfCloud
|
|
8821
9043
|
return data, status_code, headers
|
8822
9044
|
end
|
8823
9045
|
|
9046
|
+
# Read document page listbox fields.
|
9047
|
+
#
|
9048
|
+
# @param name The document name.
|
9049
|
+
# @param page_number The page number.
|
9050
|
+
# @param [Hash] opts the optional parameters
|
9051
|
+
# @option opts [String] :storage The document storage.
|
9052
|
+
# @option opts [String] :folder The document folder.
|
9053
|
+
# @return [ListBoxFieldsResponse]
|
9054
|
+
def get_page_list_box_fields(name, page_number, opts = {})
|
9055
|
+
@api_client.request_token_if_needed
|
9056
|
+
data, _status_code, _headers = get_page_list_box_fields_with_http_info(name, page_number, opts)
|
9057
|
+
rescue ApiError => error
|
9058
|
+
if error.code == 401
|
9059
|
+
@api_client.request_token_if_needed
|
9060
|
+
data, _status_code, _headers = get_page_list_box_fields_with_http_info(name, page_number, opts)
|
9061
|
+
else
|
9062
|
+
raise
|
9063
|
+
end
|
9064
|
+
return data
|
9065
|
+
end
|
9066
|
+
|
9067
|
+
# Read document page listbox fields.
|
9068
|
+
#
|
9069
|
+
# @param name The document name.
|
9070
|
+
# @param page_number The page number.
|
9071
|
+
# @param [Hash] opts the optional parameters
|
9072
|
+
# @option opts [String] :storage The document storage.
|
9073
|
+
# @option opts [String] :folder The document folder.
|
9074
|
+
# @return [Array<(ListBoxFieldsResponse, Fixnum, Hash)>] ListBoxFieldsResponse data, response status code and response headers
|
9075
|
+
def get_page_list_box_fields_with_http_info(name, page_number, opts = {})
|
9076
|
+
if @api_client.config.debugging
|
9077
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_page_list_box_fields ..."
|
9078
|
+
end
|
9079
|
+
# verify the required parameter 'name' is set
|
9080
|
+
if @api_client.config.client_side_validation && name.nil?
|
9081
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_page_list_box_fields"
|
9082
|
+
end
|
9083
|
+
# verify the required parameter 'page_number' is set
|
9084
|
+
if @api_client.config.client_side_validation && page_number.nil?
|
9085
|
+
fail ArgumentError, "Missing the required parameter 'page_number' when calling PdfApi.get_page_list_box_fields"
|
9086
|
+
end
|
9087
|
+
# resource path
|
9088
|
+
local_var_path = "/pdf/{name}/page/{pageNumber}/fields/listbox".sub('{' + 'name' + '}', name.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s)
|
9089
|
+
|
9090
|
+
# query parameters
|
9091
|
+
query_params = {}
|
9092
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
9093
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
9094
|
+
|
9095
|
+
# header parameters
|
9096
|
+
header_params = {}
|
9097
|
+
# HTTP header 'Accept' (if needed)
|
9098
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
9099
|
+
# HTTP header 'Content-Type'
|
9100
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
9101
|
+
|
9102
|
+
# form parameters
|
9103
|
+
form_params = {}
|
9104
|
+
# Fix header in file
|
9105
|
+
post_body = nil
|
9106
|
+
|
9107
|
+
# http body (model)
|
9108
|
+
# Fix header in file
|
9109
|
+
# post_body = nil
|
9110
|
+
auth_names = ['JWT']
|
9111
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
9112
|
+
:header_params => header_params,
|
9113
|
+
:query_params => query_params,
|
9114
|
+
:form_params => form_params,
|
9115
|
+
:body => post_body,
|
9116
|
+
:auth_names => auth_names,
|
9117
|
+
:return_type => 'ListBoxFieldsResponse')
|
9118
|
+
if @api_client.config.debugging
|
9119
|
+
@api_client.config.logger.debug "API called: PdfApi#get_page_list_box_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9120
|
+
end
|
9121
|
+
return data, status_code, headers
|
9122
|
+
end
|
9123
|
+
|
8824
9124
|
# Read document page movie annotations.
|
8825
9125
|
#
|
8826
9126
|
# @param name The document name.
|
@@ -10482,18 +10782,91 @@ module AsposePdfCloud
|
|
10482
10782
|
return data, status_code, headers
|
10483
10783
|
end
|
10484
10784
|
|
10485
|
-
#
|
10785
|
+
# Convert PDFA file (located on storage) to PDF format and return resulting file in response.
|
10486
10786
|
#
|
10487
|
-
# @param
|
10787
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.pdf)
|
10488
10788
|
# @param [Hash] opts the optional parameters
|
10489
|
-
# @option opts [BOOLEAN] :
|
10490
|
-
# @option opts [String] :
|
10491
|
-
# @
|
10492
|
-
|
10493
|
-
|
10494
|
-
|
10495
|
-
|
10496
|
-
|
10789
|
+
# @option opts [BOOLEAN] :dont_optimize If set, document resources will not be optimized.
|
10790
|
+
# @option opts [String] :storage The document storage.
|
10791
|
+
# @return [File]
|
10792
|
+
def get_pdf_a_in_storage_to_pdf(src_path, opts = {})
|
10793
|
+
@api_client.request_token_if_needed
|
10794
|
+
data, _status_code, _headers = get_pdf_a_in_storage_to_pdf_with_http_info(src_path, opts)
|
10795
|
+
rescue ApiError => error
|
10796
|
+
if error.code == 401
|
10797
|
+
@api_client.request_token_if_needed
|
10798
|
+
data, _status_code, _headers = get_pdf_a_in_storage_to_pdf_with_http_info(src_path, opts)
|
10799
|
+
else
|
10800
|
+
raise
|
10801
|
+
end
|
10802
|
+
return data
|
10803
|
+
end
|
10804
|
+
|
10805
|
+
# Convert PDFA file (located on storage) to PDF format and return resulting file in response.
|
10806
|
+
#
|
10807
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.pdf)
|
10808
|
+
# @param [Hash] opts the optional parameters
|
10809
|
+
# @option opts [BOOLEAN] :dont_optimize If set, document resources will not be optimized.
|
10810
|
+
# @option opts [String] :storage The document storage.
|
10811
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
10812
|
+
def get_pdf_a_in_storage_to_pdf_with_http_info(src_path, opts = {})
|
10813
|
+
if @api_client.config.debugging
|
10814
|
+
@api_client.config.logger.debug "Calling API: PdfApi.get_pdf_a_in_storage_to_pdf ..."
|
10815
|
+
end
|
10816
|
+
# verify the required parameter 'src_path' is set
|
10817
|
+
if @api_client.config.client_side_validation && src_path.nil?
|
10818
|
+
fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.get_pdf_a_in_storage_to_pdf"
|
10819
|
+
end
|
10820
|
+
# resource path
|
10821
|
+
local_var_path = "/pdf/create/pdfa"
|
10822
|
+
|
10823
|
+
# query parameters
|
10824
|
+
query_params = {}
|
10825
|
+
query_params[:'srcPath'] = src_path
|
10826
|
+
query_params[:'dontOptimize'] = opts[:'dont_optimize'] if !opts[:'dont_optimize'].nil?
|
10827
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
10828
|
+
|
10829
|
+
# header parameters
|
10830
|
+
header_params = {}
|
10831
|
+
# HTTP header 'Accept' (if needed)
|
10832
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
10833
|
+
# HTTP header 'Content-Type'
|
10834
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
10835
|
+
|
10836
|
+
# form parameters
|
10837
|
+
form_params = {}
|
10838
|
+
# Fix header in file
|
10839
|
+
post_body = nil
|
10840
|
+
|
10841
|
+
# http body (model)
|
10842
|
+
# Fix header in file
|
10843
|
+
# post_body = nil
|
10844
|
+
auth_names = ['JWT']
|
10845
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
10846
|
+
:header_params => header_params,
|
10847
|
+
:query_params => query_params,
|
10848
|
+
:form_params => form_params,
|
10849
|
+
:body => post_body,
|
10850
|
+
:auth_names => auth_names,
|
10851
|
+
:return_type => 'File')
|
10852
|
+
if @api_client.config.debugging
|
10853
|
+
@api_client.config.logger.debug "API called: PdfApi#get_pdf_a_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
10854
|
+
end
|
10855
|
+
return data, status_code, headers
|
10856
|
+
end
|
10857
|
+
|
10858
|
+
# Converts PDF document (located on storage) to DOC format and returns resulting file in response content
|
10859
|
+
#
|
10860
|
+
# @param name The document name.
|
10861
|
+
# @param [Hash] opts the optional parameters
|
10862
|
+
# @option opts [BOOLEAN] :add_return_to_line_end Add return to line end.
|
10863
|
+
# @option opts [String] :format Allows to specify .doc or .docx file format.
|
10864
|
+
# @option opts [Integer] :image_resolution_x Image resolution X.
|
10865
|
+
# @option opts [Integer] :image_resolution_y Image resolution Y.
|
10866
|
+
# @option opts [Float] :max_distance_between_text_lines Max distance between text lines.
|
10867
|
+
# @option opts [String] :mode Allows to control how a PDF document is converted into a word processing document.
|
10868
|
+
# @option opts [BOOLEAN] :recognize_bullets Recognize bullets.
|
10869
|
+
# @option opts [Float] :relative_horizontal_proximity Relative horizontal proximity.
|
10497
10870
|
# @option opts [String] :folder The document folder.
|
10498
10871
|
# @option opts [String] :storage The document storage.
|
10499
10872
|
# @return [File]
|
@@ -10696,6 +11069,7 @@ module AsposePdfCloud
|
|
10696
11069
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
10697
11070
|
# @option opts [String] :folder The document folder.
|
10698
11071
|
# @option opts [String] :storage The document storage.
|
11072
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
10699
11073
|
# @return [File]
|
10700
11074
|
def get_pdf_in_storage_to_html(name, opts = {})
|
10701
11075
|
@api_client.request_token_if_needed
|
@@ -10744,6 +11118,7 @@ module AsposePdfCloud
|
|
10744
11118
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
10745
11119
|
# @option opts [String] :folder The document folder.
|
10746
11120
|
# @option opts [String] :storage The document storage.
|
11121
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
10747
11122
|
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
10748
11123
|
def get_pdf_in_storage_to_html_with_http_info(name, opts = {})
|
10749
11124
|
if @api_client.config.debugging
|
@@ -10812,6 +11187,7 @@ module AsposePdfCloud
|
|
10812
11187
|
query_params[:'trySaveTextUnderliningAndStrikeoutingInCss'] = opts[:'try_save_text_underlining_and_strikeouting_in_css'] if !opts[:'try_save_text_underlining_and_strikeouting_in_css'].nil?
|
10813
11188
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
10814
11189
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
11190
|
+
query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
|
10815
11191
|
|
10816
11192
|
# header parameters
|
10817
11193
|
header_params = {}
|
@@ -10842,11 +11218,10 @@ module AsposePdfCloud
|
|
10842
11218
|
return data, status_code, headers
|
10843
11219
|
end
|
10844
11220
|
|
10845
|
-
# Converts PDF document (located on storage) to
|
11221
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
10846
11222
|
#
|
10847
11223
|
# @param name The document name.
|
10848
11224
|
# @param [Hash] opts the optional parameters
|
10849
|
-
# @option opts [Integer] :pages_count Pages count.
|
10850
11225
|
# @option opts [String] :folder The document folder.
|
10851
11226
|
# @option opts [String] :storage The document storage.
|
10852
11227
|
# @return [File]
|
@@ -10863,11 +11238,10 @@ module AsposePdfCloud
|
|
10863
11238
|
return data
|
10864
11239
|
end
|
10865
11240
|
|
10866
|
-
# Converts PDF document (located on storage) to
|
11241
|
+
# Converts PDF document (located on storage) to TeX format and returns resulting file in response content
|
10867
11242
|
#
|
10868
11243
|
# @param name The document name.
|
10869
11244
|
# @param [Hash] opts the optional parameters
|
10870
|
-
# @option opts [Integer] :pages_count Pages count.
|
10871
11245
|
# @option opts [String] :folder The document folder.
|
10872
11246
|
# @option opts [String] :storage The document storage.
|
10873
11247
|
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
@@ -10884,7 +11258,6 @@ module AsposePdfCloud
|
|
10884
11258
|
|
10885
11259
|
# query parameters
|
10886
11260
|
query_params = {}
|
10887
|
-
query_params[:'pagesCount'] = opts[:'pages_count'] if !opts[:'pages_count'].nil?
|
10888
11261
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
10889
11262
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
10890
11263
|
|
@@ -11225,6 +11598,78 @@ module AsposePdfCloud
|
|
11225
11598
|
return data, status_code, headers
|
11226
11599
|
end
|
11227
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
|
+
|
11228
11673
|
# Converts PDF document (located on storage) to TIFF format and returns resulting file in response content
|
11229
11674
|
#
|
11230
11675
|
# @param name The document name.
|
@@ -13075,6 +13520,76 @@ module AsposePdfCloud
|
|
13075
13520
|
return data, status_code, headers
|
13076
13521
|
end
|
13077
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
|
+
|
13078
13593
|
# Read document text.
|
13079
13594
|
#
|
13080
13595
|
# @param name The document name.
|
@@ -14264,7 +14779,7 @@ module AsposePdfCloud
|
|
14264
14779
|
# Add document bookmarks.
|
14265
14780
|
#
|
14266
14781
|
# @param name The document name.
|
14267
|
-
# @param bookmark_path The bookmark path.
|
14782
|
+
# @param bookmark_path The parent bookmark path. Specify an empty string when adding a bookmark to the root.
|
14268
14783
|
# @param bookmarks The array of bookmark.
|
14269
14784
|
# @param [Hash] opts the optional parameters
|
14270
14785
|
# @option opts [String] :folder The document folder.
|
@@ -14286,7 +14801,7 @@ module AsposePdfCloud
|
|
14286
14801
|
# Add document bookmarks.
|
14287
14802
|
#
|
14288
14803
|
# @param name The document name.
|
14289
|
-
# @param bookmark_path The bookmark path.
|
14804
|
+
# @param bookmark_path The parent bookmark path. Specify an empty string when adding a bookmark to the root.
|
14290
14805
|
# @param bookmarks The array of bookmark.
|
14291
14806
|
# @param [Hash] opts the optional parameters
|
14292
14807
|
# @option opts [String] :folder The document folder.
|
@@ -14591,6 +15106,83 @@ module AsposePdfCloud
|
|
14591
15106
|
return data, status_code, headers
|
14592
15107
|
end
|
14593
15108
|
|
15109
|
+
# Create empty document.
|
15110
|
+
#
|
15111
|
+
# @param name The new document name.
|
15112
|
+
# @param document_config The document config for new document.
|
15113
|
+
# @param [Hash] opts the optional parameters
|
15114
|
+
# @option opts [String] :storage The document storage.
|
15115
|
+
# @option opts [String] :folder The new document folder.
|
15116
|
+
# @return [DocumentResponse]
|
15117
|
+
def post_create_document(name, document_config, opts = {})
|
15118
|
+
@api_client.request_token_if_needed
|
15119
|
+
data, _status_code, _headers = post_create_document_with_http_info(name, document_config, opts)
|
15120
|
+
rescue ApiError => error
|
15121
|
+
if error.code == 401
|
15122
|
+
@api_client.request_token_if_needed
|
15123
|
+
data, _status_code, _headers = post_create_document_with_http_info(name, document_config, opts)
|
15124
|
+
else
|
15125
|
+
raise
|
15126
|
+
end
|
15127
|
+
return data
|
15128
|
+
end
|
15129
|
+
|
15130
|
+
# Create empty document.
|
15131
|
+
#
|
15132
|
+
# @param name The new document name.
|
15133
|
+
# @param document_config The document config for new document.
|
15134
|
+
# @param [Hash] opts the optional parameters
|
15135
|
+
# @option opts [String] :storage The document storage.
|
15136
|
+
# @option opts [String] :folder The new document folder.
|
15137
|
+
# @return [Array<(DocumentResponse, Fixnum, Hash)>] DocumentResponse data, response status code and response headers
|
15138
|
+
def post_create_document_with_http_info(name, document_config, opts = {})
|
15139
|
+
if @api_client.config.debugging
|
15140
|
+
@api_client.config.logger.debug "Calling API: PdfApi.post_create_document ..."
|
15141
|
+
end
|
15142
|
+
# verify the required parameter 'name' is set
|
15143
|
+
if @api_client.config.client_side_validation && name.nil?
|
15144
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.post_create_document"
|
15145
|
+
end
|
15146
|
+
# verify the required parameter 'document_config' is set
|
15147
|
+
if @api_client.config.client_side_validation && document_config.nil?
|
15148
|
+
fail ArgumentError, "Missing the required parameter 'document_config' when calling PdfApi.post_create_document"
|
15149
|
+
end
|
15150
|
+
# resource path
|
15151
|
+
local_var_path = "/pdf/{name}".sub('{' + 'name' + '}', name.to_s)
|
15152
|
+
|
15153
|
+
# query parameters
|
15154
|
+
query_params = {}
|
15155
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
15156
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
15157
|
+
|
15158
|
+
# header parameters
|
15159
|
+
header_params = {}
|
15160
|
+
# HTTP header 'Accept' (if needed)
|
15161
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
15162
|
+
# HTTP header 'Content-Type'
|
15163
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
15164
|
+
|
15165
|
+
# form parameters
|
15166
|
+
form_params = {}
|
15167
|
+
# Fix header in file
|
15168
|
+
post_body = nil
|
15169
|
+
|
15170
|
+
# http body (model)
|
15171
|
+
post_body = @api_client.object_to_http_body(document_config)
|
15172
|
+
auth_names = ['JWT']
|
15173
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
15174
|
+
:header_params => header_params,
|
15175
|
+
:query_params => query_params,
|
15176
|
+
:form_params => form_params,
|
15177
|
+
:body => post_body,
|
15178
|
+
:auth_names => auth_names,
|
15179
|
+
:return_type => 'DocumentResponse')
|
15180
|
+
if @api_client.config.debugging
|
15181
|
+
@api_client.config.logger.debug "API called: PdfApi#post_create_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
15182
|
+
end
|
15183
|
+
return data, status_code, headers
|
15184
|
+
end
|
15185
|
+
|
14594
15186
|
# Create field.
|
14595
15187
|
#
|
14596
15188
|
# @param name The document name.
|
@@ -15771,6 +16363,83 @@ module AsposePdfCloud
|
|
15771
16363
|
return data, status_code, headers
|
15772
16364
|
end
|
15773
16365
|
|
16366
|
+
# Add document listbox fields.
|
16367
|
+
#
|
16368
|
+
# @param name The document name.
|
16369
|
+
# @param fields The array of field.
|
16370
|
+
# @param [Hash] opts the optional parameters
|
16371
|
+
# @option opts [String] :storage The document storage.
|
16372
|
+
# @option opts [String] :folder The document folder.
|
16373
|
+
# @return [AsposeResponse]
|
16374
|
+
def post_list_box_fields(name, fields, opts = {})
|
16375
|
+
@api_client.request_token_if_needed
|
16376
|
+
data, _status_code, _headers = post_list_box_fields_with_http_info(name, fields, opts)
|
16377
|
+
rescue ApiError => error
|
16378
|
+
if error.code == 401
|
16379
|
+
@api_client.request_token_if_needed
|
16380
|
+
data, _status_code, _headers = post_list_box_fields_with_http_info(name, fields, opts)
|
16381
|
+
else
|
16382
|
+
raise
|
16383
|
+
end
|
16384
|
+
return data
|
16385
|
+
end
|
16386
|
+
|
16387
|
+
# Add document listbox fields.
|
16388
|
+
#
|
16389
|
+
# @param name The document name.
|
16390
|
+
# @param fields The array of field.
|
16391
|
+
# @param [Hash] opts the optional parameters
|
16392
|
+
# @option opts [String] :storage The document storage.
|
16393
|
+
# @option opts [String] :folder The document folder.
|
16394
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
16395
|
+
def post_list_box_fields_with_http_info(name, fields, opts = {})
|
16396
|
+
if @api_client.config.debugging
|
16397
|
+
@api_client.config.logger.debug "Calling API: PdfApi.post_list_box_fields ..."
|
16398
|
+
end
|
16399
|
+
# verify the required parameter 'name' is set
|
16400
|
+
if @api_client.config.client_side_validation && name.nil?
|
16401
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.post_list_box_fields"
|
16402
|
+
end
|
16403
|
+
# verify the required parameter 'fields' is set
|
16404
|
+
if @api_client.config.client_side_validation && fields.nil?
|
16405
|
+
fail ArgumentError, "Missing the required parameter 'fields' when calling PdfApi.post_list_box_fields"
|
16406
|
+
end
|
16407
|
+
# resource path
|
16408
|
+
local_var_path = "/pdf/{name}/fields/listbox".sub('{' + 'name' + '}', name.to_s)
|
16409
|
+
|
16410
|
+
# query parameters
|
16411
|
+
query_params = {}
|
16412
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
16413
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
16414
|
+
|
16415
|
+
# header parameters
|
16416
|
+
header_params = {}
|
16417
|
+
# HTTP header 'Accept' (if needed)
|
16418
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
16419
|
+
# HTTP header 'Content-Type'
|
16420
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
16421
|
+
|
16422
|
+
# form parameters
|
16423
|
+
form_params = {}
|
16424
|
+
# Fix header in file
|
16425
|
+
post_body = nil
|
16426
|
+
|
16427
|
+
# http body (model)
|
16428
|
+
post_body = @api_client.object_to_http_body(fields)
|
16429
|
+
auth_names = ['JWT']
|
16430
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
16431
|
+
:header_params => header_params,
|
16432
|
+
:query_params => query_params,
|
16433
|
+
:form_params => form_params,
|
16434
|
+
:body => post_body,
|
16435
|
+
:auth_names => auth_names,
|
16436
|
+
:return_type => 'AsposeResponse')
|
16437
|
+
if @api_client.config.debugging
|
16438
|
+
@api_client.config.logger.debug "API called: PdfApi#post_list_box_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
16439
|
+
end
|
16440
|
+
return data, status_code, headers
|
16441
|
+
end
|
16442
|
+
|
15774
16443
|
# Move page to new position.
|
15775
16444
|
#
|
15776
16445
|
# @param name The document name.
|
@@ -18422,6 +19091,83 @@ module AsposePdfCloud
|
|
18422
19091
|
return data, status_code, headers
|
18423
19092
|
end
|
18424
19093
|
|
19094
|
+
# Add document signature field.
|
19095
|
+
#
|
19096
|
+
# @param name The document name.
|
19097
|
+
# @param field The field.
|
19098
|
+
# @param [Hash] opts the optional parameters
|
19099
|
+
# @option opts [String] :storage The document storage.
|
19100
|
+
# @option opts [String] :folder The document folder.
|
19101
|
+
# @return [AsposeResponse]
|
19102
|
+
def post_signature_field(name, field, opts = {})
|
19103
|
+
@api_client.request_token_if_needed
|
19104
|
+
data, _status_code, _headers = post_signature_field_with_http_info(name, field, opts)
|
19105
|
+
rescue ApiError => error
|
19106
|
+
if error.code == 401
|
19107
|
+
@api_client.request_token_if_needed
|
19108
|
+
data, _status_code, _headers = post_signature_field_with_http_info(name, field, opts)
|
19109
|
+
else
|
19110
|
+
raise
|
19111
|
+
end
|
19112
|
+
return data
|
19113
|
+
end
|
19114
|
+
|
19115
|
+
# Add document signature field.
|
19116
|
+
#
|
19117
|
+
# @param name The document name.
|
19118
|
+
# @param field The field.
|
19119
|
+
# @param [Hash] opts the optional parameters
|
19120
|
+
# @option opts [String] :storage The document storage.
|
19121
|
+
# @option opts [String] :folder The document folder.
|
19122
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
19123
|
+
def post_signature_field_with_http_info(name, field, opts = {})
|
19124
|
+
if @api_client.config.debugging
|
19125
|
+
@api_client.config.logger.debug "Calling API: PdfApi.post_signature_field ..."
|
19126
|
+
end
|
19127
|
+
# verify the required parameter 'name' is set
|
19128
|
+
if @api_client.config.client_side_validation && name.nil?
|
19129
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.post_signature_field"
|
19130
|
+
end
|
19131
|
+
# verify the required parameter 'field' is set
|
19132
|
+
if @api_client.config.client_side_validation && field.nil?
|
19133
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling PdfApi.post_signature_field"
|
19134
|
+
end
|
19135
|
+
# resource path
|
19136
|
+
local_var_path = "/pdf/{name}/fields/signature".sub('{' + 'name' + '}', name.to_s)
|
19137
|
+
|
19138
|
+
# query parameters
|
19139
|
+
query_params = {}
|
19140
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
19141
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
19142
|
+
|
19143
|
+
# header parameters
|
19144
|
+
header_params = {}
|
19145
|
+
# HTTP header 'Accept' (if needed)
|
19146
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
19147
|
+
# HTTP header 'Content-Type'
|
19148
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
19149
|
+
|
19150
|
+
# form parameters
|
19151
|
+
form_params = {}
|
19152
|
+
# Fix header in file
|
19153
|
+
post_body = nil
|
19154
|
+
|
19155
|
+
# http body (model)
|
19156
|
+
post_body = @api_client.object_to_http_body(field)
|
19157
|
+
auth_names = ['JWT']
|
19158
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
19159
|
+
:header_params => header_params,
|
19160
|
+
:query_params => query_params,
|
19161
|
+
:form_params => form_params,
|
19162
|
+
:body => post_body,
|
19163
|
+
:auth_names => auth_names,
|
19164
|
+
:return_type => 'AsposeResponse')
|
19165
|
+
if @api_client.config.debugging
|
19166
|
+
@api_client.config.logger.debug "API called: PdfApi#post_signature_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
19167
|
+
end
|
19168
|
+
return data, status_code, headers
|
19169
|
+
end
|
19170
|
+
|
18425
19171
|
# Split document to parts.
|
18426
19172
|
#
|
18427
19173
|
# @param name Document name.
|
@@ -19479,6 +20225,83 @@ module AsposePdfCloud
|
|
19479
20225
|
return data, status_code, headers
|
19480
20226
|
end
|
19481
20227
|
|
20228
|
+
# Update document display properties.
|
20229
|
+
#
|
20230
|
+
# @param name The document name.
|
20231
|
+
# @param display_properties The display properties.
|
20232
|
+
# @param [Hash] opts the optional parameters
|
20233
|
+
# @option opts [String] :storage The document storage.
|
20234
|
+
# @option opts [String] :folder The document folder.
|
20235
|
+
# @return [DisplayPropertiesResponse]
|
20236
|
+
def put_document_display_properties(name, display_properties, opts = {})
|
20237
|
+
@api_client.request_token_if_needed
|
20238
|
+
data, _status_code, _headers = put_document_display_properties_with_http_info(name, display_properties, opts)
|
20239
|
+
rescue ApiError => error
|
20240
|
+
if error.code == 401
|
20241
|
+
@api_client.request_token_if_needed
|
20242
|
+
data, _status_code, _headers = put_document_display_properties_with_http_info(name, display_properties, opts)
|
20243
|
+
else
|
20244
|
+
raise
|
20245
|
+
end
|
20246
|
+
return data
|
20247
|
+
end
|
20248
|
+
|
20249
|
+
# Update document display properties.
|
20250
|
+
#
|
20251
|
+
# @param name The document name.
|
20252
|
+
# @param display_properties The display properties.
|
20253
|
+
# @param [Hash] opts the optional parameters
|
20254
|
+
# @option opts [String] :storage The document storage.
|
20255
|
+
# @option opts [String] :folder The document folder.
|
20256
|
+
# @return [Array<(DisplayPropertiesResponse, Fixnum, Hash)>] DisplayPropertiesResponse data, response status code and response headers
|
20257
|
+
def put_document_display_properties_with_http_info(name, display_properties, opts = {})
|
20258
|
+
if @api_client.config.debugging
|
20259
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_document_display_properties ..."
|
20260
|
+
end
|
20261
|
+
# verify the required parameter 'name' is set
|
20262
|
+
if @api_client.config.client_side_validation && name.nil?
|
20263
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_document_display_properties"
|
20264
|
+
end
|
20265
|
+
# verify the required parameter 'display_properties' is set
|
20266
|
+
if @api_client.config.client_side_validation && display_properties.nil?
|
20267
|
+
fail ArgumentError, "Missing the required parameter 'display_properties' when calling PdfApi.put_document_display_properties"
|
20268
|
+
end
|
20269
|
+
# resource path
|
20270
|
+
local_var_path = "/pdf/{name}/displayproperties".sub('{' + 'name' + '}', name.to_s)
|
20271
|
+
|
20272
|
+
# query parameters
|
20273
|
+
query_params = {}
|
20274
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
20275
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
20276
|
+
|
20277
|
+
# header parameters
|
20278
|
+
header_params = {}
|
20279
|
+
# HTTP header 'Accept' (if needed)
|
20280
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
20281
|
+
# HTTP header 'Content-Type'
|
20282
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
20283
|
+
|
20284
|
+
# form parameters
|
20285
|
+
form_params = {}
|
20286
|
+
# Fix header in file
|
20287
|
+
post_body = nil
|
20288
|
+
|
20289
|
+
# http body (model)
|
20290
|
+
post_body = @api_client.object_to_http_body(display_properties)
|
20291
|
+
auth_names = ['JWT']
|
20292
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
20293
|
+
:header_params => header_params,
|
20294
|
+
:query_params => query_params,
|
20295
|
+
:form_params => form_params,
|
20296
|
+
:body => post_body,
|
20297
|
+
:auth_names => auth_names,
|
20298
|
+
:return_type => 'DisplayPropertiesResponse')
|
20299
|
+
if @api_client.config.debugging
|
20300
|
+
@api_client.config.logger.debug "API called: PdfApi#put_document_display_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
20301
|
+
end
|
20302
|
+
return data, status_code, headers
|
20303
|
+
end
|
20304
|
+
|
19482
20305
|
# Encrypt document from content.
|
19483
20306
|
#
|
19484
20307
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.doc)
|
@@ -21498,7 +22321,7 @@ module AsposePdfCloud
|
|
21498
22321
|
return data, status_code, headers
|
21499
22322
|
end
|
21500
22323
|
|
21501
|
-
# Convert
|
22324
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
21502
22325
|
#
|
21503
22326
|
# @param name The document name.
|
21504
22327
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
@@ -21519,7 +22342,7 @@ module AsposePdfCloud
|
|
21519
22342
|
return data
|
21520
22343
|
end
|
21521
22344
|
|
21522
|
-
# Convert
|
22345
|
+
# Convert TeX file (located on storage) to PDF format and upload resulting file to storage.
|
21523
22346
|
#
|
21524
22347
|
# @param name The document name.
|
21525
22348
|
# @param src_path Full source filename (ex. /folder1/folder2/template.tex)
|
@@ -21743,55 +22566,60 @@ module AsposePdfCloud
|
|
21743
22566
|
return data, status_code, headers
|
21744
22567
|
end
|
21745
22568
|
|
21746
|
-
#
|
22569
|
+
# Replace document listbox field
|
21747
22570
|
#
|
21748
22571
|
# @param name The document name.
|
21749
|
-
# @param
|
22572
|
+
# @param field_name The field name.
|
22573
|
+
# @param field The field.
|
21750
22574
|
# @param [Hash] opts the optional parameters
|
21751
22575
|
# @option opts [String] :storage The document storage.
|
21752
|
-
# @option opts [String] :
|
21753
|
-
# @return [
|
21754
|
-
def
|
22576
|
+
# @option opts [String] :folder The document folder.
|
22577
|
+
# @return [ListBoxFieldResponse]
|
22578
|
+
def put_list_box_field(name, field_name, field, opts = {})
|
21755
22579
|
@api_client.request_token_if_needed
|
21756
|
-
data, _status_code, _headers =
|
22580
|
+
data, _status_code, _headers = put_list_box_field_with_http_info(name, field_name, field, opts)
|
21757
22581
|
rescue ApiError => error
|
21758
22582
|
if error.code == 401
|
21759
22583
|
@api_client.request_token_if_needed
|
21760
|
-
data, _status_code, _headers =
|
22584
|
+
data, _status_code, _headers = put_list_box_field_with_http_info(name, field_name, field, opts)
|
21761
22585
|
else
|
21762
22586
|
raise
|
21763
22587
|
end
|
21764
22588
|
return data
|
21765
22589
|
end
|
21766
22590
|
|
21767
|
-
#
|
22591
|
+
# Replace document listbox field
|
21768
22592
|
#
|
21769
22593
|
# @param name The document name.
|
21770
|
-
# @param
|
22594
|
+
# @param field_name The field name.
|
22595
|
+
# @param field The field.
|
21771
22596
|
# @param [Hash] opts the optional parameters
|
21772
22597
|
# @option opts [String] :storage The document storage.
|
21773
|
-
# @option opts [String] :
|
21774
|
-
# @return [Array<(
|
21775
|
-
def
|
22598
|
+
# @option opts [String] :folder The document folder.
|
22599
|
+
# @return [Array<(ListBoxFieldResponse, Fixnum, Hash)>] ListBoxFieldResponse data, response status code and response headers
|
22600
|
+
def put_list_box_field_with_http_info(name, field_name, field, opts = {})
|
21776
22601
|
if @api_client.config.debugging
|
21777
|
-
@api_client.config.logger.debug "Calling API: PdfApi.
|
22602
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_list_box_field ..."
|
21778
22603
|
end
|
21779
22604
|
# verify the required parameter 'name' is set
|
21780
22605
|
if @api_client.config.client_side_validation && name.nil?
|
21781
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.
|
22606
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_list_box_field"
|
21782
22607
|
end
|
21783
|
-
# verify the required parameter '
|
21784
|
-
if @api_client.config.client_side_validation &&
|
21785
|
-
fail ArgumentError, "Missing the required parameter '
|
22608
|
+
# verify the required parameter 'field_name' is set
|
22609
|
+
if @api_client.config.client_side_validation && field_name.nil?
|
22610
|
+
fail ArgumentError, "Missing the required parameter 'field_name' when calling PdfApi.put_list_box_field"
|
22611
|
+
end
|
22612
|
+
# verify the required parameter 'field' is set
|
22613
|
+
if @api_client.config.client_side_validation && field.nil?
|
22614
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling PdfApi.put_list_box_field"
|
21786
22615
|
end
|
21787
22616
|
# resource path
|
21788
|
-
local_var_path = "/pdf/{name}/
|
22617
|
+
local_var_path = "/pdf/{name}/fields/listbox/{fieldName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'fieldName' + '}', field_name.to_s)
|
21789
22618
|
|
21790
22619
|
# query parameters
|
21791
22620
|
query_params = {}
|
21792
|
-
query_params[:'srcPath'] = src_path
|
21793
22621
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
21794
|
-
query_params[:'
|
22622
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
21795
22623
|
|
21796
22624
|
# header parameters
|
21797
22625
|
header_params = {}
|
@@ -21806,8 +22634,7 @@ module AsposePdfCloud
|
|
21806
22634
|
post_body = nil
|
21807
22635
|
|
21808
22636
|
# http body (model)
|
21809
|
-
|
21810
|
-
# post_body = nil
|
22637
|
+
post_body = @api_client.object_to_http_body(field)
|
21811
22638
|
auth_names = ['JWT']
|
21812
22639
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
21813
22640
|
:header_params => header_params,
|
@@ -21815,43 +22642,122 @@ module AsposePdfCloud
|
|
21815
22642
|
:form_params => form_params,
|
21816
22643
|
:body => post_body,
|
21817
22644
|
:auth_names => auth_names,
|
21818
|
-
:return_type => '
|
22645
|
+
:return_type => 'ListBoxFieldResponse')
|
21819
22646
|
if @api_client.config.debugging
|
21820
|
-
@api_client.config.logger.debug "API called: PdfApi#
|
22647
|
+
@api_client.config.logger.debug "API called: PdfApi#put_list_box_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
21821
22648
|
end
|
21822
22649
|
return data, status_code, headers
|
21823
22650
|
end
|
21824
22651
|
|
21825
|
-
#
|
22652
|
+
# Convert MD file (located on storage) to PDF format and upload resulting file to storage.
|
21826
22653
|
#
|
21827
|
-
# @param name
|
21828
|
-
# @param
|
22654
|
+
# @param name The document name.
|
22655
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.md)
|
21829
22656
|
# @param [Hash] opts the optional parameters
|
21830
|
-
# @option opts [String] :storage
|
21831
|
-
# @option opts [String] :
|
21832
|
-
# @return [
|
21833
|
-
def
|
22657
|
+
# @option opts [String] :storage The document storage.
|
22658
|
+
# @option opts [String] :dst_folder The destination document folder.
|
22659
|
+
# @return [AsposeResponse]
|
22660
|
+
def put_markdown_in_storage_to_pdf(name, src_path, opts = {})
|
21834
22661
|
@api_client.request_token_if_needed
|
21835
|
-
data, _status_code, _headers =
|
22662
|
+
data, _status_code, _headers = put_markdown_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
21836
22663
|
rescue ApiError => error
|
21837
22664
|
if error.code == 401
|
21838
22665
|
@api_client.request_token_if_needed
|
21839
|
-
data, _status_code, _headers =
|
22666
|
+
data, _status_code, _headers = put_markdown_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
21840
22667
|
else
|
21841
22668
|
raise
|
21842
22669
|
end
|
21843
22670
|
return data
|
21844
22671
|
end
|
21845
22672
|
|
21846
|
-
#
|
22673
|
+
# Convert MD file (located on storage) to PDF format and upload resulting file to storage.
|
21847
22674
|
#
|
21848
|
-
# @param name
|
21849
|
-
# @param
|
22675
|
+
# @param name The document name.
|
22676
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.md)
|
21850
22677
|
# @param [Hash] opts the optional parameters
|
21851
|
-
# @option opts [String] :storage
|
21852
|
-
# @option opts [String] :
|
21853
|
-
# @return [Array<(
|
21854
|
-
def
|
22678
|
+
# @option opts [String] :storage The document storage.
|
22679
|
+
# @option opts [String] :dst_folder The destination document folder.
|
22680
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
22681
|
+
def put_markdown_in_storage_to_pdf_with_http_info(name, src_path, opts = {})
|
22682
|
+
if @api_client.config.debugging
|
22683
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_markdown_in_storage_to_pdf ..."
|
22684
|
+
end
|
22685
|
+
# verify the required parameter 'name' is set
|
22686
|
+
if @api_client.config.client_side_validation && name.nil?
|
22687
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_markdown_in_storage_to_pdf"
|
22688
|
+
end
|
22689
|
+
# verify the required parameter 'src_path' is set
|
22690
|
+
if @api_client.config.client_side_validation && src_path.nil?
|
22691
|
+
fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.put_markdown_in_storage_to_pdf"
|
22692
|
+
end
|
22693
|
+
# resource path
|
22694
|
+
local_var_path = "/pdf/{name}/create/markdown".sub('{' + 'name' + '}', name.to_s)
|
22695
|
+
|
22696
|
+
# query parameters
|
22697
|
+
query_params = {}
|
22698
|
+
query_params[:'srcPath'] = src_path
|
22699
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
22700
|
+
query_params[:'dstFolder'] = opts[:'dst_folder'] if !opts[:'dst_folder'].nil?
|
22701
|
+
|
22702
|
+
# header parameters
|
22703
|
+
header_params = {}
|
22704
|
+
# HTTP header 'Accept' (if needed)
|
22705
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
22706
|
+
# HTTP header 'Content-Type'
|
22707
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
22708
|
+
|
22709
|
+
# form parameters
|
22710
|
+
form_params = {}
|
22711
|
+
# Fix header in file
|
22712
|
+
post_body = nil
|
22713
|
+
|
22714
|
+
# http body (model)
|
22715
|
+
# Fix header in file
|
22716
|
+
# post_body = nil
|
22717
|
+
auth_names = ['JWT']
|
22718
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
22719
|
+
:header_params => header_params,
|
22720
|
+
:query_params => query_params,
|
22721
|
+
:form_params => form_params,
|
22722
|
+
:body => post_body,
|
22723
|
+
:auth_names => auth_names,
|
22724
|
+
:return_type => 'AsposeResponse')
|
22725
|
+
if @api_client.config.debugging
|
22726
|
+
@api_client.config.logger.debug "API called: PdfApi#put_markdown_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
22727
|
+
end
|
22728
|
+
return data, status_code, headers
|
22729
|
+
end
|
22730
|
+
|
22731
|
+
# Merge a list of documents.
|
22732
|
+
#
|
22733
|
+
# @param name Resulting documen name.
|
22734
|
+
# @param merge_documents MergeDocuments with a list of documents.
|
22735
|
+
# @param [Hash] opts the optional parameters
|
22736
|
+
# @option opts [String] :storage Resulting document storage.
|
22737
|
+
# @option opts [String] :folder Resulting document folder.
|
22738
|
+
# @return [DocumentResponse]
|
22739
|
+
def put_merge_documents(name, merge_documents, opts = {})
|
22740
|
+
@api_client.request_token_if_needed
|
22741
|
+
data, _status_code, _headers = put_merge_documents_with_http_info(name, merge_documents, opts)
|
22742
|
+
rescue ApiError => error
|
22743
|
+
if error.code == 401
|
22744
|
+
@api_client.request_token_if_needed
|
22745
|
+
data, _status_code, _headers = put_merge_documents_with_http_info(name, merge_documents, opts)
|
22746
|
+
else
|
22747
|
+
raise
|
22748
|
+
end
|
22749
|
+
return data
|
22750
|
+
end
|
22751
|
+
|
22752
|
+
# Merge a list of documents.
|
22753
|
+
#
|
22754
|
+
# @param name Resulting documen name.
|
22755
|
+
# @param merge_documents MergeDocuments with a list of documents.
|
22756
|
+
# @param [Hash] opts the optional parameters
|
22757
|
+
# @option opts [String] :storage Resulting document storage.
|
22758
|
+
# @option opts [String] :folder Resulting document folder.
|
22759
|
+
# @return [Array<(DocumentResponse, Fixnum, Hash)>] DocumentResponse data, response status code and response headers
|
22760
|
+
def put_merge_documents_with_http_info(name, merge_documents, opts = {})
|
21855
22761
|
if @api_client.config.debugging
|
21856
22762
|
@api_client.config.logger.debug "Calling API: PdfApi.put_merge_documents ..."
|
21857
22763
|
end
|
@@ -22769,6 +23675,88 @@ module AsposePdfCloud
|
|
22769
23675
|
return data, status_code, headers
|
22770
23676
|
end
|
22771
23677
|
|
23678
|
+
# Convert PDFA file (located on storage) to PDF format and upload resulting file to storage.
|
23679
|
+
#
|
23680
|
+
# @param name The document name.
|
23681
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.pdf)
|
23682
|
+
# @param [Hash] opts the optional parameters
|
23683
|
+
# @option opts [String] :dst_folder The destination document folder.
|
23684
|
+
# @option opts [BOOLEAN] :dont_optimize If set, document resources will not be optimized.
|
23685
|
+
# @option opts [String] :storage The document storage.
|
23686
|
+
# @return [AsposeResponse]
|
23687
|
+
def put_pdf_a_in_storage_to_pdf(name, src_path, opts = {})
|
23688
|
+
@api_client.request_token_if_needed
|
23689
|
+
data, _status_code, _headers = put_pdf_a_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
23690
|
+
rescue ApiError => error
|
23691
|
+
if error.code == 401
|
23692
|
+
@api_client.request_token_if_needed
|
23693
|
+
data, _status_code, _headers = put_pdf_a_in_storage_to_pdf_with_http_info(name, src_path, opts)
|
23694
|
+
else
|
23695
|
+
raise
|
23696
|
+
end
|
23697
|
+
return data
|
23698
|
+
end
|
23699
|
+
|
23700
|
+
# Convert PDFA file (located on storage) to PDF format and upload resulting file to storage.
|
23701
|
+
#
|
23702
|
+
# @param name The document name.
|
23703
|
+
# @param src_path Full source filename (ex. /folder1/folder2/template.pdf)
|
23704
|
+
# @param [Hash] opts the optional parameters
|
23705
|
+
# @option opts [String] :dst_folder The destination document folder.
|
23706
|
+
# @option opts [BOOLEAN] :dont_optimize If set, document resources will not be optimized.
|
23707
|
+
# @option opts [String] :storage The document storage.
|
23708
|
+
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
23709
|
+
def put_pdf_a_in_storage_to_pdf_with_http_info(name, src_path, opts = {})
|
23710
|
+
if @api_client.config.debugging
|
23711
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_pdf_a_in_storage_to_pdf ..."
|
23712
|
+
end
|
23713
|
+
# verify the required parameter 'name' is set
|
23714
|
+
if @api_client.config.client_side_validation && name.nil?
|
23715
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_pdf_a_in_storage_to_pdf"
|
23716
|
+
end
|
23717
|
+
# verify the required parameter 'src_path' is set
|
23718
|
+
if @api_client.config.client_side_validation && src_path.nil?
|
23719
|
+
fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.put_pdf_a_in_storage_to_pdf"
|
23720
|
+
end
|
23721
|
+
# resource path
|
23722
|
+
local_var_path = "/pdf/{name}/create/pdfa".sub('{' + 'name' + '}', name.to_s)
|
23723
|
+
|
23724
|
+
# query parameters
|
23725
|
+
query_params = {}
|
23726
|
+
query_params[:'srcPath'] = src_path
|
23727
|
+
query_params[:'dstFolder'] = opts[:'dst_folder'] if !opts[:'dst_folder'].nil?
|
23728
|
+
query_params[:'dontOptimize'] = opts[:'dont_optimize'] if !opts[:'dont_optimize'].nil?
|
23729
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
23730
|
+
|
23731
|
+
# header parameters
|
23732
|
+
header_params = {}
|
23733
|
+
# HTTP header 'Accept' (if needed)
|
23734
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
23735
|
+
# HTTP header 'Content-Type'
|
23736
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
23737
|
+
|
23738
|
+
# form parameters
|
23739
|
+
form_params = {}
|
23740
|
+
# Fix header in file
|
23741
|
+
post_body = nil
|
23742
|
+
|
23743
|
+
# http body (model)
|
23744
|
+
# Fix header in file
|
23745
|
+
# post_body = nil
|
23746
|
+
auth_names = ['JWT']
|
23747
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
23748
|
+
:header_params => header_params,
|
23749
|
+
:query_params => query_params,
|
23750
|
+
:form_params => form_params,
|
23751
|
+
:body => post_body,
|
23752
|
+
:auth_names => auth_names,
|
23753
|
+
:return_type => 'AsposeResponse')
|
23754
|
+
if @api_client.config.debugging
|
23755
|
+
@api_client.config.logger.debug "API called: PdfApi#put_pdf_a_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
23756
|
+
end
|
23757
|
+
return data, status_code, headers
|
23758
|
+
end
|
23759
|
+
|
22772
23760
|
# Converts PDF document (in request content) to DOC format and uploads resulting file to storage.
|
22773
23761
|
#
|
22774
23762
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.doc)
|
@@ -22986,6 +23974,7 @@ module AsposePdfCloud
|
|
22986
23974
|
# @option opts [String] :special_folder_for_svg_images The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file.
|
22987
23975
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
22988
23976
|
# @option opts [String] :storage The document storage.
|
23977
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
22989
23978
|
# @option opts [File] :file A file to be converted.
|
22990
23979
|
# @return [AsposeResponse]
|
22991
23980
|
def put_pdf_in_request_to_html(out_path, opts = {})
|
@@ -23034,6 +24023,7 @@ module AsposePdfCloud
|
|
23034
24023
|
# @option opts [String] :special_folder_for_svg_images The path to directory to which must be saved only SVG-images if they are encountered during saving of document as HTML. If parameter is empty or null then SVG files(if any) wil be saved together with other image-files (near to output file) or in special folder for images (if it specified in SpecialImagesFolderIfAny option). It does not affect anything if CustomImageSavingStrategy property was successfully used to process relevant image file.
|
23035
24024
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
23036
24025
|
# @option opts [String] :storage The document storage.
|
24026
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
23037
24027
|
# @option opts [File] :file A file to be converted.
|
23038
24028
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
23039
24029
|
def put_pdf_in_request_to_html_with_http_info(out_path, opts = {})
|
@@ -23103,6 +24093,7 @@ module AsposePdfCloud
|
|
23103
24093
|
query_params[:'specialFolderForSvgImages'] = opts[:'special_folder_for_svg_images'] if !opts[:'special_folder_for_svg_images'].nil?
|
23104
24094
|
query_params[:'trySaveTextUnderliningAndStrikeoutingInCss'] = opts[:'try_save_text_underlining_and_strikeouting_in_css'] if !opts[:'try_save_text_underlining_and_strikeouting_in_css'].nil?
|
23105
24095
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
24096
|
+
query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
|
23106
24097
|
|
23107
24098
|
# header parameters
|
23108
24099
|
header_params = {}
|
@@ -23135,11 +24126,10 @@ module AsposePdfCloud
|
|
23135
24126
|
return data, status_code, headers
|
23136
24127
|
end
|
23137
24128
|
|
23138
|
-
# Converts PDF document (in request content) to
|
24129
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
23139
24130
|
#
|
23140
24131
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
23141
24132
|
# @param [Hash] opts the optional parameters
|
23142
|
-
# @option opts [Integer] :pages_count Pages count.
|
23143
24133
|
# @option opts [String] :storage The document storage.
|
23144
24134
|
# @option opts [File] :file A file to be converted.
|
23145
24135
|
# @return [AsposeResponse]
|
@@ -23156,11 +24146,10 @@ module AsposePdfCloud
|
|
23156
24146
|
return data
|
23157
24147
|
end
|
23158
24148
|
|
23159
|
-
# Converts PDF document (in request content) to
|
24149
|
+
# Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
|
23160
24150
|
#
|
23161
24151
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
23162
24152
|
# @param [Hash] opts the optional parameters
|
23163
|
-
# @option opts [Integer] :pages_count Pages count.
|
23164
24153
|
# @option opts [String] :storage The document storage.
|
23165
24154
|
# @option opts [File] :file A file to be converted.
|
23166
24155
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
@@ -23178,7 +24167,6 @@ module AsposePdfCloud
|
|
23178
24167
|
# query parameters
|
23179
24168
|
query_params = {}
|
23180
24169
|
query_params[:'outPath'] = out_path
|
23181
|
-
query_params[:'pagesCount'] = opts[:'pages_count'] if !opts[:'pages_count'].nil?
|
23182
24170
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
23183
24171
|
|
23184
24172
|
# header parameters
|
@@ -23525,6 +24513,80 @@ module AsposePdfCloud
|
|
23525
24513
|
return data, status_code, headers
|
23526
24514
|
end
|
23527
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
|
+
|
23528
24590
|
# Converts PDF document (in request content) to TIFF format and uploads resulting file to storage.
|
23529
24591
|
#
|
23530
24592
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tiff)
|
@@ -24202,6 +25264,7 @@ module AsposePdfCloud
|
|
24202
25264
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
24203
25265
|
# @option opts [String] :folder The document folder.
|
24204
25266
|
# @option opts [String] :storage The document storage.
|
25267
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
24205
25268
|
# @return [AsposeResponse]
|
24206
25269
|
def put_pdf_in_storage_to_html(name, out_path, opts = {})
|
24207
25270
|
@api_client.request_token_if_needed
|
@@ -24251,6 +25314,7 @@ module AsposePdfCloud
|
|
24251
25314
|
# @option opts [BOOLEAN] :try_save_text_underlining_and_strikeouting_in_css PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
|
24252
25315
|
# @option opts [String] :folder The document folder.
|
24253
25316
|
# @option opts [String] :storage The document storage.
|
25317
|
+
# @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
|
24254
25318
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
24255
25319
|
def put_pdf_in_storage_to_html_with_http_info(name, out_path, opts = {})
|
24256
25320
|
if @api_client.config.debugging
|
@@ -24324,6 +25388,7 @@ module AsposePdfCloud
|
|
24324
25388
|
query_params[:'trySaveTextUnderliningAndStrikeoutingInCss'] = opts[:'try_save_text_underlining_and_strikeouting_in_css'] if !opts[:'try_save_text_underlining_and_strikeouting_in_css'].nil?
|
24325
25389
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
24326
25390
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
25391
|
+
query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
|
24327
25392
|
|
24328
25393
|
# header parameters
|
24329
25394
|
header_params = {}
|
@@ -24354,12 +25419,11 @@ module AsposePdfCloud
|
|
24354
25419
|
return data, status_code, headers
|
24355
25420
|
end
|
24356
25421
|
|
24357
|
-
# Converts PDF document (located on storage) to
|
25422
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
24358
25423
|
#
|
24359
25424
|
# @param name The document name.
|
24360
25425
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
24361
25426
|
# @param [Hash] opts the optional parameters
|
24362
|
-
# @option opts [Integer] :pages_count Pages count.
|
24363
25427
|
# @option opts [String] :folder The document folder.
|
24364
25428
|
# @option opts [String] :storage The document storage.
|
24365
25429
|
# @return [AsposeResponse]
|
@@ -24376,12 +25440,11 @@ module AsposePdfCloud
|
|
24376
25440
|
return data
|
24377
25441
|
end
|
24378
25442
|
|
24379
|
-
# Converts PDF document (located on storage) to
|
25443
|
+
# Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
|
24380
25444
|
#
|
24381
25445
|
# @param name The document name.
|
24382
25446
|
# @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
|
24383
25447
|
# @param [Hash] opts the optional parameters
|
24384
|
-
# @option opts [Integer] :pages_count Pages count.
|
24385
25448
|
# @option opts [String] :folder The document folder.
|
24386
25449
|
# @option opts [String] :storage The document storage.
|
24387
25450
|
# @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
|
@@ -24403,7 +25466,6 @@ module AsposePdfCloud
|
|
24403
25466
|
# query parameters
|
24404
25467
|
query_params = {}
|
24405
25468
|
query_params[:'outPath'] = out_path
|
24406
|
-
query_params[:'pagesCount'] = opts[:'pages_count'] if !opts[:'pages_count'].nil?
|
24407
25469
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
24408
25470
|
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
24409
25471
|
|
@@ -24769,6 +25831,85 @@ module AsposePdfCloud
|
|
24769
25831
|
return data, status_code, headers
|
24770
25832
|
end
|
24771
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
|
+
|
24772
25913
|
# Converts PDF document (located on storage) to TIFF format and uploads resulting file to storage
|
24773
25914
|
#
|
24774
25915
|
# @param name The document name.
|
@@ -26226,6 +27367,89 @@ module AsposePdfCloud
|
|
26226
27367
|
return data, status_code, headers
|
26227
27368
|
end
|
26228
27369
|
|
27370
|
+
# Replace document signature field.
|
27371
|
+
#
|
27372
|
+
# @param name The document name.
|
27373
|
+
# @param field_name The field name.
|
27374
|
+
# @param field The field.
|
27375
|
+
# @param [Hash] opts the optional parameters
|
27376
|
+
# @option opts [String] :storage The document storage.
|
27377
|
+
# @option opts [String] :folder The document folder.
|
27378
|
+
# @return [SignatureFieldResponse]
|
27379
|
+
def put_signature_field(name, field_name, field, opts = {})
|
27380
|
+
@api_client.request_token_if_needed
|
27381
|
+
data, _status_code, _headers = put_signature_field_with_http_info(name, field_name, field, opts)
|
27382
|
+
rescue ApiError => error
|
27383
|
+
if error.code == 401
|
27384
|
+
@api_client.request_token_if_needed
|
27385
|
+
data, _status_code, _headers = put_signature_field_with_http_info(name, field_name, field, opts)
|
27386
|
+
else
|
27387
|
+
raise
|
27388
|
+
end
|
27389
|
+
return data
|
27390
|
+
end
|
27391
|
+
|
27392
|
+
# Replace document signature field.
|
27393
|
+
#
|
27394
|
+
# @param name The document name.
|
27395
|
+
# @param field_name The field name.
|
27396
|
+
# @param field The field.
|
27397
|
+
# @param [Hash] opts the optional parameters
|
27398
|
+
# @option opts [String] :storage The document storage.
|
27399
|
+
# @option opts [String] :folder The document folder.
|
27400
|
+
# @return [Array<(SignatureFieldResponse, Fixnum, Hash)>] SignatureFieldResponse data, response status code and response headers
|
27401
|
+
def put_signature_field_with_http_info(name, field_name, field, opts = {})
|
27402
|
+
if @api_client.config.debugging
|
27403
|
+
@api_client.config.logger.debug "Calling API: PdfApi.put_signature_field ..."
|
27404
|
+
end
|
27405
|
+
# verify the required parameter 'name' is set
|
27406
|
+
if @api_client.config.client_side_validation && name.nil?
|
27407
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_signature_field"
|
27408
|
+
end
|
27409
|
+
# verify the required parameter 'field_name' is set
|
27410
|
+
if @api_client.config.client_side_validation && field_name.nil?
|
27411
|
+
fail ArgumentError, "Missing the required parameter 'field_name' when calling PdfApi.put_signature_field"
|
27412
|
+
end
|
27413
|
+
# verify the required parameter 'field' is set
|
27414
|
+
if @api_client.config.client_side_validation && field.nil?
|
27415
|
+
fail ArgumentError, "Missing the required parameter 'field' when calling PdfApi.put_signature_field"
|
27416
|
+
end
|
27417
|
+
# resource path
|
27418
|
+
local_var_path = "/pdf/{name}/fields/signature/{fieldName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'fieldName' + '}', field_name.to_s)
|
27419
|
+
|
27420
|
+
# query parameters
|
27421
|
+
query_params = {}
|
27422
|
+
query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
|
27423
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
27424
|
+
|
27425
|
+
# header parameters
|
27426
|
+
header_params = {}
|
27427
|
+
# HTTP header 'Accept' (if needed)
|
27428
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
27429
|
+
# HTTP header 'Content-Type'
|
27430
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
27431
|
+
|
27432
|
+
# form parameters
|
27433
|
+
form_params = {}
|
27434
|
+
# Fix header in file
|
27435
|
+
post_body = nil
|
27436
|
+
|
27437
|
+
# http body (model)
|
27438
|
+
post_body = @api_client.object_to_http_body(field)
|
27439
|
+
auth_names = ['JWT']
|
27440
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
27441
|
+
:header_params => header_params,
|
27442
|
+
:query_params => query_params,
|
27443
|
+
:form_params => form_params,
|
27444
|
+
:body => post_body,
|
27445
|
+
:auth_names => auth_names,
|
27446
|
+
:return_type => 'SignatureFieldResponse')
|
27447
|
+
if @api_client.config.debugging
|
27448
|
+
@api_client.config.logger.debug "API called: PdfApi#put_signature_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
27449
|
+
end
|
27450
|
+
return data, status_code, headers
|
27451
|
+
end
|
27452
|
+
|
26229
27453
|
# Replace document sound annotation
|
26230
27454
|
#
|
26231
27455
|
# @param name The document name.
|
@@ -26997,6 +28221,85 @@ module AsposePdfCloud
|
|
26997
28221
|
return data, status_code, headers
|
26998
28222
|
end
|
26999
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
|
+
|
27000
28303
|
# Replace document text annotation
|
27001
28304
|
#
|
27002
28305
|
# @param name The document name.
|