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 Integer
getEndPageIndex()
Returns an integer value representing the end index of the page range to be exported.ExporterFilter
getExporterFilter()
Returns an instance of theExporterFilter
interface to be used by the exporter to filter the elements to be exported.JRHyperlinkProducerFactory
getHyperlinkProducerFactory()
Returns aJRHyperlinkProducerFactory
which should be used for custom hyperlink types during export.Integer
getOffsetX()
A setting that allows users to move the entire content of each page horizontally.Integer
getOffsetY()
A setting that allows users to move the entire content of each page vertically.Integer
getPageIndex()
Returns an integer value representing the index of the page to be exported.JRExportProgressMonitor
getProgressMonitor()
Return aJRExportProgressMonitor
instance for monitoring export status.Integer
getStartPageIndex()
Returns an integer value representing the start index of the page range to be exported.void
setEndPageIndex(Integer endPageIndex)
void
setExporterFilter(ExporterFilter filter)
void
setHyperlinkProducerFactory(JRHyperlinkProducerFactory hyperlinkProducerFactory)
void
setOffsetX(Integer offsetX)
void
setOffsetY(Integer offsetY)
void
setPageIndex(Integer pageIndex)
void
setProgressMonitor(JRExportProgressMonitor progressMonitor)
void
setStartPageIndex(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:ReportExportConfiguration
Returns 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:
getStartPageIndex
in interfaceReportExportConfiguration
-
setStartPageIndex
public void setStartPageIndex(Integer startPageIndex)
-
getEndPageIndex
public Integer getEndPageIndex()
Description copied from interface:ReportExportConfiguration
Returns 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:
getEndPageIndex
in interfaceReportExportConfiguration
-
setEndPageIndex
public void setEndPageIndex(Integer endPageIndex)
-
getPageIndex
public Integer getPageIndex()
Description copied from interface:ReportExportConfiguration
Returns 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:
getPageIndex
in interfaceReportExportConfiguration
-
setPageIndex
public void setPageIndex(Integer pageIndex)
-
getProgressMonitor
public JRExportProgressMonitor getProgressMonitor()
Description copied from interface:ReportExportConfiguration
Return aJRExportProgressMonitor
instance 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:
getProgressMonitor
in interfaceReportExportConfiguration
-
setProgressMonitor
public void setProgressMonitor(JRExportProgressMonitor progressMonitor)
-
getExporterFilter
public ExporterFilter getExporterFilter()
Description copied from interface:ReportExportConfiguration
Returns an instance of theExporterFilter
interface to be used by the exporter to filter the elements to be exported.- Specified by:
getExporterFilter
in interfaceReportExportConfiguration
-
setExporterFilter
public void setExporterFilter(ExporterFilter filter)
-
getOffsetX
public Integer getOffsetX()
Description copied from interface:ReportExportConfiguration
A 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:
getOffsetX
in interfaceReportExportConfiguration
-
setOffsetX
public void setOffsetX(Integer offsetX)
-
getOffsetY
public Integer getOffsetY()
Description copied from interface:ReportExportConfiguration
A 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:
getOffsetY
in interfaceReportExportConfiguration
-
setOffsetY
public void setOffsetY(Integer offsetY)
-
getHyperlinkProducerFactory
public JRHyperlinkProducerFactory getHyperlinkProducerFactory()
Description copied from interface:ReportExportConfiguration
Returns aJRHyperlinkProducerFactory
which should be used for custom hyperlink types during export.- Specified by:
getHyperlinkProducerFactory
in interfaceReportExportConfiguration
-
setHyperlinkProducerFactory
public void setHyperlinkProducerFactory(JRHyperlinkProducerFactory hyperlinkProducerFactory)
-
-