From a5f930391a38a13a40868b8f208e7c36757763ee Mon Sep 17 00:00:00 2001 From: John Date: Wed, 13 May 2015 17:24:39 +0000 Subject: [PATCH] Added LimitCautionNoteWidthToHLS flag to adjust the width of the cautions and notes when used off of a substep. Added OnlyBulletSameCautionNoteType to control the use of bullets when multiple notes/cautions (of different types) are used. --- .../Format/PlantFormat.cs | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 89d26b76..e2325cf9 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -2220,6 +2220,27 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BoldOnlySectionZero, "@BoldOnlySectionZero"); } } + // used in Ginna's Attachment format + // adjust the width of the Cautions and Note to not exend page the end of the HLS width + // ie, shorten the width if the Caution or Note is off of a sub-step + private LazyLoad _LimitCautionNoteWithToHLS; + public bool LimitCautionNoteWidthToHLS + { + get + { + return LazyLoad(ref _LimitCautionNoteWithToHLS, "@LimitCautionNoteWithToHLS"); + } + } + // Used in Ginn's Attachment format + // only bullet multiple Caution/Note types if they are exactly the same type (ex. CAUTION vs CAUTION1) + private LazyLoad _OnlyBulletSameCautionNoteType; + public bool OnlyBulletSameCautionNoteType + { + get + { + return LazyLoad(ref _OnlyBulletSameCautionNoteType, "@OnlyBulletSameCautionNoteType"); + } + } private LazyLoad _ImperfectStructure; public bool ImperfectStructure {