Removed PDF info from Document and Document Config
This commit is contained in:
@@ -81,10 +81,10 @@ namespace DataLoader
|
||||
{
|
||||
if (MissingDocument == null)
|
||||
{
|
||||
if (ci == null) ci = new ConfigInfo(null);
|
||||
ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", 0.001));
|
||||
//if (ci == null) ci = new ConfigInfo(null);
|
||||
//ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", 0.001));
|
||||
Byte[] tstbyte = System.Text.Encoding.Default.GetBytes("");
|
||||
MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", tstbyte, null, ci.ToString(), null);
|
||||
MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", tstbyte, null, null);
|
||||
}
|
||||
Documentid = MissingDocument.DocID;
|
||||
missingDocFile = true;
|
||||
@@ -510,7 +510,7 @@ namespace DataLoader
|
||||
{
|
||||
using (DocumentInfo di = DocumentInfo.Get(secitem.MyContent.MyEntry.DocID))
|
||||
{
|
||||
bool success = MSWordToPDF.UpdateDocPdf(di, OverrideColor);
|
||||
bool success = MSWordToPDF.UpdateDocPdf(di, OverrideColor, seciteminfo);
|
||||
if (!success)
|
||||
{
|
||||
frmMain.AddError("Error in ", "UpdateDocPdf");
|
||||
|
Reference in New Issue
Block a user