如何解决"DisplayDocTitle键未设置为true"?使用apache FOP生成的pdf中PAC工具生成的错误 [英] How to resolve "DisplayDocTitle key is not set to true" error generated by PAC tool in a pdf generated using apache FOP
本文介绍了如何解决"DisplayDocTitle键未设置为true"?使用apache FOP生成的pdf中PAC工具生成的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用ApacheFOP生成pdf并使其可访问.当我运行PAC工具来查找可访问性错误时,我们收到错误"DisplayDocTitle键未设置为true".以下是xsl:
I am trying to generate pdf using ApacheFOP and making it accessible. When I am running PAC tool to find out the accessibility errors we are getting the error "DisplayDocTitle key is not set to true".Below is the xsl:
<pdf:dictionary type="Catalog" xmlns:pdf="http://xmlgraphics.apache/org/fop/extensions/pdf">
<pdf:entry key="PageMode" type="name">FullScreen</pdf:entry>
<pdf:entry key="PageLayout" type="name">SinglePage</pdf:entry>
<pdf:dictionary type="normal" key="ViewerPreferences">
<pdf:entry key="HideToolbar" type="boolean">true</pdf:entry>
<pdf:entry key="HideWindowUI" type="boolean">true</pdf:entry>
<pdf:entry key="DisplayDocTitle" type="boolean">true</pdf:entry>
<pdf:entry key="NonFullScreenPageMode" type="name">UseThumbs</pdf:entry>
</pdf:dictionary>
</pdf:dictionary>
推荐答案
此问题已通过升级ApacheFOP最新版本2.1得以解决.
This issue was resolved by upgrading the ApacheFOP latest version 2.1.
这篇关于如何解决"DisplayDocTitle键未设置为true"?使用apache FOP生成的pdf中PAC工具生成的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文