B2020-054: Equations in Chronology/Summary of changes reports print many lines of code
This commit is contained in:
parent
ca4ce8b232
commit
0ef0a57945
@ -393,7 +393,7 @@ namespace Volian.Print.Library
|
|||||||
string txt = null;
|
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";
|
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";
|
txt = "Equation";
|
||||||
else
|
else
|
||||||
txt = ItemInfo.ConvertToDisplayText(cai.Text);
|
txt = ItemInfo.ConvertToDisplayText(cai.Text);
|
||||||
@ -1540,6 +1540,9 @@ namespace Volian.Print.Library
|
|||||||
string txt = null;
|
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";
|
txt = "Embedded Image";
|
||||||
|
// B2020-054: Always put out 'Equation' for equations in the summary report
|
||||||
|
else if (cai.Type > 20099)
|
||||||
|
txt = "Equation";
|
||||||
else
|
else
|
||||||
txt = ItemInfo.ConvertToDisplayText(cai.Text);
|
txt = ItemInfo.ConvertToDisplayText(cai.Text);
|
||||||
// Add Parent/Child information if applicable
|
// Add Parent/Child information if applicable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user