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 String
getLineSeparator()
Returns a string representing the separator between two lines of text.String
getPageSeparator()
Returns a string representing text that will be inserted between pages of the generated report.Boolean
isTrimLineRight()
Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.void
setLineSeparator(String lineSeparator)
void
setPageSeparator(String pageSeparator)
void
setTrimLineRight(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:TextExporterConfiguration
Returns 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:
getPageSeparator
in interfaceTextExporterConfiguration
-
setPageSeparator
public void setPageSeparator(String pageSeparator)
-
getLineSeparator
public String getLineSeparator()
Description copied from interface:TextExporterConfiguration
Returns 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:
getLineSeparator
in interfaceTextExporterConfiguration
-
setLineSeparator
public void setLineSeparator(String lineSeparator)
-
isTrimLineRight
public Boolean isTrimLineRight()
Description copied from interface:TextExporterConfiguration
Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.- Specified by:
isTrimLineRight
in interfaceTextExporterConfiguration
- See Also:
TextExporterConfiguration.PROPERTY_TRIM_LINE_RIGHT
-
setTrimLineRight
public void setTrimLineRight(Boolean isTrimLineRight)
-
-