=begin #convertapi #Convert API lets you effortlessly convert file formats and types. OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.14 =end require 'spec_helper' require 'json' # Unit tests for CloudmersiveConvertApiClient::ConvertDocumentApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ConvertDocumentApi' do before do # run before each test @instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new end after do # run after each test end describe 'test an instance of ConvertDocumentApi' do it 'should create an instance of ConvertDocumentApi' do expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::ConvertDocumentApi) end end # unit tests for convert_document_autodetect_get_info # Get document type information # Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type. Even if no file extension is present, the auto-detect system will reliably analyze the contents of the file and identify its file type. Supports over 100 image file formats, Office document file formats, PDF, and more. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [AutodetectGetInfoResult] describe 'convert_document_autodetect_get_info test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_jpg # Convert Document to JPG/JPEG image array # Automatically detect file type and convert it to an array of JPG/JPEG Images. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [AutodetectToJpgResult] describe 'convert_document_autodetect_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_pdf # Convert Document to PDF # Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, text files, and even multi-page TIFF files. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_autodetect_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_pdf_batch_job # Convert Document to PDF as Batch Job # Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, text files, and even multi-page TIFF files. This API is designed for large jobs that could take a long time to create and so runs as a batch job that returns a Job ID that you can use with the GetAsyncJobStatus API to check on the status of the Job and ultimately get the output result. This API is only available for Cloudmersive Managed Instance and Private Cloud deployments. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [ConvertDocumentBatchJobCreateResult] describe 'convert_document_autodetect_to_pdf_batch_job test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_png_array # Convert Document to PNG array # Automatically detect file type and convert it to an array of PNG images. Supports all of the major Office document file formats, over 100 image formats, and even multi-page TIFF files. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [AutodetectToPngResult] describe 'convert_document_autodetect_to_png_array test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_thumbnail # Convert File to Thumbnail Image # Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon. # @return [String] describe 'convert_document_autodetect_to_thumbnail test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_thumbnails_advanced # Convert File to Thumbnail Image Object # Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :pages Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page. # @option opts [Integer] :max_width Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. # @option opts [Integer] :max_height Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. # @option opts [String] :extension Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon. # @return [AutodetectToThumbnailsResult] describe 'convert_document_autodetect_to_thumbnails_advanced test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_autodetect_to_txt # Convert Document to Text (txt) # Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'. # @return [TextConversionResult] describe 'convert_document_autodetect_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_csv_multi_to_xlsx # Convert Multiple CSV Files into a Single XLSX Spreadsheet # Convert multiple Comma-Separated Values (CSV) files into a single Excel XLSX Spreadsheet, with one worksheet corresponding to each CSV file. # @param input_file1 First input file to perform the operation on. # @param input_file2 Second input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [File] :input_file3 Third input file to perform the operation on. # @option opts [File] :input_file4 Fourth input file to perform the operation on. # @option opts [File] :input_file5 Fifth input file to perform the operation on. # @option opts [File] :input_file6 Sixth input file to perform the operation on. # @option opts [File] :input_file7 Seventh input file to perform the operation on. # @option opts [File] :input_file8 Eighth input file to perform the operation on. # @option opts [File] :input_file9 Ninth input file to perform the operation on. # @option opts [File] :input_file10 Tenth input file to perform the operation on. # @option opts [String] :worksheet_names Optional; Specify the name of each CSV's worksheet in order, separated with commas (e.g. \"worksheet1,worksheet2,worksheet3\"). Defaults to the names of the input CSV files. Recommended when inputting the files directly, without file names. # @return [String] describe 'convert_document_csv_multi_to_xlsx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_csv_to_html # Convert CSV to HTML document # Convert Comma-Separated Values (CSV) file to HTML document. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_csv_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_csv_to_pdf # Convert CSV to PDF document # Convert Comma-Separated Values (CSV) file to PDF document. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_csv_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_csv_to_xlsx # Convert CSV to Excel XLSX Spreadsheet # Convert CSV file to Office Excel XLSX Workbooks file format. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_csv_to_xlsx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_doc_to_docx # Convert Word DOC (97-03) Document to DOCX # Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_doc_to_docx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_doc_to_pdf # Convert Word DOC (97-03) Document to PDF # Convert Office Word (97-2003 Format) Documents (doc) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_doc_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_doc_to_txt # Convert Word DOC (97-03) Document to Text (txt) # Convert Office Word DOC (97-03) Document (doc) to text # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [TextConversionResult] describe 'convert_document_doc_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_doc # Convert Word DOCX Document to Legacy Word DOC (97-03) # Convert/downgrade modern Office Word DOCX Documents (DOCX) to the legacy Word DOC (97-2003 Format) format # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_docx_to_doc test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_html # Convert Word DOCX Document to HTML Document # Convert Office Word Document (DOCX) to HTML Document # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_docx_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_jpg # Convert Word DOCX Document to JPG/JPEG image array # Converts an Office Word Document (DOCX) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [DocxToJpgResult] describe 'convert_document_docx_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_pdf # Convert Word DOCX Document to PDF # Convert Office Word Documents (docx) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_docx_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_png # Convert Word DOCX Document to PNG image array # Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [DocxToPngResult] describe 'convert_document_docx_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_rtf # Convert Word DOCX Document to RTF # Convert an Office Word Document (DOCX) to Rich Text Format Document (RTF) # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_docx_to_rtf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_docx_to_txt # Convert Word DOCX Document to Text (txt) # Convert Office Word Documents (docx) to text # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'minimizeWhitespace'. # @return [TextConversionResult] describe 'convert_document_docx_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_eml_to_html # Convert Email EML file to HTML string # Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true. # @return [EmlToHtmlResult] describe 'convert_document_eml_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_eml_to_jpg # Convert Email EML file to JPG/JPEG image array # Converts an Outlook Email File (EML) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [EmlToJpgResult] describe 'convert_document_eml_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_eml_to_pdf # Convert Email EML file to PDF document # Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. # @return [String] describe 'convert_document_eml_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_eml_to_png # Convert Email EML file to PNG image array # Converts an Outlook Email File (EML) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [EmlToPngResult] describe 'convert_document_eml_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_get_async_job_status # Get the status and result of a Convert Document Batch Job # Returns the result of the Async Job - possible states can be STARTED or COMPLETED. This API is only available for Cloudmersive Managed Instance and Private Cloud deployments. # @param async_job_id # @param [Hash] opts the optional parameters # @return [ConvertDocumentJobStatusResult] describe 'convert_document_get_async_job_status test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_get_file_type_icon # Get PNG icon file for the file extension # Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats. # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters. # @param [Hash] opts the optional parameters # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio. # @return [String] describe 'convert_document_get_file_type_icon test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_get_file_type_icon_advanced # Get PNG icon byte array for the file extension # Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats. # @param file_extension Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters. # @param [Hash] opts the optional parameters # @option opts [Integer] :icon_size Optional; The desired width of the icon, preserving its aspect ratio. # @return [GetFileTypeIconResult] describe 'convert_document_get_file_type_icon_advanced test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_html_to_pdf # Convert HTML document file to PDF Document # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :include_background_graphics Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. # @option opts [Integer] :scale_factor Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%. Maximum is 1000%. # @return [String] describe 'convert_document_html_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_html_to_png # Convert HTML document file to PNG image array # Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [PdfToPngResult] describe 'convert_document_html_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_html_to_txt # HTML Document file to Text (txt) # HTML document to text # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [TextConversionResult] describe 'convert_document_html_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_keynote_to_jpg # Convert Keynote Presentation (KEY) to JPG/JPEG image array # Converts a Mac Keynote Presentation (KEY) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [KeynoteToJpgResult] describe 'convert_document_keynote_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_keynote_to_pdf # Convert Keynote Presentation (KEY) to PDF # Convert Mac Keynote Presentation (KEY) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_keynote_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_keynote_to_png # Convert Keynote Presentation (KEY) to PNG image array # Converts a Mac Keynote Presentation (KEY) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [KeynoteToPngResult] describe 'convert_document_keynote_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_keynote_to_pptx # Convert Keynote Presentation (KEY) to PPTX # Convert Mac Keynote Presentation (KEY) to PowerPoint Presentation (PPTX) # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_keynote_to_pptx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_msg_to_html # Convert Email MSG file to HTML string # Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false. # @option opts [BOOLEAN] :include_attachments Optional; If false, the response object will not include any attachment files from the input file. Default is true. # @return [MsgToHtmlResult] describe 'convert_document_msg_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_msg_to_jpg # Convert Email MSG file to JPG/JPEG image array # Converts an Outlook Message File (MSG) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [MsgToJpgResult] describe 'convert_document_msg_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_msg_to_pdf # Convert Email MSG file to PDF document # Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [BOOLEAN] :body_only Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. # @return [String] describe 'convert_document_msg_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_msg_to_png # Convert Email MSG file to PNG image array # Converts an Outlook Email Message File (MSG) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [MsgToPngResult] describe 'convert_document_msg_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odp_to_jpg # Convert ODP Presentation to JPG/JPEG image array # Converts an Open Document Presentation (ODP) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [OdpToJpgResult] describe 'convert_document_odp_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odp_to_pdf # Convert ODP Presentation to PDF # Convert Office Open Document Presentation (ODP) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_odp_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odp_to_png # Convert ODP Presentation to PNG image array # Converts an Office Open Document Presentation (ODP) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [OdpToPngResult] describe 'convert_document_odp_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odp_to_pptx # Convert ODP Presentation to PPTX # Convert Office Open Document Presentation (ODP) to PowerPoint Presentation (PPTX) # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_odp_to_pptx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ods_to_jpg # Convert ODS Spreadsheet to JPG/JPEG image array # Converts an Open Document Spreadsheet (ODS) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [OdsToJpgResult] describe 'convert_document_ods_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ods_to_pdf # Convert ODS Spreadsheet to PDF # Convert Office Open Document Spreadsheet (ODS) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_ods_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ods_to_png # Convert ODS Spreadsheet to PNG image array # Converts an Office Open Document Spreadsheet (ODS) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [OdsToPngResult] describe 'convert_document_ods_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ods_to_xlsx # Convert ODS Spreadsheet to XLSX # Convert Office Open Document Spreadsheet (ODS) to Excel Spreadsheet (XLSX) # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_ods_to_xlsx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odt_to_docx # Convert ODT Text File to Word DOCX # Convert Office Open Document Text File (ODT) to Word DOCX Document # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_odt_to_docx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odt_to_jpg # Convert ODT Text File to JPG/JPEG image array # Converts an Open Document Text File (ODT) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [OdtToJpgResult] describe 'convert_document_odt_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odt_to_pdf # Convert ODT Text File to PDF # Convert Office Open Document Text File (ODT) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_odt_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_odt_to_png # Convert ODT Text File to PNG image array # Converts an Office Open Document Text File (ODT) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [OdtToPngResult] describe 'convert_document_odt_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_docx # Convert PDF to Word DOCX Document # Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pdf_to_docx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_docx_rasterize # Convert PDF to Word DOCX Document based on rasterized version of the PDF # Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pdf_to_docx_rasterize test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_jpg # Convert PDF to JPG/JPEG image array # Converts a PDF Document to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [PdfToJpgResult] describe 'convert_document_pdf_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_png_array # Convert PDF to PNG Image Array # Convert PDF document to PNG array, one image per page. Returns PNG images as temporary expiring URLs. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :dpi Optional; configures the pixel density in Dots per Inch (DPI) (default is 300). This parameter can only be used with Cloudmersive Managed Instance and Private Cloud. # @return [PdfToPngResult] describe 'convert_document_pdf_to_png_array test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_png_array_direct # Convert PDF to PNG Image Array (Direct) # Convert PDF document to PNG array, one image per page. Returns PNG images directly in the response objects. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :dpi Optional; configures the pixel density in Dots per Inch (DPI) (default is 300). This parameter can only be used with Cloudmersive Managed Instance and Private Cloud. # @return [PdfToPngDirectResult] describe 'convert_document_pdf_to_png_array_direct test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_png_single # Convert PDF to Single PNG image # Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \"tall\" image # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pdf_to_png_single test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_pptx # Convert PDF to PowerPoint PPTX Presentation # Convert standard PDF to Office PowerPoint Presentation (pptx). Converts a PDF file at high fidelity into PowerPoint format, where it can be easily edited and processed. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pdf_to_pptx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_tiff # Convert PDF to TIFF image # Converts a PDF Document to a TIFF image. If the PDF contains multiple pages, these pages will be represented as separate pages within the output TIFF image. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :dpi Optional; configures the pixel density in Dots per Inch (DPI) (default is 300). This parameter can only be used with Cloudmersive Managed Instance and Private Cloud. # @option opts [BOOLEAN] :lzw_compression Optional; Enables LZW compression to reduce the size of the output image. # @return [String] describe 'convert_document_pdf_to_tiff test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pdf_to_txt # Convert PDF Document to Text (txt) # PDF document to text # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [String] :text_formatting_mode Optional; specify how whitespace should be handled when converting PDF to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'. # @return [TextConversionResult] describe 'convert_document_pdf_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_png_array_to_pdf # Convert PNG Array to PDF # Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input. # @param input_file1 First input file to perform the operation on. # @param input_file2 Second input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [File] :input_file3 Third input file to perform the operation on. # @option opts [File] :input_file4 Fourth input file to perform the operation on. # @option opts [File] :input_file5 Fifth input file to perform the operation on. # @option opts [File] :input_file6 Sixth input file to perform the operation on. # @option opts [File] :input_file7 Seventh input file to perform the operation on. # @option opts [File] :input_file8 Eighth input file to perform the operation on. # @option opts [File] :input_file9 Ninth input file to perform the operation on. # @option opts [File] :input_file10 Tenth input file to perform the operation on. # @return [String] describe 'convert_document_png_array_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_png_array_to_pdf_flatten_transparency # Convert PNG Array to PDF and remove transparency # Convert an array of PNG images, remove transparency in source images, one image per page, into a newly-created PDF. Supports images of different sizes as input. # @param [Hash] opts the optional parameters # @return [Object] describe 'convert_document_png_array_to_pdf_flatten_transparency test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ppt_to_pdf # Convert PowerPoint PPT (97-03) Presentation to PDF # Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_ppt_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_ppt_to_pptx # Convert PowerPoint PPT (97-03) Presentation to PPTX # Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_ppt_to_pptx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pptx_to_pdf # Convert PowerPoint PPTX Presentation to PDF # Convert Office PowerPoint Documents (pptx) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pptx_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pptx_to_png # Convert PowerPoint PPTX to PNG image array # Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [PptxToPngResult] describe 'convert_document_pptx_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pptx_to_ppt # Convert PowerPoint PPTX presentation to Legacy PowerPoint PPT (97-03) # Convert/downgrade modern Office PowerPoint PPTX Presentation to the legacy PowerPoint PPT (97-2003 Format) format # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_pptx_to_ppt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_pptx_to_txt # Convert PowerPoint PPTX Presentation to Text (txt) # Convert Office PowerPoint Documents (pptx) to standard Text # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [TextConversionResult] describe 'convert_document_pptx_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_rtf_to_docx # Convert Rich Text Format RTF to DOCX Document # Convert Rich Text Format Document (RTF) to Word DOCX Document # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_rtf_to_docx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_rtf_to_html # Convert Rich Text Format RTF to HTML Document # Convert Rich Text Format Document (RTF) to HTML Document # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_rtf_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_rtf_to_jpg # Convert Rich Text Format RTF to JPG/JPEG image array # Converts a Rich Text Format Document (RTF) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :quality Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75. # @return [RtfToJpgResult] describe 'convert_document_rtf_to_jpg test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_rtf_to_pdf # Convert Rich Text Format RTF to PDF # Convert Rich Text Format Document (RTF) to standard PDF # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_rtf_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_rtf_to_png # Convert Rich Text Format RTF to PNG image array # Converts a Rich Text Format Document (RTF) to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [RtfToPngResult] describe 'convert_document_rtf_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_txt_to_pdf # Convert TXT text file to PDF Document # Convert simple text files to PDF. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [Integer] :scale_factor Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%. Maximum is 1000%. # @return [String] describe 'convert_document_txt_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xls_to_csv # Convert Excel XLS (97-03) Spreadsheet to CSV # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xls_to_csv test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xls_to_pdf # Convert Excel XLS (97-03) Spreadsheet to PDF # Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xls_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xls_to_xlsx # Convert Excel XLS (97-03) Spreadsheet to XLSX # Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xls_to_xlsx test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_csv # Convert Excel XLSX Spreadsheet to CSV, Single Worksheet # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8. # @return [String] describe 'convert_document_xlsx_to_csv test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_csv_multi # Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets # Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8. # @return [CsvCollection] describe 'convert_document_xlsx_to_csv_multi test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_html # Convert Excel XLSX Spreadsheet to HTML Document # Convert Office Excel Spreadsheet (XLSX) to HTML Document. Converts all worksheets to HTML. Supports both XLSX and XLSB Excel file formats. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xlsx_to_html test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_pdf # Convert Excel XLSX Spreadsheet to PDF # Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xlsx_to_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_png # Convert Excel XLSX spreadsheet to PNG image array # Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [XlsxToPngResult] describe 'convert_document_xlsx_to_png test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_txt # Convert Excel XLSX Spreadsheet to Text (txt) # Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from. # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [TextConversionResult] describe 'convert_document_xlsx_to_txt test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for convert_document_xlsx_to_xls # Convert Excel XLSX Spreadsheet to Legacy Excel XLS (97-03) # Convert/downgrade modern Office Excel XLSX Spreadsheet to the legacy Excel XLS (97-2003 Format) format # @param input_file Input file to perform the operation on. # @param [Hash] opts the optional parameters # @return [String] describe 'convert_document_xlsx_to_xls test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end