Moved DocPDF from Documents to new PDFs table

This commit is contained in:
Rich
2011-04-18 21:32:28 +00:00
parent 628cfc67de
commit 6fe40ea9e3
8 changed files with 2744 additions and 6 deletions

View File

@@ -325,7 +325,7 @@ namespace Volian.Controls.Library
}
LBDocumentClass doc = new LBDocumentClass(_MyDSOFramer.ActiveDocument);
MyDSOFile.FullName = GetReflectiveProperty(_MyDSOFramer.ActiveDocument, "FullName");
MyDSOFile.SaveFile(doc.Length,doc.Ascii);
MyDSOFile.SaveFile(doc.Length,doc.Ascii,MyDisplayTabItem.MyItemInfo);
}
/// <summary>
/// Before a document closes check to see if it's contents should be saved.

View File

@@ -227,7 +227,7 @@ namespace Volian.Controls.Library
int nBytesRead = fs.Read(ByteArray, 0, (int)len);
fs.Close();
string t1 = (title == null || title == "") ? null : title;
Document doc = Document.MakeDocument(t1, ByteArray, null, null, null); //, DateTime.Now, "Migration");
Document doc = Document.MakeDocument(t1, ByteArray, null, null); //, DateTime.Now, "Migration");
return doc.DocID;
}
// for an io exception, keep trying