瀏覽代碼

Bugzilla #53630: make it clear that the PDFConformanceException is due to accessibility not being enabled

Patch submitted by Robert Meyer


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1368419 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Vincent Hennebert 11 年之前
父節點
當前提交
72362e49d9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/java/org/apache/fop/pdf/PDFProfile.java

+ 2
- 1
src/java/org/apache/fop/pdf/PDFProfile.java 查看文件

@@ -202,7 +202,8 @@ public class PDFProfile {
PDFDictionary markInfo = getDocument().getRoot().getMarkInfo();
if (markInfo == null) {
throw new PDFConformanceException(format(
"{0} requires the MarkInfo dictionary to be present", getPDFAMode()));
"{0} requires that the accessibility option in the configuration file be enabled",
getPDFAMode()));
}
if (!Boolean.TRUE.equals(markInfo.get("Marked"))) {
throw new PDFConformanceException(format(err,

Loading…
取消
儲存