Allow for multi-line step designators
This commit is contained in:
parent
97225f61b8
commit
61507043d4
@ -283,7 +283,8 @@ namespace Volian.Print.Library
|
|||||||
childItemInfo.IsCaution1 && childItemInfo.SameRowAsParent)
|
childItemInfo.IsCaution1 && childItemInfo.SameRowAsParent)
|
||||||
{
|
{
|
||||||
// Save the Step Designator information
|
// Save the Step Designator information
|
||||||
_StepDesignator = childItemInfo.DisplayText;
|
// SameRowAsParentMultiLine currently used in Comanche Peak EOP and Flex formats - handles a hard return in the caution type
|
||||||
|
_StepDesignator = ((childItemInfo.SameRowAsParentMultiLines) ? childItemInfo.MulitLineStepDesignatorDisplayText : childItemInfo.DisplayText);
|
||||||
int typ = ((int)childItemInfo.MyContent.Type) % 10000;
|
int typ = ((int)childItemInfo.MyContent.Type) % 10000;
|
||||||
_StepDesignatorColumn = formatInfo.PlantFormat.FormatData.StepDataList[typ].ColOverride;
|
_StepDesignatorColumn = formatInfo.PlantFormat.FormatData.StepDataList[typ].ColOverride;
|
||||||
E_Style es = (E_Style)childItemInfo.FormatStepData.Font.Style;
|
E_Style es = (E_Style)childItemInfo.FormatStepData.Font.Style;
|
||||||
@ -300,7 +301,7 @@ namespace Volian.Print.Library
|
|||||||
box = null;
|
box = null;
|
||||||
yoff += 1 * vlnPrintObject.SixLinesPerInch;
|
yoff += 1 * vlnPrintObject.SixLinesPerInch;
|
||||||
}
|
}
|
||||||
vlnParagraph para = new vlnParagraph(Parent, cb, childItemInfo, xoff, yoff, rnoLevel, maxRNO, formatInfo, null, null, yoffRight,true, pp);
|
vlnParagraph para = new vlnParagraph(Parent, cb, childItemInfo, xoff, yoff, rnoLevel, maxRNO, formatInfo, null, null, yoffRight, true, pp);
|
||||||
|
|
||||||
// if doing the component list (FNP), keep track of the bottom most columns' data
|
// if doing the component list (FNP), keep track of the bottom most columns' data
|
||||||
// so this can be returned after the row is done.
|
// so this can be returned after the row is done.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user