Added flag for DropCheckOff for specific checkoff/sign-off

Folder/DocVersion Specific Info in Pagelist items
This commit is contained in:
2015-05-14 14:42:40 +00:00
parent 36603d643b
commit 1630834fb6
2 changed files with 67 additions and 71 deletions

View File

@@ -2945,10 +2945,11 @@ namespace Volian.Print.Library
// on line below (with space in between)
if (itemInfo.IsBackgroundStep() && itemInfo.MyTab != null && itemInfo.MyTab.AltPrintTab != null && itemInfo.MyTab.AltPrintTab.Trim() != "")
yoff = YOffset = yoff + (2 * SixLinesPerInch);
CheckOff co = itemInfo.GetCheckOffStep();
float yForCheckoff = yoff; //0; - default checkoff row is same as FIRST line of text
// if dropCheckoff is true, then the checkoff is place on the same of row as the LAST line of text
bool dropCheckoff = itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.DropCheckOff;
bool dropCheckoff = itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.DropCheckOff
|| (co != null && co.DropCheckOff);
if (itemInfo.MyContent.MyGrid != null)
{
int profileDepth1 = ProfileTimer.Push(">>>> Before vlnParagraph.Grid");
@@ -3211,7 +3212,6 @@ namespace Volian.Print.Library
}
}
}
CheckOff co = itemInfo.GetCheckOffStep();
if (co != null)
{
// if this item's content is empty, and the flag is set to 'notonempty', don't print out the