开发者

how to change Jasper report background color when exporting to html?

开发者 https://www.devze.com 2023-03-30 08:28 出处:网络
how to change background color in jasper report when exporting to html, but the col开发者_如何学Goors appears when exporting to PDF.Look at http://jasperreports.sourceforge.net/api/net/sf/jasperreport

how to change background color in jasper report when exporting to html, but the col开发者_如何学Goors appears when exporting to PDF.


Look at http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/export/JRHtmlExporterParameter.html#IS_WHITE_PAGE_BACKGROUND

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
0

精彩评论

暂无评论...
验证码 换一张
取 消