Adding Annotation to Apache Fop

妖精的绣舞 提交于 2020-01-02 03:31:24

问题


I am rendering a PDF using Apache Fop. I am making XSLT templates which I used to convert xml to PDF. I want to put annotation in the output PDF using Apache Fop. I have been searching and it says iText has support for adding annotation to pdf.

Is it possible to add annotation in Apache Fop?


回答1:


iText DOES have support for adding annotations to PDF documents. We use that in our products. You can do the following:

  • Use an existing PDF, for example one that has been created with Apache FOP. You would need to write a Java program that adds annotations to this PDF document.
  • Create the PDF and annotations programmatically using the iText API from XML data (without involving Apache FOP).

I'm not sure though whether this is what you want. iText is no replacement for a GUI application.



来源:https://stackoverflow.com/questions/13617745/adding-annotation-to-apache-fop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!