B2020-054: Equations in Chronology/Summary of changes reports print many lines of code

This commit is contained in:
Kathy Ruffing 2020-04-14 13:19:05 +00:00
parent ca4ce8b232
commit 0ef0a57945

View File

@ -393,7 +393,7 @@ namespace Volian.Print.Library
string txt = null;
if ((cai.Text==null || cai.Text=="") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039))
txt = "Embedded Image";
else if ((cai.Text == null || cai.Text == "") && (cai.Type > 20099))
else if (cai.Type > 20099) // B2020-054: Always put out 'Equation' (removed checking for null text)
txt = "Equation";
else
txt = ItemInfo.ConvertToDisplayText(cai.Text);
@ -1538,8 +1538,11 @@ namespace Volian.Print.Library
else
{
string txt = null;
if ((cai.Text==null || cai.Text=="") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039))
if ((cai.Text == null || cai.Text == "") && (cai.Type == 20036 || cai.Type == 20037 || cai.Type == 20038 || cai.Type == 20039))
txt = "Embedded Image";
// B2020-054: Always put out 'Equation' for equations in the summary report
else if (cai.Type > 20099)
txt = "Equation";
else
txt = ItemInfo.ConvertToDisplayText(cai.Text);
// Add Parent/Child information if applicable