Package org.idempiere.print.renderer
Class HTMLReportRendererConfiguration
java.lang.Object
org.idempiere.print.renderer.HTMLReportRendererConfiguration
- All Implemented Interfaces:
IReportRendererConfiguration
Configuration for HTML content renderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet HTML content extensionGet content languageGet output fileGet output writerboolean
isExport()
Is renderer support exportboolean
Is only generate html table instead of html documentsetExport
(boolean isExport) Set is renderer support exportsetExtension
(IHTMLExtension extension) Set HTML content extensionsetLanguage
(Language language) Set content languagesetOnlyTable
(boolean onlyTable) Set only generate html table or html documentsetOutputFile
(File file) Set output filesetOutputWriter
(Writer writer) Set output writerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.idempiere.print.renderer.IReportRendererConfiguration
getOutputStream
-
Field Details
-
ID
- See Also:
-
FILE_EXTENSION
- See Also:
-
-
Constructor Details
-
HTMLReportRendererConfiguration
public HTMLReportRendererConfiguration()
-
-
Method Details
-
isOnlyTable
public boolean isOnlyTable()Is only generate html table instead of html document- Returns:
- true if only generate html table instead of html document
-
setOnlyTable
Set only generate html table or html document- Parameters:
onlyTable
-
-
getExtension
Get HTML content extension- Returns:
- HTML content extension
-
setExtension
Set HTML content extension- Parameters:
extension
-
-
isExport
public boolean isExport()Is renderer support export- Returns:
- true if renderer support export
-
setExport
Set is renderer support export- Parameters:
isExport
-
-
getOutputFile
Description copied from interface:IReportRendererConfiguration
Get output file- Specified by:
getOutputFile
in interfaceIReportRendererConfiguration
- Returns:
- output file
-
setOutputFile
Set output file- Parameters:
file
-
-
getOutputWriter
Description copied from interface:IReportRendererConfiguration
Get output writer- Specified by:
getOutputWriter
in interfaceIReportRendererConfiguration
- Returns:
- output writer
-
setOutputWriter
Set output writer- Parameters:
writer
-
-
setLanguage
Set content language- Parameters:
language
-
-
getLanguage
Get content language- Returns:
- content language
-