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:
@@ -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:
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user