Added logic to handle RO Database that have the same Setpoint ID value in multiple tables – this affect reporting on all RO Databases, sorting by Setoint ID
Fixed underline logic for instances where the underline ON is the first thing of text. Added better error handling for X/Y Plots which is now display the plot language if the plot cannot be drawn. When a problem occurs printing an image or x/y plot, the error text now prints in red. Better handling of empty RO Database tables. Now will print the message “—No Information Entered –“
This commit is contained in:
@@ -1257,8 +1257,19 @@ namespace Volian.Print.Library
|
||||
private void ProcessROdb(PdfPTable datatable, iTextSharp.text.Font f2, iTextSharp.text.Font f3, ref PdfPCell cell, ref string lastROID, ref List<string> prevROTitleList, ref int lastDBindex, string cROID)
|
||||
{
|
||||
ROFSTLookup.rodbi roDBI = _ROFSTLookup.GetRODatabase(cROID);
|
||||
foreach (ROFSTLookup.rochild cld in roDBI.children)
|
||||
ProcessROChild(datatable, f2, f3, ref cell, ref lastROID, ref prevROTitleList, ref lastDBindex, cld);
|
||||
if (roDBI.children != null)
|
||||
foreach (ROFSTLookup.rochild cld in roDBI.children)
|
||||
ProcessROChild(datatable, f2, f3, ref cell, ref lastROID, ref prevROTitleList, ref lastDBindex, cld);
|
||||
else
|
||||
{
|
||||
ProcessROID(datatable, f2, f3, ref cell, ref lastROID, ref prevROTitleList, ref lastDBindex, cROID);
|
||||
cell = new PdfPCell(new Phrase(" ", f2));
|
||||
cell.BorderColor = Color.WHITE;
|
||||
datatable.AddCell(cell);
|
||||
cell = new PdfPCell(new Phrase("-- No Information Entered --", f2));
|
||||
cell.BorderColor = Color.WHITE;
|
||||
datatable.AddCell(cell);
|
||||
}
|
||||
}
|
||||
|
||||
private void ProcessROChild(PdfPTable datatable, iTextSharp.text.Font f2, iTextSharp.text.Font f3, ref PdfPCell cell, ref string lastROID, ref List<string> prevROTitleList, ref int lastDBindex,ROFSTLookup.rochild cld)
|
||||
|
Reference in New Issue
Block a user