我试图添加一个链接到同一个word文档中的标题的超链接。到目前为止,这是我的代码:
第p段=新段();超链接h=新超链接(){ Anchor =新StringValue("_Link") };RunProperties rp =新RunProperties(){ Val =“超级链接”};文本t=新文本(“单击此处”);r.Append(rp);r.App
URI: test/myimg2/logo.png (No context info available)
在xsl中指定了相对路径,图像的完整路径为/myserv/mydir/test/myimg2我看到在fop 2版本中,您可以使用FopFactoryBuilder设置基url。FopFactoryBuilder builder = new FopFactoryBuilder(new File("/myserv/