B2020-140 Added a format variable to Wolf Creek to override the placement of text table cells to correct placement of checkboxes in table cells
This commit is contained in:
@@ -1027,8 +1027,11 @@ public string Path
|
||||
// / Current (Post FLEX) - U1 NOP NOT [EOPs] - ES-3.3.SProcedure Body.S9..S1..S1..T1.
|
||||
// Table did not print properly. Cell text was truncated.
|
||||
int topPlacementAdjust = (myCell.MyPara.Font.Size == 12 &&
|
||||
myCell.MyPara.Font.Familyname != "Courier New" &&
|
||||
myCell.MyPara.Font.Familyname != "Courier New" &&
|
||||
myCell.MyPara.Font.Familyname != "VESymbFix") ? 1 : 3; // for font size of 12 set to one, else set to 3
|
||||
// B2020-140 for Wolf Creek check boxes in tables were printing too hight in the table cells - added format variable to overide topPlacementAdjust
|
||||
if (myCell.MyPara !=null && ItemInfo.Get(myCell.MyTable.ItemID).ActiveFormat.MyStepSectionLayoutData.OverrideTableTopIndent != null)
|
||||
topPlacementAdjust = (int)ItemInfo.Get(myCell.MyTable.ItemID).ActiveFormat.MyStepSectionLayoutData.OverrideTableTopIndent;
|
||||
myCell.ToPdf(myColumnText, left, top, topPlacementAdjust);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user