Class TrainPrintBuildReport

java.lang.Object
jmri.jmrit.operations.trains.trainbuilder.TrainCommon
jmri.jmrit.operations.trains.TrainPrintBuildReport

public class TrainPrintBuildReport extends TrainCommon
Used for train build reports.
  • Constructor Details

  • Method Details

    • printReport

      public static void printReport(File file, String name, boolean isPreview)
      Print or preview a build report.
      Parameters:
      file - File to be printed or previewed
      name - Title of document
      isPreview - true if preview
    • editReport

      public static void editReport(File file, String name)
      Creates a new build report file with the print detail numbers replaced by indentations. Then calls open desktop editor.
      Parameters:
      file - build file
      name - train name
    • editReport

      public static void editReport(File file, File fileOut)
      Creates a new build report file with the print detail numbers replaced by indentations.
      Parameters:
      file - Raw file with detail level numbers
      fileOut - Formated file with indentations