Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在以 pdf 格式打开报告时,我在后台将水印为“DEMO”。我正在使用 iText 2.1.4
这个水印怎么去掉?如图所示
iText 的官方版本(免费或付费)从不向使用 lib 生成的文件添加水印。这可以通过您自己的代码添加,或者如果您不直接使用 iText,则可以通过包装器添加。
另请注意,您使用的是非常旧的 iText 版本,差不多5 年了。这个版本(实际上是 5.x 之前的任何版本)存在法律和技术问题。如果可能,升级将是最好的。
我正在使用 eclipse(juno 和以前的版本)来编写 JSF 代码。这些页面都是xhtml。每隔一段时间我需要添加javascript。当我这样做时,我必须使用 CDATA 标记,否则当我有某些字符(如 > < &)时 xhtml 无效。
无论如何,该解决方案运行良好,直到我告诉 eclipse 格式化代码,此时它删除了