Package org.compiere.print
Interface IHTMLExtension
- All Known Implementing Classes:
HTMLExtension
public interface IHTMLExtension
Extension interface for HTML report
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionvoid
extendIDColumn
(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement) Apply customization to ID elementvoid
extendRowElement
(org.apache.ecs.ConcreteElement row, PrintData printData) Apply customization to rowGet CSS class prefix for HTML report elementGet absolute local file path to CSS file (typically for embedding the file content to HTML report)Get URL to report javascriptGet URL to report CSSGet one or more links (<link ...void
setWebAttribute
(org.apache.ecs.xhtml.body reportBody) Add attributes to reportBody
-
Method Details
-
getClassPrefix
String getClassPrefix()Get CSS class prefix for HTML report element- Returns:
- CSS class prefix for HTML report element
-
getStyleURL
String getStyleURL()Get URL to report CSS- Returns:
- URL to report CSS
-
getScriptURL
String getScriptURL()Get URL to report javascript- Returns:
- URL to report javascript
-
extendRowElement
Apply customization to row- Parameters:
row
-printData
-
-
extendIDColumn
void extendIDColumn(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement) Apply customization to ID element- Parameters:
row
-columnElement
-href
- link for ID columndataElement
-
-
setWebAttribute
void setWebAttribute(org.apache.ecs.xhtml.body reportBody) Add attributes to reportBody- Parameters:
reportBody
-
-
getFullPathStyle
String getFullPathStyle()Get absolute local file path to CSS file (typically for embedding the file content to HTML report)- Returns:
- absolute local file path to CSS file
-
getWebFontLinks
String getWebFontLinks()Get one or more links (<link ... >) to web font- Returns:
- one or more links for web font
-