Bug 74744 - Other: Publish Date 'docProperty' from word docx blank when exported as PDF
Summary: Other: Publish Date 'docProperty' from word docx blank when exported as PDF
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2014-02-09 11:38 UTC by Steve Bickle
Modified: 2020-11-23 18:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
A word document with a publish date set to 09/02/2014 (UK date format) (41.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-02-09 11:38 UTC, Steve Bickle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Bickle 2014-02-09 11:38:11 UTC
Created attachment 93705 [details]
A word document with a publish date set to 09/02/2014 (UK date format)

Problem description: 
Word docx document imported in Writer. The 'Publish Date' document property does not display 

Steps to reproduce:
1. In Word 2010 create a document. 
2. Set the 'Publish Date' document property. 
3. On a page in the document insert the property 
4. Save the document in the default docx format
5. Close Word
6. Open the document with Writer 

Current behavior: The 'Publish Date' field shows as blank selection control, on mouse over the date appears as a pop-up prompt. On export to pdf it appears as a blank editable field. On print it appears as a blank box outline, where the field should display. 

Expected behavior: The 'Publish Date' field value should show: on screen during viewing or editing, in the pdf export, in the printed document.

              
Operating System: Windows 7
Version: 4.2.0.4 release
Comment 1 Julien Nabet 2014-02-09 11:52:25 UTC
On pc Debian x86-64 with master sources updated yesterday, I can reproduce this.
However if I put the cursor on the control, the date appears as "tip text"

I noticed these console logs:
warn:legacy.osl:10498:1:oox/source/docprop/docprophandler.cxx:323: For now unexpected tags are ignored!
warn:legacy.osl:10498:1:oox/source/docprop/docprophandler.cxx:323: For now unexpected tags are ignored!
warn:legacy.osl:10498:1:oox/source/docprop/docprophandler.cxx:323: For now unexpected tags are ignored!
warn:legacy.osl:10498:1:oox/source/docprop/docprophandler.cxx:323: For now unexpected tags are ignored!
warn:legacy.osl:10498:1:oox/source/docprop/docprophandler.cxx:323: For now unexpected tags are ignored!
warn:writerfilter:10498:1:writerfilter/source/dmapper/FontTable.cxx:147: FontTable::lcl_sprm: unhandled token: 92949
warn:writerfilter:10498:1:writerfilter/source/dmapper/StyleSheetTable.cxx:1157: Some style properties could not be set: Unknown property: CharShadingValue
warn:writerfilter:10498:1:writerfilter/source/dmapper/StyleSheetTable.cxx:1157: Some style properties could not be set: Unknown property: ParaInteropGrabBag
warn:svl:10498:1:svl/source/items/style.cxx:256: StyleSheet-Follow not found
warn:writerfilter:10498:1:writerfilter/source/dmapper/DomainMapper.cxx:2559: unhandled w:dateFormat value
warn:legacy.osl:10498:1:oox/source/helper/storagebase.cxx:71: StorageBase::StorageBase - missing base input stream
Comment 2 Joel Madero 2015-05-02 15:42:11 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-06-20 15:15:27 UTC
The field is ok in LibO, but empty in PDF (tried tagged PDF, too).

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 4 QA Administrators 2016-09-20 10:11:32 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-03 14:14:28 UTC Comment hidden (obsolete)
Comment 6 NISZ LibreOffice Team 2020-11-23 18:51:33 UTC
This is fixed in 6.4 since: 

https://cgit.freedesktop.org/libreoffice/core/commit/?id=df4fe4504f6d966d1d92433862dc1baf2ba008d4

author	Tamás Zolnai <tamas.zolnai@collabora.com>	2019-07-02 21:09:25 +0200
committer	Tamás Zolnai <tamas.zolnai@collabora.com>	2019-07-12 05:52:28 +0200

MSForms: DOCX import of text-based date field

Before, since at least about 5.0 you had to uncheck the "Create PDF form" box in the PDF Options dialog to have a similar PDF export and not an empty form box.

@Tamas Zolnai thanks for fixing this one too :)