Removed PDF info from Document and Document Config
This commit is contained in:
@@ -104,8 +104,8 @@ namespace DataLoader
|
||||
{
|
||||
frmMain.AddError("Length Exception {0}\r\n\r\n{1}", ex1.Message, ex1.StackTrace);
|
||||
}
|
||||
if (ci == null) ci = new ConfigInfo(null);
|
||||
ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", docLen));
|
||||
//if (ci == null) ci = new ConfigInfo(null);
|
||||
//ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", docLen));
|
||||
string ascii = myWordDoc.MyWordDoc.Ascii;
|
||||
string s = myWordDoc.Save(temppath);
|
||||
myWordDoc.Close();
|
||||
@@ -282,7 +282,7 @@ namespace DataLoader
|
||||
int nBytesRead = fs.Read(ByteArray, 0, (int)len);
|
||||
fs.Close();
|
||||
string t1 = (title == null || title == "") ? null : title;
|
||||
Document doc = Document.MakeDocument(t1, ByteArray, null, ci == null ? null : ci.ToString(), DateTime.Now, "Migration", ".Doc",null);
|
||||
Document doc = Document.MakeDocument(t1, ByteArray, null, ci == null ? null : ci.ToString(), DateTime.Now, "Migration", ".Doc");
|
||||
FileInfo tmpFile = new FileInfo(temppath);
|
||||
string docfile = temppath.Substring(0, temppath.LastIndexOf(".")) + @".doc";
|
||||
if (File.Exists(docfile)) File.Delete(docfile);
|
||||
|
Reference in New Issue
Block a user