From 3594463fd4271d5927294a08e0c518ad7bffce3e Mon Sep 17 00:00:00 2001 From: hieplq Date: Mon, 13 Jul 2015 02:57:44 +0700 Subject: [PATCH] IDEMPIERE-2479:Printformat, Surpress Repeats doesnt works for HTML and XLS let css from report.css overrider style customize from print format --- org.adempiere.base/src/org/compiere/print/ReportEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/print/ReportEngine.java b/org.adempiere.base/src/org/compiere/print/ReportEngine.java index 7c3263dfa5..a442a203b6 100644 --- a/org.adempiere.base/src/org/compiere/print/ReportEngine.java +++ b/org.adempiere.base/src/org/compiere/print/ReportEngine.java @@ -776,6 +776,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount) doc.getHtml().setNeedClosingTag(false); doc.getBody().setNeedClosingTag(false); doc.appendBody(table); + appendInlineCss (doc); if (extension != null && extension.getStyleURL() != null) { // 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); } - appendInlineCss (doc); if (extension != null && !isExport){ extension.setWebAttribute(doc.getBody()); }