文檔半島外圍網(wǎng)上直營>>Aspose中文文檔>>擴展并促進 CRM 重復(fù)檢測
                擴展并促進 CRM 重復(fù)檢測
Aspose.Words是一種高級Word文檔處理API,用于執(zhí)行各種文檔管理和操作任務(wù)。API支持生成,修改,轉(zhuǎn)換,呈現(xiàn)和打印文檔,而無需在跨平臺應(yīng)用程序中直接使用Microsoft Word。
Aspose技術(shù)交流群(761297826)
您可以在以下位置下載最新的源代碼:
- GitHub
在這種情況下,我們使用 Aspose.Words.dll 從模板生成文檔。我們已經(jīng)定義了一個自定義工作流程序集,可以與 CRM 中的工作流和對話框一起使用。
	
Document Result = new Document();
DocumentBuilder ResultWriter = new DocumentBuilder(Result);
// Read Attachment in Aspose
byte[] DocumentBody = Convert.FromBase64String(Note["documentbody"].ToString());
MemoryStream fileStream = new MemoryStream(DocumentBody);
Document doc = new Document(fileStream);
ResultWriter.Writeln("Comparing Document: " + FileName);
ResultWriter.StartTable();
// Read Attachment in Aspose
byte[] OtherDocumentBody = Convert.FromBase64String(OtherNote["documentbody"].ToString());
MemoryStream fileStream2 = new MemoryStream(OtherDocumentBody);
Document doc2 = new Document(fileStream);
ResultWriter.InsertCell();
ResultWriter.Write(OtherFileName);
// Comparing document with other attachments
doc.Compare(doc2, "a", DateTime.Now);
if (doc.Revisions.Count == 0)
{
// If documents are same
ResultWriter.InsertCell();
ResultWriter.Write("Duplicate Documents");
}
ResultWriter.EndRow();
ResultWriter.EndTable();
	

 QQ交談
QQ交談 在線咨詢
在線咨詢 
                 
                
 渝公網(wǎng)安備
            50010702500608號
渝公網(wǎng)安備
            50010702500608號
             
            
 客服熱線
客服熱線