aspose_pdf_cloud 20.4.0 → 20.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +23 -13
- data/docs/ApiInfo.md +10 -0
- data/docs/CheckBoxField.md +1 -0
- data/docs/ChoiceField.md +1 -0
- data/docs/ComboBoxField.md +1 -0
- data/docs/FormField.md +1 -0
- data/docs/ImageCompressionVersion.md +12 -0
- data/docs/ImageEncoding.md +13 -0
- data/docs/ListBoxField.md +1 -0
- data/docs/OptimizeOptions.md +13 -7
- data/docs/OutputFormat.md +11 -0
- data/docs/Paragraph.md +2 -2
- data/docs/PdfAType.md +3 -2
- data/docs/PdfApi.md +172 -22
- data/docs/RadioButtonField.md +1 -0
- data/docs/RadioButtonOptionField.md +1 -0
- data/docs/RedactionAnnotation.md +1 -1
- data/docs/SignatureCustomAppearance.md +1 -1
- data/docs/SignatureField.md +1 -0
- data/docs/TextBoxField.md +1 -0
- data/docs/TextState.md +2 -1
- data/docs/TextStyle.md +1 -0
- data/lib/aspose_pdf_cloud.rb +4 -0
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +484 -32
- data/lib/aspose_pdf_cloud/api_client.rb +1 -1
- data/lib/aspose_pdf_cloud/models/api_info.rb +209 -0
- data/lib/aspose_pdf_cloud/models/check_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/choice_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/combo_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/form_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/image_compression_version.rb +45 -0
- data/lib/aspose_pdf_cloud/models/image_encoding.rb +46 -0
- data/lib/aspose_pdf_cloud/models/list_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/optimize_options.rb +60 -35
- data/lib/aspose_pdf_cloud/models/output_format.rb +44 -0
- data/lib/aspose_pdf_cloud/models/paragraph.rb +2 -2
- data/lib/aspose_pdf_cloud/models/pdf_a_type.rb +1 -0
- data/lib/aspose_pdf_cloud/models/radio_button_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/radio_button_option_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/redaction_annotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_custom_appearance.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/text_box_field.rb +11 -1
- data/lib/aspose_pdf_cloud/models/text_state.rb +15 -5
- data/lib/aspose_pdf_cloud/models/text_style.rb +14 -4
- data/lib/aspose_pdf_cloud/version.rb +1 -1
- data/test/pdf_tests.rb +25 -22
- data/test_data/Righteous-Regular.ttf +0 -0
- metadata +11 -2
    
        data/docs/RadioButtonField.md
    CHANGED
    
    | @@ -6,6 +6,7 @@ Name | Type | Description | Notes | |
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **links** | [**Array<Link>**](Link.md) | Link to the document. | [optional] 
         | 
| 8 8 | 
             
            **partial_name** | **String** | Field name. | [optional] 
         | 
| 9 | 
            +
            **full_name** | **String** | Full Field name. | [optional] 
         | 
| 9 10 | 
             
            **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] 
         | 
| 10 11 | 
             
            **value** | **String** | Field value. | [optional] 
         | 
| 11 12 | 
             
            **page_index** | **Integer** | Page index. | 
         | 
| @@ -6,6 +6,7 @@ Name | Type | Description | Notes | |
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **links** | [**Array<Link>**](Link.md) | Link to the document. | [optional] 
         | 
| 8 8 | 
             
            **partial_name** | **String** | Field name. | [optional] 
         | 
| 9 | 
            +
            **full_name** | **String** | Full Field name. | [optional] 
         | 
| 9 10 | 
             
            **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] 
         | 
| 10 11 | 
             
            **value** | **String** | Field value. | [optional] 
         | 
| 11 12 | 
             
            **page_index** | **Integer** | Page index. | 
         | 
    
        data/docs/RedactionAnnotation.md
    CHANGED
    
    | @@ -20,7 +20,7 @@ Name | Type | Description | Notes | |
| 20 20 | 
             
            **fill_color** | [**Color**](Color.md) | Gets or sets color to fill annotation. | [optional] 
         | 
| 21 21 | 
             
            **border_color** | [**Color**](Color.md) | Gets or sets color of border which is drawn when redaction is not active. | [optional] 
         | 
| 22 22 | 
             
            **overlay_text** | **String** | Text to print on redact annotation. | [optional] 
         | 
| 23 | 
            -
            **repeat** | **BOOLEAN** | If true overlay text will be  | 
| 23 | 
            +
            **repeat** | **BOOLEAN** | If true overlay text will be repeated on the annotation.  | [optional] 
         | 
| 24 24 | 
             
            **text_alignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets. Alignment of Overlay Text. | [optional] 
         | 
| 25 25 |  | 
| 26 26 |  | 
    
        data/docs/SignatureField.md
    CHANGED
    
    | @@ -6,6 +6,7 @@ Name | Type | Description | Notes | |
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **links** | [**Array<Link>**](Link.md) | Link to the document. | [optional] 
         | 
| 8 8 | 
             
            **partial_name** | **String** | Field name. | [optional] 
         | 
| 9 | 
            +
            **full_name** | **String** | Full Field name. | [optional] 
         | 
| 9 10 | 
             
            **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] 
         | 
| 10 11 | 
             
            **value** | **String** | Field value. | [optional] 
         | 
| 11 12 | 
             
            **page_index** | **Integer** | Page index. | 
         | 
    
        data/docs/TextBoxField.md
    CHANGED
    
    | @@ -6,6 +6,7 @@ Name | Type | Description | Notes | |
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **links** | [**Array<Link>**](Link.md) | Link to the document. | [optional] 
         | 
| 8 8 | 
             
            **partial_name** | **String** | Field name. | [optional] 
         | 
| 9 | 
            +
            **full_name** | **String** | Full Field name. | [optional] 
         | 
| 9 10 | 
             
            **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] 
         | 
| 10 11 | 
             
            **value** | **String** | Field value. | [optional] 
         | 
| 11 12 | 
             
            **page_index** | **Integer** | Page index. | 
         | 
    
        data/docs/TextState.md
    CHANGED
    
    | @@ -5,9 +5,10 @@ Represents a text state of a text | |
| 5 5 | 
             
            Name | Type | Description | Notes
         | 
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **font_size** | **Float** | Gets or sets font size of the text. | 
         | 
| 8 | 
            -
            **font** | **String** | Gets or sets font of the text. | [optional] 
         | 
| 8 | 
            +
            **font** | **String** | Gets or sets font name of the text. | [optional] 
         | 
| 9 9 | 
             
            **foreground_color** | [**Color**](Color.md) | Gets or sets foreground color of the text. | [optional] 
         | 
| 10 10 | 
             
            **background_color** | [**Color**](Color.md) | Sets background color of the text. | [optional] 
         | 
| 11 11 | 
             
            **font_style** | [**FontStyles**](FontStyles.md) | Sets font style of the text. | 
         | 
| 12 | 
            +
            **font_file** | **String** | Sets path of font file in storage. | [optional] 
         | 
| 12 13 |  | 
| 13 14 |  | 
    
        data/docs/TextStyle.md
    CHANGED
    
    | @@ -8,5 +8,6 @@ Name | Type | Description | Notes | |
| 8 8 | 
             
            **font** | **String** | Gets or sets font of the text. | [optional] 
         | 
| 9 9 | 
             
            **foreground_color** | [**Color**](Color.md) | Gets or sets foreground color of the text. | [optional] 
         | 
| 10 10 | 
             
            **background_color** | [**Color**](Color.md) | Sets background color of the text. | [optional] 
         | 
| 11 | 
            +
            **font_file** | **String** | Sets path of font file in storage. | [optional] 
         | 
| 11 12 |  | 
| 12 13 |  | 
    
        data/lib/aspose_pdf_cloud.rb
    CHANGED
    
    | @@ -30,6 +30,7 @@ require_relative 'aspose_pdf_cloud/models/annotation_flags' | |
| 30 30 | 
             
            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 | 
            +
            require_relative 'aspose_pdf_cloud/models/api_info'
         | 
| 33 34 | 
             
            require_relative 'aspose_pdf_cloud/models/aspose_response'
         | 
