How can I edit a LibreOffice Writer template file (.ott) directly?












2















I have a certain template file for LO Writer.



How can I edit that file directly, i.e. not by creating a new .odt file and saving it as a .ott file again?



This question is based on the following experience: under Windows, it is possible to right-click the file and choose something along the lines of Edit this file, which then open the .ott-file itself instead a blank new document.










share|improve this question

























  • If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

    – Rinzwind
    Oct 14 '15 at 13:18
















2















I have a certain template file for LO Writer.



How can I edit that file directly, i.e. not by creating a new .odt file and saving it as a .ott file again?



This question is based on the following experience: under Windows, it is possible to right-click the file and choose something along the lines of Edit this file, which then open the .ott-file itself instead a blank new document.










share|improve this question

























  • If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

    – Rinzwind
    Oct 14 '15 at 13:18














2












2








2








I have a certain template file for LO Writer.



How can I edit that file directly, i.e. not by creating a new .odt file and saving it as a .ott file again?



This question is based on the following experience: under Windows, it is possible to right-click the file and choose something along the lines of Edit this file, which then open the .ott-file itself instead a blank new document.










share|improve this question
















I have a certain template file for LO Writer.



How can I edit that file directly, i.e. not by creating a new .odt file and saving it as a .ott file again?



This question is based on the following experience: under Windows, it is possible to right-click the file and choose something along the lines of Edit this file, which then open the .ott-file itself instead a blank new document.







libreoffice templates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 '15 at 16:09







henry

















asked Feb 5 '15 at 14:14









henryhenry

1,09851936




1,09851936













  • If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

    – Rinzwind
    Oct 14 '15 at 13:18



















  • If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

    – Rinzwind
    Oct 14 '15 at 13:18

















If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

– Rinzwind
Oct 14 '15 at 13:18





If the LO version under Windows behaves differently it would probably be best ask about this on the LO website en.libreofficeforum.org/forum/apps/writer There probably is a reason for this. Or otherwise file a bug bugs.documentfoundation.org/

– Rinzwind
Oct 14 '15 at 13:18










3 Answers
3






active

oldest

votes


















3














Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.






share|improve this answer
























  • This does not help. I amended my op to clarify the issue.

    – henry
    Feb 5 '15 at 16:10



















2














Select




  1. File -> Templates -> Manage


  2. Click on the template of interest.


  3. Click the 'Edit' button that appears in step 2).



If your template doesn't appear in the list of templates then you may need to import it.




  • File -> Templates -> Manage


  • Click the 'Import' button.







share|improve this answer

































    1














    The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.



    However, you can edit this and save it over the old template file.



    It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.






    share|improve this answer


























    • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

      – holmb
      Jun 14 '17 at 13:32












    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f582016%2fhow-can-i-edit-a-libreoffice-writer-template-file-ott-directly%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.






    share|improve this answer
























    • This does not help. I amended my op to clarify the issue.

      – henry
      Feb 5 '15 at 16:10
















    3














    Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.






    share|improve this answer
























    • This does not help. I amended my op to clarify the issue.

      – henry
      Feb 5 '15 at 16:10














    3












    3








    3







    Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.






    share|improve this answer













    Like most LibreOffice file formats, the .ott file is just a compressed archive. Rename it to filename.zip and open it with the archive manager. You will find several files and folders in it. Most likely you want to edit the contents.xml file. When you're done, compress the files and rename the file to newfilename.ott. Unless you have made a mistake somewhere, you can open this file with LibreOffice. LibreOffice is not very lenient towards errors in the XML markup, and will refuse to open the file if you forget to close a tag, for instance.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 5 '15 at 14:27









    JosJos

    14.7k54052




    14.7k54052













    • This does not help. I amended my op to clarify the issue.

      – henry
      Feb 5 '15 at 16:10



















    • This does not help. I amended my op to clarify the issue.

      – henry
      Feb 5 '15 at 16:10

















    This does not help. I amended my op to clarify the issue.

    – henry
    Feb 5 '15 at 16:10





    This does not help. I amended my op to clarify the issue.

    – henry
    Feb 5 '15 at 16:10













    2














    Select




    1. File -> Templates -> Manage


    2. Click on the template of interest.


    3. Click the 'Edit' button that appears in step 2).



    If your template doesn't appear in the list of templates then you may need to import it.




    • File -> Templates -> Manage


    • Click the 'Import' button.







    share|improve this answer






























      2














      Select




      1. File -> Templates -> Manage


      2. Click on the template of interest.


      3. Click the 'Edit' button that appears in step 2).



      If your template doesn't appear in the list of templates then you may need to import it.




      • File -> Templates -> Manage


      • Click the 'Import' button.







      share|improve this answer




























        2












        2








        2







        Select




        1. File -> Templates -> Manage


        2. Click on the template of interest.


        3. Click the 'Edit' button that appears in step 2).



        If your template doesn't appear in the list of templates then you may need to import it.




        • File -> Templates -> Manage


        • Click the 'Import' button.







        share|improve this answer















        Select




        1. File -> Templates -> Manage


        2. Click on the template of interest.


        3. Click the 'Edit' button that appears in step 2).



        If your template doesn't appear in the list of templates then you may need to import it.




        • File -> Templates -> Manage


        • Click the 'Import' button.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 15 '16 at 7:04







        user308164

















        answered Aug 12 '16 at 5:50









        user581135user581135

        211




        211























            1














            The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.



            However, you can edit this and save it over the old template file.



            It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.






            share|improve this answer


























            • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

              – holmb
              Jun 14 '17 at 13:32
















            1














            The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.



            However, you can edit this and save it over the old template file.



            It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.






            share|improve this answer


























            • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

              – holmb
              Jun 14 '17 at 13:32














            1












            1








            1







            The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.



            However, you can edit this and save it over the old template file.



            It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.






            share|improve this answer















            The best solution I've found is to open the template file you want to edit; this gives you an "Untitled 1" document.



            However, you can edit this and save it over the old template file.



            It's not as slick as using Microsoft Word on Windows, but it accomplishes essentially the same thing.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 14 '15 at 14:12









            kos

            26k971121




            26k971121










            answered Oct 14 '15 at 13:11









            suspender guysuspender guy

            563




            563













            • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

              – holmb
              Jun 14 '17 at 13:32



















            • This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

              – holmb
              Jun 14 '17 at 13:32

















            This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

            – holmb
            Jun 14 '17 at 13:32





            This works but is not intuitive at all. I recall some menu option to "edit as template" or similar, but it seems to have vanished...

            – holmb
            Jun 14 '17 at 13:32


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f582016%2fhow-can-i-edit-a-libreoffice-writer-template-file-ott-directly%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