Package net.sf.jasperreports.export
Class SimpleReportExportConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleReportExportConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration,ReportExportConfiguration
- Direct Known Subclasses:
AbstractXlsReportConfiguration,SimpleCsvReportConfiguration,SimpleDocxReportConfiguration,SimpleGraphics2DReportConfiguration,SimpleHtmlReportConfiguration,SimpleJsonReportConfiguration,SimpleOdtReportConfiguration,SimplePdfReportConfiguration,SimplePptxReportConfiguration,SimpleRtfReportConfiguration,SimpleTextReportConfiguration
public class SimpleReportExportConfiguration extends SimpleCommonExportConfiguration implements ReportExportConfiguration
- 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.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS
-
-
Constructor Summary
Constructors Constructor Description SimpleReportExportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetEndPageIndex()Returns an integer value representing the end index of the page range to be exported.ExporterFiltergetExporterFilter()Returns an instance of theExporterFilterinterface to be used by the exporter to filter the elements to be exported.JRHyperlinkProducerFactorygetHyperlinkProducerFactory()Returns aJRHyperlinkProducerFactorywhich should be used for custom hyperlink types during export.IntegergetOffsetX()A setting that allows users to move the entire content of each page horizontally.IntegergetOffsetY()A setting that allows users to move the entire content of each page vertically.IntegergetPageIndex()Returns an integer value representing the index of the page to be exported.JRExportProgressMonitorgetProgressMonitor()Return aJRExportProgressMonitorinstance for monitoring export status.IntegergetStartPageIndex()Returns an integer value representing the start index of the page range to be exported.voidsetEndPageIndex(Integer endPageIndex)voidsetExporterFilter(ExporterFilter filter)voidsetHyperlinkProducerFactory(JRHyperlinkProducerFactory hyperlinkProducerFactory)voidsetOffsetX(Integer offsetX)voidsetOffsetY(Integer offsetY)voidsetPageIndex(Integer pageIndex)voidsetProgressMonitor(JRExportProgressMonitor progressMonitor)voidsetStartPageIndex(Integer startPageIndex)-
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
-
-
-
-
Method Detail
-
getStartPageIndex
public Integer getStartPageIndex()
Description copied from interface:ReportExportConfigurationReturns an integer value representing the start index of the page range to be exported. This is useful when only a range of pages is needed for export.- Specified by:
getStartPageIndexin interfaceReportExportConfiguration
-
setStartPageIndex
public void setStartPageIndex(Integer startPageIndex)
-
getEndPageIndex
public Integer getEndPageIndex()
Description copied from interface:ReportExportConfigurationReturns an integer value representing the end index of the page range to be exported. This is useful when only a range of pages is needed for export.- Specified by:
getEndPageIndexin interfaceReportExportConfiguration
-
setEndPageIndex
public void setEndPageIndex(Integer endPageIndex)
-
getPageIndex
public Integer getPageIndex()
Description copied from interface:ReportExportConfigurationReturns an integer value representing the index of the page to be exported. This is useful when only one page of the entire report is needed for export.- Specified by:
getPageIndexin interfaceReportExportConfiguration
-
setPageIndex
public void setPageIndex(Integer pageIndex)
-
getProgressMonitor
public JRExportProgressMonitor getProgressMonitor()
Description copied from interface:ReportExportConfigurationReturn aJRExportProgressMonitorinstance for monitoring export status. This is useful for users who need to be notified after each page is exported (a GUI tool that shows a progress bar might need this feature).- Specified by:
getProgressMonitorin interfaceReportExportConfiguration
-
setProgressMonitor
public void setProgressMonitor(JRExportProgressMonitor progressMonitor)
-
getExporterFilter
public ExporterFilter getExporterFilter()
Description copied from interface:ReportExportConfigurationReturns an instance of theExporterFilterinterface to be used by the exporter to filter the elements to be exported.- Specified by:
getExporterFilterin interfaceReportExportConfiguration
-
setExporterFilter
public void setExporterFilter(ExporterFilter filter)
-
getOffsetX
public Integer getOffsetX()
Description copied from interface:ReportExportConfigurationA setting that allows users to move the entire content of each page horizontally. It is mostly useful for printing, when the report data does not fit inside the page margins.- Specified by:
getOffsetXin interfaceReportExportConfiguration
-
setOffsetX
public void setOffsetX(Integer offsetX)
-
getOffsetY
public Integer getOffsetY()
Description copied from interface:ReportExportConfigurationA setting that allows users to move the entire content of each page vertically. It is mostly useful for printing, when the report data does not fit inside the page margins.- Specified by:
getOffsetYin interfaceReportExportConfiguration
-
setOffsetY
public void setOffsetY(Integer offsetY)
-
getHyperlinkProducerFactory
public JRHyperlinkProducerFactory getHyperlinkProducerFactory()
Description copied from interface:ReportExportConfigurationReturns aJRHyperlinkProducerFactorywhich should be used for custom hyperlink types during export.- Specified by:
getHyperlinkProducerFactoryin interfaceReportExportConfiguration
-
setHyperlinkProducerFactory
public void setHyperlinkProducerFactory(JRHyperlinkProducerFactory hyperlinkProducerFactory)
-
-