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_HINTSFields inherited from interface net.sf.jasperreports.export.Graphics2DReportConfiguration
MINIMIZE_PRINTER_JOB_SIZE, PROPERTY_WHITE_PAGE_BACKGROUNDFields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe zoom ratio used for the export.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.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, setStartPageIndexMethods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHintsMethods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
Constructor Details
-
SimpleGraphics2DReportConfiguration
public SimpleGraphics2DReportConfiguration()
-
-
Method Details
-
getZoomRatio
Description copied from interface:Graphics2DReportConfigurationThe zoom ratio used for the export. The default value is 1.- Specified by:
getZoomRatioin interfaceGraphics2DReportConfiguration
-
setZoomRatio
-
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:
-
setMinimizePrinterJobSize
-
isIgnoreMissingFont
- Specified by:
isIgnoreMissingFontin interfaceGraphics2DReportConfiguration
-
setIgnoreMissingFont
-
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:
-
setWhitePageBackground
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:
-