Package net.sf.jasperreports.export
Class SimpleTextExporterConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleExporterConfiguration
-
- net.sf.jasperreports.export.SimpleTextExporterConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration,ExporterConfiguration,TextExporterConfiguration
public class SimpleTextExporterConfiguration extends SimpleExporterConfiguration implements TextExporterConfiguration
- 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.TextExporterConfiguration
PROPERTY_LINE_SEPARATOR, PROPERTY_PAGE_SEPARATOR, PROPERTY_TRIM_LINE_RIGHT
-
-
Constructor Summary
Constructors Constructor Description SimpleTextExporterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLineSeparator()Returns a string representing the separator between two lines of text.StringgetPageSeparator()Returns a string representing text that will be inserted between pages of the generated report.BooleanisTrimLineRight()Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.voidsetLineSeparator(String lineSeparator)voidsetPageSeparator(String pageSeparator)voidsetTrimLineRight(Boolean isTrimLineRight)-
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
-
getPageSeparator
public String getPageSeparator()
Description copied from interface:TextExporterConfigurationReturns a string representing text that will be inserted between pages of the generated report. By default, JasperReports separates pages by two empty lines, but this behavior can be overridden by this parameter.- Specified by:
getPageSeparatorin interfaceTextExporterConfiguration
-
setPageSeparator
public void setPageSeparator(String pageSeparator)
-
getLineSeparator
public String getLineSeparator()
Description copied from interface:TextExporterConfigurationReturns a string representing the separator between two lines of text. This parameter is useful since line separators can vary from one operating system to another. The default value is the system "line.separator" property.- Specified by:
getLineSeparatorin interfaceTextExporterConfiguration
-
setLineSeparator
public void setLineSeparator(String lineSeparator)
-
isTrimLineRight
public Boolean isTrimLineRight()
Description copied from interface:TextExporterConfigurationReturns a boolean value specifying whether the lines of text in the document should be trimmed to the right.- Specified by:
isTrimLineRightin interfaceTextExporterConfiguration- See Also:
TextExporterConfiguration.PROPERTY_TRIM_LINE_RIGHT
-
setTrimLineRight
public void setTrimLineRight(Boolean isTrimLineRight)
-
-