1

我想在生成报告时包含我自己的 CSS 样式。我正在使用 iReport 生成报告。我通过设置 .html_header 成功设置了JRHtmlExporterParameter.HTML_HEADER. 当我运行 ireport 时,标头值具有带有相应 href 的链接标记。

<html><head><title></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><style type="text/css">a {text-decoration: none}</style></head><body text="#000000" link="#000000" alink="#000000" vlink="#000000"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="50%">&nbsp;</td><td align="center"><link rel="stylesheet" type="text/css" href="/apsrtc-oprs/_assets/skin/style.css" /> <center><a name="JR_PAGE_ANCHOR_0_1"></a>

我的问题是如何将定义的 css 样式应用于完整的 iReport ?

欢迎任何建议。

4

0 回答 0