Removed PDF info from Document and Document Config

Added DebugStatus to MSWordToPDF Class
Removed PDF info from Document Config
Moved PDF info from Documents to PDFs Table
Added MSWordPageCount Property
Delete PDFs when RO Value Changes in a related document
This commit is contained in:
Rich committed 2011-04-18 21:29:29 +00:00
1 parent dd9bc9e0dc
commit f4a3a969f4
6 files changed
+86 -64

No files matched your search

@@ -247,14 +247,16 @@ namespace VEPROMS.CSLA.Library
{
foreach (DROUsageInfo droUsg in affected)
{
using (Document document = Document.Get(droUsg.DocID))
{
if (document.DocPdf != null)
{
document.DocPdf = null;
document.Save();
}
}
//using (Document document = Document.Get(droUsg.DocID))
//{
Pdf.DeleteAll(droUsg.DocID);
// Delete PDFs
//if (document.DocPdf != null)
//{
// document.DocPdf = null;
// document.Save();
//}
//}
}
}
}