Added Express format flag; adjust tabs/indents for section, subsection, step and substeps; flag warnings as separate from notes & make boxes different between Notes/Cautions/Warnings

Proms Express: Adjust PrintLevel (of steps) for tabs
Proms Express: Added Express flag
Proms Express: Put out message when user adds substep that is greater than a level of 4
Proms Express: If a section doesn’t have text & in Proms Express, don’t put out ‘No Section Content’ message
This commit is contained in:
2015-08-05 12:55:50 +00:00
parent 94a1c4289b
commit 9e0b85c5ac
5 changed files with 31 additions and 4 deletions

View File

@@ -3331,8 +3331,8 @@ namespace VEPROMS.CSLA.Library
if (sd.StepSectionLayoutData.ShowSectionTitles
&& !MyDocStyle.CancelSectTitle
&& !(MyDocStyle.SpecialStepsFoldout && MyDocStyle.UseColSByLevel))
localPrintLevel = PrintLevel + CurrentSectionLevel();
doMeta = true;
localPrintLevel = PrintLevel + ((ActiveFormat.PlantFormat.FormatData.Express && IsSequential) ? 0 : CurrentSectionLevel());
if (!ActiveFormat.PlantFormat.FormatData.Express) doMeta = true;
}
SeqTabFmtList seqtabs = ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.SeqTabFmtList;
// Start with basic cases of alpha/numeric/seq:

View File

@@ -179,6 +179,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _Name, "@Name");
}
}
private LazyLoad<bool> _Express;
public bool Express
{
get
{
return LazyLoad(ref _Express, "@Express");
}
}
private LazyLoad<bool> _SpecificInfo;
public bool SpecificInfo
{
@@ -4000,6 +4008,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _ReadOnly, "@ReadOnly");
}
}
//private LazyLoad<bool> _SeparateWarning; // KBR: To be used for Proms Express to separate out warnings from notes/cautions on ribbon, etc
//public bool SeparateWarning
//{
// get
// {
// return LazyLoad(ref _SeparateWarning, "@SeparateWarning");
// }
//}
private LazyLoad<bool> _Inactive;
public bool Inactive
{