在Designer中更改“零页面”内容 changing-page-zero-content-in-designer
默认情况下,当非Adobe PDF查看器(如Chrome或Firefox中的默认PDF查看器)无法读取PDF/XFA表单的内容时,会显示“零页”内容。 默认的零页消息如下所示。
AEM Forms功能包1版本的Designer允许您更改在“零页”上显示的消息。 要更改“零页”消息,请执行以下步骤:
-
确保您安装了AEM Forms Feature Pack 1版本的Designer。 您可以从设计器的“关于”屏幕中检查版本。
-
打开要更改“零页”内容的表单。
-
单击 文件>表单属性.
-
在表单属性对话框中,单击 (加号图标)来添加自定义属性。
-
指定 _pagezerocontent 作为属性的名称。
-
以富文本格式添加新的零页消息作为值。 例如:
<body xmlns="https://www.w3.org/1999/xhtml" xmlns:xfa="https://www.xfa.org/schema/xfa-data/1.0/"><p style="font-family:'Times';font-size:12pt;letter-spacing:0in"><span style="xfa-spacerun:yes"> </span></p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in">You are seeing this message maybe because you are using a non Adobe PDF Viewer or an Old version of Adobe Reader. You can upgrade to the latest version of Adobe Reader for Windows, Mac, or Linux by visiting <span style="xfa-spacerun:yes"> </span>https://www.adobe.com/go/reader_download_cn.</p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in"><span style="xfa-spacerun:yes"> </span></p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in">For more assistance with Adobe Reader visit <span style="xfa-spacerun:yes"> </span>https://www.adobe.com/go/acrreader.</p></body>
-
将表单另存为PDF。
-
在浏览器中查看PDF表单,以确认消息已更新。 上述示例值如下所示: