Package net.sf.jasperreports.export
Class SimpleTextReportConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleReportExportConfiguration
-
- net.sf.jasperreports.export.SimpleTextReportConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration
,ReportExportConfiguration
,TextReportConfiguration
public class SimpleTextReportConfiguration extends SimpleReportExportConfiguration implements TextReportConfiguration
- 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
-
Fields inherited from interface net.sf.jasperreports.export.TextReportConfiguration
PROPERTY_CHARACTER_HEIGHT, PROPERTY_CHARACTER_WIDTH, PROPERTY_PAGE_HEIGHT, PROPERTY_PAGE_WIDTH
-
-
Constructor Summary
Constructors Constructor Description SimpleTextReportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
getCharHeight()
Returns a float value representing the pixel/character vertical ratio.Float
getCharWidth()
Returns a float value representing the pixel/character horizontal ratio.Integer
getPageHeightInChars()
Returns an integer representing the page height in characters.Integer
getPageWidthInChars()
Returns an integer representing the page width in characters.void
setCharHeight(Float charHeight)
void
setCharWidth(Float charWidth)
void
setPageHeightInChars(Integer pageHeightInChars)
void
setPageWidthInChars(Integer pageWidthInChars)
-
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
-
getCharWidth
public Float getCharWidth()
Description copied from interface:TextReportConfiguration
Returns a float value representing the pixel/character horizontal ratio.- Specified by:
getCharWidth
in interfaceTextReportConfiguration
- See Also:
TextReportConfiguration.PROPERTY_CHARACTER_WIDTH
-
setCharWidth
public void setCharWidth(Float charWidth)
-
getCharHeight
public Float getCharHeight()
Description copied from interface:TextReportConfiguration
Returns a float value representing the pixel/character vertical ratio.- Specified by:
getCharHeight
in interfaceTextReportConfiguration
- See Also:
TextReportConfiguration.PROPERTY_CHARACTER_HEIGHT
-
setCharHeight
public void setCharHeight(Float charHeight)
-
getPageWidthInChars
public Integer getPageWidthInChars()
Description copied from interface:TextReportConfiguration
Returns an integer representing the page width in characters.- Specified by:
getPageWidthInChars
in interfaceTextReportConfiguration
- See Also:
TextReportConfiguration.PROPERTY_PAGE_WIDTH
-
setPageWidthInChars
public void setPageWidthInChars(Integer pageWidthInChars)
-
getPageHeightInChars
public Integer getPageHeightInChars()
Description copied from interface:TextReportConfiguration
Returns an integer representing the page height in characters.- Specified by:
getPageHeightInChars
in interfaceTextReportConfiguration
- See Also:
TextReportConfiguration.PROPERTY_PAGE_HEIGHT
-
setPageHeightInChars
public void setPageHeightInChars(Integer pageHeightInChars)
-
-