Use memory data rather than database for finding next item (fixes problem where next item is not ‘applicable’ for procedure being printed
Add support for Point Beach asterisk boxes (and the boxes bold font)
This commit is contained in:
@@ -851,14 +851,15 @@ namespace Volian.Print.Library
|
||||
else if(!myItemInfo.MyDocStyle.OptionalSectionContent)
|
||||
PrintTextMessage(cb, "No Section Content", _TextLayer);
|
||||
SectionConfig.SectionPagination sp = SectionConfig.SectionPagination.Separate; // always the default
|
||||
if ( section.NextItemCount > 0)
|
||||
ItemInfo nxtItem = section.GetNextItem();
|
||||
if (nxtItem != null)
|
||||
{
|
||||
SectionInfo tmpii = SectionInfo.Get(section.NextItem.ItemID);
|
||||
// if this section & the next section are not accessory pages, see if there is continuous pagination,
|
||||
// i.e. no page break between them.
|
||||
if (section.IsStepSection && tmpii.IsStepSection)
|
||||
if (section.IsStepSection && nxtItem.IsStepSection)
|
||||
{
|
||||
SectionConfig sc = tmpii.SectionConfig;
|
||||
SectionInfo si = nxtItem as SectionInfo;
|
||||
SectionConfig sc = si.SectionConfig;
|
||||
try
|
||||
{
|
||||
if (sc != null) sp = sc.Section_Pagination;
|
||||
|
Reference in New Issue
Block a user