logic to save word sections with resolved RO values for exporting the approved procedure
logic to create an export file with unlinked RO and Transition Commented out debug statements to help evaluate memory usage
This commit is contained in:
@@ -88,6 +88,14 @@ namespace VEPROMS
|
||||
_NewLocation = newLocation;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
// used when the approved function creates an export file with unlinked ROs and Transitons. Word sections that have RO tokens are saved with the RO Vaules in DocReplace
|
||||
// DocReplace is passed on to the Export functions.
|
||||
private Dictionary<int, byte[]> _DocReplace;
|
||||
public Dictionary<int, byte[]> DocReplace
|
||||
{
|
||||
get { return _DocReplace; }
|
||||
set { _DocReplace = value; }
|
||||
}
|
||||
public bool AllowAllWatermarks
|
||||
{
|
||||
get { return MyPromsPrinter.AllowAllWatermarks; }
|
||||
@@ -146,6 +154,7 @@ namespace VEPROMS
|
||||
if (CancelStop) btnCancel.Visible = true;
|
||||
Application.DoEvents();
|
||||
MyPromsPrinter.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
|
||||
MyPromsPrinter.DocReplace = DocReplace; // used when approve generates an export with unlinked ROs and Transitions
|
||||
DateTime tStart = DateTime.Now;
|
||||
if (!CancelStop) PromsPrinter.ClearTransPageNumProblems();
|
||||
do
|
||||
|
Reference in New Issue
Block a user