BGE – phone list edit support

For BGE
BGE – phone list support
BGE – account for phone list size when paginating
BGE – phone list support & fixes for auto Table of Contents
This commit is contained in:
2014-05-12 15:46:00 +00:00
parent b4a055327a
commit c29bec4903
9 changed files with 1076 additions and 715 deletions

View File

@@ -56,6 +56,11 @@ namespace Volian.Print.Library
// procedure in questions was VEWCNEMG\EMGAPP.PRC, ES-01, Step 8.
float yEndMsg = !_skipEndMessage && !MyItemInfo.IsSection && MyItemInfo.MyHLS != null && MyItemInfo.MyHLS.NextItem == null && (MyItemInfo.MyDocStyle.End.Message ?? "") != "" ? 2 * SixLinesPerInch : 0;
// also consider if there is a phone list at the bottom of the page, add the amount of space the phone
// list requires onto yEndMsg to make it easier to figure out pagination.
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.PrintPhoneList)
yEndMsg += MyPageHelper.PhoneListHeight;
// The following code is to fix a pagination issue in SHE. It was decided to not put it into development
// because some of the pagination logic may be redesigned. Without this fix, some pages had a page break
// before they should. I did not want to lose this code, in case at some point we want to revisit this.