Added new settings to control conversion of approved data
Added event handler for viewing version pdfs and summary reports added constructor to lookup based on file added method to get library document by original file name fixed ConvertToDisplayText to support RO tables in approved folder added vlnTreeViewPdfEvent delegate added vlnTreeViewPdfArgs class added ViewPDF event only display menu item if pdf or summary pdf exists determined if pdf should have superceded watermark added added sorting of consistency check report by procedure number added method to add superceded watermark to old version pdf files commented out approved folders
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Collections.Specialized;
|
||||
using System.Text;
|
||||
using System.ComponentModel;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.IO;
|
||||
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
@@ -110,6 +111,18 @@ namespace VEPROMS.CSLA.Library
|
||||
_DocVersionInfo = _ROFstInfo.docVer==null?null: DocVersionInfo.Get(_ROFstInfo.docVer.VersionID);
|
||||
ParseIntoDictionary(rofstinfo.ROLookup);
|
||||
}
|
||||
public ROFSTLookup(string filePath)
|
||||
{
|
||||
_ROFstInfo = null;
|
||||
_ROFst = null;
|
||||
_DocVersionInfo = null;
|
||||
FileInfo rofstFile = new FileInfo(filePath);
|
||||
FileStream fs = rofstFile.Open(FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
|
||||
byte[] buf = new byte[rofstFile.Length];
|
||||
fs.Read(buf, 0, buf.Length);
|
||||
fs.Close();
|
||||
ParseIntoDictionary(buf);
|
||||
}
|
||||
#endregion
|
||||
#region PropertiesAndData
|
||||
public roHdr myHdr;
|
||||
|
Reference in New Issue
Block a user