Added DebugStatus to MSWordToPDF Class
Moved DocPDF from Documents to new PDFs table
This commit is contained in:
@@ -194,9 +194,15 @@ namespace DataLoader
|
||||
// if in debug mode, pdf output is red (checkbox1 is what controls this).
|
||||
checkBox1.Checked = VlnSettings.DebugMode;
|
||||
if (checkBox1.Checked)
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 1;
|
||||
Loader.OverrideColor = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 0;
|
||||
Loader.OverrideColor = Color.Empty;
|
||||
}
|
||||
}
|
||||
private void btnConvertSelected_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -667,9 +673,15 @@ namespace DataLoader
|
||||
{
|
||||
VlnSettings.DebugMode = checkBox1.Checked;
|
||||
if (checkBox1.Checked)
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 1;
|
||||
Loader.OverrideColor = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
MSWordToPDF.DebugStatus = 0;
|
||||
Loader.OverrideColor = Color.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user