If the current section is a foldout, then make the Link a remote link since the rest of the procedure is not part of the foldout page.

Import Links from the Foldout PDF.
This commit is contained in:
Rich
2016-02-25 19:46:34 +00:00
parent c7c8d7f4ec
commit f1f71e06bf
2 changed files with 15 additions and 3 deletions

View File

@@ -954,7 +954,8 @@ namespace Volian.Print.Library
{
TransitionInfo ti = MyItemInfo.MyContent.ContentTransitions[0];
ItemInfo tiDefault = GetDefaultItemInfo(ti.MyItemToID);
if (ti.MyItemToID.MyProcedure.ItemID == MyItemInfo.MyProcedure.ItemID)
if (ti.MyItemToID.MyProcedure.ItemID == MyItemInfo.MyProcedure.ItemID &&
! MyItemInfo.ActiveSection.DisplayNumber.ToUpper().StartsWith("FOLDOUT"))
{ // Local Go To
if (ti.MyItemToID.MyContent.Type > 19999)
foreach (Chunk chk in IParagraph.Chunks)