For IP2 format, for unused pagelist tokens, don’t write error message to log.

This commit is contained in:
Kathy Ruffing 2014-10-07 13:13:57 +00:00
parent add1510f84
commit eeb8b9f452

View File

@ -1385,6 +1385,21 @@ namespace Volian.Print.Library
else else
plstr = plstr.Replace("{CM:(Cont)}", ""); plstr = plstr.Replace("{CM:(Cont)}", "");
break; break;
case "{RF:REFERENCE}":
// This token is used by IP2. In 16bit it is processed when the PO_DISTRIBUTEAPPROVED
// purchase option is set and a file 'ref.dat' exists. Text from this file replaced
// the token. It was decided by RHM/KBR on 10/7/14 that this would not be implemented
// unless/until it is determined that it is used (no data that Volian currently has
// contains this file). To implement it requires a config item off of the procedure level,
// user interface support on the Procedure Properties dialog and print support.
plstr = plstr.Replace("{RF:REFERENCE}", "");
break;
case "{NULLDOCCURPAGE}":
// This token is used by IP2. There was no support for it in 16bit and the 16bit to 32bit
// output compared so it is just removed here so that a pagelist token error is not output
// in error log.
plstr = plstr.Replace("{NULLDOCCURPAGE}", "");
break;
case "{EOPNUM}": case "{EOPNUM}":
case "[EOPNUM]": case "[EOPNUM]":
case "{PREDELIMEOPNUM}": case "{PREDELIMEOPNUM}":