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();
|
||||
|
@@ -132,7 +132,15 @@ namespace VEPROMS
|
||||
// When creating an XY Plot, a System.Drawing.Graphics is needed and it requires a form. Use the main
|
||||
// form.
|
||||
if (VlnSettings.DebugMode)
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 1;
|
||||
MSWordToPDF.OverrideColor = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 0;
|
||||
MSWordToPDF.OverrideColor = Color.Transparent;
|
||||
}
|
||||
MSWordToPDF.FormForPlotGraphics = this;
|
||||
|
||||
// set the color of the ribbon
|
||||
|
Reference in New Issue
Block a user