Fixed CopyItemAndChildren so that change bars are not changed for copied procedures.

Changed logic so that VE-PROMS source code can be located in either 16Bit or 16-Bit folders
This strips prerequisite step references from procedure text when printing
Recursive transitions cannot be added to procedure text.  If you try to add a transition to a step that contains the text of the step, you will be told that this is not permitted.
Default Change IDs were not being properly updated.
Added footer line to the debug rulers when creating a PDF.
Removed Prerequisite Step references in the PDF bookmarks
This commit is contained in:
Rich
2014-07-22 00:05:06 +00:00
parent b5bf9e85f0
commit a16ea8a6ac
6 changed files with 41 additions and 5 deletions

View File

@@ -409,6 +409,9 @@ namespace Volian.Print.Library
}
cb.SetLineWidth(.1F);
cb.Rectangle((float)layout.LeftMargin, yTop, (float)layout.PageWidth - (float)layout.LeftMargin, yBottom - yTop);
float yFooter = yBottom+(float)layout.FooterLength;
cb.MoveTo((float)layout.LeftMargin,yFooter);
cb.LineTo((float)layout.PageWidth, yFooter);
float yRuler = 612;
cb.MoveTo(0, yRuler);
cb.LineTo(612, yRuler);
@@ -465,7 +468,7 @@ namespace Volian.Print.Library
foreach (PageBookmark pb in PageBookmarks)
{
if (!pb.MyItemInfo.IsSection && MyPdfOutline != null)
new PdfOutline(MyPdfOutline, pb.PdfDestination, pb.Title, false);
new PdfOutline(MyPdfOutline, pb.PdfDestination,Regex.Replace(pb.Title, @"\\{Prerequisite Step: .*?\\}", ""), false);
else
{
PdfDestination dest = new PdfDestination(PdfDestination.FIT);
@@ -1015,7 +1018,7 @@ namespace Volian.Print.Library
}
if (val != null && val != "" && !PgLogicals.ContainsKey(pstok)) PgLogicals.Add(pstok, val != null);
//if (val == null || val == "")
//val = " ";
//val = " ";
if (val == null)
val = "";
plstr = plstr.Replace(token, val);