Ask Your Question
0

LibO document template

asked 2021-04-12 13:59:44 +0200

ginnes gravatar image

I am trying to insert a date field into a template that creates the current date when the document is opened for the first time, and that preserves that date when the document is saved and subsequently reopened in the future. This is possible in MS Word but my efforts to create this in LibO have failed. If I insert a fixed date field into the template the document date is always the date the template was created and not the date the document is created.

edit retag flag offensive close merge delete

Comments

If I insert a fixed date field into the template the document date is always the date the template was created and not the date the document is created.

And you really have saved the document as a template file (.ott) and open a new document based on that template by selecting the template through File -> New -> Templates? (btw: Field Date (fixed) is the correct way to do that with templates). If you don't get an Untitled # new document, then you don't open a new document based on a templates, but you are editing the template itself.

Opaque gravatar imageOpaque ( 2021-04-12 14:04:53 +0200 )edit

Hi @ginnes.

Any update on this question? You've been provided several proposals but no feedback yet.

Thanks.

Hagar Delest gravatar imageHagar Delest ( 2021-04-18 11:55:15 +0200 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2021-04-12 14:38:42 +0200

Opaque gravatar image

updated 2021-04-12 14:45:22 +0200

Hello,

to create and use a template, which has an initial date based on the current date, perform the following (the description uses MyLetterhead as an example for the template name)

Create the Template

  • Open a new document
  • Insert -> Field -> Date (and assure it is set Date (fixed))
  • Add all your required text
  • File -> Templates -> Save As Template
  • Provide a Template Name (e.g. MyLetterhead)
  • Select a Template Category ( e.g. My Templates)
  • Click button Save
  • Close the file (no additional save required)

    Note

    This can be shortened, if you save any file designed as template in .ott format (Filter ODF Text Document Template (.ott)) into your personal template path, which is shown in Tools -> Options -> LibreOffice -> Paths -> Type: Templates

Use the Template

  • File -> New -> Templates
  • Select template MyLetterhead
  • Click button Open
  • Watch that is has an initial name Untitled 1

Hope that helps.

edit flag offensive delete link more
1

answered 2021-04-12 14:57:11 +0200

ajlittoz gravatar image

updated 2021-04-12 14:58:07 +0200

Same question 303244/how-do-i-auto-inset-date-and-start-type-at-top-of-documen/ though title is rather cryptic

Search tool should have been used, only 3 days old!

edit flag offensive delete link more
0

answered 2021-04-12 14:08:34 +0200

Try Insert > Field > More fields, then in the DocInformation tab and in Type, Created.

To show the community your question has been answered, please tag the best answer (), and/or vote for any helpful answer. Else, please edit your question or use comments to add information (answers are for solutions only).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-04-12 13:59:44 +0200

Seen: 30 times

Last updated: Apr 12