cloudmersive_convert_api_client/api/convert_document_api.py
def convert_document_pdf_to_txt(self, input_file, **kwargs):  # noqa: E501
        """Convert PDF Document to Text (txt)  # noqa: E501

        PDF document to text  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_pdf_to_txt(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param str 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
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.convert_document_pdf_to_txt_with_http_info(input_file, **kwargs)  # noqa: E501
        else:
            (data) = self.convert_document_pdf_to_txt_with_http_info(input_file, **kwargs)  # noqa: E501
            return data
Convert PDF Document to Text (txt)  # noqa: E501

        PDF document to text  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_pdf_to_txt(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param str 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
                 If the method is called asynchronously,
                 returns the request thread.
        
Convert PDF Document to Text (txt)  # noqa: E501
PDF document to text  # noqa: E501
This method makes a synchronous HTTP request by default.

:param async_req bool
:param file input_file: Input file to perform the operation on. (required)
:param str 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
If the method is called asynchronously,
returns the request thread.
Convert PDF Document to Text ( txt ) # noqa : E501 PDF document to text # noqa : E501 This method makes a synchronous HTTP request by default . : param async_req bool : param file input_file : Input file to perform the operation on . ( required ) : param str 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 If the method is called asynchronously returns the request thread .
def convert_document_pdf_to_txt(self, input_file, **kwargs):  
        """Convert PDF Document to Text (txt)  
        PDF document to text  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_pdf_to_txt(input_file, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param str 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
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.convert_document_pdf_to_txt_with_http_info(input_file, **kwargs)  
        else:
            (data) = self.convert_document_pdf_to_txt_with_http_info(input_file, **kwargs)  
            return data
def convert_document_pdf_to_txt ( self , input_file , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async_req' ) : return self . convert_document_pdf_to_txt_with_http_info ( input_file , ** kwargs ) else : ( data ) = self . convert_document_pdf_to_txt_with_http_info ( input_file , ** kwargs ) return data
Convert PDF Document to Text (txt)  # noqa: E501
PDF document to text  # noqa: E501
This method makes a synchronous HTTP request by default.
Convert PDF Document to Text ( txt ) # noqa : E501 PDF document to text # noqa : E501 This method makes a synchronous HTTP request by default .
# noqa: E501 """Convert PDF Document to Text (txt)  # noqa: E501

        PDF document to text  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_pdf_to_txt(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param str 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
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # noqa: E501
self
input_file