Martin Leitner created FOP-3245:
-----------------------------------
Summary: fox:external-document - PDF/UA template with PDF/UA
attachments not PDF/UA
Key: FOP-3245
URL: https://issues.apache.org/jira/browse/FOP-3245
Project: FOP
Issue Type: Bug
Components: renderer/pdf
Affects Versions: 2.10
Reporter: Martin Leitner
Attachments: arial.ttf, arialbd.ttf, arialbi.ttf, ariali.ttf,
fop.xconf, page1.fo, page1.pdf, page1_and_doc.fo, page2.fo, page2.pdf,
page2_and_doc.fo
When attaching a PDF that is PDF/UA compliant to a PDF/UA template via
fox:external-document, the result is a PDF that is not compliant with PDF/UA
Replication Steps:
Set accessibility to true, and add PDF/UA profile to the pdf part of the fop
config.
Produce a simple PDF/UA, e.g. by using the attached files and running
call fop -fo page1.fo -c fop.xconf -pdf page1.pdf
Then render a different FO that includes an existing PDF/UA like this:
call fop -fo page2_and_doc.fo -c fop.xconf -pdf page2_and_doc.pdf
The resulting PDF should again be PDF/UA, but it is not. It seems that the
structure tree from the referenced PDF is not added to the result at all.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)