| 34 35 | 
             
            require_relative 'aspose_pdf_cloud/models/border'
         | 
| 35 36 | 
             
            require_relative 'aspose_pdf_cloud/models/border_corner_style'
         | 
| @@ -72,6 +73,8 @@ require_relative 'aspose_pdf_cloud/models/graph_info' | |
| 72 73 | 
             
            require_relative 'aspose_pdf_cloud/models/horizontal_alignment'
         | 
| 73 74 | 
             
            require_relative 'aspose_pdf_cloud/models/html_document_type'
         | 
| 74 75 | 
             
            require_relative 'aspose_pdf_cloud/models/html_markup_generation_modes'
         | 
| 76 | 
            +
            require_relative 'aspose_pdf_cloud/models/image_compression_version'
         | 
| 77 | 
            +
            require_relative 'aspose_pdf_cloud/models/image_encoding'
         | 
| 75 78 | 
             
            require_relative 'aspose_pdf_cloud/models/image_fragment'
         | 
| 76 79 | 
             
            require_relative 'aspose_pdf_cloud/models/image_src_type'
         | 
| 77 80 | 
             
            require_relative 'aspose_pdf_cloud/models/image_template'
         | 
| @@ -90,6 +93,7 @@ require_relative 'aspose_pdf_cloud/models/merge_documents' | |
| 90 93 | 
             
            require_relative 'aspose_pdf_cloud/models/object_exist'
         | 
| 91 94 | 
             
            require_relative 'aspose_pdf_cloud/models/optimize_options'
         | 
| 92 95 | 
             
            require_relative 'aspose_pdf_cloud/models/option'
         | 
| 96 | 
            +
            require_relative 'aspose_pdf_cloud/models/output_format'
         | 
| 93 97 | 
             
            require_relative 'aspose_pdf_cloud/models/page_layout'
         | 
| 94 98 | 
             
            require_relative 'aspose_pdf_cloud/models/page_mode'
         | 
| 95 99 | 
             
            require_relative 'aspose_pdf_cloud/models/page_word_count'
         | 
| @@ -1919,6 +1919,66 @@ module AsposePdfCloud | |
| 1919 1919 | 
             
                  return data, status_code, headers
         | 
| 1920 1920 | 
             
                end
         | 
| 1921 1921 |  | 
| 1922 | 
            +
                # 
         | 
| 1923 | 
            +
                # 
         | 
| 1924 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 1925 | 
            +
                # @return [ApiInfo]
         | 
| 1926 | 
            +
                def get_api_info(opts = {})
         | 
| 1927 | 
            +
                  @api_client.request_token_if_needed
         | 
| 1928 | 
            +
                  data, _status_code, _headers = get_api_info_with_http_info(opts)
         | 
| 1929 | 
            +
                  rescue ApiError => error
         | 
| 1930 | 
            +
                    if error.code == 401
         | 
| 1931 | 
            +
                      @api_client.request_token_if_needed
         | 
| 1932 | 
            +
                      data, _status_code, _headers = get_api_info_with_http_info(opts)
         | 
| 1933 | 
            +
                    else
         | 
| 1934 | 
            +
                      raise
         | 
| 1935 | 
            +
                    end
         | 
| 1936 | 
            +
                  return data
         | 
| 1937 | 
            +
                end
         | 
| 1938 | 
            +
             | 
| 1939 | 
            +
                # 
         | 
| 1940 | 
            +
                # 
         | 
| 1941 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 1942 | 
            +
                # @return [Array<(ApiInfo, Fixnum, Hash)>] ApiInfo data, response status code and response headers
         | 
| 1943 | 
            +
                def get_api_info_with_http_info(opts = {})
         | 
| 1944 | 
            +
                  if @api_client.config.debugging
         | 
| 1945 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.get_api_info ..."
         | 
| 1946 | 
            +
                  end
         | 
| 1947 | 
            +
                  # resource path
         | 
| 1948 | 
            +
                  local_var_path = "/pdf/info"
         | 
| 1949 | 
            +
             | 
| 1950 | 
            +
                  # query parameters
         | 
| 1951 | 
            +
                  query_params = {}
         | 
| 1952 | 
            +
             | 
| 1953 | 
            +
                  # header parameters
         | 
| 1954 | 
            +
                  header_params = {}
         | 
| 1955 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 1956 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         | 
| 1957 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 1958 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         | 
| 1959 | 
            +
             | 
| 1960 | 
            +
                  # form parameters
         | 
| 1961 | 
            +
                  form_params = {}
         | 
| 1962 | 
            +
                  # Fix header in file
         | 
| 1963 | 
            +
                  post_body = nil
         | 
| 1964 | 
            +
             | 
| 1965 | 
            +
                  # http body (model)
         | 
| 1966 | 
            +
                  # Fix header in file
         | 
| 1967 | 
            +
                  # post_body = nil
         | 
| 1968 | 
            +
                  auth_names = ['JWT']
         | 
| 1969 | 
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 1970 | 
            +
                    :header_params => header_params,
         | 
| 1971 | 
            +
                    :query_params => query_params,
         | 
| 1972 | 
            +
                    :form_params => form_params,
         | 
| 1973 | 
            +
                    :body => post_body,
         | 
| 1974 | 
            +
                    :auth_names => auth_names,
         | 
| 1975 | 
            +
                    :return_type => 'ApiInfo')
         | 
| 1976 | 
            +
                  if @api_client.config.debugging
         | 
| 1977 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#get_api_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 1978 | 
            +
                  end
         | 
| 1979 | 
            +
                  return data, status_code, headers
         | 
| 1980 | 
            +
                end
         | 
| 1981 | 
            +
             | 
| 1922 1982 | 
             
                # Read document bookmark.
         | 
| 1923 1983 | 
             
                # 
         | 
| 1924 1984 | 
             
                # @param name The document name.
         | 
| @@ -2522,7 +2582,7 @@ module AsposePdfCloud | |
| 2522 2582 | 
             
                  return data, status_code, headers
         | 
| 2523 2583 | 
             
                end
         | 
| 2524 2584 |  | 
| 2525 | 
            -
                # Read  | 
| 2585 | 
            +
                # Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
         | 
| 2526 2586 | 
             
                # 
         | 
| 2527 2587 | 
             
                # @param name The document name.
         | 
| 2528 2588 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -2542,7 +2602,7 @@ module AsposePdfCloud | |
| 2542 2602 | 
             
                  return data
         | 
| 2543 2603 | 
             
                end
         | 
| 2544 2604 |  | 
| 2545 | 
            -
                # Read  | 
| 2605 | 
            +
                # Read document page annotations. Returns only FreeTextAnnotations, TextAnnotations, other annotations will implemented next releases.
         | 
| 2546 2606 | 
             
                # 
         | 
| 2547 2607 | 
             
                # @param name The document name.
         | 
| 2548 2608 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -6997,7 +7057,7 @@ module AsposePdfCloud | |
| 6997 7057 | 
             
                  return data, status_code, headers
         | 
| 6998 7058 | 
             
                end
         | 
| 6999 7059 |  | 
| 7000 | 
            -
                # Convert  | 
| 7060 | 
            +
                # Convert TeX file (located on storage) to PDF format and return resulting file in response. 
         | 
| 7001 7061 | 
             
                # 
         | 
| 7002 7062 | 
             
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 7003 7063 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -7016,7 +7076,7 @@ module AsposePdfCloud | |
| 7016 7076 | 
             
                  return data
         | 
| 7017 7077 | 
             
                end
         | 
| 7018 7078 |  | 
| 7019 | 
            -
                # Convert  | 
| 7079 | 
            +
                # Convert TeX file (located on storage) to PDF format and return resulting file in response. 
         | 
| 7020 7080 | 
             
                # 
         | 
| 7021 7081 | 
             
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 7022 7082 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -11218,7 +11278,7 @@ module AsposePdfCloud | |
| 11218 11278 | 
             
                  return data, status_code, headers
         | 
| 11219 11279 | 
             
                end
         | 
| 11220 11280 |  | 
| 11221 | 
            -
                # Converts PDF document (located on storage) to  | 
| 11281 | 
            +
                # Converts PDF document (located on storage) to TeX format and returns resulting file in response content
         | 
