net.sf.jasperreports.engine.export
Class JRTextExporterParameter

java.lang.Object
  extended by net.sf.jasperreports.engine.JRExporterParameter
      extended by net.sf.jasperreports.engine.export.JRTextExporterParameter

public class JRTextExporterParameter
extends JRExporterParameter

Contains parameters useful for export in plain text format.

The text exporter can send data to a string buffer, output stream, character stream or file on disk. The engine looks among the export parameters in order to find the selected output type in this order: OUTPUT_STRING_BUFFER, OUTPUT_WRITER, OUTPUT_STREAM, OUTPUT_FILE, OUTPUT_FILE_NAME.

Version:
$Id: JRTextExporterParameter.java 1590 2007-02-21 14:03:40Z teodord $
Author:
Ionut Nedelcu (ionutned@users.sourceforge.net)

Field Summary
static JRTextExporterParameter BETWEEN_PAGES_TEXT
          A string representing text that will be inserted between pages of the generated report.
static JRTextExporterParameter CHARACTER_HEIGHT
          An integer representing the pixel/character horizontal ratio.
static JRTextExporterParameter CHARACTER_WIDTH
          An integer representing the pixel/character horizontal ratio.
static JRTextExporterParameter LINE_SEPARATOR
          A string representing the separator between two lines of text.
static JRTextExporterParameter PAGE_HEIGHT
          An integer representing the page height in characters.
static JRTextExporterParameter PAGE_WIDTH
          An integer representing the page width in characters.
 
Fields inherited from class net.sf.jasperreports.engine.JRExporterParameter
CHARACTER_ENCODING, CLASS_LOADER, END_PAGE_INDEX, FILE_RESOLVER, FILTER, FONT_MAP, HYPERLINK_PRODUCER_FACTORY, IGNORE_PAGE_MARGINS, INPUT_FILE, INPUT_FILE_NAME, INPUT_STREAM, INPUT_URL, JASPER_PRINT, JASPER_PRINT_LIST, OFFSET_X, OFFSET_Y, OUTPUT_FILE, OUTPUT_FILE_NAME, OUTPUT_STREAM, OUTPUT_STRING_BUFFER, OUTPUT_WRITER, PAGE_INDEX, PARAMETERS_OVERRIDE_REPORT_HINTS, PROGRESS_MONITOR, PROPERTY_CHARACTER_ENCODING, PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS, PROPERTY_IGNORE_PAGE_MARGINS, START_PAGE_INDEX, URL_HANDLER_FACTORY
 
Constructor Summary
JRTextExporterParameter(java.lang.String name)
           
 
Method Summary
 
Methods inherited from class net.sf.jasperreports.engine.JRExporterParameter
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHARACTER_WIDTH

public static final JRTextExporterParameter CHARACTER_WIDTH
An integer representing the pixel/character horizontal ratio.


CHARACTER_HEIGHT

public static final JRTextExporterParameter CHARACTER_HEIGHT
An integer representing the pixel/character horizontal ratio.


PAGE_WIDTH

public static final JRTextExporterParameter PAGE_WIDTH
An integer representing the page width in characters.


PAGE_HEIGHT

public static final JRTextExporterParameter PAGE_HEIGHT
An integer representing the page height in characters.


BETWEEN_PAGES_TEXT

public static final JRTextExporterParameter BETWEEN_PAGES_TEXT
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 behaviour can be overriden by this parameter.


LINE_SEPARATOR

public static final JRTextExporterParameter LINE_SEPARATOR
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.

Constructor Detail

JRTextExporterParameter

public JRTextExporterParameter(java.lang.String name)


© 2001-2006 JasperSoft Corporation www.jaspersoft.com