在iReport .jrxml文件中保留XML注释? [英] Preserve XML comments in iReport .jrxml files?
本文介绍了在iReport .jrxml文件中保留XML注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在iReport中保存XML文件时,所有注释都将被删除。
When I save the XML file in iReport, all comments are deleted.
如何在JRXML文件中包含(或保留)注释?
How can I include (or preserve) comments in JRXML files?
推荐答案
无法保留评论;您必须记录针对iReport的错误。
There is no way to preserve comments; you'd have to log a bug against iReport.
您可以使用标注解决此问题:
You can work around the issue by using callouts:
<property
name="ireport.callouts"
value="##Fri Nov 12 23:12:35 GMT-03:00 2010\\ncallouts.1.text=Hello World!\\ncallouts.1.bounds=294,80,181,73"/>
这篇关于在iReport .jrxml文件中保留XML注释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文