| 11222 11282 | 
             
                # 
         | 
| 11223 11283 | 
             
                # @param name The document name.
         | 
| 11224 11284 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -11238,7 +11298,7 @@ module AsposePdfCloud | |
| 11238 11298 | 
             
                  return data
         | 
| 11239 11299 | 
             
                end
         | 
| 11240 11300 |  | 
| 11241 | 
            -
                # Converts PDF document (located on storage) to  | 
| 11301 | 
            +
                # Converts PDF document (located on storage) to TeX format and returns resulting file in response content
         | 
| 11242 11302 | 
             
                # 
         | 
| 11243 11303 | 
             
                # @param name The document name.
         | 
| 11244 11304 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -11404,8 +11464,8 @@ module AsposePdfCloud | |
| 11404 11464 | 
             
                    fail ArgumentError, "Missing the required parameter 'type' when calling PdfApi.get_pdf_in_storage_to_pdf_a"
         | 
| 11405 11465 | 
             
                  end
         | 
| 11406 11466 | 
             
                  # verify enum value
         | 
| 11407 | 
            -
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B'].include?(type)
         | 
| 11408 | 
            -
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B"
         | 
| 11467 | 
            +
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B', 'PDFA3A'].include?(type)
         | 
| 11468 | 
            +
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B, PDFA3A"
         | 
| 11409 11469 | 
             
                  end
         | 
| 11410 11470 | 
             
                  # resource path
         | 
| 11411 11471 | 
             
                  local_var_path = "/pdf/{name}/convert/pdfa".sub('{' + 'name' + '}', name.to_s)
         | 
| @@ -11598,6 +11658,78 @@ module AsposePdfCloud | |
| 11598 11658 | 
             
                  return data, status_code, headers
         | 
| 11599 11659 | 
             
                end
         | 
| 11600 11660 |  | 
| 11661 | 
            +
                # Converts PDF document (located on storage) to TeX format and returns resulting file in response content
         | 
| 11662 | 
            +
                # 
         | 
| 11663 | 
            +
                # @param name The document name.
         | 
| 11664 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 11665 | 
            +
                # @option opts [String] :folder The document folder.
         | 
| 11666 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 11667 | 
            +
                # @return [File]
         | 
| 11668 | 
            +
                def get_pdf_in_storage_to_te_x(name, opts = {})
         | 
| 11669 | 
            +
                  @api_client.request_token_if_needed
         | 
| 11670 | 
            +
                  data, _status_code, _headers = get_pdf_in_storage_to_te_x_with_http_info(name, opts)
         | 
| 11671 | 
            +
                  rescue ApiError => error
         | 
| 11672 | 
            +
                    if error.code == 401
         | 
| 11673 | 
            +
                      @api_client.request_token_if_needed
         | 
| 11674 | 
            +
                      data, _status_code, _headers = get_pdf_in_storage_to_te_x_with_http_info(name, opts)
         | 
| 11675 | 
            +
                    else
         | 
| 11676 | 
            +
                      raise
         | 
| 11677 | 
            +
                    end
         | 
| 11678 | 
            +
                  return data
         | 
| 11679 | 
            +
                end
         | 
| 11680 | 
            +
             | 
| 11681 | 
            +
                # Converts PDF document (located on storage) to TeX format and returns resulting file in response content
         | 
| 11682 | 
            +
                # 
         | 
| 11683 | 
            +
                # @param name The document name.
         | 
| 11684 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 11685 | 
            +
                # @option opts [String] :folder The document folder.
         | 
| 11686 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 11687 | 
            +
                # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
         | 
| 11688 | 
            +
                def get_pdf_in_storage_to_te_x_with_http_info(name, opts = {})
         | 
| 11689 | 
            +
                  if @api_client.config.debugging
         | 
| 11690 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.get_pdf_in_storage_to_te_x ..."
         | 
| 11691 | 
            +
                  end
         | 
| 11692 | 
            +
                  # verify the required parameter 'name' is set
         | 
| 11693 | 
            +
                  if @api_client.config.client_side_validation && name.nil?
         | 
| 11694 | 
            +
                    fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_pdf_in_storage_to_te_x"
         | 
| 11695 | 
            +
                  end
         | 
| 11696 | 
            +
                  # resource path
         | 
| 11697 | 
            +
                  local_var_path = "/pdf/{name}/convert/tex".sub('{' + 'name' + '}', name.to_s)
         | 
| 11698 | 
            +
             | 
| 11699 | 
            +
                  # query parameters
         | 
| 11700 | 
            +
                  query_params = {}
         | 
| 11701 | 
            +
                  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
         | 
| 11702 | 
            +
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 11703 | 
            +
             | 
| 11704 | 
            +
                  # header parameters
         | 
| 11705 | 
            +
                  header_params = {}
         | 
| 11706 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 11707 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
         | 
| 11708 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 11709 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         | 
| 11710 | 
            +
             | 
| 11711 | 
            +
                  # form parameters
         | 
| 11712 | 
            +
                  form_params = {}
         | 
| 11713 | 
            +
                  # Fix header in file
         | 
| 11714 | 
            +
                  post_body = nil
         | 
| 11715 | 
            +
             | 
| 11716 | 
            +
                  # http body (model)
         | 
| 11717 | 
            +
                  # Fix header in file
         | 
| 11718 | 
            +
                  # post_body = nil
         | 
| 11719 | 
            +
                  auth_names = ['JWT']
         | 
| 11720 | 
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 11721 | 
            +
                    :header_params => header_params,
         | 
| 11722 | 
            +
                    :query_params => query_params,
         | 
| 11723 | 
            +
                    :form_params => form_params,
         | 
| 11724 | 
            +
                    :body => post_body,
         | 
| 11725 | 
            +
                    :auth_names => auth_names,
         | 
| 11726 | 
            +
                    :return_type => 'File')
         | 
| 11727 | 
            +
                  if @api_client.config.debugging
         | 
| 11728 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#get_pdf_in_storage_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 11729 | 
            +
                  end
         | 
| 11730 | 
            +
                  return data, status_code, headers
         | 
| 11731 | 
            +
                end
         | 
| 11732 | 
            +
             | 
| 11601 11733 | 
             
                # Converts PDF document (located on storage) to TIFF format and returns resulting file in response content
         | 
| 11602 11734 | 
             
                # 
         | 
| 11603 11735 | 
             
                # @param name The document name.
         | 
| @@ -13448,6 +13580,76 @@ module AsposePdfCloud | |
| 13448 13580 | 
             
                  return data, status_code, headers
         | 
| 13449 13581 | 
             
                end
         | 
| 13450 13582 |  | 
| 13583 | 
            +
                # Convert TeX file (located on storage) to PDF format and return resulting file in response. 
         | 
| 13584 | 
            +
                # 
         | 
| 13585 | 
            +
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 13586 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 13587 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 13588 | 
            +
                # @return [File]
         | 
| 13589 | 
            +
                def get_te_x_in_storage_to_pdf(src_path, opts = {})
         | 
| 13590 | 
            +
                  @api_client.request_token_if_needed
         | 
| 13591 | 
            +
                  data, _status_code, _headers = get_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
         | 
| 13592 | 
            +
                  rescue ApiError => error
         | 
| 13593 | 
            +
                    if error.code == 401
         | 
| 13594 | 
            +
                      @api_client.request_token_if_needed
         | 
| 13595 | 
            +
                      data, _status_code, _headers = get_te_x_in_storage_to_pdf_with_http_info(src_path, opts)
         | 
| 13596 | 
            +
                    else
         | 
| 13597 | 
            +
                      raise
         | 
| 13598 | 
            +
                    end
         | 
| 13599 | 
            +
                  return data
         | 
| 13600 | 
            +
                end
         | 
| 13601 | 
            +
             | 
| 13602 | 
            +
                # Convert TeX file (located on storage) to PDF format and return resulting file in response. 
         | 
| 13603 | 
            +
                # 
         | 
| 13604 | 
            +
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 13605 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 13606 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 13607 | 
            +
                # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
         | 
| 13608 | 
            +
                def get_te_x_in_storage_to_pdf_with_http_info(src_path, opts = {})
         | 
