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 FloatgetZoomRatio()The zoom ratio used for the export.BooleanisIgnoreMissingFont()BooleanisMinimizePrinterJobSize()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.BooleanisWhitePageBackground()Flag that determines whether the exporter is to draw white backgrounds for exported pages.voidsetIgnoreMissingFont(Boolean isIgnoreMissingFont)voidsetMinimizePrinterJobSize(Boolean isMinimizePrinterJobSize)voidsetWhitePageBackground(Boolean isWhitePageBackground)Sets the flag that determines whether to draw white page backgrounds.voidsetZoomRatio(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:Graphics2DReportConfigurationThe zoom ratio used for the export. The default value is 1.- Specified by:
getZoomRatioin interfaceGraphics2DReportConfiguration
-
setZoomRatio
public void setZoomRatio(Float zoomRatio)
-
isMinimizePrinterJobSize
public Boolean isMinimizePrinterJobSize()
Description copied from interface:Graphics2DReportConfigurationFlag 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:
isMinimizePrinterJobSizein interfaceGraphics2DReportConfiguration- See Also:
Graphics2DReportConfiguration.MINIMIZE_PRINTER_JOB_SIZE
-
setMinimizePrinterJobSize
public void setMinimizePrinterJobSize(Boolean isMinimizePrinterJobSize)
-
isIgnoreMissingFont
public Boolean isIgnoreMissingFont()
- Specified by:
isIgnoreMissingFontin interfaceGraphics2DReportConfiguration
-
setIgnoreMissingFont
public void setIgnoreMissingFont(Boolean isIgnoreMissingFont)
-
isWhitePageBackground
public Boolean isWhitePageBackground()
Description copied from interface:Graphics2DReportConfigurationFlag that determines whether the exporter is to draw white backgrounds for exported pages.- Specified by:
isWhitePageBackgroundin 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
-
-