Resource file for DisplayHistory control
added improvements to All Procedure Inconsistencies Report
This commit is contained in:
		
							
								
								
									
										167
									
								
								PROMS/Volian.Controls.Library/DisplayHistory.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										167
									
								
								PROMS/Volian.Controls.Library/DisplayHistory.resx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,167 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<root>
 | 
			
		||||
  <!-- 
 | 
			
		||||
    Microsoft ResX Schema 
 | 
			
		||||
    
 | 
			
		||||
    Version 2.0
 | 
			
		||||
    
 | 
			
		||||
    The primary goals of this format is to allow a simple XML format 
 | 
			
		||||
    that is mostly human readable. The generation and parsing of the 
 | 
			
		||||
    various data types are done through the TypeConverter classes 
 | 
			
		||||
    associated with the data types.
 | 
			
		||||
    
 | 
			
		||||
    Example:
 | 
			
		||||
    
 | 
			
		||||
    ... ado.net/XML headers & schema ...
 | 
			
		||||
    <resheader name="resmimetype">text/microsoft-resx</resheader>
 | 
			
		||||
    <resheader name="version">2.0</resheader>
 | 
			
		||||
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 | 
			
		||||
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 | 
			
		||||
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 | 
			
		||||
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 | 
			
		||||
        <value>[base64 mime encoded serialized .NET Framework object]</value>
 | 
			
		||||
    </data>
 | 
			
		||||
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 | 
			
		||||
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 | 
			
		||||
        <comment>This is a comment</comment>
 | 
			
		||||
    </data>
 | 
			
		||||
                
 | 
			
		||||
    There are any number of "resheader" rows that contain simple 
 | 
			
		||||
    name/value pairs.
 | 
			
		||||
    
 | 
			
		||||
    Each data row contains a name, and value. The row also contains a 
 | 
			
		||||
    type or mimetype. Type corresponds to a .NET class that support 
 | 
			
		||||
    text/value conversion through the TypeConverter architecture. 
 | 
			
		||||
    Classes that don't support this are serialized and stored with the 
 | 
			
		||||
    mimetype set.
 | 
			
		||||
    
 | 
			
		||||
    The mimetype is used for serialized objects, and tells the 
 | 
			
		||||
    ResXResourceReader how to depersist the object. This is currently not 
 | 
			
		||||
    extensible. For a given mimetype the value must be set accordingly:
 | 
			
		||||
    
 | 
			
		||||
    Note - application/x-microsoft.net.object.binary.base64 is the format 
 | 
			
		||||
    that the ResXResourceWriter will generate, however the reader can 
 | 
			
		||||
    read any of the formats listed below.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.binary.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.soap.base64
 | 
			
		||||
    value   : The object must be serialized with 
 | 
			
		||||
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
 | 
			
		||||
    mimetype: application/x-microsoft.net.object.bytearray.base64
 | 
			
		||||
    value   : The object must be serialized into a byte array 
 | 
			
		||||
            : using a System.ComponentModel.TypeConverter
 | 
			
		||||
            : and then encoded with base64 encoding.
 | 
			
		||||
    -->
 | 
			
		||||
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 | 
			
		||||
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
 | 
			
		||||
    <xsd:element name="root" msdata:IsDataSet="true">
 | 
			
		||||
      <xsd:complexType>
 | 
			
		||||
        <xsd:choice maxOccurs="unbounded">
 | 
			
		||||
          <xsd:element name="metadata">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" use="required" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="assembly">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:attribute name="alias" type="xsd:string" />
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="data">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
 | 
			
		||||
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 | 
			
		||||
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 | 
			
		||||
              <xsd:attribute ref="xml:space" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
          <xsd:element name="resheader">
 | 
			
		||||
            <xsd:complexType>
 | 
			
		||||
              <xsd:sequence>
 | 
			
		||||
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 | 
			
		||||
              </xsd:sequence>
 | 
			
		||||
              <xsd:attribute name="name" type="xsd:string" use="required" />
 | 
			
		||||
            </xsd:complexType>
 | 
			
		||||
          </xsd:element>
 | 
			
		||||
        </xsd:choice>
 | 
			
		||||
      </xsd:complexType>
 | 
			
		||||
    </xsd:element>
 | 
			
		||||
  </xsd:schema>
 | 
			
		||||
  <resheader name="resmimetype">
 | 
			
		||||
    <value>text/microsoft-resx</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="version">
 | 
			
		||||
    <value>2.0</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="reader">
 | 
			
		||||
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <resheader name="writer">
 | 
			
		||||
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 | 
			
		||||
  </resheader>
 | 
			
		||||
  <data name="myVFG.MyBorderDetailString" xml:space="preserve">
 | 
			
		||||
    <value><?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<VlnBorders Rows="4" Columns="3">
 | 
			
		||||
  <VerticalLines Rows="4" Columns="4">
 | 
			
		||||
    <Lines>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
    </Lines>
 | 
			
		||||
  </VerticalLines>
 | 
			
		||||
  <HorizontalLines Rows="5" Columns="3">
 | 
			
		||||
    <Lines>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
      <GridLinePattern>Single</GridLinePattern>
 | 
			
		||||
    </Lines>
 | 
			
		||||
  </HorizontalLines>
 | 
			
		||||
