This commit is contained in:
parent
96b127254e
commit
c179215c26
@ -921,9 +921,12 @@ namespace Volian.Print.Library
|
||||
// get the first table & see if it is borderless. If borderless, 16bit code removed a
|
||||
// line (yoffset) before printing it:
|
||||
float yoffadj = 0;
|
||||
VlnFlexGrid fg = new VlnFlexGrid(1, 1);
|
||||
fg.LoadGrid(itemInfo.Tables[0]);
|
||||
if (fg.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None) yoffadj = -SixLinesPerInch;
|
||||
if (itemInfo.Tables[0].IsTable)
|
||||
{
|
||||
VlnFlexGrid fg = new VlnFlexGrid(1, 1);
|
||||
fg.LoadGrid(itemInfo.Tables[0]);
|
||||
if (fg.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None) yoffadj = -SixLinesPerInch;
|
||||
}
|
||||
|
||||
if(!aerTableOrFigure && itemInfo.RNOLevel == 0) // Centered Table
|
||||
yoff = ChildrenBelow.Add(cb, itemInfo.Tables, XOffset, yOffRight + yoffadj, yOffRight + yoffadj, rnoLevel, maxRNO, formatInfo);
|
||||
|
Loading…
x
Reference in New Issue
Block a user