IDEMPIERE-2479:Printformat, Surpress Repeats doesnt works for HTML and XLS
let css from report.css overrider style customize from print format
This commit is contained in:
parent
fdf07190b9
commit
3594463fd4
|
|
@ -776,6 +776,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
doc.getHtml().setNeedClosingTag(false);
|
doc.getHtml().setNeedClosingTag(false);
|
||||||
doc.getBody().setNeedClosingTag(false);
|
doc.getBody().setNeedClosingTag(false);
|
||||||
doc.appendBody(table);
|
doc.appendBody(table);
|
||||||
|
appendInlineCss (doc);
|
||||||
if (extension != null && extension.getStyleURL() != null)
|
if (extension != null && extension.getStyleURL() != null)
|
||||||
{
|
{
|
||||||
// maybe cache style content with key is path
|
// maybe cache style content with key is path
|
||||||
|
|
@ -797,7 +798,6 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
|
||||||
doc.appendHead(jslink);
|
doc.appendHead(jslink);
|
||||||
}
|
}
|
||||||
|
|
||||||
appendInlineCss (doc);
|
|
||||||
if (extension != null && !isExport){
|
if (extension != null && !isExport){
|
||||||
extension.setWebAttribute(doc.getBody());
|
extension.setWebAttribute(doc.getBody());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue