导出到html时如何在jasper报告中更改背景颜色,但导出为PDF时会显示颜色。
答案 0 :(得分:0)
IS_WHITE_PAGE_BACKGROUND
public static final JRHtmlExporterParameter IS_WHITE_PAGE_BACKGROUND
A boolean value specifying whether the report background should be white. If this parameter is not set, the default background will appear, depending on the selected CSS styles.
PROPERTY_WHITE_PAGE_BACKGROUND
public static final java.lang.String PROPERTY_WHITE_PAGE_BACKGROUND
Property whose value is used as default state of the IS_WHITE_PAGE_BACKGROUND export flag.
This property is set by default (true).
See Also:
JRProperties, Constant Field Values