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:
parent
b242d57d4b
commit
e27bbff7d8
Binary file not shown.
@ -4342,7 +4342,7 @@ namespace Volian.Print.Library
|
|||||||
|
|
||||||
float TableCenterPos = float.Parse(formatInfo.MyStepSectionLayoutData.TableCenterPos.Split(",".ToCharArray())[itemInfo.ColumnMode]);
|
float TableCenterPos = float.Parse(formatInfo.MyStepSectionLayoutData.TableCenterPos.Split(",".ToCharArray())[itemInfo.ColumnMode]);
|
||||||
if (ctrCalvertAlarmTbl || formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TieTabToLevel)
|
if (ctrCalvertAlarmTbl || formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.TieTabToLevel)
|
||||||
XOffset = leftMargin + (pageWidth - leftMargin - Width) / 2;
|
XOffset = leftMargin + (pageWidth - leftMargin - (scale * Width)) / 2;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!aerTableOrFigure && itemInfo.RNOLevel == 0 && TableCenterPos != 0) // Only adjust TableCenterPos for Non-RNO Cenetered Tables
|
if (!aerTableOrFigure && itemInfo.RNOLevel == 0 && TableCenterPos != 0) // Only adjust TableCenterPos for Non-RNO Cenetered Tables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user