| 13609 | 
            +
                  if @api_client.config.debugging
         | 
| 13610 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.get_te_x_in_storage_to_pdf ..."
         | 
| 13611 | 
            +
                  end
         | 
| 13612 | 
            +
                  # verify the required parameter 'src_path' is set
         | 
| 13613 | 
            +
                  if @api_client.config.client_side_validation && src_path.nil?
         | 
| 13614 | 
            +
                    fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.get_te_x_in_storage_to_pdf"
         | 
| 13615 | 
            +
                  end
         | 
| 13616 | 
            +
                  # resource path
         | 
| 13617 | 
            +
                  local_var_path = "/pdf/create/tex"
         | 
| 13618 | 
            +
             | 
| 13619 | 
            +
                  # query parameters
         | 
| 13620 | 
            +
                  query_params = {}
         | 
| 13621 | 
            +
                  query_params[:'srcPath'] = src_path
         | 
| 13622 | 
            +
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 13623 | 
            +
             | 
| 13624 | 
            +
                  # header parameters
         | 
| 13625 | 
            +
                  header_params = {}
         | 
| 13626 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 13627 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
         | 
| 13628 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 13629 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         | 
| 13630 | 
            +
             | 
| 13631 | 
            +
                  # form parameters
         | 
| 13632 | 
            +
                  form_params = {}
         | 
| 13633 | 
            +
                  # Fix header in file
         | 
| 13634 | 
            +
                  post_body = nil
         | 
| 13635 | 
            +
             | 
| 13636 | 
            +
                  # http body (model)
         | 
| 13637 | 
            +
                  # Fix header in file
         | 
| 13638 | 
            +
                  # post_body = nil
         | 
| 13639 | 
            +
                  auth_names = ['JWT']
         | 
| 13640 | 
            +
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 13641 | 
            +
                    :header_params => header_params,
         | 
| 13642 | 
            +
                    :query_params => query_params,
         | 
| 13643 | 
            +
                    :form_params => form_params,
         | 
| 13644 | 
            +
                    :body => post_body,
         | 
| 13645 | 
            +
                    :auth_names => auth_names,
         | 
| 13646 | 
            +
                    :return_type => 'File')
         | 
| 13647 | 
            +
                  if @api_client.config.debugging
         | 
| 13648 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#get_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 13649 | 
            +
                  end
         | 
| 13650 | 
            +
                  return data, status_code, headers
         | 
| 13651 | 
            +
                end
         | 
| 13652 | 
            +
             | 
| 13451 13653 | 
             
                # Read document text.
         | 
| 13452 13654 | 
             
                # 
         | 
| 13453 13655 | 
             
                # @param name The document name.
         | 
| @@ -14033,7 +14235,7 @@ module AsposePdfCloud | |
| 14033 14235 | 
             
                  return data, status_code, headers
         | 
| 14034 14236 | 
             
                end
         | 
| 14035 14237 |  | 
| 14036 | 
            -
                # Converts PDF document which  | 
| 14238 | 
            +
                # Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and returns resulting file response content
         | 
| 14037 14239 | 
             
                # 
         | 
| 14038 14240 | 
             
                # @param name The document name.
         | 
| 14039 14241 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -14053,7 +14255,7 @@ module AsposePdfCloud | |
| 14053 14255 | 
             
                  return data
         | 
| 14054 14256 | 
             
                end
         | 
| 14055 14257 |  | 
| 14056 | 
            -
                # Converts PDF document which  | 
| 14258 | 
            +
                # Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and returns resulting file response content
         | 
| 14057 14259 | 
             
                # 
         | 
| 14058 14260 | 
             
                # @param name The document name.
         | 
| 14059 14261 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -17222,7 +17424,7 @@ module AsposePdfCloud | |
| 17222 17424 | 
             
                # 
         | 
| 17223 17425 | 
             
                # @param name The document name.
         | 
| 17224 17426 | 
             
                # @param page_number The page number.
         | 
| 17225 | 
            -
                # @param links Array of link  | 
| 17427 | 
            +
                # @param links Array of link annotation.
         | 
| 17226 17428 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 17227 17429 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 17228 17430 | 
             
                # @option opts [String] :folder The document folder.
         | 
| @@ -17244,7 +17446,7 @@ module AsposePdfCloud | |
| 17244 17446 | 
             
                # 
         | 
| 17245 17447 | 
             
                # @param name The document name.
         | 
| 17246 17448 | 
             
                # @param page_number The page number.
         | 
| 17247 | 
            -
                # @param links Array of link  | 
| 17449 | 
            +
                # @param links Array of link annotation.
         | 
| 17248 17450 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 17249 17451 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 17250 17452 | 
             
                # @option opts [String] :folder The document folder.
         | 
| @@ -17641,6 +17843,7 @@ module AsposePdfCloud | |
| 17641 17843 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 17642 17844 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 17643 17845 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 17846 | 
            +
                # @option opts [BOOLEAN] :apply Apply redaction immediately after adding. (default to false)
         | 
| 17644 17847 | 
             
                # @return [AsposeResponse]
         | 
| 17645 17848 | 
             
                def post_page_redaction_annotations(name, page_number, annotations, opts = {})
         | 
| 17646 17849 | 
             
                  @api_client.request_token_if_needed
         | 
| @@ -17663,6 +17866,7 @@ module AsposePdfCloud | |
| 17663 17866 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 17664 17867 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 17665 17868 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 17869 | 
            +
                # @option opts [BOOLEAN] :apply Apply redaction immediately after adding.
         | 
| 17666 17870 | 
             
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 17667 17871 | 
             
                def post_page_redaction_annotations_with_http_info(name, page_number, annotations, opts = {})
         | 
| 17668 17872 | 
             
                  if @api_client.config.debugging
         | 
| @@ -17687,6 +17891,7 @@ module AsposePdfCloud | |
| 17687 17891 | 
             
                  query_params = {}
         | 
| 17688 17892 | 
             
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 17689 17893 | 
             
                  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
         | 
| 17894 | 
            +
                  query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
         | 
| 17690 17895 |  | 
| 17691 17896 | 
             
                  # header parameters
         | 
| 17692 17897 | 
             
                  header_params = {}
         | 
| @@ -20008,7 +20213,7 @@ module AsposePdfCloud | |
| 20008 20213 | 
             
                # @param password The password (encrypted Base64).
         | 
| 20009 20214 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 20010 20215 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 20011 | 
            -
                # @option opts [File] :file A file to be  | 
| 20216 | 
            +
                # @option opts [File] :file A file to be decrypted.
         | 
| 20012 20217 | 
             
                # @return [AsposeResponse]
         | 
| 20013 20218 | 
             
                def put_decrypt_document(out_path, password, opts = {})
         | 
| 20014 20219 | 
             
                  @api_client.request_token_if_needed
         | 
| @@ -20029,7 +20234,7 @@ module AsposePdfCloud | |
| 20029 20234 | 
             
                # @param password The password (encrypted Base64).
         | 
| 20030 20235 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 20031 20236 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 20032 | 
            -
                # @option opts [File] :file A file to be  | 
| 20237 | 
            +
                # @option opts [File] :file A file to be decrypted.
         | 
| 20033 20238 | 
             
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 20034 20239 | 
             
                def put_decrypt_document_with_http_info(out_path, password, opts = {})
         | 
| 20035 20240 | 
             
                  if @api_client.config.debugging
         | 
| @@ -22179,7 +22384,7 @@ module AsposePdfCloud | |
| 22179 22384 | 
             
                  return data, status_code, headers
         | 
| 22180 22385 | 
             
                end
         | 
| 22181 22386 |  | 
| 22182 | 
            -
                # Convert  | 
| 22387 | 
            +
                # Convert TeX file (located on storage) to PDF format and upload resulting file to storage. 
         | 
| 22183 22388 | 
             
                # 
         | 
| 22184 22389 | 
             
                # @param name The document name.
         | 
| 22185 22390 | 
             
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| @@ -22200,7 +22405,7 @@ module AsposePdfCloud | |
| 22200 22405 | 
             
                  return data
         | 
| 22201 22406 | 
             
                end
         | 
