VC Summer Unit 2 & 3 Single column format

This commit is contained in:
2016-06-14 13:52:50 +00:00
parent 98ef7abb29
commit 4ae5fdf980
6 changed files with 37 additions and 4 deletions

View File

@@ -2967,6 +2967,8 @@ namespace Volian.Print.Library
offset += xMetaAdj;
itemInfo.MyTab.Text = itemInfo.MyTab.Text.TrimEnd(" ".ToCharArray());
itemInfo.MyTab.CleanText = itemInfo.MyTab.CleanText.TrimEnd(" ".ToCharArray());
if (((itemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_SameXOffSubsections) == E_DocStructStyle.DSS_SameXOffSubsections))
offset += (float)formatInfo.PlantFormat.FormatData.SectData.SectionNumber.Pos;
}
}
}
@@ -4933,7 +4935,8 @@ namespace Volian.Print.Library
}
if (itemInfo.IsHigh)
{
if (formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm)
if (formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm ||
((itemInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_SameXOffSubsections) == E_DocStructStyle.DSS_SameXOffSubsections))
{
// the HLS in the template prints the tab/step on the right edge of page. Don't
// do the other calculations to relocate it.