2016-11-15 78 views
0

我试图在报告标题(RTF模板)上实现动态图像(blob),但无法使用下面的方法完成。报告标题处的斑点图像

<fo:instream-foreign-object content-type="image/jpg" xdofo:alt="An Image" > 
<xsl:value-of select=".//DLR_IMG"/></fo:instream-foreign-object> 

任何机构能指导我吗?

回答

0

我得到了/这个问题 我们需要创建子模板RTF身体里面并调用它在头部分在头

<?template:Header_IMG?> 

<fo:instream-foreign-object content-type="image/jpg" xdofo:alt="An Image" > 
<xsl:value-of select=".//DLR_IMG"/></fo:instream-foreign-object> 
(as field code) 

<?end template?> 

模板调用页脚简单的解决方案

<?call-template:Header_IMG?>