inserting date-stamp in RTF formatted docs

Discuss the word processor

inserting date-stamp in RTF formatted docs

Postby SottoVoce » Sat Nov 23, 2019 10:38 pm

Hi, I am attempting to insert a date-stamp into a text document and save the document as rich text (rtf) rather than odt. But after saving and re-opening, the date-stamp no longer appears.

Is there a way to insert the date-stamp as plain text so that it can be retained if you save the document as RTF?
Last edited by RoryOF on Sat Nov 23, 2019 10:49 pm, edited 1 time in total.
Reason: Fixed Subject typo [RoryOF, Moderator]
OpenOffice 4.1.5 on Mac
SottoVoce
 
Posts: 2
Joined: Sat Nov 23, 2019 6:42 am

Re: inserting date-stamp in RTF formatted docs

Postby Villeroy » Sun Nov 24, 2019 12:33 am

rtf makes no sense nowadays and OpenOffice supports rtf poorly. Simply use odt and even MS Word will handle it.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Villeroy
Volunteer
 
Posts: 27901
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: inserting date-stamp in RTF formatted docs

Postby Bill » Sun Nov 24, 2019 3:20 pm

AutoHotKey in Windows and AutoKey in Linux can be used to insert the current date. Try a Google search for an equivalent program for Mac.
AOO 4.1.7 and LO 6.3.2.2 on Manjaro KDE
Bill
Volunteer
 
Posts: 7650
Joined: Sat Nov 24, 2007 6:48 am

Re: inserting date-stamp in RTF formatted docs

Postby Bill » Sun Nov 24, 2019 3:35 pm

In Writer, after inserting the date field, you can select and copy the date field, then, leaving the field selected, use Edit > Paste Special > Unformatted text to replace the field with plain text.
AOO 4.1.7 and LO 6.3.2.2 on Manjaro KDE
Bill
Volunteer
 
Posts: 7650
Joined: Sat Nov 24, 2007 6:48 am

Re: inserting date-stamp in RTF formatted docs

Postby John_Ha » Sun Nov 24, 2019 4:06 pm

It seems that AOO does not support date fields in .rtf format.

You have presumably ignored, or more likely turned off, the warning which AOO gives you saying that you may lose data when you save as a .rtf file.

Clipboard02.png

See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save files as .odt and never save as .rtf. .rtf is a propriety Microsoft format. The tutorial includes

Be very careful with .rtf files - especially if you are using images

Note [in the image] how a .rtf file cannot store some of Writer's capability. To make matters worse, Writer has, for example, chosen not to write notes to an .rtf file even though the .rtf file does allow notes to be saved in it. This is an example of an application (Writer) having the capability (notes), but choosing not to provide it in a given format (.rtf). Writer will, of course, save notes in a .odt file so, save as a .odt file and then create a copy as a .rtf file. If anything gets lost in the .rtf file you can go back to the .odt file where it will be saved.

Furthermore, .rtf files store images in a very inefficient manner by saving two copies of each image, where one of those copies is uncompressed! A .rtf file can therefore be many times - 50x - larger than the equivalent .odt file!

SottoVoce wrote:Is there a way to insert the date-stamp as plain text so that it can be retained if you save the document as RTF?

If you want to ignore the advice above then manually type it.
LO 6.3.5.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 7397
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 18 guests