From 235b6f74727651cd68c76394f6618baa6597e451 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 6 Nov 2014 14:30:40 +0000 Subject: [PATCH] =?UTF-8?q?Added=20Print/HorizontalSubstep=20flag=20(defau?= =?UTF-8?q?lt=20to=20false).=20=20Was=20in=2016bit=20to=20flag=20footnotes?= =?UTF-8?q?=20for=20BGEVL=20(in=20addition=20to=20NotesToFootnotes=20Set?= =?UTF-8?q?=20HorizontalSubstep=20flag=20to=20true=20(for=20Note=20type=20?= =?UTF-8?q?as=20footnote)=20Added=20property=20=E2=80=98IsFootnote?= =?UTF-8?q?=E2=80=99;=20for=20Calvert=20formats:=20don=E2=80=99t=20bullet?= =?UTF-8?q?=20a=20single=20note/caution=20Added=20HorizontalSubstep=20flag?= =?UTF-8?q?=20Use=20=E2=80=98IsFootnote=E2=80=99=20property=20to=20determi?= =?UTF-8?q?ne=20if=20a=20note=20is=20a=20footnote.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Formats/fmtall/BASEall.xml | Bin 72490 -> 72544 bytes PROMS/Formats/fmtall/BGEVLall.xml | Bin 48526 -> 48614 bytes .../VEPROMS.CSLA.Library/Extension/ItemExt.cs | 16 +++++++++++++++- .../Format/PlantFormat.cs | 8 ++++++++ PROMS/Volian.Print.Library/vlnParagraph.cs | 7 +++---- 5 files changed, 26 insertions(+), 5 deletions(-) diff --git a/PROMS/Formats/fmtall/BASEall.xml b/PROMS/Formats/fmtall/BASEall.xml index a2e3188dad80f76da09fae44e1958a521e1a8dd2..51ad6883a7b30dda8ceeabed087719eb6a6e9553 100644 GIT binary patch delta 46 zcmZ3rjpe~MmJMA(!X6Cy3`Go?3{^lnkD-Jiks)XDRc+ _HorizontalSubsteps; + public bool HorizontalSubsteps + { + get + { + return LazyLoad(ref _HorizontalSubsteps, "@HorizontalSubsteps"); + } + } private LazyLoad _SpecialStepsFoldout; public bool SpecialStepsFoldout { diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index fab4db73..b04f41b2 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -80,7 +80,7 @@ namespace Volian.Print.Library { if(pp != null) pp.OnStatusChanged((iChildItemInfo.DisplayNumber ?? "") == "" ? iChildItemInfo.DisplayText : iChildItemInfo.DisplayNumber, PromsPrinterStatusType.LoadVlnParagraph); - if (iChildItemInfo.IsNote && iChildItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.NotesToFootnotes) + if (iChildItemInfo.IsFootnote) { vlnParagraph para = new vlnParagraph(Parent, cb, iChildItemInfo, xoff, yoff, rnoLevel, maxRNO, formatInfo, null, null, yoffRight, true, iChildItemInfo.IsSection ? pp :null); continue; // don't add it, vlnParagraph adds this item to the footnote vlntext list in ToPdf. @@ -2104,10 +2104,9 @@ namespace Volian.Print.Library Suffix = suffix; MyItemInfo = itemInfo; MyContentByte = cb; - if (itemInfo.IsNote && itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.NotesToFootnotes) + if (itemInfo.IsFootnote) { - // notestofootnoteshls may need to be a list, a hls can have more than one note - // should it be list of vlntext. + // notestofootnoteshls is a list, a hls can have more than one note if (MyPageHelper.NotesToFootNotesHLS.ContainsKey(itemInfo.MyHLS.ItemID)) MyPageHelper.NotesToFootNotesHLS[itemInfo.MyHLS.ItemID].Add(itemInfo.ItemID); else