This commit is contained in:
@@ -95,6 +95,7 @@ namespace Volian.Controls.Library
|
||||
get { return _textFont; }
|
||||
set { _textFont = value; }
|
||||
}
|
||||
private bool PrintingSmartTemplate = false;
|
||||
public string StartText;
|
||||
public string OriginalText; // compare for save to see if change for links.
|
||||
private FormatInfo _MyFormat;
|
||||
@@ -118,7 +119,11 @@ namespace Volian.Controls.Library
|
||||
_MyItemInfo = itemInfo;
|
||||
OriginalText = InfoText;
|
||||
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
||||
string text = prefix + InfoText + suffix;
|
||||
// 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;
|
||||
_MyFormat = itemInfo.ActiveFormat;
|
||||
|
||||
bool tableShouldBeOutlined = (epMode == E_EditPrintMode.Print || vwMode == E_ViewMode.View || noEdit) &&
|
||||
|
Reference in New Issue
Block a user