Use vlnParagraph for footnotes so that Change Bars will print (rather than vlnText)
Fixed change bar message writing on top of each other (for ‘ChangeIds’ change bar messages)
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Volian.Print.Library
|
||||
// is a single column section.
|
||||
//bool _skipEndMessage = MyPageHelper.MySection.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
SectionInfo si = MyItemInfo.MyActiveSection as SectionInfo;
|
||||
bool _skipEndMessage = si.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
bool _skipEndMessage = si != null && si.SectionConfig.Section_ColumnMode == SectionConfig.SectionColumnMode.One && !MyItemInfo.ActiveFormat.MyStepSectionLayoutData.EndForSingle;
|
||||
|
||||
// TODO: This does not account for a long step as the last step that would exceed more than one page and
|
||||
// that has an end message that needs to be accounted for in determining pagination. To do that the last
|
||||
@@ -174,9 +174,9 @@ namespace Volian.Print.Library
|
||||
bool doSectionTitleContinued = false;
|
||||
if (MyPageHelper.NotesToFootNotes != null && MyPageHelper.NotesToFootNotes.Count > 0)
|
||||
{
|
||||
float vtnHeight = SixLinesPerInch;
|
||||
foreach (vlnText vtn in MyPageHelper.NotesToFootNotes) vtnHeight += vtn.Height;
|
||||
yEndMsg += vtnHeight; // * vlnPrintObject.SixLinesPerInch);
|
||||
float vpHeight = SixLinesPerInch;
|
||||
foreach (vlnParagraph vp in MyPageHelper.NotesToFootNotes) vpHeight += vp.Height;
|
||||
yEndMsg += vpHeight;
|
||||
}
|
||||
if (MyItemInfo.MyPrevious != null && !MyItemInfo.IsSection && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader)
|
||||
{
|
||||
|
Reference in New Issue
Block a user