Added code to implement Box 2 format

Added code to use separate boxes for notes and use RNOWidthAdj flag
Added code to implement SETREV page element.
This commit is contained in:
Rich
2014-01-08 20:14:46 +00:00
parent 74886aa3b4
commit c2857b2b16
3 changed files with 13 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ namespace Volian.Print.Library
const string BoxAsterisk = " *.* .* . . . . *.* . .* . . ";
const string BoxAsteriskWithSides1 = " *.* .* .* . . . *.* . .* . . "; // ip2
const string BoxAsteriskWithSides2 = " *. *.*.*. . . *.*. . *. . "; // ip3
const string BoxAsteriskWithSides3 = "*.*.*.*.*.*.*.*.*.*.*.*"; //byr
const string BoxAsteriskTopBottom = "*.*.*. . . .*.*. .*. . "; // fnp
const string BoxLineTopBottom = "\x2500.\x2500.\x2500. . . .\x2500.\x2500. .\x2500. . "; // fnp
const string BoxAsteriskTopBotton2 = " .*. . . . . . . .*. . "; // Robinson (CPL)
@@ -130,6 +131,7 @@ namespace Volian.Print.Library
break;
case BoxAsteriskWithSides1:
case BoxAsteriskWithSides2:
case BoxAsteriskWithSides3:
DrawAsteriskTopBottom(cb, yPageStart, yTopMargin, yBottomMargin, ref top, ref bottom, left);
DrawAsteriskSide(cb, yPageStart, yTopMargin, yBottomMargin, top, bottom, left, right);
break;