This commit is contained in:
2012-08-08 12:23:26 +00:00
parent 68f3e7a0bb
commit 6713bac8d8
2 changed files with 9 additions and 7 deletions

View File

@@ -1176,7 +1176,10 @@ namespace Volian.Print.Library
if (aerTableOrFigure || itemInfo.RNOLevel != 0) // AER or RNO
XOffset = MyParent.XOffset + MyParent.Width / 2 - Width / 2;
else if (TableCenterPos != 0)
{
XOffset = TableCenterPos;
XOffset = XOffset - (this.Width / 2) + (float)itemInfo.MyDocStyle.Layout.LeftMargin;
}
else // Centered Table or Figure
{
// Add in 1/2 of the width of all RNO columns