| 22202 22407 |  | 
| 22203 | 
            -
                # Convert  | 
| 22408 | 
            +
                # Convert TeX file (located on storage) to PDF format and upload resulting file to storage. 
         | 
| 22204 22409 | 
             
                # 
         | 
| 22205 22410 | 
             
                # @param name The document name.
         | 
| 22206 22411 | 
             
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| @@ -22345,7 +22550,7 @@ module AsposePdfCloud | |
| 22345 22550 | 
             
                # 
         | 
| 22346 22551 | 
             
                # @param name The document name.
         | 
| 22347 22552 | 
             
                # @param link_id The link ID.
         | 
| 22348 | 
            -
                # @param link Link  | 
| 22553 | 
            +
                # @param link Link annotation.
         | 
| 22349 22554 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 22350 22555 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 22351 22556 | 
             
                # @option opts [String] :folder The document folder.
         | 
| @@ -22367,7 +22572,7 @@ module AsposePdfCloud | |
| 22367 22572 | 
             
                # 
         | 
| 22368 22573 | 
             
                # @param name The document name.
         | 
| 22369 22574 | 
             
                # @param link_id The link ID.
         | 
| 22370 | 
            -
                # @param link Link  | 
| 22575 | 
            +
                # @param link Link annotation.
         | 
| 22371 22576 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 22372 22577 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 22373 22578 | 
             
                # @option opts [String] :folder The document folder.
         | 
| @@ -22588,7 +22793,7 @@ module AsposePdfCloud | |
| 22588 22793 |  | 
| 22589 22794 | 
             
                # Merge a list of documents.
         | 
| 22590 22795 | 
             
                # 
         | 
| 22591 | 
            -
                # @param name Resulting  | 
| 22796 | 
            +
                # @param name Resulting document name.
         | 
| 22592 22797 | 
             
                # @param merge_documents MergeDocuments with a list of documents.
         | 
| 22593 22798 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 22594 22799 | 
             
                # @option opts [String] :storage Resulting document storage.
         | 
| @@ -22609,7 +22814,7 @@ module AsposePdfCloud | |
| 22609 22814 |  | 
| 22610 22815 | 
             
                # Merge a list of documents.
         | 
| 22611 22816 | 
             
                # 
         | 
| 22612 | 
            -
                # @param name Resulting  | 
| 22817 | 
            +
                # @param name Resulting document name.
         | 
| 22613 22818 | 
             
                # @param merge_documents MergeDocuments with a list of documents.
         | 
| 22614 22819 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 22615 22820 | 
             
                # @option opts [String] :storage Resulting document storage.
         | 
| @@ -23833,6 +24038,7 @@ module AsposePdfCloud | |
| 23833 24038 | 
             
                # @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.
         | 
| 23834 24039 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 23835 24040 | 
             
                # @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
         | 
| 24041 | 
            +
                # @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file. (default to Zip)
         | 
| 23836 24042 | 
             
                # @option opts [File] :file A file to be converted.
         | 
| 23837 24043 | 
             
                # @return [AsposeResponse]
         | 
| 23838 24044 | 
             
                def put_pdf_in_request_to_html(out_path, opts = {})
         | 
| @@ -23882,6 +24088,7 @@ module AsposePdfCloud | |
| 23882 24088 | 
             
                # @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.
         | 
| 23883 24089 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 23884 24090 | 
             
                # @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
         | 
| 24091 | 
            +
                # @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
         | 
| 23885 24092 | 
             
                # @option opts [File] :file A file to be converted.
         | 
| 23886 24093 | 
             
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 23887 24094 | 
             
                def put_pdf_in_request_to_html_with_http_info(out_path, opts = {})
         | 
| @@ -23916,6 +24123,9 @@ module AsposePdfCloud | |
| 23916 24123 | 
             
                  if @api_client.config.client_side_validation && opts[:'raster_images_saving_mode'] && !['AsPngImagesEmbeddedIntoSvg', 'AsExternalPngFilesReferencedViaSvg', 'AsEmbeddedPartsOfPngPageBackground'].include?(opts[:'raster_images_saving_mode'])
         | 
| 23917 24124 | 
             
                    fail ArgumentError, 'invalid value for "raster_images_saving_mode", must be one of AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground'
         | 
| 23918 24125 | 
             
                  end
         | 
| 24126 | 
            +
                  if @api_client.config.client_side_validation && opts[:'output_format'] && !['Zip', 'Folder'].include?(opts[:'output_format'])
         | 
| 24127 | 
            +
                    fail ArgumentError, 'invalid value for "output_format", must be one of Zip, Folder'
         | 
| 24128 | 
            +
                  end
         | 
| 23919 24129 | 
             
                  # resource path
         | 
| 23920 24130 | 
             
                  local_var_path = "/pdf/convert/html"
         | 
| 23921 24131 |  | 
| @@ -23952,6 +24162,7 @@ module AsposePdfCloud | |
| 23952 24162 | 
             
                  query_params[:'trySaveTextUnderliningAndStrikeoutingInCss'] = opts[:'try_save_text_underlining_and_strikeouting_in_css'] if !opts[:'try_save_text_underlining_and_strikeouting_in_css'].nil?
         | 
| 23953 24163 | 
             
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 23954 24164 | 
             
                  query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
         | 
| 24165 | 
            +
                  query_params[:'outputFormat'] = opts[:'output_format'] if !opts[:'output_format'].nil?
         | 
| 23955 24166 |  | 
| 23956 24167 | 
             
                  # header parameters
         | 
| 23957 24168 | 
             
                  header_params = {}
         | 
| @@ -23984,7 +24195,7 @@ module AsposePdfCloud | |
| 23984 24195 | 
             
                  return data, status_code, headers
         | 
| 23985 24196 | 
             
                end
         | 
| 23986 24197 |  | 
| 23987 | 
            -
                # Converts PDF document (in request content) to  | 
| 24198 | 
            +
                # Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
         | 
| 23988 24199 | 
             
                # 
         | 
| 23989 24200 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 23990 24201 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -24004,7 +24215,7 @@ module AsposePdfCloud | |
| 24004 24215 | 
             
                  return data
         | 
| 24005 24216 | 
             
                end
         | 
| 24006 24217 |  | 
| 24007 | 
            -
                # Converts PDF document (in request content) to  | 
| 24218 | 
            +
                # Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
         | 
| 24008 24219 | 
             
                # 
         | 
| 24009 24220 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 24010 24221 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -24174,8 +24385,8 @@ module AsposePdfCloud | |
| 24174 24385 | 
             
                    fail ArgumentError, "Missing the required parameter 'type' when calling PdfApi.put_pdf_in_request_to_pdf_a"
         | 
| 24175 24386 | 
             
                  end
         | 
| 24176 24387 | 
             
                  # verify enum value
         | 
| 24177 | 
            -
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B'].include?(type)
         | 
| 24178 | 
            -
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B"
         | 
| 24388 | 
            +
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B', 'PDFA3A'].include?(type)
         | 
| 24389 | 
            +
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B, PDFA3A"
         | 
| 24179 24390 | 
             
                  end
         | 
| 24180 24391 | 
             
                  # resource path
         | 
| 24181 24392 | 
             
                  local_var_path = "/pdf/convert/pdfa"
         | 
| @@ -24371,6 +24582,80 @@ module AsposePdfCloud | |
| 24371 24582 | 
             
                  return data, status_code, headers
         | 
| 24372 24583 | 
             
                end
         | 
| 24373 24584 |  | 
| 24585 | 
            +
                # Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
         | 
| 24586 | 
            +
                # 
         | 
| 24587 | 
            +
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 24588 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 24589 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 24590 | 
            +
                # @option opts [File] :file A file to be converted.
         | 
| 24591 | 
            +
                # @return [AsposeResponse]
         | 
| 24592 | 
            +
                def put_pdf_in_request_to_te_x(out_path, opts = {})
         | 
| 24593 | 
            +
                  @api_client.request_token_if_needed
         | 
| 24594 | 
            +
                  data, _status_code, _headers = put_pdf_in_request_to_te_x_with_http_info(out_path, opts)
         | 
| 24595 | 
            +
                  rescue ApiError => error
         | 
