Class PlainText

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, PdfProclet, PdfProcletWithAbsolutePosition, PdfProcletWithFilenameOutput, PdfProcletWithOptionalAbsolutePosition, PdfProcletWithPageBreaks, PdfProcletWithVariableFileExtension, Serializable

    public class PlainText
    extends AbstractPdfProcletWithPageBreaks
    implements PdfProcletWithVariableFileExtension, PdfProcletWithOptionalAbsolutePosition
    Adds plain-text files line by line.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -regexp-filename <adams.core.base.BaseRegExp> (property: regExpFilename)
        The regular expression that the filename must match.
        default: .*
    -add-filename <boolean> (property: addFilename)
        Whether to add the file name before the actual file content as separate 
        default: false
    -font-filename <> (property: fontFilename)
        The font to use for printing the file name header.
        default: Helvetica-Bold-12
    -color-filename <java.awt.Color> (property: colorFilename)
        The color to use for printing the file name header.
        default: #000000
    -page-break-before <boolean> (property: pageBreakBefore)
        If true, then a page-break is added before the content of the file is inserted.
        default: false
    -page-break-after <boolean> (property: pageBreakAfter)
        If true, then a page-break is added after the content of the file is inserted.
        default: false
    -num-files <int> (property: numFilesPerPage)
        The number of files to put on a page before adding an automatic page break;
         use -1 for unlimited.
        default: -1
        minimum: -1
    -font-content <> (property: fontContent)
        The font to use for the file content.
        default: Helvetica-Normal-12
    -color-content <java.awt.Color> (property: colorContent)
        The color to use for the content.
        default: #000000
    -extension <adams.core.base.BaseString> [-extension ...] (property: extensions)
        The file extension(s) that the processor will be used for.
        default: txt
    -use-absolute-position <boolean> (property: useAbsolutePosition)
        If enabled, the absolute position is used (from bottom-left corner).
        default: false
    -x <float> (property: X)
        The absolute X position.
        default: 0.0
        minimum: 0.0
    -y <float> (property: Y)
        The absolute Y position.
        default: 0.0
        minimum: 0.0
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form