Package net.sf.jasperreports.export
Class SimpleGraphics2DReportConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleReportExportConfiguration
-
- net.sf.jasperreports.export.SimpleGraphics2DReportConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration
,Graphics2DReportConfiguration
,ReportExportConfiguration
- Direct Known Subclasses:
SimplePrintServiceReportConfiguration
public class SimpleGraphics2DReportConfiguration extends SimpleReportExportConfiguration implements Graphics2DReportConfiguration
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
Fields inherited from interface net.sf.jasperreports.export.Graphics2DReportConfiguration
MINIMIZE_PRINTER_JOB_SIZE, PROPERTY_WHITE_PAGE_BACKGROUND
-
Fields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS
-
-
Constructor Summary
Constructors Constructor Description SimpleGraphics2DReportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
getZoomRatio()
The zoom ratio used for the export.Boolean
isIgnoreMissingFont()
Boolean
isMinimizePrinterJobSize()
Flag to control the use of an AWT rendering fix which causes the printer job size to be reduced when the exporter draws onto a printer graphic context.Boolean
isWhitePageBackground()
Flag that determines whether the exporter is to draw white backgrounds for exported pages.void
setIgnoreMissingFont(Boolean isIgnoreMissingFont)
void
setMinimizePrinterJobSize(Boolean isMinimizePrinterJobSize)
void
setWhitePageBackground(Boolean isWhitePageBackground)
Sets the flag that determines whether to draw white page backgrounds.void
setZoomRatio(Float zoomRatio)
-
Methods inherited from class net.sf.jasperreports.export.SimpleReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex, setEndPageIndex, setExporterFilter, setHyperlinkProducerFactory, setOffsetX, setOffsetY, setPageIndex, setProgressMonitor, setStartPageIndex
-
Methods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
Methods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
-
-
-
Method Detail
-
getZoomRatio
public Float getZoomRatio()
Description copied from interface:Graphics2DReportConfiguration
The zoom ratio used for the export. The default value is 1.- Specified by:
getZoomRatio
in interfaceGraphics2DReportConfiguration
-
setZoomRatio
public void setZoomRatio(Float zoomRatio)
-
isMinimizePrinterJobSize
public Boolean isMinimizePrinterJobSize()
Description copied from interface:Graphics2DReportConfiguration
Flag to control the use of an AWT rendering fix which causes the printer job size to be reduced when the exporter draws onto a printer graphic context. The fix was introduced to solve an old Java printing problem related to the size of printer spool jobs. However, it causes problems when bidirectional text is rendered, by losing text direction information. This flag is true, by default and should be set to false when bidirectional writing is present in the document that is sent to the printer.- Specified by:
isMinimizePrinterJobSize
in interfaceGraphics2DReportConfiguration
- See Also:
Graphics2DReportConfiguration.MINIMIZE_PRINTER_JOB_SIZE
-
setMinimizePrinterJobSize
public void setMinimizePrinterJobSize(Boolean isMinimizePrinterJobSize)
-
isIgnoreMissingFont
public Boolean isIgnoreMissingFont()
- Specified by:
isIgnoreMissingFont
in interfaceGraphics2DReportConfiguration
-
setIgnoreMissingFont
public void setIgnoreMissingFont(Boolean isIgnoreMissingFont)
-
isWhitePageBackground
public Boolean isWhitePageBackground()
Description copied from interface:Graphics2DReportConfiguration
Flag that determines whether the exporter is to draw white backgrounds for exported pages.- Specified by:
isWhitePageBackground
in interfaceGraphics2DReportConfiguration
- See Also:
Graphics2DReportConfiguration.PROPERTY_WHITE_PAGE_BACKGROUND
-
setWhitePageBackground
public void setWhitePageBackground(Boolean isWhitePageBackground)
Sets the flag that determines whether to draw white page backgrounds.- Parameters:
isWhitePageBackground
- whether to draw white page backgrounds- Since:
- 6.5.0
- See Also:
Graphics2DReportConfiguration.PROPERTY_WHITE_PAGE_BACKGROUND
-
-