Added logic to handle the FloatingContinueMessage flag which puts the continue message in the left column when the step break on the AER and put it in the right column when the step breaks on the RNO.
This commit is contained in:
parent
3e010e87b2
commit
1a18d67dc3
@ -923,7 +923,15 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
// The following line was added for McGuire APs/AP/1/5500/12, Step 13
|
// The following line was added for McGuire APs/AP/1/5500/12, Step 13
|
||||||
//if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch;
|
//if (msg_yLocation < yBottomMargin + SixLinesPerInch) msg_yLocation = yBottomMargin + SixLinesPerInch;
|
||||||
int colR = int.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]);
|
float colR = float.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]);
|
||||||
|
xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0;
|
||||||
|
}
|
||||||
|
// FloatingContinueMessage format flag:
|
||||||
|
// if breaking at the AER put continue message in left column,
|
||||||
|
// if breaking RNO put continue message in Right column.
|
||||||
|
else if (MyItemInfo.IsInRNO && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.FloatingContinueMessage)
|
||||||
|
{
|
||||||
|
float colR = float.Parse(MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.ColRTable.Split(",".ToCharArray())[MyItemInfo.ColumnMode]);
|
||||||
xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0;
|
xoffB = colR + docstyle.Layout.LeftMargin + docstyle.Continue.Bottom.Margin ?? 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user