Continue development
VCB1 format: Only underline top section (if subsections) VCB1 format: Format flag to only underline top section (if subsections) VCB1: step widths
This commit is contained in:
@@ -2585,7 +2585,14 @@ namespace VEPROMS.CSLA.Library
|
||||
font = format.PlantFormat.FormatData.Font;
|
||||
break;
|
||||
case 1: // section
|
||||
font = format.PlantFormat.FormatData.SectData.SectionHeader.Font;
|
||||
if (format.PlantFormat.FormatData.SectData.SectionHeader.OnlyUnderlineTopSect && MyParent.IsSection)
|
||||
{
|
||||
VE_Font hdrFont = format.PlantFormat.FormatData.SectData.SectionHeader.Font;
|
||||
E_Style es = (E_Style)(hdrFont.Style & E_Style.Bold);
|
||||
font = new VE_Font(hdrFont.Family, (int)hdrFont.Size, es, (float)hdrFont.CPI);
|
||||
}
|
||||
else
|
||||
font = format.PlantFormat.FormatData.SectData.SectionHeader.Font;
|
||||
break;
|
||||
case 2: // step types
|
||||
int typindx = type - 20000; // what to do for other types rather than steps
|
||||
|
@@ -2033,6 +2033,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _Level0Big, "@Level0Big");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _OnlyUnderlineTopSect;
|
||||
public bool OnlyUnderlineTopSect
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _OnlyUnderlineTopSect, "@OnlyUnderlineTopSect");
|
||||
}
|
||||
}
|
||||
private VE_Font _Font;
|
||||
public VE_Font Font
|
||||
{
|
||||
|
Reference in New Issue
Block a user