Support PSNotOnFirst pagelist flag so that pagelist item not printed on first page of section
Adjustments for centerline y-positioning when there is a double box Add check so that centering single item (note/caution) works for Calvert; fix pagelist Section/metasection titles usage for first metasection; adjust starting y-position if doing a doublebox; if the y location of bottom message would go below bottom margin, reset to bottom margin; do rno bottom continue message Added Bottom continue message support for RNO column; Draw Horizontal line if no doublehls as first item on page; support pagenumbering GroupedByLevel; Support PSNotFirst pagelist flag; Don’t put out <NO TITLE> as pagelist item if formatflag is not No Title printing; process Procdescriptor for Calvert (only check 1st character of eopnum for ‘@’); handle @@ in pagelist items
This commit is contained in:
@@ -95,7 +95,19 @@ namespace Volian.Print.Library
|
||||
right += myBoxLeftAdj;
|
||||
iTextSharp.text.Color boxColor = new iTextSharp.text.Color(PrintOverride.OverrideBoxColor(System.Drawing.Color.Black));
|
||||
cb.SetColorStroke(boxColor);
|
||||
_MyPageHelper.MyGaps.Add(top, top - Height);
|
||||
|
||||
float gapTopBox = top;
|
||||
float gapBottomBox = top - Height;
|
||||
if (MyParent.MyItemInfo.MyDocStyle.CenterLineYTop!=null && DefBox == vlnBox.DOUBLEboxHLS)
|
||||
{
|
||||
// For top box, if at top of page, the first gap begins at the centerlineYTop, otherwise it starts where
|
||||
// the box is drawn, with an adjustment to allow for the first line of text & the extra line above the box
|
||||
gapTopBox = (top + 3*SixLinesPerInch > (float)MyParent.MyItemInfo.MyDocStyle.CenterLineYTop) ?
|
||||
(float)MyParent.MyItemInfo.MyDocStyle.CenterLineYTop : top + 1.3f * vlnPrintObject.SixLinesPerInch;
|
||||
// The bottom gap must be moved down just a little to account for the double box (bottom line of box)
|
||||
gapBottomBox -= 3.2f;
|
||||
}
|
||||
if (MyParent.MyItemInfo.MyDocStyle.CenterLineYTop!=null)_MyPageHelper.MyGaps.Add(gapTopBox, gapBottomBox);
|
||||
if (DefBox != null && DefBox != vlnBox.DOUBLEboxHLS)
|
||||
{
|
||||
cb.SetLineWidth(.6F);
|
||||
|
Reference in New Issue
Block a user