</VlnBorders></value>
 | 
			
		||||
  </data>
 | 
			
		||||
  <data name="myVFG.StyleInfo" xml:space="preserve">
 | 
			
		||||
    <value>Normal{Font:Microsoft Sans Serif, 8.25pt;BackColor:White;TextAlign:LeftTop;Border:Flat,1,Black,Both;}	Alternate{BackColor:White;}	Fixed{BackColor:Control;ForeColor:ControlText;Border:Flat,1,ControlDark,Both;BackgroundImageLayout:Hide;}	Highlight{BackColor:LightCyan;ForeColor:Black;}	Focus{BackColor:LightCyan;}	Editor{}	Search{BackColor:Highlight;ForeColor:HighlightText;}	Frozen{BackColor:Beige;}	NewRow{ForeColor:GrayText;}	EmptyArea{BackColor:Transparent;Border:None,1,Black,Both;}	SelectedColumnHeader{}	SelectedRowHeader{}	GrandTotal{BackColor:Black;ForeColor:White;}	Subtotal0{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal1{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal2{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal3{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal4{BackColor:ControlDarkDark;ForeColor:White;}	Subtotal5{BackColor:ControlDarkDark;ForeColor:White;}	FilterEditor{}	FirstCustomStyle{}	</value>
 | 
			
		||||
  </data>
 | 
			
		||||
</root>
 | 
			
		||||
@@ -288,7 +288,8 @@ namespace Volian.Print.Library
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
			{
 | 
			
		||||
				Dictionary<string, List<string>> ros = new Dictionary<string, List<string>>();
 | 
			
		||||
//				Dictionary<string, List<string>> ros = new Dictionary<string, List<string>>();
 | 
			
		||||
				Dictionary<string, Dictionary<string, bool>> ros = new Dictionary<string, Dictionary<string, bool>>();
 | 
			
		||||
				ROFSTLookup lu = MyItemInfoList[0].MyDocVersion.DocVersionAssociations[0].MyROFst.ROFSTLookup;
 | 
			
		||||
				if (types.ContainsKey(0))
 | 
			
		||||
				{
 | 
			
		||||
@@ -299,22 +300,24 @@ namespace Volian.Print.Library
 | 
			
		||||
							ROFSTLookup.rochild rocc = lu.GetRoChild12(roc.ROID);
 | 
			
		||||
							if (rocc.type == 1)
 | 
			
		||||
							{
 | 
			
		||||
								string rotitle = string.Format("{0} - {1}", lu.GetROTitle(roc.ROID), lu.GetRoValue(roc.ROID).Replace('`','\xb0'));
 | 
			
		||||
								string newROValue = lu.GetRoValue(roc.ROID).Replace('`', '\xb0');
 | 
			
		||||
								string rotitle = string.Format("{0} - Current Version:  {1}", lu.GetROTitle(roc.ROID), lu.GetRoValue(roc.ROID).Replace('`','\xb0'));
 | 
			
		||||
								if (ros.ContainsKey(rotitle))
 | 
			
		||||
								{
 | 
			
		||||
									ros[rotitle].Add(string.Format("Procedure {0} has an ROValue of: {1}", pi.DisplayNumber, roc.ROValue));
 | 
			
		||||
									ros[rotitle].Add(string.Format("Procedure {0} has an ROValue of: {1}", pi.DisplayNumber, roc.ROValue),roc.ROValue == newROValue);
 | 
			
		||||
								}
 | 
			
		||||
								else
 | 
			
		||||
								{
 | 
			
		||||
									ros.Add(rotitle, new List<string>());
 | 
			
		||||
									ros[rotitle].Add(string.Format("Procedure {0} has an ROValue of: {1}", pi.DisplayNumber, roc.ROValue));
 | 
			
		||||
									ros.Add(rotitle, new Dictionary<string,bool>());
 | 
			
		||||
									ros[rotitle].Add(string.Format("Procedure {0} has an ROValue of: {1}", pi.DisplayNumber, roc.ROValue),roc.ROValue == newROValue);
 | 
			
		||||
								}
 | 
			
		||||
							}
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
//jcb
 | 
			
		||||
				Dictionary<string, List<string>> trs = new Dictionary<string, List<string>>();
 | 
			
		||||
				Dictionary<string, Dictionary<string, bool>> trs = new Dictionary<string, Dictionary<string, bool>>();
 | 
			
		||||
				//Dictionary<string, List<string>> trs = new Dictionary<string, List<string>>();
 | 
			
		||||
				if (types.ContainsKey(1))
 | 
			
		||||
				{
 | 
			
		||||
					foreach (ProcedureInfo pi in MyItemInfoList)
 | 
			
		||||
@@ -322,21 +325,29 @@ namespace Volian.Print.Library
 | 
			
		||||
						foreach (TransitionCheck trc in pi.MyDifferences.TransitionConsistency.MyTransitionChecks)
 | 
			
		||||
						{
 | 
			
		||||
							TransitionInfo ti = TransitionInfo.Get(trc.TransitionID);
 | 
			
		||||
							string trtitle = "From Procedure " + ti.MyContent.ContentItems[0].Path;
 | 
			
		||||
							string fromText = ti.MyContent.Text;
 | 
			
		||||
							//GO TO \\v <START]\\v0 0POP05\\u8209?EO\\u8209?EO10, LOSS OF REACTOR OR SECONDARY COOLANT, Step 21\\v #Link:Transition:0 1182 1864[END>\\v0
 | 
			
		||||
							MatchCollection mc = Regex.Matches(fromText, @"\<START.*? (.*?)\\v #Link:Transition:[0-9]+ ([0-9]+) .*?\[END\>");
 | 
			
		||||
							foreach (Match m in mc)
 | 
			
		||||
								if (m.Groups[2].Value == ti.TransitionID.ToString())
 | 
			
		||||
									fromText = ItemInfo.ConvertToDisplayText(m.Groups[1].Value);
 | 
			
		||||
							string newValue = ti.MyContent.ContentItems[0].Path + "\r\nCurrent Version:  " + fromText;
 | 
			
		||||
							string trtitle = "From Procedure " + newValue;
 | 
			
		||||
							if (trs.ContainsKey(trtitle))
 | 
			
		||||
							{
 | 
			
		||||
								trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)));
 | 
			
		||||
								trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)), ItemInfo.ConvertToDisplayText(trc.TransitionValue) == fromText);
 | 
			
		||||
							}
 | 
			
		||||
							else
 | 
			
		||||
							{
 | 
			
		||||
								trs.Add(trtitle, new List<string>());
 | 
			
		||||
								trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)));
 | 
			
		||||
								trs.Add(trtitle, new Dictionary<string,bool>());
 | 
			
		||||
								trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)), ItemInfo.ConvertToDisplayText(trc.TransitionValue) == fromText);
 | 
			
		||||
							}
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
//end jcb
 | 
			
		||||
				Dictionary<string, List<string>> lds = new Dictionary<string, List<string>>();
 | 
			
		||||
				Dictionary<string, Dictionary<string, bool>> lds = new Dictionary<string, Dictionary<string, bool>>();
 | 
			
		||||
				//Dictionary<string, List<string>> lds = new Dictionary<string, List<string>>();
 | 
			
		||||
				if (types.ContainsKey(2))
 | 
			
		||||
				{
 | 
			
		||||
					foreach (ProcedureInfo pi in MyItemInfoList)
 | 
			
		||||
@@ -344,19 +355,22 @@ namespace Volian.Print.Library
 | 
			
		||||
						foreach (LibDocCheck ldc in pi.MyDifferences.LibDocConsistency.MyLibDocChecks)
 | 
			
		||||
						{
 | 
			
		||||
							DocumentInfo di = DocumentInfo.Get(ldc.DocID);
 | 
			
		||||
							string ldtitle = string.Format("{0} - {1}", di.DocumentTitle, di.DTS.ToString());
 | 
			
		||||
							string newValue = di.DTS.ToString();
 | 
			
		||||
							string ldtitle = string.Format("{0} - Current Version:  {1}", di.DocumentTitle, di.DTS.ToString());
 | 
			
		||||
							if (lds.ContainsKey(ldtitle))
 | 
			
		||||
							{
 | 
			
		||||
								lds[ldtitle].Add(string.Format("Procedure {0} has a Document Date of: {1}", pi.DisplayNumber, ldc.DocDate.ToString()));
 | 
			
		||||
								lds[ldtitle].Add(string.Format("Procedure {0} has a Document Date of: {1}", pi.DisplayNumber, ldc.DocDate.ToString()),ldc.DocDate.ToString() == newValue);
 | 
			
		||||
							}
 | 
			
		||||
							else
 | 
			
		||||
							{
 | 
			
		||||
								lds.Add(ldtitle, new List<string>());
 | 
			
		||||
								lds[ldtitle].Add(string.Format("Procedure {0} has a Document Date of: {1}", pi.DisplayNumber, ldc.DocDate.ToString()));
 | 
			
		||||
								lds.Add(ldtitle, new Dictionary<string,bool>());
 | 
			
		||||
								lds[ldtitle].Add(string.Format("Procedure {0} has a Document Date of: {1}", pi.DisplayNumber, ldc.DocDate.ToString()), ldc.DocDate.ToString() == newValue);
 | 
			
		||||
							}
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
				Color goodColor = new Color(System.Drawing.Color.PaleGreen);
 | 
			
		||||
				Color badColor = new Color(System.Drawing.Color.Khaki);
 | 
			
		||||
				if (types.ContainsKey(0))
 | 
			
		||||
				{
 | 
			
		||||
					h = new Phrase();
 | 
			
		||||
@@ -373,14 +387,19 @@ namespace Volian.Print.Library
 | 
			
		||||
						h.Add(rotitle);
 | 
			
		||||
						c = new PdfPCell(h);
 | 
			
		||||
						c.Colspan = cols - 1;
 | 
			
		||||
						c.BackgroundColor = goodColor;
 | 
			
		||||
						t.AddCell(c);
 | 
			
		||||
						foreach (string s in ros[rotitle])
 | 
			
		||||
						foreach (KeyValuePair<string,bool> d in ros[rotitle])
 | 
			
		||||
						{
 | 
			
		||||
							t.AddCell(BlankCell(2));
 | 
			
		||||
							h = new Phrase();
 | 
			
		||||
							h.Font = f3;
 | 
			
		||||
							h.Add(s);
 | 
			
		||||
							h.Add(d.Key);
 | 
			
		||||
							c = new PdfPCell(h);
 | 
			
		||||
							if (d.Value)
 | 
			
		||||
								c.BackgroundColor = goodColor;
 | 
			
		||||
							else
 | 
			
		||||
								c.BackgroundColor = badColor;
 | 
			
		||||
							t.AddCell(c);
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
@@ -402,14 +421,19 @@ namespace Volian.Print.Library
 | 
			
		||||
						h.Add(trtitle);
 | 
			
		||||
						c = new PdfPCell(h);
 | 
			
		||||
						c.Colspan = cols - 1;
 | 
			
		||||
						c.BackgroundColor = goodColor;
 | 
			
		||||
						t.AddCell(c);
 | 
			
		||||
						foreach (string s in trs[trtitle])
 | 
			
		||||
						foreach (KeyValuePair<string, bool> d in trs[trtitle])
 | 
			
		||||
						{
 | 
			
		||||
							t.AddCell(BlankCell(2));
 | 
			
		||||
							h = new Phrase();
 | 
			
		||||
							h.Font = f3;
 | 
			
		||||
							h.Add(s);
 | 
			
		||||
							h.Add(d.Key);
 | 
			
		||||
							c = new PdfPCell(h);
 | 
			
		||||
							if (d.Value)
 | 
			
		||||
								c.BackgroundColor = goodColor;
 | 
			
		||||
							else
 | 
			
		||||
								c.BackgroundColor = badColor;
 | 
			
		||||
							t.AddCell(c);
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
@@ -431,14 +455,19 @@ namespace Volian.Print.Library
 | 
			
		||||
						h.Add(ldtitle);
 | 
			
		||||
						c = new PdfPCell(h);
 | 
			
		||||
						c.Colspan = cols - 1;
 | 
			
		||||
						c.BackgroundColor = goodColor;
 | 
			
		||||
						t.AddCell(c);
 | 
			
		||||
						foreach (string s in lds[ldtitle])
 | 
			
		||||
						foreach (KeyValuePair<string, bool> d in lds[ldtitle])
 | 
			
		||||
						{
 | 
			
		||||
							t.AddCell(BlankCell(2));
 | 
			
		||||
							h = new Phrase();
 | 
			
		||||
							h.Font = f3;
 | 
			
		||||
							h.Add(s);
 | 
			
		||||
							h.Add(d.Key);
 | 
			
		||||
							c = new PdfPCell(h);
 | 
			
		||||
							if (d.Value)
 | 
			
		||||
								c.BackgroundColor = goodColor;
 | 
			
		||||
							else
 | 
			
		||||
								c.BackgroundColor = badColor;
 | 
			
		||||
							t.AddCell(c);
 | 
			
		||||
						}
 | 
			
		||||
					}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user