public void Go() { NexdoxMessaging.StartEvent(this); Statics.Initialise(_engine, _appInfo); this.PerformIOC(); GetOffShoreOrOnshore(); IList <Document> documents = GetDocuments(); NexdoxMessaging.SendMessage(string.Format("{0} documents found for export", documents.Count), true, this); if (documents.Count > 0) { var exports = new List <Export>(); var exportsData = new List <ExportFileData>(); GetExportData(documents, exports, exportsData); _exportService.CreateExport(exports); CreateOutputFile(exportsData); CreateOtfXmlFiles(); NexdoxMessaging.SendMessage("Documents successfully set as exported", true, this); } NexdoxMessaging.EndEvent(this); }
public void Go() { NexdoxMessaging.StartEvent(this); Statics.Initialise(_engine, _appInfo); this.PerformIOC(); _houseHoldingRunEngine.ProcessHouseHoldingRun(); NexdoxMessaging.EndEvent(this); }
public void Go() { // Start the nexdox messaging service NexdoxMessaging.StartEvent(this); // Initialise Statics Statics.Initialise(_engine, _appInfo); this.PerformIOC(); // Allocation Stage Allocation allocationStage = new Allocation( _engine, _appInfo, _documentService, _documentApprovalService, _subDocTypeService, _gridRunEngine, _manCoService, _approvalEngine, _gridRunService); allocationStage.Process(); // Stop the nexdox messaging service NexdoxMessaging.EndEvent(this); }
/// <summary> /// Allocation Stage /// </summary> public void AllocationStage() { //Start the nexdox messaging service NexdoxMessaging.StartEvent(this); //Initialise Statics Statics.Initialise(_engine, _appInfo); this.PerformIOC(); /* Nexdox.PDF.NexdoxPDFSettings.PdfOuputRenderState = Nexdox.PDF.NexdoxPDFSettings.PDFState.ForceRasterise; * Nexdox.PDF.NexdoxPDFSettings.JpgImageQuality = 85; * Nexdox.PDF.NexdoxPDFSettings.DefaultDPI = 450; * Nexdox.PDF.NexdoxPDFSettings.DefaultCompressionQuality = 125;*/ //Allocation Stage Allocation allocationStage = new Allocation( _engine, _appInfo, _conFileService, _xmlFileService, _zipFileService, _docTypeService, _manCoService); allocationStage.Process(); //Stop the nexdox messaging service NexdoxMessaging.EndEvent(this); }