- getTokenValue(line, "endhead", endhead.row);
- getTokenValue(line, "endfirsthead", endfirsthead.row);
- getTokenValue(line, "endfoot", endfoot.row);
- getTokenValue(line, "endlastfoot", endlastfoot.row);
+ int hrow;
+ int fhrow;
+ int frow;
+ int lfrow;
+
+ getTokenValue(line, "endhead", hrow);
+ getTokenValue(line, "endfirsthead", fhrow);
+ getTokenValue(line, "endfoot", frow);
+ getTokenValue(line, "endlastfoot", lfrow);
+ setHeaderFooterRows(abs(hrow), abs(fhrow), abs(frow), abs(lfrow));