B2020-054: Equations in Chronology/Summary of changes reports print many lines of code
This commit is contained in:
		@@ -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);
 | 
				
			||||||
@@ -1538,8 +1538,11 @@ namespace Volian.Print.Library
 | 
				
			|||||||
					else
 | 
										else
 | 
				
			||||||
					{
 | 
										{
 | 
				
			||||||
						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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user