Bug 117954 - Add name from User data to the Author property of exported PDF
Summary: Add name from User data to the Author property of exported PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
Reported: 2018-06-01 09:36 UTC by ricky.tigg
Modified: 2019-01-31 16:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Printing and PDF (100.00 KB, application/x-tar)
2018-06-01 09:36 UTC, ricky.tigg
Printing and PDF - 2 (190.00 KB, application/x-tar)
2018-06-03 21:11 UTC, ricky.tigg

Note You need to log in before you can comment on or make changes to this bug.
Description ricky.tigg 2018-06-01 09:36:30 UTC
Created attachment 142473 [details]
Printing and PDF

OS: Fedora
Build ID:
CPU threads: 2; OS: Linux 4.16; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group

Enhancements request: As noticeable in the context of creation of PDF documents Libreoffice (Canonical_Libreoffice_Writer_ does not provide yet any mean for appropriate information regarding sections such as Title, Subject, Author, Keywords. It also lacks documentation regarding possible means involved in the optimization of such documents as Evince reveals it at section Optimized (Evince_3.28.2.png).

While password is set for opening PDF document and consequently document is encrypted, in Libreoffice neither the protocol involved in encryption operation –e.g. AES– nor its key size –e.g. 256 bits– are mentioned or even documented. It appears that Evince is not aware of any kind of encryption as the Security field shows it (Evince_3.28.2.png).

Therefore it seems that providing those features is a requirement in order to allow users to operate properly while creating new PDF documents.
Comment 1 Jean-Baptiste Faure 2018-06-03 10:48:05 UTC
PDF export uses properties filled in File > Properties.
If you define the title, the subject and the keywords, then export as PDF:
1/ open the PDF in Evince,
2/ File > Properties
=> Evince shows the properties you filled in LibreOffice.

So closing as WorksForMe. Please feel free to reopen if you disagree.

Best regards. JBF
Comment 2 ricky.tigg 2018-06-03 21:11:44 UTC
Created attachment 142498 [details]
Printing and PDF - 2

PDF export appears to use at best some of the properties filled in Properties. Presently with the defaults set in section illustrated in Libreoffice_6.0.4.2_Properties_General.png, it currently uses only the ones illustrated in Libreoffice_6.0.4.2_Properties_Description, while the ones set as illustrated in Libreoffice_6.0.4.2_Properties_Custom-properties.png, and Libreoffice_6.0.4.2_Options.png, are ignored as illustrated in Evince_3.28.2.png.
Comment 3 ricky.tigg 2018-06-10 19:54:49 UTC
Comment 2
Comment 4 Buovjaga 2018-06-23 18:59:29 UTC
So, let's try to avoid guessing: what is your concrete proposal? That it should pull Author information from User data First/last name/initials field?
Comment 5 ricky.tigg 2018-06-23 21:00:43 UTC
Whose for did you believe Comment 4 to be? It could not be for any reporter for sure. I would just suggest you not guessing too much since there is no need for this here at Canonical and to stick to the very report description as I would have done as a developer and even as it was the case for Comment 1, despite of course answer to part of it was deliberately omitted. 

Proposal is for enhancement; regarding 'Author information from User data First/last name/initials field''it turned out that there is no less than two decent issues since Properties --> General, Reset Properties had to be invoked in order to get the application work as intended, and in Properties --> Custom-properties, properties added were just non-existent in PDF-information.
Comment 6 sdc.blanco 2019-01-24 13:18:05 UTC
Version: (x64)
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: da-DK (da_DK); Calc: CL

1.  Tools/Options/User Data  -  fill in First / last name
2.  Open Document  (text is optional) and export as PDF.
3.  Open exported pdf in (Microsoft) Adobe Reader, then Files / Properties

Observed behavior:  Author field in Document Properties is empty.
Expected behavior:  The First /Last name from User Data in Libreoffice should be in the Author Field that Adobe Reader shows.