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:
@@ -118,12 +118,14 @@ namespace Volian.Controls.Library
|
||||
_FieldToEdit = fieldToEdit;
|
||||
_MyItemInfo = itemInfo;
|
||||
OriginalText = InfoText;
|
||||
if (OriginalText.Contains("Prerequisite"))
|
||||
OriginalText = Regex.Replace(OriginalText, @"\\{Prerequisite Step: .*?\\}", "");
|
||||
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
||||
// if in print mode, and this is the HLS of a smart template (checklist formats), add a space before and
|
||||
// after the HLS text - this allows for the vertical bar characters to be added.
|
||||
//if (itemInfo.IsStep && itemInfo.FormatStepData.UseSmartTemplate && epMode == E_EditPrintMode.Print) Console.WriteLine("here");
|
||||
string addSpace = (itemInfo.IsStep && itemInfo.FormatStepData.UseSmartTemplate && epMode == E_EditPrintMode.Print) ? " " : "";
|
||||
string text = prefix + addSpace + InfoText + addSpace + suffix;
|
||||
string text = prefix + addSpace + OriginalText + addSpace + suffix;
|
||||
_MyFormat = itemInfo.ActiveFormat;
|
||||
|
||||
bool tableShouldBeOutlined = (epMode == E_EditPrintMode.Print || vwMode == E_ViewMode.View || noEdit) &&
|
||||
|
Reference in New Issue
Block a user