Convert .ods document to .docx document

Clash Royale CLAN TAG#URR8PPP up vote
-8
down vote
favorite
I want to convert a LibreOffice document to an MSWord document but I haven't found any tool for the conversion.
Does anyone know how to do this?
libreoffice convert microsoft-office format-conversion
add a comment |Â
up vote
-8
down vote
favorite
I want to convert a LibreOffice document to an MSWord document but I haven't found any tool for the conversion.
Does anyone know how to do this?
libreoffice convert microsoft-office format-conversion
3
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
1
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42
add a comment |Â
up vote
-8
down vote
favorite
up vote
-8
down vote
favorite
I want to convert a LibreOffice document to an MSWord document but I haven't found any tool for the conversion.
Does anyone know how to do this?
libreoffice convert microsoft-office format-conversion
I want to convert a LibreOffice document to an MSWord document but I haven't found any tool for the conversion.
Does anyone know how to do this?
libreoffice convert microsoft-office format-conversion
edited May 24 at 8:26
Zanna
47.8k13116226
47.8k13116226
asked May 24 at 8:07
Tech
1
1
3
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
1
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42
add a comment |Â
3
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
1
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42
3
3
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
1
1
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
There's a quite useful tool to convert .odt files (assuming your goal is converting .odt instead of .ods to .docx) - it's called LibreOffice. LO has a command line interface, allowing for file conversions without opening the .odt file in the LO GUI.
Here's an extract showing the required command line parameter `--convert-to`` (for LibreOffice 5.1.6):
$ soffice -h
LibreOffice 5.1.6.2 10m0(Build:2)
Usage: soffice [options] [documents...]
Options:
(...)
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
Eg. --convert-to pdf *.doc
--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
(...)
Remaining arguments will be treated as filenames or URLs of documents to open.
Just use docx as output filter name.
So,
soffice --convert-to docx file.odt
would convert the file file.odt to file.docx (the parameter --headless isn't required any more).
Important: the command line command works only if there's no other LO instance running. So, make sure to exit LO before issuing the command.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
There's a quite useful tool to convert .odt files (assuming your goal is converting .odt instead of .ods to .docx) - it's called LibreOffice. LO has a command line interface, allowing for file conversions without opening the .odt file in the LO GUI.
Here's an extract showing the required command line parameter `--convert-to`` (for LibreOffice 5.1.6):
$ soffice -h
LibreOffice 5.1.6.2 10m0(Build:2)
Usage: soffice [options] [documents...]
Options:
(...)
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
Eg. --convert-to pdf *.doc
--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
(...)
Remaining arguments will be treated as filenames or URLs of documents to open.
Just use docx as output filter name.
So,
soffice --convert-to docx file.odt
would convert the file file.odt to file.docx (the parameter --headless isn't required any more).
Important: the command line command works only if there's no other LO instance running. So, make sure to exit LO before issuing the command.
add a comment |Â
up vote
0
down vote
There's a quite useful tool to convert .odt files (assuming your goal is converting .odt instead of .ods to .docx) - it's called LibreOffice. LO has a command line interface, allowing for file conversions without opening the .odt file in the LO GUI.
Here's an extract showing the required command line parameter `--convert-to`` (for LibreOffice 5.1.6):
$ soffice -h
LibreOffice 5.1.6.2 10m0(Build:2)
Usage: soffice [options] [documents...]
Options:
(...)
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
Eg. --convert-to pdf *.doc
--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
(...)
Remaining arguments will be treated as filenames or URLs of documents to open.
Just use docx as output filter name.
So,
soffice --convert-to docx file.odt
would convert the file file.odt to file.docx (the parameter --headless isn't required any more).
Important: the command line command works only if there's no other LO instance running. So, make sure to exit LO before issuing the command.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
There's a quite useful tool to convert .odt files (assuming your goal is converting .odt instead of .ods to .docx) - it's called LibreOffice. LO has a command line interface, allowing for file conversions without opening the .odt file in the LO GUI.
Here's an extract showing the required command line parameter `--convert-to`` (for LibreOffice 5.1.6):
$ soffice -h
LibreOffice 5.1.6.2 10m0(Build:2)
Usage: soffice [options] [documents...]
Options:
(...)
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
Eg. --convert-to pdf *.doc
--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
(...)
Remaining arguments will be treated as filenames or URLs of documents to open.
Just use docx as output filter name.
So,
soffice --convert-to docx file.odt
would convert the file file.odt to file.docx (the parameter --headless isn't required any more).
Important: the command line command works only if there's no other LO instance running. So, make sure to exit LO before issuing the command.
There's a quite useful tool to convert .odt files (assuming your goal is converting .odt instead of .ods to .docx) - it's called LibreOffice. LO has a command line interface, allowing for file conversions without opening the .odt file in the LO GUI.
Here's an extract showing the required command line parameter `--convert-to`` (for LibreOffice 5.1.6):
$ soffice -h
LibreOffice 5.1.6.2 10m0(Build:2)
Usage: soffice [options] [documents...]
Options:
(...)
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
Eg. --convert-to pdf *.doc
--convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
--convert-to "html:XHTML Writer File:UTF8" *.doc
--convert-to "txt:Text (encoded):UTF8" *.doc
(...)
Remaining arguments will be treated as filenames or URLs of documents to open.
Just use docx as output filter name.
So,
soffice --convert-to docx file.odt
would convert the file file.odt to file.docx (the parameter --headless isn't required any more).
Important: the command line command works only if there's no other LO instance running. So, make sure to exit LO before issuing the command.
answered May 24 at 9:33
tohuwawohu
5,49121931
5,49121931
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039715%2fconvert-ods-document-to-docx-document%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
sorry? askubuntu.com/questions/1039699/converting-ods-to-docx-file
â Rinzwind
May 24 at 8:18
1
-1 for obviously doubleposting, not providing any clarification of whether you indeed have an ods or an odt document and not indicating that you have put any research effort into this.
â Bruni
May 24 at 8:42