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 String
PROPERTY_LINE_SEPARATOR
Property whose value is used as default for thegetLineSeparator()
export configuration setting.static String
PROPERTY_PAGE_SEPARATOR
Property whose value is used as default for thegetPageSeparator()
export configuration setting.static String
PROPERTY_TRIM_LINE_RIGHT
Property 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 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.-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
-
-
-
Field Detail
-
PROPERTY_PAGE_SEPARATOR
static final 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 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 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
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:
PROPERTY_TRIM_LINE_RIGHT
-
-