[Libreoffice-bugs] [Bug 134901] New: FILEOPEN: DOCX: PRINTDATE field not supported?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 17 12:23:21 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134901

            Bug ID: 134901
           Summary: FILEOPEN: DOCX: PRINTDATE field not supported?
           Product: LibreOffice
           Version: 6.3.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rominator at gmx.at

Created attachment 163179
  --> https://bugs.documentfoundation.org/attachment.cgi?id=163179&action=edit
DOCX sample

The PRINTDATE field type (17.16.5.47 of ISO/IEC 29500-1) seems not to be
supported at all.
When opening a DOCX file with such a field the following things should happen
in my opinion:
- When updating all fields in the document the current value of the core
properties (docProps/core.xml,cp:lastPrinted) of the document should be placed
in the field result.
- When printing the document the lastPrinted value of the document should be
updated to the local date/time as is done with the DATE/TIME-fields. This value
should also be placed in the field-results of all PRINTDATE-fields (if not
locked) with the correct format.
- When exporting the docuemnt as PDF (which has pretty much replaced printing
and is thus even more important than the original printing use case) there
should be an option to update the PRINTDATE field which should be set by
default.
Instead the field remains completely untouched all the way.

All these things are done by MS Word.

A coded work around would be to treat the PRINTDATE field as it was a DATE
field. This would suffice for most use cases (at lest for my use cases). There
could also be a compatibility flag for opting into that behavior.

I do not know if there is such a concept in ODT as well and if the concepts
translate to ODT and the meta-format of writer in any way.

I have attached a DOCX file with a PRINTDATE field that is set to somewhen in
2011 in the document but to 2019 in the core properties to verify the behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200717/2545cf1b/attachment.htm>


More information about the Libreoffice-bugs mailing list