B2019-049 Added check for table in a Caution or Note to the TableLocation() logic
B2019-049 when printing a table that is inside a note or cation, use the single column setting of the TableCenterPos format value
This commit is contained in:
@@ -4970,8 +4970,8 @@ namespace Volian.Print.Library
|
||||
bool ctrCalvertAlarmTbl = false;
|
||||
if (formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm)
|
||||
ctrCalvertAlarmTbl = MyItemInfo.IsWithInSingleColumnTemplate();
|
||||
|
||||
float TableCenterPos = float.Parse(formatInfo.MyStepSectionLayoutData.TableCenterPos.Split(",".ToCharArray())[itemInfo.ColumnMode]);
|
||||
// B2019-049 added check for table being in a Caution or Note - if so, use the single column setting for the format variable TableCenterPos
|
||||
float TableCenterPos = float.Parse(formatInfo.MyStepSectionLayoutData.TableCenterPos.Split(",".ToCharArray())[(itemInfo.IsInCautionOrNote)?0:itemInfo.ColumnMode]);
|
||||
if (ctrCalvertAlarmTbl || formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TieTabToLevel)
|
||||
XOffset = leftMargin + (pageWidth - leftMargin - (scale * Width)) / 2;
|
||||
else
|
||||
|
Reference in New Issue
Block a user