IanStar wrote: ↑Mon Jun 23, 2025 11:15 am
Actually, what I'm doing is right clicking in a folder and selecting "new" then "open document text", which opens a new ODT file.
Now I am really confused. The ancient topic in which you created a new post concerned opening files saved in the plain text TXT format. But now you say what you are doing is completely different. You are using a right-click in a folder in the Windows file manager and having
Windows (not OpenOffice) create a new file. I, thankfully, do not use Windows but several topics on the forum say that the template which
Windows uses for a new ODT file is not related to the templates that
OpenOffice uses or the templates you might create in Writer. I will let someone who uses Windows explain more, or you can perhaps find some of those topics via the search box in the upper right corner of forum pages. If you want to use an OpenOffice template to create a new file, right-click → New is the
wrong approach. If files are created incorrectly with right-click → New, that is a
Windows problem.
In
OpenOffice use File → New →
Text document. Create or modify styles with the attributes that you want. For example, you can modify the style for
Preformatted text to set the font type and size. Then save the empty Writer document as a template with File → Save As → File type →
ODF text document template (.ott) in a convenient folder, say the desktop. It will be helpful to give it name containing the word
template. You only need to perform these actions once.
To create a new Writer document using your template, open it either from OpenOffice or by double-clicking the template file in Windows. This will create a new empty Writer document containing the styles you put in the template. It will have the name
Untitled.odt. You can edit and then save the new Writer document, giving it an appropriate name. Put text in the new, empty Writer document either:
• by typing it, or
• by copying text to the clipboard and using Edit → Paste
Special → Unformatted text, or
• by using Insert → File to load the entire content of another file on your computer.
The template was only used to create the empty document and is not changed when you save the new document. As long as you save the file as the recommended file type
ODF Text document (.odt), everything is preserved. Saving in other formats risks the loss of data, formatting, or features. Always enable the checkbox
Automatic file name extension.
IanStar wrote: ↑Mon Jun 23, 2025 11:15 am
Each time I open the document, I get the "ASCII Filter Options" dialogue box open, which is just as annoying.
You should definitely
not get an
ASCII Filter Options dialog when you open a Writer document saved in the
ODT format.
Explain fully what you are doing to create files which open with that dialog. If you need to work with
plain text files and are saving documents as plain text using File → Save As →
Text (.txt), Writer is probably not a good choice for this work. Writer is intended for use with modern text documents which can contain sophisticated features: fonts, intendations, alignment, headings, tables, numbered lists, cross references, footnotes, etc. For working with plain text documents that do not contain those features a web search will find many tools for you.
Every operating system comes with one or more pre-installed tools for plain text files, or you may prefer others. I do not use Windows and offer no recommentations for that environment. People using MacOSX would use the pre-installed
TextEdit program.
You can open a plain text document with Writer, but those types of files contain nothing but characters.
There is no formatting information in them. Writer has no idea what font had been set before you used Save As →
Text (.txt), since font information can't be saved in TXT files, so you will get a default font when you open the saved TXT file because Writer
must know the font for every piece of text. Also, plain text files can be created with many different types of characters and encodings. This is discussed in the
plain text link I provided earlier. Because Writer doesn't know what characters or encodings were used to create your plain text file, it has to ask you for that information. This is one of the reasons you should consider a different tool, not Writer, if you are working with a lot of plain text files.
If you are using the wrong program for your work and are finding it difficult to use, this is like the person who finds it hard to drive screws with a hammer. I decline to help people who want to use the wrong tool for their work.