B2019-158 Added a format flag to turn off the bolding of the sub-section header. Used in the Barakah Single Column Format.
This commit is contained in:
parent
9e33d021eb
commit
f21c448739
@ -822,6 +822,27 @@ namespace VEPROMS.CSLA.Library
|
|||||||
parentFormat = parentFormat.PlantFormat.FormatData.MyParentFormat;
|
parentFormat = parentFormat.PlantFormat.FormatData.MyParentFormat;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Handle inheritance (step data may not be in current format, may inherit from parents):
|
||||||
|
if (!foundInCur && doInherit)
|
||||||
|
{
|
||||||
|
IFormatOrFormatInfo parentFormat = MyParentFormat;
|
||||||
|
bool foundit = false;
|
||||||
|
while (parentFormat != null && !foundit)
|
||||||
|
{
|
||||||
|
vlnIndexedFormatList<StepData> InheritedList = parentFormat.PlantFormat.FormatData.StepDataList;
|
||||||
|
foreach (StepData sd1 in InheritedList)
|
||||||
|
{
|
||||||
|
if (sd1.ParentType == topType.Type)
|
||||||
|
{
|
||||||
|
int tmpindx = DoListChildStepTypes(alwaysAdd, ref sds, sd1, curType, _CurItemInfo, ref cntitm, true);
|
||||||
|
if (sd1.Type == curType) retval = tmpindx;
|
||||||
|
if (retval < 0 && tmpindx > 0) retval = tmpindx;
|
||||||
|
foundit = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
parentFormat = parentFormat.PlantFormat.FormatData.MyParentFormat;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
@ -2580,6 +2601,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _OnlyUnderlineTopSect, "@OnlyUnderlineTopSect");
|
return LazyLoad(ref _OnlyUnderlineTopSect, "@OnlyUnderlineTopSect");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private LazyLoad<bool> _OnlyBoldTopSect;
|
||||||
|
public bool OnlyBoldTopSect
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _OnlyBoldTopSect, "@OnlyBoldTopSect");
|
||||||
|
}
|
||||||
|
}
|
||||||
private VE_Font _Font;
|
private VE_Font _Font;
|
||||||
public VE_Font Font
|
public VE_Font Font
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user