Hello Regina, A macro is an excellent idea. Let me see how I can do that.
Thanks, Nicolai On Wed 2014-02-19 20:03, Regina Henschel wrote: > Hi Nicolai, > > [email protected] schrieb: > >Hi, I was wondering if it's possible to make LibreOffice Writer open a plain > >text file with paragraph double-spacing already applied to all of it. > > > >My aim is to be able edit plain text files in (i) serif fonts and (ii) > >double-spaced paragraphs. > > Plain text opens here in "preformatted text" and font "Liberation > Mono". I see no option to change that behavior. > > > > >I keep my documents in plain text but find myself having to change the > >entire formatting of the document every time I open a plain text file for > >editing. > > > >I managed to get (i) working by means of Tools: Options: LibreOffice: Fonts: > >Replacement Table. > > > >However, I couldn't get (ii). I tried to create a template in which the > >"Preformatted Text" style looks the way I want it to be, and then I made this > >template default. But LibreOffice Writer just ignores the default template > >when opening plain text files. > > I would expact that, because the default template is used for _new_ > documents, and a file opened is not new. > > You can make a template with the desired settings. Then do not open > the plain text directly. But start with a new file based on your > template and then use Insert > File to get the plain text. It will > use the style of that paragraph where it is inserted. > > Or don't care that it opens with the wrong font and spacing, and > change it after opening. (1) When you once make a macro to change it > and assign it to a button or to a shortcut, it will only be 1 click > to convert the text. (2) Enable "Line Spacing : 2" in the Formatting > toolbar or assign it to a short cut. Then you get it with actions: > Ctrl+A (select all), Ctrl+0 (set TextBody style), and Click or > shortcut for Line Spacing : 2. I think, that is not too long. > > Kind regards > Regina > > > -- > To unsubscribe e-mail to: [email protected] > Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette > List archive: http://listarchives.libreoffice.org/global/users/ > All messages sent to this list will be publicly archived and cannot be deleted -- To unsubscribe e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
