Convert Office word-processor format file (.doc, .docx, .odt, etc) to .txt.
This utility uses one of the following backends:
=over
=item * LibreOffice
=back
This function is not exported.
Arguments ('*' denotes required arguments):
=over 4
=item * B<fmt> => I<bool>
Run Unix fmt over the txt output.
=item * B<input_file>* => I<filename>
Path to input file.
=item * B<libreoffice_path> => I<filename>
=item * B<output_file> => I<filename>
Path to output file.
If not specified, will output to stdout.
=item * B<overwrite> => I<bool>
=item * B<return_output_file> => I<bool>
Return the path of output file instead.
This is useful when you do not specify an output file but do not want to show
the converted document to stdout, but instead want to get the path to a
temporary output file.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
($reason) is a string containing error message, or something like "OK" if status is
200. Third element ($payload) is the actual result, but usually not present when enveloped result is an error response ($status_code is not 2xx). Fourth
element (%result_meta) is called result metadata and is optional, a hash
that contains extra information, much like how HTTP response headers provide additional metadata.
Return value: (any)
=head1 FAQ
=head2 Where is officess2* (e.g. officess2csv)?
To convert a spreadsheet to CSV, you can use L<xls2csv> from