| 24596 | 
            +
                    if error.code == 401
         | 
| 24597 | 
            +
                      @api_client.request_token_if_needed
         | 
| 24598 | 
            +
                      data, _status_code, _headers = put_pdf_in_request_to_te_x_with_http_info(out_path, opts)
         | 
| 24599 | 
            +
                    else
         | 
| 24600 | 
            +
                      raise
         | 
| 24601 | 
            +
                    end
         | 
| 24602 | 
            +
                  return data
         | 
| 24603 | 
            +
                end
         | 
| 24604 | 
            +
             | 
| 24605 | 
            +
                # Converts PDF document (in request content) to TeX format and uploads resulting file to storage.
         | 
| 24606 | 
            +
                # 
         | 
| 24607 | 
            +
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 24608 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 24609 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 24610 | 
            +
                # @option opts [File] :file A file to be converted.
         | 
| 24611 | 
            +
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 24612 | 
            +
                def put_pdf_in_request_to_te_x_with_http_info(out_path, opts = {})
         | 
| 24613 | 
            +
                  if @api_client.config.debugging
         | 
| 24614 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.put_pdf_in_request_to_te_x ..."
         | 
| 24615 | 
            +
                  end
         | 
| 24616 | 
            +
                  # verify the required parameter 'out_path' is set
         | 
| 24617 | 
            +
                  if @api_client.config.client_side_validation && out_path.nil?
         | 
| 24618 | 
            +
                    fail ArgumentError, "Missing the required parameter 'out_path' when calling PdfApi.put_pdf_in_request_to_te_x"
         | 
| 24619 | 
            +
                  end
         | 
| 24620 | 
            +
                  # resource path
         | 
| 24621 | 
            +
                  local_var_path = "/pdf/convert/tex"
         | 
| 24622 | 
            +
             | 
| 24623 | 
            +
                  # query parameters
         | 
| 24624 | 
            +
                  query_params = {}
         | 
| 24625 | 
            +
                  query_params[:'outPath'] = out_path
         | 
| 24626 | 
            +
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 24627 | 
            +
             | 
| 24628 | 
            +
                  # header parameters
         | 
| 24629 | 
            +
                  header_params = {}
         | 
| 24630 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 24631 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         | 
| 24632 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 24633 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
         | 
| 24634 | 
            +
             | 
| 24635 | 
            +
                  # form parameters
         | 
| 24636 | 
            +
                  form_params = {}
         | 
| 24637 | 
            +
                  # Fix header in file
         | 
| 24638 | 
            +
                  post_body = nil
         | 
| 24639 | 
            +
                  post_body =  opts[:'file'] if !opts[:'file'].nil?
         | 
| 24640 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
         | 
| 24641 | 
            +
             | 
| 24642 | 
            +
                  # http body (model)
         | 
| 24643 | 
            +
                  # Fix header in file
         | 
| 24644 | 
            +
                  # post_body = nil
         | 
| 24645 | 
            +
                  auth_names = ['JWT']
         | 
| 24646 | 
            +
                  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
         | 
| 24647 | 
            +
                    :header_params => header_params,
         | 
| 24648 | 
            +
                    :query_params => query_params,
         | 
| 24649 | 
            +
                    :form_params => form_params,
         | 
| 24650 | 
            +
                    :body => post_body,
         | 
| 24651 | 
            +
                    :auth_names => auth_names,
         | 
| 24652 | 
            +
                    :return_type => 'AsposeResponse')
         | 
| 24653 | 
            +
                  if @api_client.config.debugging
         | 
| 24654 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#put_pdf_in_request_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 24655 | 
            +
                  end
         | 
| 24656 | 
            +
                  return data, status_code, headers
         | 
| 24657 | 
            +
                end
         | 
| 24658 | 
            +
             | 
| 24374 24659 | 
             
                # Converts PDF document (in request content) to TIFF format and uploads resulting file to storage.
         | 
| 24375 24660 | 
             
                # 
         | 
| 24376 24661 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tiff)
         | 
| @@ -25049,6 +25334,7 @@ module AsposePdfCloud | |
| 25049 25334 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 25050 25335 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 25051 25336 | 
             
                # @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
         | 
| 25337 | 
            +
                # @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file. (default to Zip)
         | 
| 25052 25338 | 
             
                # @return [AsposeResponse]
         | 
| 25053 25339 | 
             
                def put_pdf_in_storage_to_html(name, out_path, opts = {})
         | 
| 25054 25340 | 
             
                  @api_client.request_token_if_needed
         | 
| @@ -25099,6 +25385,7 @@ module AsposePdfCloud | |
| 25099 25385 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 25100 25386 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 25101 25387 | 
             
                # @option opts [BOOLEAN] :flow_layout_paragraph_full_width This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
         | 
| 25388 | 
            +
                # @option opts [String] :output_format This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
         | 
| 25102 25389 | 
             
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 25103 25390 | 
             
                def put_pdf_in_storage_to_html_with_http_info(name, out_path, opts = {})
         | 
| 25104 25391 | 
             
                  if @api_client.config.debugging
         | 
| @@ -25136,6 +25423,9 @@ module AsposePdfCloud | |
| 25136 25423 | 
             
                  if @api_client.config.client_side_validation && opts[:'raster_images_saving_mode'] && !['AsPngImagesEmbeddedIntoSvg', 'AsExternalPngFilesReferencedViaSvg', 'AsEmbeddedPartsOfPngPageBackground'].include?(opts[:'raster_images_saving_mode'])
         | 
| 25137 25424 | 
             
                    fail ArgumentError, 'invalid value for "raster_images_saving_mode", must be one of AsPngImagesEmbeddedIntoSvg, AsExternalPngFilesReferencedViaSvg, AsEmbeddedPartsOfPngPageBackground'
         | 
| 25138 25425 | 
             
                  end
         | 
| 25426 | 
            +
                  if @api_client.config.client_side_validation && opts[:'output_format'] && !['Zip', 'Folder'].include?(opts[:'output_format'])
         | 
| 25427 | 
            +
                    fail ArgumentError, 'invalid value for "output_format", must be one of Zip, Folder'
         | 
| 25428 | 
            +
                  end
         | 
| 25139 25429 | 
             
                  # resource path
         | 
| 25140 25430 | 
             
                  local_var_path = "/pdf/{name}/convert/html".sub('{' + 'name' + '}', name.to_s)
         | 
| 25141 25431 |  | 
| @@ -25173,6 +25463,7 @@ module AsposePdfCloud | |
| 25173 25463 | 
             
                  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
         | 
| 25174 25464 | 
             
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 25175 25465 | 
             
                  query_params[:'flowLayoutParagraphFullWidth'] = opts[:'flow_layout_paragraph_full_width'] if !opts[:'flow_layout_paragraph_full_width'].nil?
         | 
| 25466 | 
            +
                  query_params[:'outputFormat'] = opts[:'output_format'] if !opts[:'output_format'].nil?
         | 
| 25176 25467 |  | 
| 25177 25468 | 
             
                  # header parameters
         | 
| 25178 25469 | 
             
                  header_params = {}
         | 
| @@ -25203,7 +25494,7 @@ module AsposePdfCloud | |
| 25203 25494 | 
             
                  return data, status_code, headers
         | 
| 25204 25495 | 
             
                end
         | 
| 25205 25496 |  | 
| 25206 | 
            -
                # Converts PDF document (located on storage) to  | 
| 25497 | 
            +
                # Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
         | 
| 25207 25498 | 
             
                # 
         | 
| 25208 25499 | 
             
                # @param name The document name.
         | 
| 25209 25500 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| @@ -25224,7 +25515,7 @@ module AsposePdfCloud | |
| 25224 25515 | 
             
                  return data
         | 
| 25225 25516 | 
             
                end
         | 
| 25226 25517 |  | 
| 25227 | 
            -
                # Converts PDF document (located on storage) to  | 
| 25518 | 
            +
                # Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
         | 
| 25228 25519 | 
             
                # 
         | 
| 25229 25520 | 
             
                # @param name The document name.
         | 
