Class ReportProcessor

java.lang.Object
com.softwaremining.report.ReportProcessor

public class ReportProcessor extends Object
ReportProcessor is a dedicated engine for emulating COBOL REPORT SECTION behavior in Java, interpreting standard carriage-control codes (blank=single-space, '0'=double-space, '-'=triple-space, '1'=form-feed, '+'=overstrike) and translating ADVANCING n LINES clauses into the correct sequence of control records. It also recognizes higher-level report controls such as PAGE-CONTROL, CONTROL-FOOTER, GROUP-HEADING and GROUP-FOOTING to manage page breaks, headers and footers automatically, exposing a clean API (e.g. advanceLines(int), formFeed(), startNewPage(), emitFooter()) so that client code remains declarative and free of low-level printer logic. In addition, the translator generates an XML definition of the REPORT SECTION at reports/myeport.xml-capturing groups, headings, footings and spacing directives-for downstream tools or audit. For full COBOL REPORT SECTION semantics see IBM's documentation (https://www.ibm.com/docs/) or the Micro Focus guide (https://www.microfocus.com/docs/).