https://bugs.documentfoundation.org/show_bug.cgi?id=152236
Bug ID: 152236
Summary: When the attached file with is exported to PDF with
PDF/UA enabled and the file is checked in the PAC
tool, the reported error is ""F" or "UF" key missing
in file specification"
Product: LibreOffice
Version: 7.5.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Blocks: 139007
Created attachment 183810
--> https://bugs.documentfoundation.org/attachment.cgi?id=183810&action=edit
Example file with multimedia embedded
When the attached file with embedded media files is exported to PDF with PDF/UA
enabled and the file is checked in the PAC tool, the reported error is ""F" or
"UF" key missing in file specification" and "Annotation is not nested inside an
"Annot" structure element"
1, Open attached file
2, Export it as PDF, with enabled PDF/UA option
3, Check with the PAC tool:
https://pdfua.foundation/en/pdf-accessibility-checker-pac
PAC would report the error on the attached screenshot.
VeraPDF https://demo.verapdf.org/ with PDF/UA setting on the second page,
reports:
Validation information
Rule Status
Specification: ISO 14289-1:2014, Clause: 7.3, Test number: 1
Figure tags shall include an alternative representation or replacement text
that represents the contents marked with the Figure tag as noted in ISO
32000-1:2008, 14.7.2, Table 323 Failed
2 occurrences Hide
SEFigure
(Alt != null && Alt != '') || ActualText != null
root/document[0]/StructTreeRoot[0](66 0 obj PDStructTreeRoot)/K[0](4 0 obj
SEDocument Document)/K[5](10 0 obj SEHn H4)/K[0](17 0 obj SEFigure Figure)
root/document[0]/StructTreeRoot[0](66 0 obj PDStructTreeRoot)/K[0](4 0 obj
SEDocument Document)/K[11](16 0 obj SEP Standard)/K[0](19 0 obj SEFigure
Figure)
Specification: ISO 14289-1:2014, Clause: 7.18.6.2, Test number: 2
In the media clip data dictionary, the optional Alt key (ISO 32000-1:2008,
13.2.4.2, Table 274) is required. Failed
2 occurrences Hide
PDMediaClip
hasCorrectAlt == true
root/document[0]/pages[0](1 0 obj PDPage)/annots[0](21 0 obj PDAnnot)/A[0]/C[0]
root/document[0]/pages[0](1 0 obj PDPage)/annots[1](23 0 obj PDAnnot)/A[0]/C[0]
Specification: ISO 14289-1:2014, Clause: 7.18.1, Test number: 1
An annotation, excluding annotations of subtype Widget, Popup or Link, shall be
nested within an Annot tag Failed
2 occurrences Hide
PDAnnot
Subtype == 'Widget' || Subtype == 'Popup' || Subtype == 'Link' ||
isOutsideCropBox == true || (F & 2) == 2 || structParentType == 'Annot'
root/document[0]/pages[0](1 0 obj PDPage)/annots[0](21 0 obj PDAnnot)
root/document[0]/pages[0](1 0 obj PDPage)/annots[1](23 0 obj PDAnnot)
Specification: ISO 14289-1:2014, Clause: 7.18.1, Test number: 2
An annotation (except annotations of type Link, Widget or Popup, or hidden
annotations, or those having rectangle outside the crop-box) shall have either
Contents key or an Alt entry in the enclosing structure element Failed
2 occurrences Hide
PDAnnot
Subtype == 'Widget' || Subtype == 'Popup' || Subtype == 'Link' ||
isOutsideCropBox == true || (F & 2) == 2 || (Contents != null && Contents !=
'') || (Alt != null && Alt != '')
root/document[0]/pages[0](1 0 obj PDPage)/annots[0](21 0 obj PDAnnot)
root/document[0]/pages[0](1 0 obj PDPage)/annots[1](23 0 obj PDAnnot)
Specification: ISO 14289-1:2014, Clause: 7.11, Test number: 1
The file specification dictionary for an embedded file shall contain the
non-empty F and UF keys Failed
2 occurrences Hide
CosFileSpecification
containsEF == false || (F != null && F != '' && UF != null && UF != '')
root/indirectObjects[5](21
0)/directObject[0]/values[1]/values[2]/values[3]/values[4]
root/indirectObjects[46](23
0)/directObject[0]/values[1]/values[2]/values[3]/values[4]
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 3b0b9fcb80242abcedc01eb388a57b1016916353
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=139007
[Bug 139007] [META] PDF accessibility
--
You are receiving this mail because:
You are the assignee for the bug.