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:
parent
f972efc6a1
commit
a0b6b8a8ce
@ -3600,6 +3600,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _SingleColumnRNOIndent, "@SingleColumnRNOIndent");
|
return LazyLoad(ref _SingleColumnRNOIndent, "@SingleColumnRNOIndent");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private LazyLoad<int?> _OverrideTableTopIndent;
|
||||||
|
public int? OverrideTableTopIndent
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _OverrideTableTopIndent, "@OverrideTableTopIndent");
|
||||||
|
}
|
||||||
|
}
|
||||||
private LazyLoad<string> _ColRTable;
|
private LazyLoad<string> _ColRTable;
|
||||||
public string ColRTable
|
public string ColRTable
|
||||||
{
|
{
|
||||||
|
@ -1029,6 +1029,9 @@ public string Path
|
|||||||
int topPlacementAdjust = (myCell.MyPara.Font.Size == 12 &&
|
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
|
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);
|
myCell.ToPdf(myColumnText, left, top, topPlacementAdjust);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user