| 25230 25521 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| @@ -25409,8 +25700,8 @@ module AsposePdfCloud | |
| 25409 25700 | 
             
                    fail ArgumentError, "Missing the required parameter 'type' when calling PdfApi.put_pdf_in_storage_to_pdf_a"
         | 
| 25410 25701 | 
             
                  end
         | 
| 25411 25702 | 
             
                  # verify enum value
         | 
| 25412 | 
            -
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B'].include?(type)
         | 
| 25413 | 
            -
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B"
         | 
| 25703 | 
            +
                  if @api_client.config.client_side_validation && !['PDFA1A', 'PDFA1B', 'PDFA3A'].include?(type)
         | 
| 25704 | 
            +
                    fail ArgumentError, "invalid value for 'type', must be one of PDFA1A, PDFA1B, PDFA3A"
         | 
| 25414 25705 | 
             
                  end
         | 
| 25415 25706 | 
             
                  # resource path
         | 
| 25416 25707 | 
             
                  local_var_path = "/pdf/{name}/convert/pdfa".sub('{' + 'name' + '}', name.to_s)
         | 
| @@ -25615,6 +25906,85 @@ module AsposePdfCloud | |
| 25615 25906 | 
             
                  return data, status_code, headers
         | 
| 25616 25907 | 
             
                end
         | 
| 25617 25908 |  | 
| 25909 | 
            +
                # Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
         | 
| 25910 | 
            +
                # 
         | 
| 25911 | 
            +
                # @param name The document name.
         | 
| 25912 | 
            +
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 25913 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 25914 | 
            +
                # @option opts [String] :folder The document folder.
         | 
| 25915 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 25916 | 
            +
                # @return [AsposeResponse]
         | 
| 25917 | 
            +
                def put_pdf_in_storage_to_te_x(name, out_path, opts = {})
         | 
| 25918 | 
            +
                  @api_client.request_token_if_needed
         | 
| 25919 | 
            +
                  data, _status_code, _headers = put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts)
         | 
| 25920 | 
            +
                  rescue ApiError => error
         | 
| 25921 | 
            +
                    if error.code == 401
         | 
| 25922 | 
            +
                      @api_client.request_token_if_needed
         | 
| 25923 | 
            +
                      data, _status_code, _headers = put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts)
         | 
| 25924 | 
            +
                    else
         | 
| 25925 | 
            +
                      raise
         | 
| 25926 | 
            +
                    end
         | 
| 25927 | 
            +
                  return data
         | 
| 25928 | 
            +
                end
         | 
| 25929 | 
            +
             | 
| 25930 | 
            +
                # Converts PDF document (located on storage) to TeX format and uploads resulting file to storage
         | 
| 25931 | 
            +
                # 
         | 
| 25932 | 
            +
                # @param name The document name.
         | 
| 25933 | 
            +
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.tex)
         | 
| 25934 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 25935 | 
            +
                # @option opts [String] :folder The document folder.
         | 
| 25936 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 25937 | 
            +
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 25938 | 
            +
                def put_pdf_in_storage_to_te_x_with_http_info(name, out_path, opts = {})
         | 
| 25939 | 
            +
                  if @api_client.config.debugging
         | 
| 25940 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.put_pdf_in_storage_to_te_x ..."
         | 
| 25941 | 
            +
                  end
         | 
| 25942 | 
            +
                  # verify the required parameter 'name' is set
         | 
| 25943 | 
            +
                  if @api_client.config.client_side_validation && name.nil?
         | 
| 25944 | 
            +
                    fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_pdf_in_storage_to_te_x"
         | 
| 25945 | 
            +
                  end
         | 
| 25946 | 
            +
                  # verify the required parameter 'out_path' is set
         | 
| 25947 | 
            +
                  if @api_client.config.client_side_validation && out_path.nil?
         | 
| 25948 | 
            +
                    fail ArgumentError, "Missing the required parameter 'out_path' when calling PdfApi.put_pdf_in_storage_to_te_x"
         | 
| 25949 | 
            +
                  end
         | 
| 25950 | 
            +
                  # resource path
         | 
| 25951 | 
            +
                  local_var_path = "/pdf/{name}/convert/tex".sub('{' + 'name' + '}', name.to_s)
         | 
| 25952 | 
            +
             | 
| 25953 | 
            +
                  # query parameters
         | 
| 25954 | 
            +
                  query_params = {}
         | 
| 25955 | 
            +
                  query_params[:'outPath'] = out_path
         | 
| 25956 | 
            +
                  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
         | 
| 25957 | 
            +
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 25958 | 
            +
             | 
| 25959 | 
            +
                  # header parameters
         | 
| 25960 | 
            +
                  header_params = {}
         | 
| 25961 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 25962 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         | 
| 25963 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 25964 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         | 
| 25965 | 
            +
             | 
| 25966 | 
            +
                  # form parameters
         | 
| 25967 | 
            +
                  form_params = {}
         | 
| 25968 | 
            +
                  # Fix header in file
         | 
| 25969 | 
            +
                  post_body = nil
         | 
| 25970 | 
            +
             | 
| 25971 | 
            +
                  # http body (model)
         | 
| 25972 | 
            +
                  # Fix header in file
         | 
| 25973 | 
            +
                  # post_body = nil
         | 
| 25974 | 
            +
                  auth_names = ['JWT']
         | 
| 25975 | 
            +
                  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
         | 
| 25976 | 
            +
                    :header_params => header_params,
         | 
| 25977 | 
            +
                    :query_params => query_params,
         | 
| 25978 | 
            +
                    :form_params => form_params,
         | 
| 25979 | 
            +
                    :body => post_body,
         | 
| 25980 | 
            +
                    :auth_names => auth_names,
         | 
| 25981 | 
            +
                    :return_type => 'AsposeResponse')
         | 
| 25982 | 
            +
                  if @api_client.config.debugging
         | 
| 25983 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#put_pdf_in_storage_to_te_x\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 25984 | 
            +
                  end
         | 
| 25985 | 
            +
                  return data, status_code, headers
         | 
| 25986 | 
            +
                end
         | 
| 25987 | 
            +
             | 
| 25618 25988 | 
             
                # Converts PDF document (located on storage) to TIFF format and uploads resulting file to storage
         | 
| 25619 25989 | 
             
                # 
         | 
| 25620 25990 | 
             
                # @param name The document name.
         | 
| @@ -26584,6 +26954,7 @@ module AsposePdfCloud | |
| 26584 26954 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 26585 26955 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 26586 26956 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 26957 | 
            +
                # @option opts [BOOLEAN] :apply Apply redaction immediately after adding. (default to false)
         | 
| 26587 26958 | 
             
                # @return [RedactionAnnotationResponse]
         | 
| 26588 26959 | 
             
                def put_redaction_annotation(name, annotation_id, annotation, opts = {})
         | 
| 26589 26960 | 
             
                  @api_client.request_token_if_needed
         | 
| @@ -26606,6 +26977,7 @@ module AsposePdfCloud | |
| 26606 26977 | 
             
                # @param [Hash] opts the optional parameters
         | 
| 26607 26978 | 
             
                # @option opts [String] :storage The document storage.
         | 
| 26608 26979 | 
             
                # @option opts [String] :folder The document folder.
         | 
| 26980 | 
            +
                # @option opts [BOOLEAN] :apply Apply redaction immediately after adding.
         | 
| 26609 26981 | 
             
                # @return [Array<(RedactionAnnotationResponse, Fixnum, Hash)>] RedactionAnnotationResponse data, response status code and response headers
         | 
| 26610 26982 | 
             
                def put_redaction_annotation_with_http_info(name, annotation_id, annotation, opts = {})
         | 
| 26611 26983 | 
             
                  if @api_client.config.debugging
         | 
| @@ -26630,6 +27002,7 @@ module AsposePdfCloud | |
| 26630 27002 | 
             
                  query_params = {}
         | 
| 26631 27003 | 
             
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 26632 27004 | 
             
                  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
         | 
| 27005 | 
            +
                  query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
         | 
| 26633 27006 |  | 
| 26634 27007 | 
             
                  # header parameters
         | 
| 26635 27008 | 
             
                  header_params = {}
         | 
