Ask Your Question
2

How to set the default document property title to filename rather than template name? [closed]

asked 2013-05-03 08:40:40 +0200

David gravatar image

updated 2015-10-31 02:11:52 +0200

Alex Kemp gravatar image

When you create a new document, the "Title" field in File > Properties > Description > Title is auto-filled with the template name. And, when you export that document as a PDF, it is the template's title that appears in the display of the PDF as that document's title, rather than the filename, or first words of the file (the latter of which is the MS Word default, I believe).

I don't think the LO default (providing template title as default document property) is good design. It's somewhat counter-intuitive, in fact, and results in generic or inappropriate display for PDFs produced with LO's internal tools. It's also a hassle to change manually every time you create a document.

Is there a way to set this as an option? I looked carefully through the Tools > Options possibilities, and didn't spot anything. Or does this need to be filed as an enhancement bug?

I'm using 4.0.2.2, btw, on flavours of Ubuntu and Mint, and occasionally also in Win XP and 7 (not that the platform matters, I think).

Thanks for any help with this!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-31 02:12:18.072894

2 Answers

Sort by » oldest newest most voted
2

answered 2013-05-03 15:47:04 +0200

manj_k gravatar image

updated 2013-05-03 15:48:24 +0200

  1. I have moved the file names of my templates
    from "Properties → Description → Title"
    to "Properties → Description → Comments".
    So the "Title" field is always blank.

  2. Currently you can only enable
    ☑ Edit document properties before saving
    in the menu "Tools → Options → Load/Save → General → Save".

edit flag offensive delete link more

Comments

Works for me, and achieves what I'm after - thanks @manj_k!

David gravatar imageDavid ( 2013-05-03 17:43:00 +0200 )edit
0

answered 2013-05-03 15:41:48 +0200

oweng gravatar image

I disagree. Any file based on a template should absolutely pull its metadata (Title, Subject, Keywords) from the template. If it is desired that the metadata fields of a template-based document remain unpopulated at the point of creation, then simply don't populate the template fields. IMO creating metadata based on a filename is a bad idea. All these prior comments relate to ODT, which should be used as the basis for creating PDF metadata.

Displaying the filename of the PDF in the dialog title bar of the reader should be a fallback mechanism rather than an active one i.e., if the PDF does not have its metadata fields populated then the filename can be used, but of course this does not affect the metadata of the PDF in any way.

edit flag offensive delete link more

Comments

Hmm... I'll ponder this, but when you say: "Any FILE BASED ON a template should absolutely pull its metadata (Title, Subject, Keywords) from the template", it's hard for me to see why the TEMPLATE should continue to define the "identity" of the FILE. The template has done its job: what we (well, I) care about now is the file.

David gravatar imageDavid ( 2013-05-03 16:01:52 +0200 )edit

I understand your point of view, but for me, a template should be a template in every respect. If I am populating these fields in a template it is expressly to pre-populate the same fields in any document based on this template e.g., for a personal letter template I may place "Personal letter" in the Subject field, or "Pers. comm.:" in the Title field so that I fill out the remaining detail. Alternatively I could use an alternate field as suggested by @manj_k.

oweng gravatar imageoweng ( 2013-05-04 05:28:53 +0200 )edit

Leaving the title blank in the document properties works for both situations, assuming the PDF reader used to view the document used the file name as a default title (my version of acrobat reader does).

TimC gravatar imageTimC ( 2016-05-10 06:29:11 +0200 )edit

Question Tools

Stats

Asked: 2013-05-03 08:40:40 +0200

Seen: 24,160 times

Last updated: May 03 '13