Bug 128912 - Document property "Keywords" are exported incorrectly to PDF property (extra quotes)
Summary: Document property "Keywords" are exported incorrectly to PDF property (extra ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2019-11-20 09:56 UTC by Ulrich Windl
Modified: 2025-01-02 08:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2019-11-20 09:56:04 UTC
When entering a comma-separated list of keywords in the document properties, the whole list of keywords is put into double-quotes (it seems) when a PDF document is created. Effectively this make one keyword from the list of keywords.
That is, pdf:Keywords has just one value, and (if the subject was empty) there is a single value in the Dublin Core dc:subject (bag container) showing the same double-quoted string.

If I remove the surrounding double-quotes in Adobe Acrobat, the dc:subject bag container shows one item per keyword.
Comment 1 Dieter 2019-12-06 07:33:28 UTC
I confirm the described behaviour with

Version: 6.5.0.0.alpha0+ (x64)
Build ID: 89f0af144c18efafe2573801641689a1432c0cae
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded
Comment 2 QA Administrators 2021-12-06 04:05:48 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2024-12-27 03:12:43 UTC Comment hidden (obsolete)
Comment 4 Ulrich Windl 2025-01-01 21:02:23 UTC
Testing in:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 2; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:7.4.7-1+deb12u5
Calc: threaded

Using keywords "one, two, three of a kind", the resulting PDF has

<pdf:Keywords>one, two, three of a kind</pdf:Keywords>

and

<</Keywords<FEFF006F006E0065002C002000740077006F002C0020007400680072006500650020006F0066002000610020006B0069006E0064>
/Creator<FEFF005700720069007400650072>
/Producer<FEFF004C0069006200720065004F0066006600690063006500200037002E0034>
/CreationDate(D:20250101215124+01'00')>>

So I's assume it's fixed for Linux at least.
Comment 5 BogdanB 2025-01-02 08:36:06 UTC
On Linux, I tested with a, b, c, the PDF keywords are a, b, c.
Version: 25.2.0.1 (X86_64) / LibreOffice Community
Build ID: ddb2a7ea3a8857aae619555f1a8743e430e146c9
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

On Windows, I tested with 24.8.3.2 and the result is "a, b, c", so, it is NOT solved on Windows.