| @@ -27926,6 +28299,85 @@ module AsposePdfCloud | |
| 27926 28299 | 
             
                  return data, status_code, headers
         | 
| 27927 28300 | 
             
                end
         | 
| 27928 28301 |  | 
| 28302 | 
            +
                # Convert TeX file (located on storage) to PDF format and upload resulting file to storage. 
         | 
| 28303 | 
            +
                # 
         | 
| 28304 | 
            +
                # @param name The document name.
         | 
| 28305 | 
            +
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 28306 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 28307 | 
            +
                # @option opts [String] :dst_folder The destination document folder.
         | 
| 28308 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 28309 | 
            +
                # @return [AsposeResponse]
         | 
| 28310 | 
            +
                def put_te_x_in_storage_to_pdf(name, src_path, opts = {})
         | 
| 28311 | 
            +
                  @api_client.request_token_if_needed
         | 
| 28312 | 
            +
                  data, _status_code, _headers = put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
         | 
| 28313 | 
            +
                  rescue ApiError => error
         | 
| 28314 | 
            +
                    if error.code == 401
         | 
| 28315 | 
            +
                      @api_client.request_token_if_needed
         | 
| 28316 | 
            +
                      data, _status_code, _headers = put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts)
         | 
| 28317 | 
            +
                    else
         | 
| 28318 | 
            +
                      raise
         | 
| 28319 | 
            +
                    end
         | 
| 28320 | 
            +
                  return data
         | 
| 28321 | 
            +
                end
         | 
| 28322 | 
            +
             | 
| 28323 | 
            +
                # Convert TeX file (located on storage) to PDF format and upload resulting file to storage. 
         | 
| 28324 | 
            +
                # 
         | 
| 28325 | 
            +
                # @param name The document name.
         | 
| 28326 | 
            +
                # @param src_path Full source filename (ex. /folder1/folder2/template.tex)
         | 
| 28327 | 
            +
                # @param [Hash] opts the optional parameters
         | 
| 28328 | 
            +
                # @option opts [String] :dst_folder The destination document folder.
         | 
| 28329 | 
            +
                # @option opts [String] :storage The document storage.
         | 
| 28330 | 
            +
                # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
         | 
| 28331 | 
            +
                def put_te_x_in_storage_to_pdf_with_http_info(name, src_path, opts = {})
         | 
| 28332 | 
            +
                  if @api_client.config.debugging
         | 
| 28333 | 
            +
                    @api_client.config.logger.debug "Calling API: PdfApi.put_te_x_in_storage_to_pdf ..."
         | 
| 28334 | 
            +
                  end
         | 
| 28335 | 
            +
                  # verify the required parameter 'name' is set
         | 
| 28336 | 
            +
                  if @api_client.config.client_side_validation && name.nil?
         | 
| 28337 | 
            +
                    fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.put_te_x_in_storage_to_pdf"
         | 
| 28338 | 
            +
                  end
         | 
| 28339 | 
            +
                  # verify the required parameter 'src_path' is set
         | 
| 28340 | 
            +
                  if @api_client.config.client_side_validation && src_path.nil?
         | 
| 28341 | 
            +
                    fail ArgumentError, "Missing the required parameter 'src_path' when calling PdfApi.put_te_x_in_storage_to_pdf"
         | 
| 28342 | 
            +
                  end
         | 
| 28343 | 
            +
                  # resource path
         | 
| 28344 | 
            +
                  local_var_path = "/pdf/{name}/create/tex".sub('{' + 'name' + '}', name.to_s)
         | 
| 28345 | 
            +
             | 
| 28346 | 
            +
                  # query parameters
         | 
| 28347 | 
            +
                  query_params = {}
         | 
| 28348 | 
            +
                  query_params[:'srcPath'] = src_path
         | 
| 28349 | 
            +
                  query_params[:'dstFolder'] = opts[:'dst_folder'] if !opts[:'dst_folder'].nil?
         | 
| 28350 | 
            +
                  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
         | 
| 28351 | 
            +
             | 
| 28352 | 
            +
                  # header parameters
         | 
| 28353 | 
            +
                  header_params = {}
         | 
| 28354 | 
            +
                  # HTTP header 'Accept' (if needed)
         | 
| 28355 | 
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
         | 
| 28356 | 
            +
                  # HTTP header 'Content-Type'
         | 
| 28357 | 
            +
                  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
         | 
| 28358 | 
            +
             | 
| 28359 | 
            +
                  # form parameters
         | 
| 28360 | 
            +
                  form_params = {}
         | 
| 28361 | 
            +
                  # Fix header in file
         | 
| 28362 | 
            +
                  post_body = nil
         | 
| 28363 | 
            +
             | 
| 28364 | 
            +
                  # http body (model)
         | 
| 28365 | 
            +
                  # Fix header in file
         | 
| 28366 | 
            +
                  # post_body = nil
         | 
| 28367 | 
            +
                  auth_names = ['JWT']
         | 
| 28368 | 
            +
                  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
         | 
| 28369 | 
            +
                    :header_params => header_params,
         | 
| 28370 | 
            +
                    :query_params => query_params,
         | 
| 28371 | 
            +
                    :form_params => form_params,
         | 
| 28372 | 
            +
                    :body => post_body,
         | 
| 28373 | 
            +
                    :auth_names => auth_names,
         | 
| 28374 | 
            +
                    :return_type => 'AsposeResponse')
         | 
| 28375 | 
            +
                  if @api_client.config.debugging
         | 
| 28376 | 
            +
                    @api_client.config.logger.debug "API called: PdfApi#put_te_x_in_storage_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         | 
| 28377 | 
            +
                  end
         | 
| 28378 | 
            +
                  return data, status_code, headers
         | 
| 28379 | 
            +
                end
         | 
| 28380 | 
            +
             | 
| 27929 28381 | 
             
                # Replace document text annotation
         | 
| 27930 28382 | 
             
                # 
         | 
| 27931 28383 | 
             
                # @param name The document name.
         | 
| @@ -28435,7 +28887,7 @@ module AsposePdfCloud | |
| 28435 28887 | 
             
                  return data, status_code, headers
         | 
| 28436 28888 | 
             
                end
         | 
| 28437 28889 |  | 
| 28438 | 
            -
                # Converts PDF document which  | 
| 28890 | 
            +
                # Converts PDF document which contains XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage.
         | 
| 28439 28891 | 
             
                # 
         | 
| 28440 28892 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.pdf)
         | 
| 28441 28893 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -28455,7 +28907,7 @@ module AsposePdfCloud | |
| 28455 28907 | 
             
                  return data
         | 
| 28456 28908 | 
             
                end
         | 
| 28457 28909 |  | 
| 28458 | 
            -
                # Converts PDF document which  | 
| 28910 | 
            +
                # Converts PDF document which contains XFA form (in request content) to PDF with AcroForm and uploads resulting file to storage.
         | 
| 28459 28911 | 
             
                # 
         | 
| 28460 28912 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.pdf)
         | 
| 28461 28913 | 
             
                # @param [Hash] opts the optional parameters
         | 
| @@ -28509,7 +28961,7 @@ module AsposePdfCloud | |
| 28509 28961 | 
             
                  return data, status_code, headers
         | 
| 28510 28962 | 
             
                end
         | 
| 28511 28963 |  | 
| 28512 | 
            -
                # Converts PDF document which  | 
| 28964 | 
            +
                # Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage
         | 
| 28513 28965 | 
             
                # 
         | 
| 28514 28966 | 
             
                # @param name The document name.
         | 
| 28515 28967 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.pdf)
         | 
| @@ -28530,7 +28982,7 @@ module AsposePdfCloud | |
| 28530 28982 | 
             
                  return data
         | 
| 28531 28983 | 
             
                end
         | 
| 28532 28984 |  | 
| 28533 | 
            -
                # Converts PDF document which  | 
| 28985 | 
            +
                # Converts PDF document which contains XFA form (located on storage) to PDF with AcroForm and uploads resulting file to storage
         | 
| 28534 28986 | 
             
                # 
         | 
| 28535 28987 | 
             
                # @param name The document name.
         | 
| 28536 28988 | 
             
                # @param out_path Full resulting filename (ex. /folder1/folder2/result.pdf)
         |