B2014-105: When in Calvert Alarm Condition Response table, print AER table in AER column

B2014-105: When in Calvert Alarm Condition Response table, AER column allow insert of AER table
This commit is contained in:
2016-06-28 15:05:42 +00:00
parent 9b3e3a76cf
commit 76b39e3046
2 changed files with 12 additions and 2 deletions

View File

@@ -4202,7 +4202,14 @@ namespace Volian.Print.Library
else if (itemInfo.RNOLevel != 0) // RNO
XOffset = MyParent.XOffset + MyParent.Width / 2 - Width / 2;
else if (aerTableOrFigure)
XOffset = MyHighLevelParagraph.XOffset + MyHighLevelParagraph.Width / 2 - Width / 2;
{
// if in the BGE alarm format and the hls is a Window (upper right corner when it prints), use the parent of the table
// to print in aer column (B2014-105)
if (MyItemInfo.IsInCalvertConditionResponse)
XOffset = hls1.XOffset + hls1.Width / 2 - Width / 2;
else
XOffset = MyHighLevelParagraph.XOffset + MyHighLevelParagraph.Width / 2 - Width / 2;
}
else // Centered Table or Figure
{
// Determine center of hls