Package net.sf.jasperreports.export
Interface TextExporterConfiguration
-
- All Superinterfaces:
CommonExportConfiguration,ExporterConfiguration
- All Known Implementing Classes:
SimpleTextExporterConfiguration
public interface TextExporterConfiguration extends ExporterConfiguration
Interface containing settings used by the pure text exporter.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
JRTextExporter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_LINE_SEPARATORProperty whose value is used as default for thegetLineSeparator()export configuration setting.static java.lang.StringPROPERTY_PAGE_SEPARATORProperty whose value is used as default for thegetPageSeparator()export configuration setting.static java.lang.StringPROPERTY_TRIM_LINE_RIGHTProperty whose value is used as default for theisTrimLineRight()export configuration setting.-
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLineSeparator()Returns a string representing the separator between two lines of text.java.lang.StringgetPageSeparator()Returns a string representing text that will be inserted between pages of the generated report.java.lang.BooleanisTrimLineRight()Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
-
-
-
Field Detail
-
PROPERTY_PAGE_SEPARATOR
static final java.lang.String PROPERTY_PAGE_SEPARATOR
Property whose value is used as default for thegetPageSeparator()export configuration setting. The default is the duplicated value of the "line.separator" system property.- See Also:
JRPropertiesUtil, Constant Field Values
-
PROPERTY_LINE_SEPARATOR
static final java.lang.String PROPERTY_LINE_SEPARATOR
Property whose value is used as default for thegetLineSeparator()export configuration setting. The default is the value of the "line.separator" system property.- See Also:
JRPropertiesUtil, Constant Field Values
-
PROPERTY_TRIM_LINE_RIGHT
static final java.lang.String PROPERTY_TRIM_LINE_RIGHT
Property whose value is used as default for theisTrimLineRight()export configuration setting. This property is by default not set (false).- See Also:
JRPropertiesUtil, Constant Field Values
-
-
Method Detail
-
getPageSeparator
java.lang.String getPageSeparator()
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.
-
getLineSeparator
java.lang.String getLineSeparator()
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.
-
isTrimLineRight
java.lang.Boolean isTrimLineRight()
Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.- See Also:
PROPERTY_TRIM_LINE_RIGHT
-
-