Adding line numbers except for continued lines
When adding line numbers, line numbers are usually given for each line, but by specifying ‘-ah-line-number-except-continued-line’, you can add a line number only to the first line when a long line wraps. At this time, the continued line is not counted in the number of lines. This feature is available from AH Formatter V7.1.

-ah-line-number-except-continued-line: false;

xfoObj axfo = null;
try {
axfo = new XfoObj();
ErrDump eDump = new ErrDump();
axfo.setMessageListener(eDump);
axfo.setDocumentURI(args[0]);
axfo.setOutputFilePath(args[1]);
axfo.setExitLevel(4);
axfo.execute();
} catch (xfoException e) {
System.out.println("ErrorLevel = " + e.getErrorLevel() + "\nErrorCode = " + e.getErrorCode() + "\n" + e.getErrorMessage());
return;
}

-ah-line-number-except-continued-line: true;

xfoObj axfo = null;
try {
axfo = new XfoObj();
ErrDump eDump = new ErrDump();
axfo.setMessageListener(eDump);
axfo.setDocumentURI(args[0]);
axfo.setOutputFilePath(args[1]);
axfo.setExitLevel(4);
axfo.execute();
} catch (xfoException e) {
System.out.println("ErrorLevel = " + e.getErrorLevel() + "\nErrorCode = " + e.getErrorCode() + "\n" + e.getErrorMessage());
return;
}