F2016-033: Replace “User Hold Point” with “Verification Point” step type & support its printing

F2016-042: Fix tabbing of section text location (was overwriting number)
This commit is contained in:
Kathy Ruffing 2016-09-27 13:04:35 +00:00
parent 4941dc0f5a
commit 6f16095159
5 changed files with 12 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5215,6 +5215,13 @@ namespace Volian.Print.Library
// return;
//}
else // if no left justify, right align the tab
{
// The following fixes F2016-033: Print the Verification Point at left margin.
if (itemInfo.ActiveFormat.Name.ToUpper().StartsWith("VCB") && (itemInfo.FormatStepData.ColOverride ?? 0) > 0)
{
XOffset = (float)itemInfo.FormatStepData.ColOverride;
}
else
{
XOffset += tabWidth - (myTab == null ? 0 : myTab.TabAlign);
if (myTab != null)
@ -5224,6 +5231,7 @@ namespace Volian.Print.Library
}
}
}
}
// if format had a tab adjustment for step type, use it. MyTab.Offset is only set for FNP formats
// to get the correct xoffset for their tabs/text. The issue is that they use very large tabs
// because levels of substeps include the parent tab. This code will only be run for FNP.