Added code to handle "other procedure" transition format type of Byron
This commit is contained in:
parent
c8618a23d4
commit
18827f4bca
@ -311,7 +311,7 @@ namespace Volian.Print.Library
|
||||
PdfPCell c = new PdfPCell(h);
|
||||
c.HorizontalAlignment = Element.ALIGN_LEFT;
|
||||
c.PaddingBottom = paddingBottom;
|
||||
if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
t.AddCell(c);
|
||||
//add from text
|
||||
h = new Phrase();
|
||||
@ -321,7 +321,7 @@ namespace Volian.Print.Library
|
||||
c = new PdfPCell(h);
|
||||
c.HorizontalAlignment = Element.ALIGN_LEFT;
|
||||
c.PaddingBottom = paddingBottom;
|
||||
if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
t.AddCell(c);
|
||||
//add to text
|
||||
h = new Phrase();
|
||||
@ -331,7 +331,7 @@ namespace Volian.Print.Library
|
||||
c = new PdfPCell(h);
|
||||
c.HorizontalAlignment = Element.ALIGN_LEFT;
|
||||
c.PaddingBottom = paddingBottom;
|
||||
if (lastLevel > 1 && !tranTypes[ti.TranType].Contains("{Proc")) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
if (lastLevel > 1 && (!tranTypes[ti.TranType].Contains("{Proc") && !tranTypes[ti.TranType].Contains("other procedure"))) c.BackgroundColor = new Color(System.Drawing.Color.LightCoral);
|
||||
t.AddCell(c);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user