Convert .ods document to .docx document

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question


















  • 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














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?







share|improve this question


















  • 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








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












  • 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










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.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    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






























    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.






    share|improve this answer
























      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.






      share|improve this answer






















        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 24 at 9:33









        tohuwawohu

        5,49121931




        5,49121931






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error