Package net.sf.jasperreports.export
Interface TextExporterConfiguration
- All Superinterfaces:
CommonExportConfiguration,ExporterConfiguration
- All Known Implementing Classes:
SimpleTextExporterConfiguration
Interface containing settings used by the pure text exporter.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty whose value is used as default for thegetLineSeparator()export configuration setting.static final StringProperty whose value is used as default for thegetPageSeparator()export configuration setting.static final StringProperty 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
Modifier and TypeMethodDescriptionReturns a string representing the separator between two lines of text.Returns a string representing text that will be inserted between pages of the generated report.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 Details
-
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:
-
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:
-
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:
-
-
Method Details
-
getPageSeparator
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
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
Boolean isTrimLineRight()Returns a boolean value specifying whether the lines of text in the document should be trimmed to the right.- See Also:
-