B2018-022: Added flag ‘SupInfoIncludeParTab’ to control whether parent tab is included as part of tab for supinfo
B2018-022: Use flag ‘SupInfoIncludeParTab’ to control whether parent tab is included as part of tab for supinfo
This commit is contained in:
@@ -4304,7 +4304,13 @@ namespace Volian.Print.Library
|
||||
else if (itemInfo.MyParent.IsNote)
|
||||
strmytab = "Note";
|
||||
else
|
||||
strmytab = ItemInfo.GetCombinedTab(itemInfo.MyParent, itemInfo.MyParent.MyParent.CombinedTab);
|
||||
{
|
||||
// B2018-022: use flag to determine whether to pre-pend the parent's tab as part of the supplemental info tab
|
||||
// (if the procedure tab is long, such as in Farley, the tab overwrites text in the supplemental info pages)
|
||||
strmytab = itemInfo.ActiveSection.ActiveFormat.PlantFormat.FormatData.PrintData.SupInfoIncludeParTab
|
||||
? ItemInfo.GetCombinedTab(itemInfo.MyParent, itemInfo.MyParent.MyParent.CombinedTab)
|
||||
: itemInfo.MyTab.CleanText;
|
||||
}
|
||||
strmytab = strmytab.Trim();
|
||||
mytab = new vlnTab(cb, this, strmytab, strmytab, localXOffset, yoff, itemInfo.MyTab.MyFont, doSectTab, StepRTB.MySymbolFontName, itemInfo.MyTab.RemovedStyleUnderline);
|
||||
return mytab;
|
||||
|
Reference in New Issue
Block a user