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:
@@ -123,7 +123,7 @@ namespace VEPROMS
|
||||
Content cont = Content.Get(sectinfo.MyContent.ContentID);
|
||||
|
||||
Byte[] tstbyte = System.Text.Encoding.Default.GetBytes("");
|
||||
Document doc = Document.MakeDocument(null, tstbyte, null, null, null); // tstbyte, null, null, null);
|
||||
Document doc = Document.MakeDocument(null, tstbyte, null, null); // tstbyte, null, null, null);
|
||||
Entry entry = cont.MyEntry;
|
||||
entry.MyDocument = Document.Get(doc.DocID);
|
||||
cont.Save().Dispose();
|
||||
@@ -476,7 +476,7 @@ namespace VEPROMS
|
||||
{
|
||||
// make new document with 'no' libtitle - use libtitle for the doc title. Then link this
|
||||
// to the item...
|
||||
Document doc = Document.MakeDocument(null, doclibinfo.DocContent, doclibinfo.DocAscii, doclibinfo.Config, doclibinfo.DocPdf);
|
||||
Document doc = Document.MakeDocument(null, doclibinfo.DocContent, doclibinfo.DocAscii, doclibinfo.Config);
|
||||
_SectionConfig.MySection.MyContent.MyEntry.MyDocument = doc;
|
||||
}
|
||||
ppCmbxLibDoc.Items.Clear();
|
||||
|
Reference in New Issue
Block a user