Added Print/HorizontalSubstep flag (default to false). Was in 16bit to flag footnotes for BGEVL (in addition to NotesToFootnotes

Set HorizontalSubstep flag to true (for Note type as footnote)
Added property ‘IsFootnote’; for Calvert formats: don’t bullet a single note/caution
Added HorizontalSubstep flag
Use ‘IsFootnote’ property to determine if a note is a footnote.
This commit is contained in:
2014-11-06 14:30:40 +00:00
parent 32ddfbbce0
commit 235b6f7472
5 changed files with 26 additions and 5 deletions

View File

@@ -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