Fix B2016-270: centered equations (one below another) don’t print centered

Fix B2016-259: centered table off centered table was not centered in print (add ‘TableCenterPos’ values)
This commit is contained in:
Kathy Ruffing 2016-12-01 13:40:15 +00:00
parent b242d57d4b
commit e27bbff7d8
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -4342,7 +4342,7 @@ namespace Volian.Print.Library
float TableCenterPos = float.Parse(formatInfo.MyStepSectionLayoutData.TableCenterPos.Split(",".ToCharArray())[itemInfo.ColumnMode]);
if (ctrCalvertAlarmTbl || formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TieTabToLevel)
XOffset = leftMargin + (pageWidth - leftMargin - Width) / 2;
XOffset = leftMargin + (pageWidth - leftMargin - (scale * Width)) / 2;
else
{
if (!aerTableOrFigure && itemInfo.RNOLevel == 0 && TableCenterPos != 0) // Only adjust TableCenterPos for Non-RNO Cenetered Tables