【发布时间】:2013-03-18 14:55:57
【问题描述】:
我正在开发一个程序,将交互式表单生成为 PDF 文件。
生成的文件是here(源代码可读)。复选框位于页面底部。获得焦点后,它被正确渲染(带有红色/蓝色边框的白色正方形),在失去焦点后,正方形消失并显示默认外观(这对我来说不正确)。
- 在 Acrobat 9、X、XI 中
- 在内置的 chrome pdf 查看器中运行良好
- Adobe XI Pro - 预检 - 显示警告“表单域有多个外观”
我找不到错误。
感谢您的帮助。
那里描述的相同(相似)问题: http://forums.adobe.com/message/5144579#5144579
----这是pdf文件的一部分,我预计会出错
2 0 obj
<<
/Type /Catalog
/Pages 1 0 R
/OutputIntents [7 0 R]
/Metadata 8 0 R
/PageLabels 10 0 R
/AcroForm 14 0 R
>>
endobj
14 0 obj
<<
/Fields [13 0 R]
>>
endobj
13 0 obj
<<
/Type /Annot
/Subtype /Widget
/Rect [20.0 20.0 120.0 120.0]
/FT /Btn
/F 4
/T (name)
/AS /Yes
/V /Yes
/AP <<
/N <<
/Yes 11 0 R
/Off 12 0 R >>
>>
>>
endobj
11 0 obj
<<
/Type /XObject
/SubType /Form
/BBox [20.0 20.0 120.0 120.0]
/Length 19 0 R
>>
stream
....
endstream
endobj
12 0 obj
<<
/Type /XObject
/SubType /Form
/BBox [20.0 20.0 120.0 120.0]
/Length 20 0 R
>>
stream
....
endstream
endobj
【问题讨论】:
-
请贴出代码的亮点,方便所有想帮助你的人。
标签: pdf pdf-generation pdf-form